Please convert this stratergy in to tradescript

for bye -

  1. when 13 EMA crossover 34 EMA

​2) parabolic sar is below the candles

  1. the stochastic(10,3,3) is above 50 levels

for sale -

  1. when 13 EMA crossbelow 34 EMA

​​2) parabolic sar is above the candles

  1. the stochastic(10,3,3) is below 50 levels

As per the above given condition

Buy Script:

CROSSOVER(EMA(CLOSE,13),EMA(CLOSE,34)) AND HIGH<PSAR(CLOSE, 0.02, 0.2) AND SOPK(10, 3, 3, SIMPLE) > 50

Sell Script:

CROSSOVER(EMA(CLOSE,34),EMA(CLOSE,13)) AND HIGH>PSAR(CLOSE, 0.02, 0.2) AND SOPK(10, 3, 3, SIMPLE) < 50