Problem with adding volume to buy operations
-
I want to add volume when a trade goes negative. I do the following blocks:
For each trade ---> pips away from open price(chart model/bid for buy, ask or sell/the current partial trade) ---->add to volume
with the sell it works perfectly
the buy doesn't work
I tried with various settings but it never works only the buy
How can I solve this? Thanks -
it should work the same, add a shared link to view and see what's inside the blocks.
-
-
Both look the same so should work the same, try recreating the project from scratch, shouldn't make a difference, but worth a try. Create constantl as picture, then you can select number in multiple blocks, this will show up in your inputs, reducing how much you have to change:

-
i tried, it does not work
-
What doesn't? I didn't say anything that doesn't work, add your latest shared link to see.
-
I recreated the project, it is the same as before, adding volume in buy does not work
-
Everything I said does work, add your latest link to see what you have done and what's not working
-
https://fxdreema.com/shared/pceaeoQde
I had shared the wrong project.
This is the correct one. The problem is caused by the blocks that control the number of open trades at the same time.
how can I solve it? -
still not 100% sure what you mean, check number or open trades before opening a new?
-
Without blocks controlling the number of trades, volume additions work on both buy and sell. While when there are those blocks, one of the two trees that adds volume does not work
-
buy or sell or either?
-
Depending on which tree I put first in the project, that one works. In this case, I put the sell first and the buy after, so the buy doesn't work.
-
Considering you are using the exact same percentage to increase on both buys and sells, just use one same 'for each trade' block tree including both buys and sells. Additionally, you should deselect (untick) the 'Volume upper limit' box at the end of the block. Then try it again.
-
I already tried and it doesn't work like that either. I'm sure the problem comes from controlling the number of open orders,
by removing those blocks, the volume addition work. I tried to write it differently but the result doesn't change, -
@RoboEA And is what you shared the whole project or just part of it?
-
it's the whole project
-
Then the only option I can suggest is changing the launcher structure. Trades are open after the trailing stop blocks. Those should be completely separated on a different block tree. Why are new trades supposed to be open after the previous ones are moving its stop loss?
-
I actually tried to remove the trailing stop, but it doesn't work in that case either.
-
But do you need the trailing stop feature? If you do, you need to separate it from the triggering trades structure. What conditions are to be met for a trade to be open?