In a backtesting process with an unmanaged order, I want to buy on stop 1 lot from the first bar (1 minute) and close the position if any on the very last print on the last bar.
My problem is to know when to send the orders ? Should i send the buy stop on the last bar of the previous session and send the sell on close on the bar right before the last bar ?
Thanks very much.
Comment