fxDreema

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

    Condition check before allowing entry

    Questions & Answers
    3
    9
    551
    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.
    • I
      Ipod last edited by

      Yo

      Basically, i want a check before allowing a buy trade. I use a ton of indicators, but all use custom enum, but if all the enums = 0 then check the value before trading. If they all add to 0 - prevent trading.

      So like below

      Add multiple conditions
      Check output value variable
      If variable = different from 0, then allow trading

      Thanks in advance

      https://fxdreema.com/shared/LNbcG2soe

      1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà last edited by

        That's not a trivial question. Not only those indicators can be used/not used. The order in which they are used is also determining, which one will be checked before all the other. Did you consider that?

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

          By connecting all from yellow, you are saying, if this do this, or look at this and do this, if not do this, or this, or this etc, and you need to connect all from orange. But everything is set from a constant (so manually set), you may as well have a button to start or stop trading, everything needs to be switched on by variables. If V1=true+V2=true+V3=true+V4=true+V5=true+V6=true, etc do this...

          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
          • I
            Ipod last edited by Ipod

            I apprecaite the concern but I think you mis-understand the questionor I did not explain well. I already have the indicators setup, I simply want to check at the end of the BUY tree if the total of the conditions = !0 otherwise stop at that block.

            The boxes I have left in my shared project are simply the enum condition checks and I deleted everything else out of my project. e.g. if I use BB it will be a value from 1-9 depending on my custom enum but if it reads 0 then that means it is OFF and it skips the indicator and moves onto the next one.

            What I want is to add up the constants from the custom enums in one block and check on a condition block if the value !=0, if they = 0 i will prevent trading.

            So for instance. Custom code block or variable block (add all the constants from my shared project)

            (BBCondition)+(BBAngle)+(HLCondition)+(HLAngle)+(ENVCondition)
            Check != 0
            Pass

            Thanks
            @jstap @l-andorrà

            1 Reply Last reply Reply Quote 0
            • l'andorrà
              l'andorrà last edited by

              The only way to stop trading is that ALL conditions behave as bottle necks. The only way to do that is connecting them from orange output dot to the next orange output dot. If you use the yellow output dot the execution will move to the next block no matter what and the trade will be open. All input parameteres are to be conected as if all had to be true at the same time only.

              (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

              (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

              (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

              I 1 Reply Last reply Reply Quote 0
              • I
                Ipod @l'andorrà last edited by Ipod

                @l-andorrà how do I add constants in one block though? That is what I am asking 🙂

                My actual project is built very differently than the example.

                2c1b07a0-e580-4013-a89d-80745f0989f1-image.png

                1 Reply Last reply Reply Quote 0
                • l'andorrà
                  l'andorrà last edited by

                  You will need a custom array. There is no block in fxDreema doing that. I'm afraid you will need a programmer to do it. 😞

                  (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                  (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                  (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                  1 Reply Last reply Reply Quote 0
                  • I
                    Ipod last edited by

                    Turns out it was way simpler than I realised. Simply putting then like this works, they add up and I should be able to use this to prevent people using my EA with all the indicators turned off and risking their account.

                    image.png

                    1 Reply Last reply Reply Quote 1
                    • l'andorrà
                      l'andorrà last edited by

                      Congrats! 😉

                      (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                      (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                      (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

                      Online Users

                      V
                      M
                      B
                      T
                      T
                      H
                      H

                      19
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors