working with loops
-
hi coders
I want to know how to loop through a set of candles .
for example I'm using highs and lows to detect a breakout . if price breaks a previous swing high i want the EA to look back from the current swing low to the high of the candle that broke the previous swing high and find a bullish engulfing patter, then draw a rectangle as a zone on that bullish engulfing
-
That's an ambitious loop to implement. Have you created a first version of it?
-
@l-andorrà I'm trying to implement with zigzag to save the swing highs and lows as variable then use that to draw the zones.. I hope will work
-
GReat for you, but please notice that ZigZag is a VERY trick indicator. You'll have to be patient when working with it.