What am I missing here?
if (ToTime(Time[0]) > (StratEndTime - 5000) )
{
if ( Positions[LongInstrument].MarketPosition == MarketPosition.Long)
{
ExitLong("buy");
Print ("Exiting Long");
return;
}
}

Comment