Hi coders.
I am trying to write a simple piece of code which uses a FOR NEXT Loop that analyses certain conditions of the price close after a predetermined number of intradaybar increments. rather like the STEP command in BASIC.
For example, on a 1 second timeframe chart I might want to return the position of a price every 60th of a second, rather than have a minute chart open at the same time.
I was wondering if there was an easy way around this problem and would be grateful for any advice.
Thank you in advance for your help.