close all trader
-
hello as I can close all trader when you xx profits.
I do not know how to do it. -
A signle trade makes this profit and needs to be closed, or as a group

-
as a group.
-
There is a block Check profit (unrealized) (old name Check unrealized profit). With this one you can check the profit accumulated from multile trades and then you can use Close trades to close the same group of trades.
-
I want to close all operation at a time when you say 100 or $ 50 profit.
not like putting that option with a specific amount of profit. -
It's not specific amount. Never use == to compare prices or profits. If you have >=, then you are checking if the profit is >= than some amount and you can do something after that
-
I want to do is to close all open transactions have either positive and negative adding up all positive benefit.
Check the block just look at the profit benefit of an operation and what I want you to look at global.
thanks for your answers. -
I don't know what you mean.
There is one global account profit, which is the difference between Equity and Balance at any given time. This is global, because this is result of all manually and automatically placed trades. You know that while you have 1 trade still running, the value of Balance does not change, so Balance is really the latest known money amount you had in your account when there were 0 running trades.
To check this value go in Condition -> Account and there you will find these global values.If you don't need that global profit, you can get the profit made out of few trades only (a group of trades). These trades can be all trades made by the current EA. Each EA knows it's own trades and normally does not touch others. So you can calculate the sum of the profits made from those trades only. And this is what Check profit (unrealized) (old name Check unrealized profit) do.