Download MetaTrader 5

How can my robot open multiple orders if you already have an open order.

To add comments, please log in or register
No time to learn MQL5? Order your application from a developer!
DelTrader
17
DelTrader 2017.01.09 22:56 

Hi,

 

1st, sorry my english.

 

I have crossing moving avarage robot, but if it has an open order, dont open another order until have closed the previous.  

 

This is the problem?

Thank you 

image 

Keith Watford
Moderator
9596
Keith Watford 2017.01.09 23:12  

How can that be the problem?

It is just a function that counts the open orders.

If you want your EA to open additional orders then you need to code it to do that.

You will need to specify in the code the conditions to open additional orders, including when not to.

DelTrader
17
DelTrader 2017.01.10 21:56  
Keith Watford:

How can that be the problem?

It is just a function that counts the open orders.

If you want your EA to open additional orders then you need to code it to do that.

You will need to specify in the code the conditions to open additional orders, including when not to.

Thank you :)

 

can you help me with that code ? 

Keith Watford
Moderator
9596
Keith Watford 2017.01.11 01:20  
DelTrader:

Thank you :)

 

can you help me with that code ? 

On this forum, we don't tend to write code for people. There is another forum that you can find people willing to do free coding and it is ridiculous the number of requests. You see many posters asking for free coding for an ill thought out strategy and 5 minutes later, they have moved on to the next stupid idea which they expect to have coded for free. I am not alone in not wanting to see the same thing here.

Anyone that is willing to put in the effort and try to code something themselves will usually get help with their project.

whroeder1
14466
whroeder1 2017.01.11 14:10  
  1. Don't post screen shots of code
    Don't paste code
    Play video
    Please edit your post.
    For large amounts of code, attach it

  2. learn to code it, or pay (Freelance) someone to code it.
    We're not going to code it for you.
    We are willing to help you when you post your attempt (using SRC) and the nature of your problem.
    DelTrader
    17
    DelTrader 2017.01.11 20:00  
    Ok, Thank you 
    To add comments, please log in or register