Question - Code required for Intraday personal Strategy

Need code to incorporate the below strategy for BUY and SELL. Its for 2 mins,

BUY:

Bollinger Band (14,2m) - Current Price to touch the lower band

MACD(12,26,9,2m) - MACD should crossover EMA from bottom

RSI (14,2m) - Lessthan 31

SlowSTO(14,3,2m) - Lessthan 20

SELL:

Bollinger Band (14,2m) - Current Price to touch the Upper band

MACD(12,26,9,2m) - MACD should crossover EMA from Up

RSI (14,2m) - Greater than 70

SlowSTO(14,3,2m) - Greater than 80

(Used Google finance to get the above)

Please provid for 2 mins and 5 mins

As per the above condition,

Buy Script:

LAST < BBB(CLOSE, 14, 2, EXPONENTIAL) AND CROSSOVER(EMA(CLOSE,14),MACD(12, 26, 9, SIMPLE)) AND RSI(CLOSE, 14) < 31 AND SOPK(9, 3, 9, SIMPLE) < 20

Sell Script:

LAST > BBT(CLOSE, 14, 2, EXPONENTIAL) AND CROSSOVER(MACD(12, 26, 9, SIMPLE),EMA(CLOSE,14)) AND RSI(CLOSE, 14) > 70 AND SOPK(9, 3, 9, SIMPLE) > 80