Is it possible to backtest strategy with "Enter on Bar Open" using Strategy Analyzer?
I searched the forum and saw suggestion to use second more granular data series for that. I tried it using "sampleintrabartest" scrip as a basis. I am using Daily bars as primary and 1 Minute as the secondary data series.
I want it to check if Open of daily bar is below daily SMA(8)[1] and then enter immediately. Based on "sampleintrabartest" script comments I would expect it to enter on Close of the first 1 minute bar of the same daily bar, but in reality it enters on Close of the first 1 minute bar of the next daily bar. Is it possible to make it enter on the same daily bar using this or any other approach?
Thanks!
Comment