OPEN-SOURCE SCRIPT
EMA Oscillating Trend

๐ EMA Oscillating Trend by AI-123
The EMA Oscillating Trend indicator is a dynamic trend visualizer that enhances traditional EMA behavior by offsetting the line based on trend direction, providing a more intuitive and visually distinct representation of market momentum.
๐ Key Features:
๐ต Bullish Color Customization โ Define your preferred color for bullish trends
๐ด Bearish Color Customization โ Set a different tone for bearish phases
๐ช Adjustable Line Thickness โ Tailor the EMA's appearance to your chart style
๐ Offset Multiplier Input โ Automatically pushes the EMA above price in a downtrend and below price in an uptrend for enhanced clarity
โ๏ธ User-Friendly Inputs โ No coding knowledge required; full customization in the settings panel
๐ง How It Works:
Calculates a primary EMA line (OV) and a sub-component to compare against (OV2)
Determines the trend based on whether OV is above or below OV2
Shifts the EMA line above price during bearish trends and below price during bullish trends
The offset is percentage-based and scales dynamically with the price for optimal readability
โ Ideal For:
Trend-followers seeking visual clarity
Discretionary traders who want less clutter and more signal
Anyone who likes their EMAs with a little more flair and insight
๐ ๏ธ Author: alphainvestor123
This tool was crafted with simplicity and clarity in mind. If you enjoy the indicator, consider dropping feedback or sharing your use case!
The EMA Oscillating Trend indicator is a dynamic trend visualizer that enhances traditional EMA behavior by offsetting the line based on trend direction, providing a more intuitive and visually distinct representation of market momentum.
๐ Key Features:
๐ต Bullish Color Customization โ Define your preferred color for bullish trends
๐ด Bearish Color Customization โ Set a different tone for bearish phases
๐ช Adjustable Line Thickness โ Tailor the EMA's appearance to your chart style
๐ Offset Multiplier Input โ Automatically pushes the EMA above price in a downtrend and below price in an uptrend for enhanced clarity
โ๏ธ User-Friendly Inputs โ No coding knowledge required; full customization in the settings panel
๐ง How It Works:
Calculates a primary EMA line (OV) and a sub-component to compare against (OV2)
Determines the trend based on whether OV is above or below OV2
Shifts the EMA line above price during bearish trends and below price during bullish trends
The offset is percentage-based and scales dynamically with the price for optimal readability
โ Ideal For:
Trend-followers seeking visual clarity
Discretionary traders who want less clutter and more signal
Anyone who likes their EMAs with a little more flair and insight
๐ ๏ธ Author: alphainvestor123
This tool was crafted with simplicity and clarity in mind. If you enjoy the indicator, consider dropping feedback or sharing your use case!
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.
For quick access on a chart, add this script to your favorites โ learn more here.
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.
For quick access on a chart, add this script to your favorites โ learn more here.
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.