ATR stop loss

Additions in this version:
You can now show percentage labels to help evaluate the level of risk.
The color of the plotted line and the text labels can be picked by the user.
Percentage labels can also be shown and the user can pick the color of the line and text.
- Added support for a user-defined ATR-multiplier to add flexibility.
- There is a longer list of preset values in the multiplier list.
- Default color and line style has been changed.
- The code has been a bit reorganized.
Example usage:
Either pick a preset value of choice to plot a stop loss level (default is 1.5*ATR), or set a user-defined multiplier (for example a stock's beta).
If the user-defined multiplier is 1 the preset value will be used (if a bad value is given, it will be set to 1).
Good luck with your risk management and have a happy trading journey.
- The user can now select alternative price sources (default is closing price).
- Labels are shown 250 periods back (about one year on a daily chart)
- Some reorganization in the input dialog
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.