Download MetaTrader 5
To add comments, please log in or register
Publish programs in Code Base. Improve your rating!
herbertn
9
herbertn 2015.08.31 10:06 

Hello,


I wanted my EA to check for the number of positions that it has open.

Each EA I write has a different majic number, I wanted to check the number of trades open for tht specific EA only. I would like to restrict say one EA to two open positions but still ollow others to open trades.


Could anyone tell me how to do this please?


Sorry for what is hopefully a very easy question, but I am relevatively new to this.


NIck

Alain Verleyen
Moderator
30298
Alain Verleyen 2015.08.31 13:53  
herbertn:

Hello,


I wanted my EA to check for the number of positions that it has open.

Each EA I write has a different majic number, I wanted to check the number of trades open for tht specific EA only. I would like to restrict say one EA to two open positions but still ollow others to open trades.


Could anyone tell me how to do this please?


Sorry for what is hopefully a very easy question, but I am relevatively new to this.


NIck

If you post your code you will certainly receive help.
/
To add comments, please log in or register