OPEN-SOURCE SCRIPT

[DarkTrader] Strong High Low

Di 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 :
istantanea
istantanea

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

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità