Breakeven function
-
Good morning,
I set my breakeven function and it didnt work. I found a Q&A regarding this.
As in the picture below, block 6 and block 4 need to be connected.- but I am still wondering, how do I define the group#?
- and for sell condition, does it also need a separate "if trade" or not?
https://fxdreema.com/demo/mt4-wrong-closing-rule

Thank you!
-
so after reading some Q&As, would this also possible?

-
@andrewfrank The last picture is haw to do it providing inside the condition, you have the name of a bool constant to switch on/off in inputs, you also don't need the pass as is in the condition block.
-
@jstap Thanks for responding.
So if I dont use pass, I can connect the use breakeven directly to buy and sell now like picture below?
Because I used this before, but somehow it didn't work.
-
@andrewfrank Blocks under quite often wont work, you need no blocks above the condition for it to work.
-
-
@andrewfrank Yes, the pass block just says "do something", do something" is also contained within a condition block.
-
@jstap ah okay. Didnt know.
I thought everything must be connected.
I'll do the same with trailing stop.
Thank you once again! -
@andrewfrank No problem, generally every function should have it's own tree.
