OPEN-SOURCE SCRIPT

Quadratic Weighted (QWMA) MACD

MACD but on the Quadratic Weighted Moving Average instead of regular Moving Average

"The quadratic moving average ( QMA ) or quadratic weighted moving average (QWMA) is a type of moving average who is closer to the price when price is up trending. This moving average is defined as the square root of the moving average of the squared price." alexgrover (tradingview.com/script/Iw3FtbxG-QMA-SMA-Difference/)

Base MACD code from RicardoSantos (tradingview.com/script/YwVGefvF-rs-MACD/)
Moving Average Convergence / Divergence (MACD)Moving AveragesQMAqwmaqwmacd

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer