TradingView
everget
22 dec 2018 18:46

All-Time High % Drop 

Bitcoin / DollarBitfinex

Beskrivning

A utility tool to show price % drop since All-Time High.

Works on any ticker/instrument/asset.

Good luck!

Versionsinformation

  • Removed copyright
Kommentarer
GrahamGAZ
I need a screener to show me all stocks approaching their ATH but only after resting (trading below ATH) for >= 3 months. I want these stoc
everget
@GrahamGAZ, Thanks. I can do it, but the number of stocks will be limited to 40.
everget
The source code is here:
0bin.net/paste/m1h+Yin0
Indicator-Jones
@everget, seems like the pastebin has expired :(
Is there a chance to get the source code, so I can convert to version 5 and add a custom timeframe/resolution?
Thank you 🙏
everget
@Indicator-Jones,
//@version=3 // Copyright (c) 2018-present, Alex Orekhov (everget) study("All-Time High % Drop", shorttitle="ATH % Drop", precision=2) ath = high ath := na(ath[1]) ? ath : (high > ath[1] ? high : ath[1]) percent = 100 * (close - ath) / ath plot(percent, title="ATH %", color=#351c75, transp=0) plot(0, title="", style=circles, linewidth=0, color=gray) hline(0, linestyle=dotted, color=gray) plot(-10, title="", style=circles, linewidth=0, color=#F9CE02) hline(-10, linestyle=dotted, color=#F9CE02) plot(-20, title="", style=circles, linewidth=0, color=#F7BA05) hline(-20, linestyle=dotted, color=#F7BA05) plot(-30, title="", style=circles, linewidth=0, color=#F4A608) hline(-30, linestyle=dotted, color=#F4A608) plot(-40, title="", style=circles, linewidth=0, color=#F2920B) hline(-40, linestyle=dotted, color=#F2920B) plot(-50, title="", style=circles, linewidth=0, color=#F07E0E) hline(-50, linestyle=dotted, color=#F07E0E) plot(-60, title="", style=circles, linewidth=0, color=#ED6A10) hline(-60, linestyle=dotted, color=#ED6A10) plot(-70, title="", style=circles, linewidth=0, color=#EB5613) hline(-70, linestyle=dotted, color=#EB5613) plot(-80, title="", style=circles, linewidth=0, color=#E84216) hline(-80, linestyle=dotted, color=#E84216) plot(-90, title="", style=circles, linewidth=0, color=#E62E19) hline(-90, linestyle=dotted, color=#E62E19) plot(-100, title="", style=circles, linewidth=0, color=#E41A1C) hline(-100, linestyle=dotted, color=#E41A1C)
Indicator-Jones
@everget, Thank you Everget 🙏
unfortunately this 0bin site only gives me 404 errors =/
everget
@Indicator-Jones, reload this page
Indicator-Jones
@everget, MUCH APPRECIATED 🙏
Mer