need help to create EA

 

Hello

can anyone help me?

i need an EA with the follows rules:


buy, when price turns and goes up 20 pips ( this should be adjustable ) then place a buy order with stop 10 and target 20 ( this should be adjustable ).

sell when price turns and fall 20 pips ( this should be adjustable )then place a buy with stop 10 and target 20 ( this should be adjustable ).

- never take two orders at the same time

- never take two orders in the same direction

buy, sell, buy = o.k.

sell, sell = not o.k.

buy, buy = not o.k.


- set alarm if take a trade

- tradingstart and tradingend should be adjustable


Thank you


see attached file

Reason: