Aggiornato

Auto Support & Resistance [OrbitOne]

714
Auto Support & Resistance [OrbitOne] finds the most important support and resistance zones on any chart automatically. It groups recent swing highs and lows into zones, ranks them by how many times price reacted there, colors them by their current role and marks confirmed breakouts, with a live dashboard and on-chart text in 8 languages.

🔶 HOW IT WORKS

1. Swing points: every confirmed swing high and swing low (pivot lookback 10 / 10 by default) is collected. The most recent 40 are used.
2. Clustering: swing points that are close to each other are merged into one zone. "Close" means within 0.5 x ATR(200) by default, so the zone width adapts to any symbol and timeframe.
3. Strength: each zone counts how many swing points it contains (touches). Zones with fewer than 2 touches are ignored.
4. Selection: 6 zones are drawn by default. "Nearest to price" (default) shows the zones closest to the current price; "Most touches" shows the zones price reacted to most often.

Each zone is drawn from its first touch and extended to the right of the last bar, with a label showing its role, the number of touches and its middle price.

🔶 ROLE COLORS

• Red: resistance, the zone is above price
• Green: support, the zone is below price
• Orange: price is currently inside the zone

Because the color is based on where price is now, a broken resistance automatically turns into support, and the other way around.

🔶 BREAKOUTS

• BREAK ▲ when price closes above the top of a zone
• BREAK ▼ when price closes below the bottom of a zone

Repeated labels in choppy markets are hidden by a minimum gap between breakouts in the same direction (10 bars by default). With "Wait for bar close" enabled (default), breakouts are confirmed on closed bars only and do not repaint. Swing points are only used after they are confirmed, so the zones never use future data.

🔶 DASHBOARD

• Nearest resistance and nearest support, with their distance from price in percent
• Number of zones on the chart
• Last breakout direction and how many bars ago it happened

🔶 MULTI-LANGUAGE CHART TEXT

Choose the chart language in the settings: English, Türkçe, Español, Português, Deutsch, Français, Русский or 中文. Zone labels, breakout labels, the dashboard and alert() messages appear in the selected language. The settings menu itself stays in English.

🔶 SETTINGS

• Pivot lookback left / right: larger values find fewer, more important levels
• Swing points used, zone width (x ATR), minimum touches, number of zones, zone selection, extension to the right
• Minimum bars between breakouts
• Colors, transparency, labels and dashboard position

🔶 ALERTS

• Breakout above resistance, Breakdown below support, Any breakout (English messages)
• For alert messages in your chosen language, create an alert with "Any alert() function call"

🔶 WHAT IS ORIGINAL HERE

Support and resistance from swing points is a classic idea. The code in this script is written from scratch. What it adds is ATR-based clustering of swing highs and lows into zones, touch counts with nearest or strongest zone selection, automatic role coloring, confirmed breakout signals, a nearest-level dashboard with distances and translated on-chart text in eight languages.

⚠️ This script is a technical analysis tool for educational purposes. Support and resistance zones are areas of interest, not guarantees that price will react. It does not provide financial advice. Always manage your risk.
Note di rilascio
Fixed a runtime error on charts with long history.
Note di rilascio
Cleaner publication chart..
Note di rilascio
Cleaner publication chart..

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.