Auto Pending Order on MA Line/Price EA

 

Hello reliable gurus out there.....please can anyone help me code an EA that sets automatic pending order on an MA line/price with sl and tp with the MA visible on the chart? What I want is when price is above the MA, the EA should set automatic buy pending order on the MA line/price on every new candle opening and if price is below the MA it should plot automatic sell pending order on the MA line/price on every new candle opening. For instance if I put the EA on 15mins tf, it should plot a new pending order every 15mins on the MA line/price....same thing for all timeframes. When a pending order is triggered, the EA should automatically disable and can only be enabled manually again. Hope you understand? Thanks alot.

 

Hi romotly007,

Please check this thread - it will help

EMATrailing Stop EA: trailing stop based on an EMA. Original thread is here

 

It is not what you are asking for ... but at least - it is something what the coder can start with sorry.

Reason: