@l-andorrà yes 100% work automatically. how to setup the variables in this strategy.
the reason I want to use line instead of SL trailing because my main strategy is grid trading where some point robot will open lot of trades. then when in profit I don't want all the trade move SL moving around as this approach will get a warning from broker due to lot of sl moving trailing in same time