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 utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.