How to create EA for this?

How to make an EA for the following logic

Paramter Value
Preferred Timeframe Intraday 1 minute
Indicators Used RSI(17), ADX(14)
Buy Condition RSI(17)>=75 AND ADX(14)>25
Short Condition RSI(17)25
Sell Condition Same as Short Condition OR Time>=03:15 PM
Cover Condition Same as Cover Condition OR Time>=03:15 PM
Stop Loss 0.5%
Targets No fixed target, Stop and reverse when AFL gives opposite signal
Position Size 150 (fixed) or 80% of equity (as per your risk appetite)
Initial Equity 200000
Brokerage 50 per order
Margin 10%

It is not possible to build EA based on time or percentage change for now