OPEN-SOURCE SCRIPT

Support Resistance by EV

102
This indicator is designed to provide a clean and practical market structure view by combining automatic support and resistance detection with dynamic trend analysis. It identifies key support and resistance levels using confirmed swing highs and lows, intelligently merging nearby levels based on market volatility and filtering out outdated or irrelevant zones to keep the chart clear and focused on what matters now.

In addition to horizontal support and resistance, the indicator offers two complementary ways to read trend context. It can display diagonal trendlines built from the most recent swing highs and swing lows to visualize directional structure, or horizontal trend rays based on the latest pivots to highlight dynamic support and resistance acting as trend references. The user can switch between these modes depending on trading style and market conditions.

All visual elements are anchored by time rather than bar index to ensure stability when zooming or scrolling the chart. The indicator is fully non-repainting, relies only on confirmed pivots, and is suitable for any market or timeframe. It is intended as an open-source, professional-grade tool that helps traders quickly identify structure, trend bias, and key reaction levels without clutter or visual noise.

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.