NEED HELP FOR SIMPLE EA CODING

 

The EA open buy/sell pending order when ( X ) pips moves with ( y ) pips distance gape
when new pending order open old pending orders closed in same time...

Reason: