MACDLineANY[definedindicator;shortperiod;longperiod;signalperiod;daysbefore]
SyntaxIn normal MACDLine function the calculation is done using closing value but if instead of closing value you would like to go with any other value then use this indicator .
DescriptionSuppose you would like to get macd value for period 12,26,9 using Simple moving average of 14 days the formula will be

Macdsignalany[sma[14;0];12;26;9;0]
Example