pending order Expert Advisor

 

Hi can any one have expert advisor when intialize it open buy or sell order and then do the pending order based on if it buy first then buy limit or sell first then sell limit. it has stop loss and take profit function.

every time stop loss hit a new pending order with X distance from the current order (lets say 10 pip every time). and also it increase the lot size after (3 or 4 times ) stop loss hit. Thanks     

 

Forum on trading, automated trading systems and testing trading strategies

How to Start with Metatrader 5

Sergey Golubev, 2016.05.08 20:17

Welcome,

  • Usually people who can't code don't receive free help on this forum, though it could happen if you are lucky, be patient.
  • If you show your attempts and describe well your problem, you will most probably receive an answer from the community.
  • If you don't want to learn to code, nothing bad, you can either look at the Codebase if something free already exists, or in the Market for paid products (sometimes free also).
  • Finally, you also have the option to hire a programmer in the Freelance section.
Good luck.

 
Umair Khalil:

Hi can any one have expert advisor when intialize it open buy or sell order and then do the pending order based on if it buy first then buy limit or sell first then sell limit. it has stop loss and take profit function.

every time stop loss hit a new pending order with X distance from the current order (lets say 10 pip every time). and also it increase the lot size after (3 or 4 times ) stop loss hit. Thanks     

As Sergey say, listen to him. But anyway what you say is a kind or martingale system and the outcome might be very different from what you expect.
 

An EA is going to place a lot of orders.

Consider using a script that you can control:  there is a good free one I use from Market -- YF PendingStop    You can see how I use it on my profile.  I just posted some example of how and why I place them.

If you definitely want an EA, look for a grid EA in Market and CodeShare

Reason: