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 :
Script de código aberto

No verdadeiro espírito TradingView, o autor deste script o publicou com código aberto, para que os traders possam compreendê-lo e verificá-lo. Um brinde ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para utilizá-lo em um gráfico.

Quer usar esse script no gráfico?


can you pls make a video of its explanation??
+30 Resposta
wandafaye2112 palrakesh
@palrakesh, so sorry but if you need a video explanation of how to use this i recommend not trading :)
+13 Resposta
What is the meaning of "Left bar", "middle bar" and "right bar" in the input section?
+20 Resposta
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 Resposta
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 Resposta
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 Resposta
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 Resposta