highest days of EMA broke today


I want to find how many max days EMA stock break today?

if C>EMA(5) is true & C<EMA(6) is false then afl should return 5 since close broke max of 5 days ema. this things should run in loop for 1 yr say 365 loops total

Can help me with this afl.


Similar threads