How can I create a trailing stop-loss in Pine Script?
Radhesh Joshi Original Post
Strategy Builder
I’m creating a trading strategy in Pine Script and I want to add a trailing stop-loss to it.
How can I create a trailing stop that automatically moves in the direction of the trade as the price moves in my favor?
A simple example would be really helpful.
Thanks!
Posted Aug 10