OPEN-SOURCE SCRIPT

MACD Scaled

Updated
MACD scaled and re-centered for 0-100 range (user adjustable)
+ Leader
+ Stochastic RSI

Details: A simple MACD re-centered to 50 lines rather than 0 line. Also added MACD Leader and Stochastic RSI to show possible usefulness of re-scaling the MACD.

NOTE: Due to nature of MACD, could not get the lines cannot be contained within top/bottom borders without excess distortion.

Credit to lazybear for leader formula.
Release Notes
Color fix
Release Notes
Code fix for ALMA
Release Notes
VWMA added and misc cosmetic changes. Last one for a while. Suggestions welcomed.
Release Notes
*Added: RSI
*Added: Signal
Release Notes
pinescript v5
Release Notes
* Code cleanup
Release Notes
  • Removed minimum values. Can not do 3 10 16 settings (Raschke)
  • Added % normalization option
Moving Average Convergence / Divergence (MACD)

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?


Also on:

Disclaimer