double nADX = ADX(BarsArray(1), 15)[0] ; // ADX in a 5' timeframe
dsADX.Set(nADX) ; // declared as a Dataseries
// now what I am trying to do is smooth this with an simple moving average of a higher timeframe.
double nADXAvg = SMA(BarsArray(1), dsADX, 5) ; // which doesn't work
I am sure there is a simple fix for this, but I sure can't see it...

Comment