fxDreema

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

    Set partial close option in buy now sell now

    Questions & Answers
    2
    6
    1002
    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.
    • E
      edwardseer last edited by

      Hi, is it possible to add target levels into the buy now sell now blocks? for example i have 3 target levels then i wan to partially close 33% of initial volume when reach fixed target 1 then another 33% at fixed target 2 then set trail stop at 3rd target level.

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

        With pink blocks. But I'm not sure hot do the third part with trailing stop. The little problem here is that when you partial close a trade, it is actually closed and then a new one is created. I have to see if it's possible to extract the initial open price from the second/third partially closed trade. Some tricks are needed for your problem 🙂

        1 Reply Last reply Reply Quote 0
        • E
          edwardseer last edited by

          i just got to know that sell limit and sell stop can also act as partial close of trades in mt4. not sure if its true. but i just tried it in mt4 and it works.
          maybe you can add the partial close function for buy as sell limit for take profit level or sell stop as partial stop loss to the buy sell blocks.
          but then it can also work with just adding a couple of pending limit order blocks to the project. 🙂

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

            It's also true that you can do something in few ways, yes. I personally prefer to close everything and open something fresh and new 😆

            1 Reply Last reply Reply Quote 0
            • E
              edwardseer last edited by

              erm i like to clarify something, in your block of partial close, the help says that it closes fully then reopen with a lot with lesser volume. wont it incur twice the spread? compared to the pending orders option or something? is there no way to actually partial close a lot directly? im not really sure how the spread works though with partial close. in the mt4 we can directly do partial closing?
              http://snag.gy/5qjlD.jpg

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

                I'm also not really sure what is going on in this case , I never even tried to look it closely. This looks to be the only way of doing this, here is the function to close trades fully and partially: http://docs.mql4.com/trading/orderclose When a trade is closed partially, it is kind a special, you can tell that this trade was a result of such action because it's Open Price (if I'm not wrong) is the same as the one from the original trade. But the new trade appears as unique in the other parameters, including ticket number. That's why I wrote that this trade is brand new. It's brand new, but also a result of OrderClose(), not OrderSend().

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

                Online Users

                T
                N
                K
                R
                R
                G
                K

                19
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors