OPEN-SOURCE SCRIPT

Supports & Resistances [UAlgo]

Atualizado
The "Supports & Resistances [UAlgo]" indicator is designed to identify and visualize key support and resistance levels on the price chart. It utilizes the Average True Range (ATR) and Pivot Points to define the boundaries of S & R zones and considers historical price action to assess the strength of these zones.

🔶 How to Obtain Zones

The script continuously analyzes the price action and identifies potential support and resistance zones based on the following criteria:

Zone Creation: For swing highs, a zone is created with the high price at the zone length as the top and the top minus the Average True Range (ATR) as the bottom. Conversely, for swing lows, the zone is created with the low price at the zone length as the bottom and the low plus the ATR as the top.

captura

Zone Strength Calculation: The script iterates through historical bars within the zone and counts how many times the price (low for support, high for resistance) touched but failed to break entirely through the zone. This count is assigned as the zone's "strength".

Zone Display and Removal: It identifying zones by assigning a "strength" value based on how many times the price has approached but failed to break the zone. This helps prioritize stronger potential support/resistance levels. Only zones exceeding the defined "strength threshold" are visually displayed on the chart. Weaker zones or those broken by price are automatically removed.

captura

🔶 Parameters

Zone Length: Traders can adjust S & R detection sensitivity, length to be used to find pivot points.

Strength Threshold: Set the minimum number of times the price needs to touch but fail to break a zone for it to be considered "strong" and displayed.

Visual Settings: Tailor the appearance of the support/resistance zones by defining separate colors and text size for borders, backgrounds, and zone text.

🔶 Disclaimer

The "Supports & Resistances [UAlgo]" indicator is provided for educational and informational purposes only.

It should not be considered as financial advice or a recommendation to buy or sell any financial instrument.

The use of this indicator involves inherent risks, and users should employ their own judgment and conduct their own research before making any trading decisions. Past performance is not indicative of future results.

🔷 Related Scripts

Support and Resistance with Signals [UAlgo]

https://www.tradingview.com/script/vPkSAk2e-Support-and-Resistance-with-Signals-UAlgo/

ATR Based Support and Resistance Zones [UAlgo]

https://www.tradingview.com/script/oY7rfzuc-ATR-Based-Support-and-Resistance-Zones-UAlgo/
Notas de Lançamento
"Invalid number of bars back" Error fixed.
Average True Range (ATR)Pivot points and levelsSupport and Resistancesupportandresistanceanalysissupportandresistancezones

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Get access to our exclusive tools: -

Join Our Discord For Updates: -

All scripts & Content Provided by UAlgo Are For Informational & Educational Purposes Only.
Também em:

Aviso legal