fxDreema

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

    How to turn off pending order using constant input?

    Questions & Answers
    5
    10
    1475
    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.
    • D
      dscalperz last edited by dscalperz

      Hello,
      I'm working on my EA which is using instant entry and pending orders.
      In some situation, I don't want to use the pending orders.

      How can I add an option to turn off and turn on pending orders block.
      I want to add a constant input true-false option for this purpose.
      This is my project link https://fxdreema.com/shared/Wnm2pcU4d

      Hope someone can show me how to do it.
      Thank you.

      TipsyWisdom jstap 2 Replies Last reply Reply Quote 0
      • TipsyWisdom
        TipsyWisdom @dscalperz last edited by

        @dscalperz 0_1628769145616_181fd018-cf2b-4def-90fe-7836b245cec1-image.png

        D 1 Reply Last reply Reply Quote 0
        • D
          dscalperz @TipsyWisdom last edited by

          @tipsywisdom I had try that earlier.. yes, it's working..but my problem is how to control it via constant input..I wanna put an option in constant input to turn it on or off by boolean true-false.
          Example in constant input I wanna input like this :
          bool =>Turn On Pending Orders=>true/false

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

            0_1628813824198_8fa85e6f-a1db-48d5-a184-a4fdcfe7e141-image.png

            TipsyWisdom 1 Reply Last reply Reply Quote 0
            • TipsyWisdom
              TipsyWisdom @TipsyWisdom last edited by

              to learn more, swipe up now.

              1 Reply Last reply Reply Quote 0
              • L
                Loka Heng last edited by

                Below is my easiest way:
                0_1628909954860_turn on and off.jpg
                100% work

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

                  @loka-heng You forgot to add the Constant on the left operand, but this is the way 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.

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    Loka Heng @l'andorrà last edited by

                    @l-andorrà Thanks for your advice 🙂

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

                      why wouldnt you use just the single block that I showed? its already a boolean block itself. orange is true, yellow is false. No need to set operands or comparative conditions.

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

                        @dscalperz Tipsy is correct his way is the easiest because it only uses one word in one block, principally it is the same as Loka Heng's way, they both use the if turn_on_and_off bool is true do this, just uses one constant instead of comparing the left and right operand.

                        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

                        S
                        P
                        T
                        I
                        B
                        A
                        H
                        E

                        26
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors