With variables the system loses. With hard code it wins?

Forums ProRealTime English forum ProBuilder support With variables the system loses. With hard code it wins?

  • This topic has 2 replies, 2 voices, and was last updated 5 years ago by avatarBard.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #85600

    I was wondering why this “system” appears to lose when the variables of the indicator are set externally and the variable settings are REM’d out within the indicator code and yet then appears to win when the variables are contained within the indicator code (and are not REM’d out) I assume they then take precedence over the externally “set” variables?

    It buys and sells on crossovers of 10% and cross unders of 90% and exits on the cross over/under of the mid level.
    Daily Dow, 3.8 tic spread. 01/08/10–13/09/18
    https://www.prorealcode.com/prorealtime-indicators/ehlers-inverse-fisher-transform-rsi-rsx/

    Pls see 2 screens shots.

    I fully stripped the variables out of the indicator and it is profitable without them (albeit with 41% drawdown). Any ideas?

    Cheers

    #85612

    Your variables are set to different values. The ones in the code if not REM’d out will override any set outside within the optimization variables.

    Screenshot_1-4

    1 user thanked author for this post.
    #85643

    Thanks for spotting that @Vonasi, I wasn’t sure of what takes priority as far as externals.

     

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

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