Simple breakout screener issues

Forums ProRealTime English forum ProScreener support Simple breakout screener issues

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

    Hi there

    I’m attempting to write a weekly break up screener based on the following criteria but I’m not seeing the desired outcome with the breakout criteria – e.g I’m seeing results with the current candle below the previous candle

    What am I doing wrong?

    • Break out to new 20 week highs – breaking up ideally from consolidation from the previous 20 bars
    • Rate of change above 30
    • Price range between $.10 and $5

    Here is my code

     

    Thanks!

     

    #152722

    Try with this line 2:

    line 1 already references the previous bar, thus in your code you refer to the one preceding the previous one.

     

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