PROTECTED SOURCE SCRIPT
Aggiornato Hendo's Drawdown Calculator

Are you particularly good at buying tops and selling bottoms while being terrible at math?
Then here's your solution:
A basic script that automatically calculates and plots the drawdown between the highest high (or open/close) and the current price.
Best used on the higher time frames (so you can easily see where the "top is derived from". If it's used on an asset that hasn't topped out yet (unlike 90% of the altcoins) the calculations will not work (since it's not in drawdown).
Comes with 1 setting: The source that should be used to calculate the highest point in price. Options are: High, Close or Open. I've purposely left out "low" and "HL2/OHLC4" because they don't make much sense for a script like this.
Considerate use is advised for people with weak hands. Since the numbers can be overwhelming.
If you encounter any bugs or errors feel free to leave a comment. Enjoy!
Then here's your solution:
A basic script that automatically calculates and plots the drawdown between the highest high (or open/close) and the current price.
Best used on the higher time frames (so you can easily see where the "top is derived from". If it's used on an asset that hasn't topped out yet (unlike 90% of the altcoins) the calculations will not work (since it's not in drawdown).
Comes with 1 setting: The source that should be used to calculate the highest point in price. Options are: High, Close or Open. I've purposely left out "low" and "HL2/OHLC4" because they don't make much sense for a script like this.
Considerate use is advised for people with weak hands. Since the numbers can be overwhelming.
If you encounter any bugs or errors feel free to leave a comment. Enjoy!
Note di rilascio
Fixed a small error in the display.Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.