"Modify each trade" block query
-
The "Modify each trade" block seems to allow me to specify a new stop loss and new take profit for all trades running. However, I don't wish to alter the take profit; I wish to leave it at none.
As there is no drop-down arrow with choices, do I achieve this by simply leaving the "new take profit" field blank?
-
I should update this block, but you can use "Start trades loop => (in loop) Modify SL and TP".
-
Thanks for the reply.
I would like to use this outside of a trade loop. So am I right in thinking to leave the take profit unchanged at none I simply leave the "new take profit" field in the "modify each trade" block blank?
-
You know... while you waiting for an answer to this, you can check it so many times :))
If a numeric field is blank, it's value will be 0 in the output code. Sometimes I totally forget what a certain block can do, but I'm almost sure that this one will clear TP if you put a value of 0. By the way, this block has the loop inside.
The story of the whole group of blue blocks is that I started creating them, then I created all the pink blocks, and because they can do what the blue ones can do (and more), I abandoned blue ones

-
Thanks again for the reply.
The pink "(in loop) Modify SL and TP" block doesn't seem to allow me to specify by Group. That's why I'm using the blue "Modify each trade" block. So maybe the pink blocks need a little updating too?

-
No no... Group is specified in "Start trades loop". Each of "(in loop)...." blocks does something over the already loaded trade/order/history trade.
-
OK. But over 12 or so trade groups, that's quite a lot of individual "Start trades loops" and associated other blocks. That's maybe 8 or so as many blocks in comparison to being able to call a group in the pink blocks.
Just a thought!
