New to the forum, but have been silently lurking in the back since the beginning of the forum. I was mostly hanging out in forexfactory, but now that place resembles a kindergarden so i came here.
I come here seeking advice, i have been trading renko charts, and looking for some help improving a indicator i wrote.
What i want is to display the number of bar above and below a certain pip number on X(25 e.g) candles back (100 e.g), in main window:
Candles above 25 = 37
Candles below 25 = 63
So the user input would be number of candles look back, and pip threshold.
My problem lays in how to code the look back candles, any guidance would be nice (code example even nicer)