fxDreema

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

    Too many inputs, how reduce them?

    Questions & Answers
    2
    9
    631
    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.
    • B
      bagheria last edited by

      Hello,

      My EA have too many inputs, cause multiple conditions, I have BUY NOW 4 times, SELL NOW 4 times for example. How can I reduce them to only 1 BUY NOW and 1 SELL NOW (conditionning I have the same parameters)

      Look!

      0_1633074151455_Capture.JPG

      Thanks

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

        @bagheria On the upper left you have constants, name as you like, in your block right click and insert the constant.

        0_1633085714105_1e5e3d2a-ca1c-4122-8a4a-03671cb21e30-image.png

        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
        • B
          bagheria last edited by bagheria

          Thanks but it doesn't work. Need I add variables too? How? Cause on your sreenshot "buy_lot" is in blue, not brown as in Constant

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

            @bagheria No sorry that was just a project I was doing, do it as a constant, and then add orange. You only need Variables if EA is to change the value at some point.

            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! 😊

            B 1 Reply Last reply Reply Quote 0
            • B
              bagheria @jstap last edited by

              @jstap Thank you. It works but I need a little help. You will find a part of the project below. It opens in reality 2 trades each time (except grid trades). Because I would like he choose between fixed lot and balance volume. When I change the inputs in my EA on MT4 platform with fixed lots (BUY or SELL lots) at 0.01 and Volume balance (BUY or SELL volume) at 0, it takes 2 trades... How can I do? I just want it takes Fixed lot there.

              0_1633095373031_Capture.JPG

              https://fxdreema.com/shared/WFJrFPSYc

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

                @bagheria Think this is what you are trying to do, I do it like this.

                0_1633096210968_4d52e2eb-210a-435e-b515-b6c69a27c972-image.png

                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
                • B
                  bagheria last edited by

                  Ok, it doesn't work. Look. Is that right?

                  0_1633097373196_Capture.JPG

                  No trades opened. But where can I precise the number of lots I want? Look below

                  0_1633097441676_Capture.JPG

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

                    Finally it works cause I add some parameters. You are a master!!!!! Thank you so much!

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

                      @bagheria Your 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

                      N
                      C
                      K
                      E
                      M
                      Z

                      9
                      Online

                      146.8k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors