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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #85600 quote
    Bard
    Participant
    Master

    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 quote
    Vonasi
    Moderator
    Master

    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.

    [attachment file=85613]

    Bard thanked this post
    #85643 quote
    Bard
    Participant
    Master

    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)
  • You must be logged in to reply to this topic.

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


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Bard @brad Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Bard
7 years, 2 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/23/2018
Status: Active
Attachments: 4 files
Logo Logo
Loading...