Multiple trading on 1 chart using 1 EA

 

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?

 
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
 
Could you please share which part of the code exactly I need to edit. I'm  beginner for this and struggling big time.  
 
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.