Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
@khalids222 Oh, Ok. sorry. It is a double variable.
N
@l-andorrà thank you very much i will try it.
You can always count bars. You can create an int variable and every daly bar the EA can add +1 to it. Then another condition can limit the maximum value of that variable to 30. Once the value is above it, the EA Terminates.