Count 5-10candle sticks that closes above 50 ema

Forums ProRealTime English forum ProBuilder support Count 5-10candle sticks that closes above 50 ema

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

    Hi,

     

    I want to count how many candles (before a bearish engulfing candle) that closes above the exponential moving average. I just cant figure out how to code it. I tried For-do-next and failed. can anyone help me with this?

    #99256

    There you go:

     

    #99289

    I just edited line 6.

     

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