Coding required – Trade on specific day only via parameter

Forums ProRealTime English forum ProOrder support Coding required – Trade on specific day only via parameter

Viewing 2 posts - 1 through 2 (of 2 total)
  • #242897

    Good Morning,

    Can anyone help please with a piece of code.

    I have various parameters in some moving averages code and I would like to add a parameter which allows me to select which days, or all days, to run back test/trade on? I have very basic coding knowledge so a parameter with option of 0 or 1 to select or not would be ideal.

    can anyone help with that piece of code please ?

    thanks in advance

     

    #242909

    Do you want to run the backtest (i.e. trading set to on) on all or selected days, or do you want to have your averages either calculated normally or on selected days?

     

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

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