1 trade at the time in the whole account
-
Hi guys, is there any block or option to have 1 only trade open at the time in the whole account having more than 1 pair open with the same EA?
Basically I need to have 6 currency pairs open at the same time with the same EA, but only 1 trade open at the time, so that even if the other currency pairs meet the conditions to start a trade, they don't because 1 is already on.
thanks -
@dthtdyh95 No trade block at top, set for all trades and all symbols.
-
@dthtdyh95 said in 1 trade at the time in the whole account:
de open at the time in the whole account having more than 1 pair open with the same EA?
Basically I need to have 6 currency pairs open at the same time with the same EA, but only 1 trade open at the time, so that even if the other currency pairs meet the conditions to start a trade, they don't because 1 is already on.i set no trade at the top but it does not work. it trade 3 trades at the time. could some one explain me please? thanks a lot
-
@haidang8055 Put a shared link here, is the only way to inspect.
-
@jstap [link text](0_1640750807187_Alien.v6 (m5) lot 0.02.mq4 link url)
-
@haidang8055 In top right in the project tab you have create link, copy and past here., saves from downloading the file and allows the project to be opened.
-
-
@haidang8055 Shouldn't these be just buy or just sell?

I have never found the no trade block to allow more than 1 trade, the modify variables block at the top are resetting variables every tick, I would have them under a condition so things only change only when necessary.
-
@jstap said in 1 trade at the time in the whole account:
@haidang8055 Shouldn't these be just buy or just sell?
No i want only one trade at a time neither buy and sell -
@jstap i think no trade mean no trade is running, bot will trade when meet condition, the trade is close then another be traded
-
@haidang8055 Sorry I just read your question again, in the no trade block change the group from specific to all manually opened. this should make EA look at all opened trades.