Adding multiple positions in Expert Advisor

 

Hi everyone

 

Can anyone post a piece of code for adding multiple positions

(ie one sell and one buy) without closing the previous one(s)  

 

Thanks in advance

 

Dada 

 

If you want to implement your requirement (same symbol, bi-directional) for MT5 platform, the answer is: NO WAY!

Please google "NFA FIFO RULE"... 

 
Konstantin Dadiani:

Hi everyone

 

Can anyone post a piece of code for adding multiple positions

(ie one sell and one buy) without closing the previous one(s)  

 

Thanks in advance

 

Dada 

what is your codes.

 

If you want a buy and a sell positions at the same time, you need two MT5 accounts.

1 for your buy positions and 1 for your sell positions.

 
You can't do it in mt5. I think that it's better (closer to professional trading).


However it you have to keep your positions seperated, you can just copy your trades from mt4 (and manage it there) to
mt5.