How to make this script codding

pls. make coding for me on my condition.

  1. buy must open above last candle mid point or high.

  2. BUY ABOVE 7 DAY LOW EMA MOVING AVERAGE .

  3. RSI 13 IS MUST BELLOW 30

IF ABOVE THREE CONDITION COUPLET THEN GIVE ME BUY CALL

You need a scanner for this or a complete algorithm that will trade this strategy?