fxDreema

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

    How can I add 2% for constant to add in adjust section of condition block?

    Questions & Answers
    2
    3
    204
    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.
    • fxbam
      fxbam last edited by

      My goal is to have all my open trades close if I have a drawdown of 2% on the account. I'm trying to figure out what should be placed in the "Value" so when I add it to the "Adjust" section in the "Condition" block in will recognize it as 2%.

      I'm sure I'm making this more complicated than it needs to be. Do you know what needs to be put in the Constant Value and was the Adjust number correct if I was only using that?

      This question has been asked in the past but was never understood.

      Any help would be appreciated.

      I've included an image to help explain what I'm talking about.

      What is required here so I can place it in the adjust section.png

      1 Reply Last reply Reply Quote 0
      • B
        Byens last edited by

        double DrawDownPercent = 102

        https://entrepreneurstart.pw | https://www.mql5.com/en/users/byens8199

        1 Reply Last reply Reply Quote 0
        • B
          Byens last edited by

          Write * DrawDownPercent / 100

          https://entrepreneurstart.pw | https://www.mql5.com/en/users/byens8199

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

          Online Users

          A
          A
          E
          B
          M
          J
          B

          26
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors