LonesomeTheBlue

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 :
Remove from Favorite Scripts Add to Favorite Scripts
If you find my works useful, please consider a donation
BTC: 19qDW9AShZhBZsGuXcgRzam5Fbpc3EU8EV
ETH: 0x39c8552371b9b7f4e324197af460ba8bc8e18ef9

Earn $30
https://www.tradingview.com/gopro/?share_your_love=LonesomeTheBlue

Comments

can you pls make a video of its explanation??
+8 Reply
What is the meaning of "Left bar", "middle bar" and "right bar" in the input section?
+7 Reply
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.
+1 Reply
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."?
+5 Reply
LonesomeTheBlue bobbyvanessen
@bobbyvanessen, yes thats true
Reply
how do u set alerts for high and low? i really like it
+3 Reply
@ntsnow02, Im wondering the same...
Reply
when does a HL actually print? Only if price breaks above a previous pivot high?
+3 Reply
LonesomeTheBlue UnknownUnicorn5984952
@UnknownUnicorn5984952, if you mean Higher Low then it appears pivot point is higher then last low and last high (or PP) is Higher High
Reply
Hey man, I just wanted to say that after trying hundreds of scripts (literally), this is the first (other than of RSI) that I've implemented into my strategy. Thank you.
+3 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out