Breakout Algo not closing trades

Forums ProRealTime English forum ProOrder support Breakout Algo not closing trades

Viewing 3 posts - 1 through 3 (of 3 total)
  • #160851

    Evening all,

    Slightly embarrassed by the ‘amateurish’ nature of this code but…

    I wondered if I could ask for some help regarding my algo not closing trades relating (specifically) to my breakout criteria (a and b). It seems to close them based on the RSI I use, but not my a or b formula.  Even when I ask it to lookback 1 period (close[1] < b) removing the majority of the Exit criteria it still doesn’t close any trades relating to a or b formulas – however, it does close when I only include this period (for instance, close > b).

    Is it due to the ‘lookback’ nature of the a/b formulas?

    Appreciate your help with this and apologise for the rookie format.

    Best,

    Tom

     

     

     

     

    #160856

    You should use GRAPH and check that your several coincidents exit conditions are being triggered at same time?

    https://www.prorealcode.com/documentation/graph/

    1 user thanked author for this post.
    #160901

    Hi GraHal,

    Appreciate the insight – wasn’t even aware of this feature.

    I’ll check it out.

    Best

    Tom

    1 user thanked author for this post.
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