I want to backtest a system, lets say it'a MA system. When backtesting it I want to wait until 10am before entering into a position and only enter a position if it is signaled after 10. I also want to close all open positions at 2:45.
Could someone please direct me to where I could find more information on coding these time restrictions? I am not sure what to search for. Thanks for any help. Dan
