help coding breakout strategy

Forums ProRealTime English forum ProOrder support help coding breakout strategy

Viewing 5 posts - 16 through 20 (of 20 total)
  • #193778

    System is not putting out any stoporders at all. No signs of rejections either

    #193795

    Line 21 computes the average of the daily range for the last 20 bars, but they aremost likely always the same, as they are NOT daily bars, but those of the TF you have chosen. On a 5-minute TF the last 20 bars are likely to share the same daily range.

    I tested it on DAX, 5 and 10-minute TF and it enters several trades. On 1-minute TF, it opended only 1 trade using 50K.

    Check if line 21 is correct or not, according to your idea.

     

     

    #193801

    I see. What i want is the code to calculate average daily range. Could you help me change it so it calculates for daily bars? Instead of just bars? I use the system on manual trading so it should produce almost one trade everyday.

    i use the code on a 1 min and 3 min tf. Had not taken any trades for something like 18 days.

    #193814

    roberto, if you try it on dow jones, May 6th is the last day it takes a trade. Ive tried to change line 21 everything from 5-20 days. Stil exactly same results no matter what

    #194051

    Try using this modified version:

    it uses the DAILY TF to get the daily range.

     

Viewing 5 posts - 16 through 20 (of 20 total)

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