Struggling to work this one out , Want to count the bars since the LOW of current bar was last traded at . Any help or guidance appreciated as i just cant get a grasp on it .
Struggling to work this one out , Want to count the bars since the LOW of current bar was last traded at . Any help or guidance appreciated as i just cant get a grasp on it .
Here is an indication of what i am trying to measure , hope it helps … I have no idea why but i cannot attach a file atm
This will return the count of bars since the current candles low was last seen.
count = 0
for a = 1 to barindex
count = count + 1
if low[a] <= low then
break
endif
next
return count
Appreciate that , thank you very much .