Last High/Low Stop Swipe Strategy
Below is a TradingView Pine Script version 5 strategy that implements the requested trading logic. The strategy enters long positions at 0.05 daily ATR below the last low and short positions at 0.05 daily ATR above the last high, with take profit at 0.2 ATR and stop loss at 0.05 ATR. It also draws the…