It is calculated as a multiple of the ATR instead of a percentage.
You are able to change the multiple and the ATR length.
It can be used as a guide to where you should consider putting in your stop loss on a trade and to where you should move your stop loss to as the days go by.
This indicator is experimental. Use at your own risk.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
how to get 5 deicmals point for forex ? currently only got 2 decimals points