candle count after EMA coss
-
Dear Team,
I have an idea: After EMA13 coss EMA34 in the current time how many candles pass.

Has someone ever done this before? I hope you can share something thank you!
-
@nguyenjohn There are 2 ways I know off, first is to start/stop/reset and count once per bar, the second and my preferred option is to start a loop every time the ma crosses this causes the candles to start counting a fresh every time the ma's cross you'll see how in this link:
https://fxdreema.com/shared/1fU5BZjvb -
@jstap Brilliant! Thank you for sharing. I will also use it from now on.

-
@jstap Many thanks for sharing!
-
@l-andorrà @Nguyenjohn Your both welcome