Is it possible to create an EA which can open a pending Order automatically?

 

Hello,

How are you guys? I was just thinking about this, say for example whenever a H4 Chart is completed and when the next H4 Charts starts, the MT4, should automatically place a Pending Order just 1 pip above the previous H4 chart ( buy stop pending order ) and 1 pip below the previous H4 chart ( sell stop pending order ).

If the previous h4 chart has a high of 1.4000, it should place a buy stop pending order @ 1.4001 and if the previous H4 chart has a low of 1.3001, it should place a sell stop pending order @ 1.3000.

The stop loss would be the previous H4 chart low ( minus 1 pip down ) if it is a buy stop pending order and (plus 1 pip above ) if it is a sell stop pending order.

Pending Orders should be created automatic whenever a H4 chart is completed. This can also be created on other then H4 timeframes.

I saw scorpions Hi/Low breakout EA somewhere, but its not working.

Can you please guys code it for me?

This works out really well for me manually. You guys can also try.

Any help would be deeply appreciated.

Thank You.

- FXanalyst.

Reason: