Help me in making the strategy as per below logic

Short Bank Nifty PE if following conditions are met:-

Supertrend (10,3) is above Bank Nifty price at 9.20 am or thereafter.
Selection of strike will be supertrend (10,3) value rounded off 100
Time Frame 5 mins
Weekly expiry
To take trade only on Wednesday and Thursday
SL 50% of premium sold
TSL close above supertrend(10,3) value of short PE
Exit at 1515 hrs if neither SL is hit
Target profit 70% of the premium

@ninjatrader