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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.