Is there a way to do calculations on previous bars and then use those results to make a buy/sell decision on the current bar?
Also, is there a way to change the length of bars, or does everything need to be calculated using the 1 minute bars.
Thanks.