Hello,
I was wondering if someone could point me in the right direction. I've been trying to modify my expert so that it will send out multiple trades when a currency pair is negative. For instance, if i trade three currency pairs at one time, and all of them are in profit except for one, I would like the ability to add in additional orders except to the one that is unrealized negative. In order to do this, I've tried SymbolInfoInteger(), but none of the options provide the integer amount for the outstanding equity of a specific currency pair. Can anyone help?
Thanks!
James
There is only 1 position for each symbol, so you can use the following :
PositionSelect(_Symbol); PositionGetDouble(POSITION_PROFIT);
There is only 1 position for each symbol, so you can use the following :
There is only 1 position for each symbol, so you can use the following :

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
I was wondering if someone could point me in the right direction. I've been trying to modify my expert so that it will send out multiple trades when a currency pair is negative. For instance, if i trade three currency pairs at one time, and all of them are in profit except for one, I would like the ability to add in additional orders except to the one that is unrealized negative. In order to do this, I've tried SymbolInfoInteger(), but none of the options provide the integer amount for the outstanding equity of a specific currency pair. Can anyone help?
Thanks!
James