OPEN-SOURCE SCRIPT
OBV+EMA with Highlights

OBV + EMA with Highlights — Volume Strength Trend Indicator
OBV + EMA with Highlights enhances the classic On-Balance Volume indicator by revealing true money-flow strength and trend quality with clean, intuitive visuals.
Key Features
OBV Trend Strength (4 Levels):
Strong Up, Weak Up, Weak Down, Strong Down — detected using OBV slope and EMA positioning.
Dynamic OBV Coloring:
OBV turns green above EMA and red below EMA for instant trend confirmation.
Trend Background Highlight:
Automatic background shading (2 levels for uptrends & downtrends) to visualize volume pressure.
EMA Trend Line:
Smooth EMA overlay to track money-flow direction.
Signal Dot:
A clean dot appears on the right edge to show the latest OBV signal state.
No Noise & No Repainting:
Lightweight, fast, and reliable for all timeframes.
Use Cases
Ideal for scalping, day-trading, or swing-trading.
Great for confirming breakouts, identifying fakeouts, and measuring volume strength behind price action.
All colors and display options are customizable to fit any charting style.
OBV + EMA with Highlights enhances the classic On-Balance Volume indicator by revealing true money-flow strength and trend quality with clean, intuitive visuals.
Key Features
OBV Trend Strength (4 Levels):
Strong Up, Weak Up, Weak Down, Strong Down — detected using OBV slope and EMA positioning.
Dynamic OBV Coloring:
OBV turns green above EMA and red below EMA for instant trend confirmation.
Trend Background Highlight:
Automatic background shading (2 levels for uptrends & downtrends) to visualize volume pressure.
EMA Trend Line:
Smooth EMA overlay to track money-flow direction.
Signal Dot:
A clean dot appears on the right edge to show the latest OBV signal state.
No Noise & No Repainting:
Lightweight, fast, and reliable for all timeframes.
Use Cases
Ideal for scalping, day-trading, or swing-trading.
Great for confirming breakouts, identifying fakeouts, and measuring volume strength behind price action.
All colors and display options are customizable to fit any charting style.
نص برمجي مفتوح المصدر
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.
إخلاء المسؤولية
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.
نص برمجي مفتوح المصدر
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.
إخلاء المسؤولية
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.