Higher High Lower Low Strategy (With Source Code)

This script finds pivot highs and pivot lows then calculates higher highs & lower lows. And also it calculates support/resistance by using HH-HL-LL-LH points.

Generally HH and HL shows up-trend, LL and LH shows down-trend.

If price breaks resistance levels it means the trend is up or if price breaks support level it means the trend is down, so the script changes bar color blue or black. if there is up-trend then bar color is blue, or if down-trend then bar color is black. also as you can see support and resistance levels change dynamically.

If you use smaller numbers for left/right bars then it will be more sensitive.

If you find my works useful, please consider a donation
BTC: 19qDW9AShZhBZsGuXcgRzam5Fbpc3EU8EV
ETH: 0x39c8552371b9b7f4e324197af460ba8bc8e18ef9

source code of :
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go dodać do ulubionych, żeby używać go na wykresie.

Chcesz użyć tego skryptu na wykresie?


can you pls make a video of its explanation??
+30 Odpowiedz
wandafaye2112 palrakesh
@palrakesh, so sorry but if you need a video explanation of how to use this i recommend not trading :)
+13 Odpowiedz
What is the meaning of "Left bar", "middle bar" and "right bar" in the input section?
+20 Odpowiedz
LonesomeTheBlue BillionaireLau
@BillionaireLau, they are both is required number to find Pvot Point. because it needs to check both side (left and right side) of candles to make sure if it's Pivot Point or not.
+4 Odpowiedz
Hi, really good script. I tested it for a while now. I want to use it for scalping, but the thing i am bumping in to is the 2 candle delay in calculating. After 2 candles it will give alerts, labels HH etc. I am aware the scripts needs data to calculate, but is there an option to tighten it? Is that what you mean by "If you use smaller numbers for left/right bars then it will be more sensitive."?
+16 Odpowiedz
LonesomeTheBlue Bobby-GeoTrader
@Bobby-GeoTrader, yes thats true
SRams71 LonesomeTheBlue
@LonesomeTheBlue, I think this in combination with overbought oversold condition will help in timing the enty
+3 Odpowiedz
midpoint75 Bobby-GeoTrader
@Bobby-GeoTrader, Using it with N4 and N7 bars will make it more profitable.
how do u set alerts for high and low? i really like it
+9 Odpowiedz