Download MetaTrader 5

Multiple trading on 1 chart using 1 EA

To add comments, please log in or register
Ashan Haseem
24
Ashan Haseem  

I have created a simple EA which trades to RSI movement. The EA does only 1 trade at a time. It doesn't start a new trade if there is an active trade. Is it possible for an EA to do multiple trades on the same chart, while there are active trades?

Mohammad Soubra
28148
Mohammad Soubra  
a4ashan:

I have created a simple EA which trades to RSI movement. The EA does only 1 trade at a time. It doesn't start a new trade if there is an active trade. Is it possible for an EA to do multiple trades on the same chart, while there are active trades?

Of course yes
Just you need little changes of accessing your code functions
Ashan Haseem
24
Ashan Haseem  
Could you please share which part of the code exactly I need to edit. I'm  beginner for this and struggling big time.  
Marco vd Heijden
Moderator
4824
Marco vd Heijden  
a4ashan:
Could you please share which part of the code exactly I need to edit. I'm  beginner for this and struggling big time.  
Probably
OrdersTotal()
but you would have to show the code for us to tell you.
To add comments, please log in or register