fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Modify SL TP block

    Bug Reports
    2
    4
    1312
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      miki last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • M
          miki last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            Online Users

            H
            R
            A

            17
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors