XL0=ExitLong(1,"XL0","L0");
do I have to set XL0 back to null upon execution
with
protectedoverridevoid OnExecution(IExecution execution)
{
if (execution.Order.Name == "XL0")
{
if (execution.Order.OrderState == OrderState.Filled)
{
XL0 =
null;
}
in order to avoid the "Terminal Exit Order already in place..." message
Thx
Comment