OPEN-SOURCE SCRIPT

MACD Enhanced System MTF with optional TSL and Alerts [LTB]

Updated
This script is developed to analyse MACD, MACD Signal, MACD Histogram movements by using current and higher time frame. Script calculates higher time frame automatically, no manuel entry. there is trailing stop loss line that is optional.

You can change the parameters as you wish.

btw. you should know that MACD is more successful when there is a trend.

I already shared this as a strategy script. Some ppl wanted to see the code.
You might want to see strategy test =>
MACD Enhanced Strategy MTF with Stop Loss [LTB]



by LonesomeTheBlue [LTB]
Release Notes
.
Release Notes
Stop Loss Line removed.
Release Notes
Fix for repainting issue and higher time frame correction for weekly chart
alertsMoving Average Convergence / Divergence (MACD)mtfstrategyTrend AnalysisVolatility

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