Horizontal Line EA

 
Could anyone please code an EA for me that places orders above and below the opening of a candle on horizontal lines that are 10 pips apart?

Eg price opens at 131.65, buy order placed at 131.70 and sell order placed at 131.60.

Many Thanks..
Reason: