fxDreema

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

    Partial close

    Bug Reports
    2
    3
    1021
    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
      Eric last edited by

      Take a look at the code for partial close i got 3 errors on this lines something is missing? (i use the last version)

      //-- partial close ------------------------------------------------------------------------------------------
      bool success=CloseTradePartial(attrTicket(),lots,Slippage,ArrowColor));
      if (success) {/* Orange output /} else {/ Gray output */}
      }

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

        Double )) at the end, it should be only ). Thanks for noticing this, I already fixed it in the web version, it will be on in the next local build 🙂

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

          Yes it works fine now and close 50% of 2 lots works also as expected 🙂

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

          Online Users

          A
          E
          S
          E
          J
          2
          C
          R
          N

          18
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors