Home | Trading Alchemy Manual | Alchemy Functions IndexAlchemySignalLine (Function)AlchemySignalLine returns the exponential moving average of the Mov Avg Convergence Divergence, using either number of trailing bars or a smoothing factor percentage. AlchemySignalLine (FirstBar, FastPrice, FastLen, FastFactor, SlowPrice, SlowLen, SlowFactor, SigLen, SigFactor) Parameters |
FirstBar |
Specifies the bar number of the first bar calculated |
FastPrice |
Specifies which price of the asset to be used for the fast average. |
FastLen |
Number of trailing bars to consider for the fast average. 0 uses the smoothing factor determined in FastFactor. |
FastFactor |
Smoothing factor percentage to consider for the fast average. 0 uses number of trailing bars determined in FastLen. |
SlowPrice |
Specifies which price of the asset to be used for the slow average. |
SlowLen |
Number of trailing bars to consider for the slow average. 0 uses the smoothing factor determined in SlowFactor. |
SlowFactor |
Smoothing factor percentage to consider for the slow average. 0 uses number of trailing bars determined in SlowLen. |
SigLen | Number of trailing bars to consider for the MACD average. 0 uses the smoothing factor determined in SigFactor. |
SigFactor | Smoothing factor percentage to consider for the MACD average. 0 uses number of trailing bars determined in SigFactor. |
ReturnsA numeric value containing SignalLine for the current bar. UsageDuring rising markets, the fast period moving average will rise faster than the slow period moving average resulting in a rising differential line or a larger value. The idea is that with a smaller number of bars used in its calculation, the fast period moving average will more quickly indicate the trend of the most recent data. |