The strategy only works when there are one set of start and stop times per set, when I try and have 2 start and stop times the strategy no longer works
is there an example how this would work in the strategy builder?
if ((xxxxxxxxxxxxxxxTrend[0] == -1)
&& (VOLMA1[0] >= Volma)
&& (Times[0][0].TimeOfDay >= StartAM.TimeOfDay)
&& (Times[0][0].TimeOfDay <= StopAM.TimeOfDay)
&& (Times[0][0].TimeOfDay >= StartPM.TimeOfDay)
&& (Times[0][0].TimeOfDay <= StopPM.TimeOfDay))
{
EnterShort(Convert.ToInt32(DefaultQuantity), "");
}
Many thanks
Comment