PluePhantom's Trailing Stop Loss Multiple of ATR
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © ChamodSachin

//@version=5
indicator("PluePhantom's Trailing stop loss v5", overlay=true)
ATR = ta.atr(input(defval=14,title="ATR"))[1]
Multip = input(defval=1.5,title="Multiplier")
Longstop =low - ATR * Multip
Shortstop =high + ATR * Multip
plot(Longstop,"Long Stop Loss")
plot(Shortstop,"Short Stop Loss")
