OPEN-SOURCE SCRIPT
NeoChartLabs McGinley Dynamic

One of our Favorite Indicators - the McGinley Dynamic
The MGD is adaptive, it speeds up for crypto and slows down for stocks, this version turns green when bullish and red when bearish - this is a fast indicator so the colors are more reliable on higher time frames.
The McGinley Dynamic is a smart, adaptive moving average technical indicator created by John R. McGinley, designed to overcome the lag and whipsaw issues of traditional moving averages (MAs) by automatically adjusting to varying market speeds, resulting in a smoother, more responsive line that tracks price action better, acting as a reliable trend-following tool or baseline in financial charts.
Shout out to LOXX for the original script, updated to v6.
The MGD is adaptive, it speeds up for crypto and slows down for stocks, this version turns green when bullish and red when bearish - this is a fast indicator so the colors are more reliable on higher time frames.
The McGinley Dynamic is a smart, adaptive moving average technical indicator created by John R. McGinley, designed to overcome the lag and whipsaw issues of traditional moving averages (MAs) by automatically adjusting to varying market speeds, resulting in a smoother, more responsive line that tracks price action better, acting as a reliable trend-following tool or baseline in financial charts.
Shout out to LOXX for the original script, updated to v6.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.