MA Cross Over

Viewing 5 posts - 1 through 5 (of 5 total)
  • #13927

    Would someone mind having a look at my code and seeing if it could be tweaked a little?

    I don’t have much experience and any help would be appreciated.

     

    Thank you

    #13942

    Ok, but where is your code?😉

    #13944

    Thank you very much.

    Is it also possible to time limit it?

     

    #13959

    Ok, so that’s a simple moving average cross strategy. Seems that you have “coded” it with the simple creation module because the moving average variables are declared many times (for everyone’s information, this is not the case in the upgraded version of this programming module in v10.3).

    If you want to restrain trading time, you can add the flatbefore and flatafter instructions at the beginning of the code.

    #13962

    Thank you, Can this be made “better” in any way?

     

    Ollie

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login