Full error:
Strategy 'cmsEMACrossOver/275504536' submitted an order that generated the following error 'Unable to submit order'. Strategy has sent cancel requests, attempted to close the position and terminated itself.
The code is:
if (Position.MarketPosition == MarketPosition.Flat)
if (ClearToSubmit)
{
if (LogLevel >=1) PrintLog("Strategy: Enter Long");
EnterLongLimit(ContractQuantity, Close[0], "EnterLong");
ClearToSubmit = false;
}
Many Thanks, Caesar.

Comment