Support Resistance - Aging [Example]

Hello All,

First all of Thanks to Pine Team for adding Arrays to Pine!

In this script I tried to make example for
1. Finding S/R lines using highest/lowest function
2. Using 1D array as 2D (we keep S/R levels and age)
3. "Age" usage for S/R levels, getting older on each candle and changing colors by their age (maximum age is 127 then it disappears)

You can use "Close"/Open" or "High/Low" as source.

There is an option for the background color, by default it's Black, do not forget to set it accordingly :)

Release Notes: Fixed it to show S/R levels if their age is greater than 1.
Remove from Favorite Scripts Add to Favorite Scripts
If you find my works useful, please consider a donation
BTC: 19qDW9AShZhBZsGuXcgRzam5Fbpc3EU8EV
ETH: 0x39c8552371b9b7f4e324197af460ba8bc8e18ef9


great indicator, thanks for sharing! is that possible to change into a Zigzag?
+3 Reply
LonesomeTheBlue blackcat1402
@blackcat1402, you are welcome, possible but it may be another project :)
aldrinjeth LonesomeTheBlue
@LonesomeTheBlue, really amazed by you, sir. I hope you can soon make zigzag with the count. 1-2-3 when it's making higher highs and higher lows and the count will restart if it creates a lower low in an uptrend and vice versa for a downtrend :)
abdelahad1987 LonesomeTheBlue
@LonesomeTheBlue, Tu peux aider Moi s’il te plaît j’ai rien compris il m’a envoyé un texto
so beautiful.
+1 Reply
Thanks for the indicator, It seems very useful.
+1 Reply
Hi, Sir, I am not getting this indicator - Support Resistance - Aging. I am getting all your other indicators. But not this one. Can you share with me & give me access?
Your SR Dynamic really helps me lot.
Thank you. 👍👍👍
+1 Reply
LonesomeTheBlue Tech_Milind
@Tech_Milind, this is free and open source script, I especially made it open-source as an example for array usage etc.
Hi sire plz help me how i can download this indecater on my chart
+1 Reply
@ibrocade, click "Add to Favorite Scripts", search "Support Resistance - Aging" in public library :)
+1 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