OPEN-SOURCE SCRIPT

[DarkTrader] Strong High Low

由cdw1p提供
The Strong High Low indicator calculates strong high and low pivots based on price action and the Average True Range (ATR). The calculation for both the high and low pivots involves analyzing recent candle behavior to identify significant levels where price reversal is likely. Specifically, it looks for consecutive bearish or bullish candles to determine whether a strong high or low has been established.

Indicator In Use :
快照
快照

For strong highs, the indicator checks if three consecutive candles are bearish, meaning their closing price is lower than their opening price. It further examines prior candles to confirm that they followed a specific pattern where a reversal could occur. If one of these earlier candles closed higher than it opened, the indicator assumes that this was a strong high, and it records either the high of the second or third candle from the pattern, depending on their relationship to each other.

Similarly, for strong lows, the indicator searches for three consecutive bullish candles where the close is higher than the open. The algorithm then reviews prior candles in the sequence to ensure that the market condition supports a potential low pivot. If an earlier candle closes lower than it opens, it marks this as a strong low. The final low point for the pivot is chosen based on a comparison between the second and third candles of the pattern.

Once the high and low pivots are determined, the indicator adjusts these levels using the ATR value. The ATR is added to the strong high pivot and subtracted from the strong low pivot to create slightly modified levels. This helps accommodate market volatility by widening the range of the high and low pivots, making the levels more reliable in reflecting potential reversal zones.

Finally, the strong high and low pivot lines are drawn on the chart, extending both to the left and right of the current price, based on the user-defined offset values. These lines give a visual cue of where key resistance and support levels exist, with labels marking the exact pivot values for easy reference.
Average True Range (ATR)Pivot points and levelsSupport and Resistance
cdw1p

开源脚本

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

想在图表上使用此脚本?

免责声明