OPEN-SOURCE SCRIPT

Pivot Points H/L by Himansu

2 260
Im not able to figure out why the strategy.exit only stays for one candle. I was trying to let the trade open till it hits Target or StopLoss.
Will really appreciate some help here.

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.