fxDreema

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

    % of open trades in profit

    Questions & Answers
    2
    8
    286
    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.
    • S
      smille99 last edited by

      Hello friends, I would like to create a tool to help me trade in manual which would allow me to know the % of open trades which are in profit and close if 75% of open trades are in profit

      1 Reply Last reply Reply Quote 0
      • S
        smille99 last edited by

        my actual project but it doent work
        https://fxdreema.com/shared/NFYozZddc

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

          set variable to 0-In loop check profit, if > 0 add 1 to the variable, do this in another tree to add running trades, divide the winning trades by the running trades and multiply the result by 100, if the result is >75 close all trades: https://fxdreema.com/shared/4G6s5qpKd

          Learn fxDreema Without the Wait!

          My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

          The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

          Don’t miss out

          Click here➡️ https://mybook.to/fxDreema to get your copy today!

          Enjoy! 😊

          1 Reply Last reply Reply Quote 0
          • S
            smille99 last edited by

            Thanks for you help but it dont work on my side 😞 i try a lot of things and not working, my last modif: https://fxdreema.com/shared/PblXTGF7d

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

              I haven't tested this, but all is from tried and tested techniques, reset variables to 0 above the loop, and put the variables into a comment to check the result. When I get a minute I will check

              Learn fxDreema Without the Wait!

              My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

              The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

              Don’t miss out

              Click here➡️ https://mybook.to/fxDreema to get your copy today!

              Enjoy! 😊

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

                This was creating a 0 divide error, works now: https://fxdreema.com/shared/PI2ITn36b

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

                1 Reply Last reply Reply Quote 0
                • S
                  smille99 last edited by

                  Great, it work thanks a lot

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

                    You are welcome

                    Learn fxDreema Without the Wait!

                    My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                    The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                    Don’t miss out

                    Click here➡️ https://mybook.to/fxDreema to get your copy today!

                    Enjoy! 😊

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

                    Online Users

                    A
                    L
                    O
                    S
                    E
                    J
                    D
                    M
                    X
                    K
                    E
                    D

                    22
                    Online

                    146.6k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors