Try these on 5-min
Case 1:
Buy : ADX(14)>35 AND DIP(14)>DIN(14)
Sell : ADX(14)>35 AND DIN(14)>DIP(14)
Case 2:
Buy: SET A = MACDSignal(13, 26, 9, SIMPLE)
SET B = MACD(13, 26, 9, SIMPLE)
A>B AND ADX(14)>35 AND DIP(14)>DIN(14)
Sell: SET A = MACDSignal(13, 26, 9, SIMPLE)
SET B = MACD(13, 26, 9, SIMPLE)
A<B AND ADX(14)>35 AND DIN(14)>DIP(14)
No logic for exit yet.