Using groups to place orders?
-
I am trying to place a single order under several different conditions. For example I may have 3-6 trades running at a time because the conditions for 3-6 indicators were true. My problem is multiple trades are being opened from a single condition before the first trade is closed.
-
theres only 1 condition here. build the several conditions and then share so i can see wat u did
-
@iagnew Use a no trade block to limit to 1, copy and create different trees with the other conditions and set a different group number in all available blocks in the other tree(s).
-
@iagnew
if you want just 1 trade and there shouldnt be anotherset the trade check to equal 0, if you want to allow a certain number of trades later on
use the no trade block if you only want 1 trade at the same time -
-
Sorry for the delay and thank you all for your answers. I've tried the no trade block and it is still places multiple trades
https://fxdreema.com/shared/M6OJV7Nxc -
@iagnew You should use one only 'no position' block on top of all of them connected below separatedly like now.
-
I am confused as to why the No position/order block continues to pass. Both the No position/order block and the Sell now block are grouped together. Shouldn't the created trade be marked with a group number and then the No position/order block looks for trades in that group. Is this not how groups work, am I misunderstanding this?
-
@l-andorrà
I moved the no position block on top and made a few grids to demo test. It worked so I made up the rest of my grids and when I finish exact same thing (opens a new trade about every tick or so) Is there a limit on the number of groups you can have that anyone knows of?
https://fxdreema.com/shared/il1JmDR2b -
@iagnew This is weird because there is no limit gor groups as far as I know, but I admit I never created as many as you. You should try to rplicate your EA with less groups and the test it. Maybe you found an unknown bug.
-
@l-andorrà
Sorry for the long delay. I reduced the groups down to 45. It doesn't place trades as quickly(went from placing trades every few ticks to every minute of so), but, it does still allow multiple trades to open at the same price points.
https://fxdreema.com/shared/ditgKmJQ -
@iagnew
This is me manualy opening some trades and displaying as separate trades.

This is the EA I made running for a while adding to the position (starting at .01 lots and going up from there)

-
@iagnew Interesting. This means we can say 45 groups is the maximum number of groups than can be used effectiviely. Good to know. Thank you for sharing.