Forum

EA stops after first order

i made this ea. it opens the first buystop trade and if the price made a new low(invalidation) below y, it deletes the order. it opens the second order and doesnt delete it if invalidated. it opens third, and doesnt delete it. and so on. i know the error is in static y. but how to make it work? i

price range of candles

how to calculate the price range of a number of candles with same color(bullish or bearish)