I'm getting the:
public class DodaStochasticsJN : Indicator { private double[] ExtHistoBuffer; private double[] ExtHistoBuffer2; private double[] ExtHistoBuffer3; private double[] ExtHistoBuffer4; private int SlwChat = 8; private int PdsChat = 13; private double SlwsignalChat = 9; private int myMaxBars = 500; ... More stuff }
protected override void OnBarUpdate() { if (CurrentBar < 25) return; int shift; double minval; double maxval; for (shift = Count - 1; shift >= 0; shift--) { ExtHistoBuffer3[shift] = EMA(Close, SlwChat)[shift]; // It looks like this is where the error is happening }
I feel like it may be something silly/simple, but still being a super newbie, I just can't figure out what I'm doing wrong here.
Thank you,
Jamie
Comment