In Expert Advisor, I can see crossover codes. How to apply a trailing SL with codes

BUY

CROSSOVER(EMA(CLOSE,8),EMA(CLOSE,13))

SELL

CROSSOVER(EMA(CLOSE,13),EMA(CLOSE,8))

HOW TO APPLY A TRAILING SL USING CODES

In Expert Advisors by default there will be only Buy and Sell Script columns, If you want to check SL also then you can create one more EA with SL buy and SL sell and can apply both to chart