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