OPEN-SOURCE SCRIPT
Updated EMA Magnetic Pull

Color coded indicator showing the "Magnetic Pull" of a specifed Moving Average. Indicator changes color based on how high price has exceeded the specified moving average. The default moving average is set to 50, but users can define their desired moving average.
Bitcoin Weekly Chart Example:
Bitcoin Weekly Chart Example:
- Gold or White may indicate that an asset is overbought suggesting a trend reversal or corrective pullback in price
- Light Blue may indicate that an asset is oversold, suggesting an undervalued condition
Release Notes
Added the ability to colorize candles/bars to match current conditions of EMA Magnetic Pull indicatorRelease Notes
Update copyright and upgrade to v5Open-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.