i tried using RemoveDrawObject( @"HEsignalUp" + (CurrentBar - SignalsToKeep) ); where SignalsToKeep is set to 500
but this causes major problems. It works ok for a chart with 5 days but at 35 days the program hangs up displaying the chart even though the output window shows that the calculations for the indicator data has finished.
i'm hoping to add a condition that won't let the signal portion run until the chart reaches yesterday's data if that's possible...
thanks,
w
maybe it'll just be easier to plot the signals as a plot instead of a drawobject...

Comment