if ((Position.MarketPosition == MarketPosition.Short)
&& (ShortTrades == true)
&& (TimeExit2 == true)
&& ((Close[1] > Open[1])
|| (Close[1] == Open[1])
|| (Close[1] < Open[1]))
&& (ToTime(Times[0][1]) == 092600))
{
ExitShort(Convert.ToInt32(Position.Quantity), @"STimeExit2", @"");
}
DOES THIS LINE indicate that I was using a secondary data series, (which would make sense to me as I used a non time based primary bar type)
&& (ToTime(Times[0][1]) == 092600))
Thanks
Comment