Modify SL TP block
-
Hi,Fxdreema.I use mq5 and these three blocks below:"pips away(on loss)","add to volume","Modify SL TP".These blocks in tester and demo mode works fine, but in real "modify SL TP" setted on relative to open price, it modify tp on old open price not on new open price after the volume is added.From what can be the problem? Thanks.
-
I think Open price remains the same, the position is not closed after all. What if you try to modify stops relative to the current price?
-
I try to modify only tp. For example:i open a position sell 0.01 EURUSD at 1.3600,tp 1.3590 (10 pip),after 100 pip(loss) add 70% volume (now i have a sell 0.02 at 1.3650)and new tp is 5 pip from open price,the tp should be 1.3645 no 1.3595(5 pip from old price).I think that the execution of this block is more fast of the real time to put new order and it read old price.May be necessary to add a delay on the execution of this block?
-
That position is opened long time ago, why it's open price to change? I mean, someone else will prefer open price to remain the same... and it seems that this is the case. Try to modify relative to the current market price (the first option in Modify block) - it will choose Ask or Bid depending on the position type.