OPEN-SOURCE SCRIPT

Average True Range with stop loss and take profit finder

5 864
Based on the official original average true volatility (ATR), two functions have been extended.
Users can see the suggested stop loss and take profit parameters when entering a long or short order with each K-line.
Part of the settings:
Length: The preset is 14 K lines, which can help you grab the suggested stop loss point.
Long-short single profit-loss ratio: After entering the value of the profit-loss ratio (floating point) you want, it will automatically convert and calculate the past take-profit point.

The five values displayed on the chart are from left to right: ATR, Short Stop Loss, Long Stop Loss, Short Take Profit, and Long Take Profit.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.