I encountered a problem when using EMA Indicator on a secound dataseries. The plotting gets stopped after a while:
What am I doing wrong? When printing the values, the indicator seems to calculated correctly... any advice?
I use this code:
if (State == State.Configure)
{
AddDataSeries(BarsPeriodType.Minute, 60);
}
if(State == State.DataLoaded)
{
_ema50Indicator = EMA(BarsArray[1] ,50);
_ema200Indicator = EMA(BarsArray[1],200);
_umkehrStaebeIndicator = Umkehrstaebe(Dochtgroese, ReversalMindestGroese, KulanzReversal, KulanzAusenstaebe, H1Signale);
_ausenStaebeIndicator = Aussenstaebe(KulanzAusenstaebe);
AddChartIndicator(_umkehrStaebeIndicator);
AddChartIndicator(_ausenStaebeIndicator);
AddChartIndicator(_ema50Indicator);
AddChartIndicator(_ema200Indicator);
}
Best regards,
Johnny

Comment