Pine Script Error Reference: strategy.exit & trail_offset
In Pine Script, trail_offset cannot be used alone in strategy.exit(). Pair it with trail_price or trail_points, which set where the trailing stop activates, or Pine throws the "must have at least one of the following parameters" error. trail_offset then sets how far behind price the stop follows once it is active. If the Pine Editor










