Breakeven on stop orders only
-
Hi again,
I can imagine many things but putting it in to a program remains hard for me even when its as simple as your FXDREEMA. Its the very best program out there. I have attached a picture again to make things super clear. All pending orders should run until stop out, specially the limit orders. But with stop orders I get very nervous because it means you are in profit. So I would like to have those at break even at a certain point. The robot will close all open orders and pending orders once that stop gets hit. I do have that set on trade. I just can't have it when a profitable trade turns in to a losing trade. When it is not achieved as shown in the picture any ideas are very welcome.
And again many thatnks in advance because you are the best

Erik
......
breakeven.jpg -
Connect those break even blocks somewhere like this: https://fxdreema.com/demo/mt4-trailing-stop
-
Hi,
I understand what you mean and maybe my question was a bit incomplete or hard to read.
I have 1 instant order, 2 pending limit orders and 1 pending stop order in "On Tick"
I have a stoploss for all trades in "ON TRADE" ( no matter how a trade is closed all trades and pending orders must be closed)
so far no problem.The real question is can I trail or set break even on the pending stop order only.
I have seen a few blocks:
(on trade) Order SL modified.
check type
check how it was closed >>>Is there also a block how it was opened???In short, the robot will enter a trade and when price goes against me it will ad 2 limit orders.
Best case scenario is that all orders stay in and price goes in my favor again untill the stop order gets hit.
Its that stop order I want to trail when price goes even more in my favor.Hope you understand what I mean now.
I can always do a video on the subject as I did before.
Thanks in advance again,
Erik (picture attached)
......
stop.jpg -
All pink and purple blocks are a little bit specific, they must be used in their context. Pink blocks are to be used within a loop created by "For each..." blocks, purple blocks are to be used under "on Trade".
In any case, if you want to trail stop, you must work under "on Tick", because the stop must be always monitored. The thing is that "Trailing stop" block should not be placed right after "Sell" or "Buy" blocks, because in such way "Trailing stop" does not run on every tick.
If you want to separate trades or orders, take a look at their "Group #" parameter.