I'm developing a backtesting trading strategy with a programmed CancelOrder. I'm experiencing an issue with the following instruction:
entryOrder = EnterLongLimit(myTimeframe,true, DefaultQuantity,orderLevel, "Long:"+myPeriodTypeLegend);
When I turn the LiveUntilCancelled switch to true, my order entries do not appear in the graph screen. And when I turn the same switch to false, the orders appear normally.
In the attachment, the left side graph shows the entries with the switch turned to false and the right side graph does not show the order entries when the switch is turned to true.
How can I solve this issue?.
Thank you.
Comment