Need help to Code GRID EA

 

Hi guys

I am working on this GRID EA and I don’t know how to replace a Limit Order after a Market Order at each level touch take profit.  As I show on this picture when I execute EA it send 5 orders to server.

1 Market Order, 4 pending orders (2 Stop Orders and 2 Limit Orders). When Market Order touched TP I need to replace a Limit Order at Open Price of the Market Order that had closed at TP.

 

Please don't double post.

There are currently no #FOR_FREE coders available.

Try this: https://www.mql5.com/en/job

Trading applications for MetaTrader 5 to order
Trading applications for MetaTrader 5 to order
  • www.mql5.com
EA Summary; My EA opens trades on multiple currencies based on where they in contrast with the MA. It uses multi-time frame for trade entries. I'd like to make 3 key enhancements. Enhancement 1: Update EA Close function; The Exit 1 close function manages when a trade will close based on the candle’s position corresponding to the MA;  Example...
 
Marco vd Heijden:

Please don't double post.

There are currently no #FOR_FREE coders available.

Try this: https://www.mql5.com/en/job

dir Dr Marko

I know you are a developer but I need to solve my problem in forum.

 
Masood Abak:

dir Dr Marko

need to solve my problem in forum.

Why?


Look here: https://www.mql5.com/en/search#!keyword=grid&module=mql5_module_forum

238 pages of grid !!!!!

Search - MQL5.community
Search - MQL5.community
  • www.mql5.com
Searching is based on morphology and is insensitive to case. All letters, no matter of their case, will be processed as lowercase. By default, our search engine shows pages, that...
Reason: