I'm using below code in State.DataLoaded:
EMA1 = EMA(emaPeriod); Bollinger1 = Bollinger(bollingerNoStdDev, bollingerPeriod); DoubleStochastics1 = DoubleStochastics(doubleStoPeriod); Stochastics1 = Stochastics(stoPeriodD, stoPeriodK, stoSmooth); if (showIndicators) { AddChartIndicator(EMA1); AddChartIndicator(Bollinger1); AddChartIndicator(DoubleStochastics1); AddChartIndicator(Stochastics1); }
Thanks
Tim
Comment