OPEN-SOURCE SCRIPT

Supports & Resistances [UAlgo]

已更新
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.

快照

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.

快照

🔶 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/
版本注释
"Invalid number of bars back" Error fixed.
Average True Range (ATR)Pivot points and levelsSupport and Resistancesupportandresistanceanalysissupportandresistancezones

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


Get access to our exclusive tools: ualgo.trade

Join Our Discord For Updates: discord.com/invite/kyQkKxUQkW

All scripts & Content Provided by UAlgo Are For Informational & Educational Purposes Only.
更多:

免责声明