View Full Version : BarNext?
04-24-2007, 05:16 AM
If I had a strategy that once a condition is met in the current bar, a trade is executed in the next bar, how would I do that? ie: Low[-1] ? Since  is current, and  is previous, would [-1] be next?
04-24-2007, 05:26 AM
There is no concept of negative index values since we do not allow you to "peek" into the future.
If your strategy is run against historical data or its real-time with calculate on bar close set to true, then trades are always executed on the next bar.