OPEN-SOURCE SCRIPT
Support Resistance by EV

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.
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.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.