| MACDDivANY[definedindicator;shortperiod;longperiod;signalperiod;daysbefore] | |
|---|---|
| Syntax | In normal MACDDiv 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 . |
| Description | Suppose you would like to get macd histogram for period 12,26,9 using Simple moving average of 14 days the formula will be Macddivany[sma[14;0];12;26;9;0] |
| Example |