Need EA that buy and sell base on specific bar opening price

 
Dear All,

I'm very new to this programming thing, so I would like to ask for your help on some code.

I need some help in creating an EA which will have the below function.

- Capture the Opening Price for the bar at 21:00:00 everyday

- Base on the captured opening price, place a pending Buy order at 15pips below the opening price, comes with Stoploss 15pips below the entry price, and Take Profit 15pips above the entry price

- Base on the captured opening price, place a pending Sell order at 15pips above the opening price, comes with Stoploss 15pips above the entry price, and Take Profit 15pips below the entry price

- Both of the Pending Order will expire at 00:00:00 if not executed

- When one of the two entry is executed, it will automatically cancel off the other pending entry

- It can only perform 1 entry at a day

Thank you very much for your help!!!! I really appreciate that....