TradingView
everget
Mar 9, 2018 2:41 PM

Customizable MACD 

British Pound/Japanese YenFXCM

Description

Customizable MACD - let's tune! This approach let you specify not only lengths and price source but also a type of used movings for the fast, slow and signal lines.

Here is the list of all available movings:

  • ALMA (Arnaud Legoux)

  • ARSI (Adaptive RSI)

  • DEMA (Double Exponential)

  • EMA (Exponential)

  • FRAMA ( Fractal Adaptive)

  • HMA (Hull)

  • LSQMA (Least Squares)

  • LWMA (Linear Weighted)

  • MD (McGinley Dynamic)

  • REMA (Regularized Exponential)

  • RMA (EMA with alpha = length - 1)

  • SMA (Simple)

  • SMMA (Smoothed)

  • TEMA (Triple Exponential)

  • TMA (Triangular)

  • T3

  • VIDYA (Variable Index Dynamic)

  • VWMA ( Volume Weighted)

  • WMA (Weighted)

  • WWMA (Welles Wilder’s Moving Average, EMA with alpha = 1 / length)

  • ZLEMA (Zero Lag Exponential)

Release Notes

Add EVWMA (Elastic Volume Weighted).
Fix KAMA calculation.
Add params for ALMA, KAMA, MD, REMA, T3.

Release Notes

Rename RMA to WMMA (Wilder's Modified MA, i.e. EMA with alpha = 1 / emaLength)

Release Notes

Remove minvals and maxvals from the inputs
Comments
DannyBaker
Hi this looks great! but i was wondering how you implement the zero lag ema's
DannyBaker
@hugonicolson, sorry i figure it out.

thanks so much!!
everget
@hugonicolson, Hi, thanks, I appeciate it.

FYI: All implemented moving averages are available as independent scripts. You can find them among my scripts.
Rawinsky93
Hi please can I have the source code? I've been looking for a Wilders Moving Average MACD for ages!!
everget
@Rawinsky93, Hi, yes, DM me please
cheatcountry
I would like to get the source code please
everget
@cheatcountry, and I would like a coffee donation for my efforts)
DaviG
@everget, How much is a coffee, it would be interesting to apply this with some mods to strategies.
everget
@DaviG, direct message
atomicbeing
Hello, Can you supply me with the settings to create this into a LWMA (Linear Weighted)MACD indicator? Thank you..
More