So i ad :
AddDataSeries("^DJIA", BarsPeriodType.Minute, 60);
.....
ema60min200dow = EMA(Closes[1],200)[0];
That works, but for 200 hours dow i need about 4 weeks back data for getting the correct ema200 .
This first 4 weeks i can't start the strategy algo so i just wait 200 dow bars...
barsdow = CurrentBars[1];
if (barsdow < 200) return;
But i can`t stop ploting the chart and some other ym 1 min chart indicators.
So the first 4 weeks the strategy Analyser plots Tausends of 1 Minute YM bars and Tausends other YM 1 min indicators values for no reason. This makes the strategy Analyser very slow...
So, how can i get this Dow 60 min EMA 200 without ploting about 400 h of 1 min ym chart in the Strategy ?
Comment