Please make tradescript for given strategy

hi

i want BUY SIGNAL when slow schotestic(14,3,3) crossover signal line and its value must be between 0 to 20

and MACD (26,12,9) crossover signal line and its value must be below 0

and candlestick touched to bottom bolinger band or near to bottom bolinger band

i want SELL SIGNAL when slow schotestic(14,3,3) crossover signal line and its value must be above 90

and MACD (26,12,9) crossover signal line and its value must be above 50

and candlestick touched to upper bolinger band or near to upper bolinger band

PLEASE REPLY AS SOON AS POSSIBLE

Buy:

SET A = SOPK(14, 3, 3, SIMPLE) <=20 AND SOPK(14, 3, 3, SIMPLE) >=0

SET B = SOPD(14, 3, 3, SIMPLE)

SET C = MACD(26, 12, 9, SIMPLE)

CROSSOVER(A, B) AND CROSSOVER(C, B)<0 AND

SET BOTTOM = BBB(CLOSE, 20, 2, EXPONENTIAL)

REF(CLOSE, 1) < REF(Bottom, 1) AND
CLOSE >= Bottom

Sell:

SET A = SOPK(14, 3, 3, SIMPLE)

SET B = SOPD(14, 3, 3, SIMPLE)

SET C = MACD(26, 12, 9, SIMPLE)

CROSSOVER(A, B) > 90 AND CROSSOVER(C, B) < 50 AND

SET TOP = BBT(CLOSE, 20, 2, EXPONENTIAL)

REF(CLOSE, 1) < REF(TOP, 1) AND
CLOSE >= TOP

hi
its not working as per my strategy please do helpful we can talk

do not share your contact details as this is a public forum, you can alternatively send a PM