I Tested my strategy in historical data and I got the following error
"**NT** A Buy order placed at '16/12/2013 16:51:00' has been ignored since the stop price is less than or equal to the close price of the current bar. This is an invalid order and subsequent orders may also be ignored. Please fix your strategy."
The order that cause this error :
EnterLongStopLimit(0,true,100,Close[0] + 2 * TickSize ,Close[0],"");
why I got this error?
Sincerely, Kobi

Comment