if ((Times[3][0].TimeOfDay == anchorTime1.TimeOfDay)// this time start the calculation process
&& (Times[3][0].TimeOfDay <= StopTime1Plot.TimeOfDay)// I add this in attempt to stop the process but had no effect
&& (ShowAnchorONE == true))
{
iCumVolumeAT1 = Volumes[3][0];
iCumTypicalVolumeAT1 = Volumes[3][0] * ((Highs[3][0] + Lows[3][0] + Closes[3][0]) / 3);
}
else
{
iCumVolumeAT1 = iCumVolumeAT1 + Volumes[3][0];
iCumTypicalVolumeAT1 = iCumTypicalVolumeAT1 + (Volumes[3][0] * ((Highs[3][0] + Lows[3][0] + Closes[3][0]) / 3));
}
I was hoping to stop the process at a set time to SAVE on resources being used by NinjaTrader Platform
This indicator has over 40 plots as the day progresses the older values are not longer needed (I know how to NOT show the Plot Values on the chart but that does not stop the Values from still being processed
Thanks

Comment