OPEN-SOURCE SCRIPT
Trend Strength Benchmark (TSB)

This indicator helps you gauge trend strength by combining multi-timeframe EMAs, VWAP, and optional ADX filters. It tracks the EMA high, low, and close from your chosen primary timeframe, and can also pull corresponding levels from higher timeframes for added confirmation.
The shaded EMA band on the chart gives you a quick visual of the trend zone. VWAP from the same timeframe adds an anchor point to judge momentum.
For signals, the script fires a BUY when the candle’s low stays above all selected benchmark lines, and a SELL when the candle’s high stays below them. Only one type of signal is allowed at a time, preventing back-to-back buys or sells and keeping the flow clean. An optional ADX filter lets you allow signals only when the trend has enough strength.
Everything is customizable — EMA length, timeframes, signal direction, and ADX settings — making it a flexible tool for momentum and trend-based strategies.
The shaded EMA band on the chart gives you a quick visual of the trend zone. VWAP from the same timeframe adds an anchor point to judge momentum.
For signals, the script fires a BUY when the candle’s low stays above all selected benchmark lines, and a SELL when the candle’s high stays below them. Only one type of signal is allowed at a time, preventing back-to-back buys or sells and keeping the flow clean. An optional ADX filter lets you allow signals only when the trend has enough strength.
Everything is customizable — EMA length, timeframes, signal direction, and ADX settings — making it a flexible tool for momentum and trend-based strategies.
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.