fxDreema

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

    Add bool option True/False for using indicator or signal

    Questions & Answers
    2
    6
    416
    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
      diane1313 last edited by diane1313

      Hi traders,

      Do you know if there is any simple way for using a simple "bool : true / false" ?

      In the following project example, I want for exemple to have the ability to use or not any EMA or let's change the signal type. But it seems not to be working on my end, not sure what I did wrong...

      https://fxdreema.com/shared/v2g4PSh1c

      Thank you so much for your help.

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

        @diane1313 Your bool condition's are correct but as a candle closes on 0 it becomes candle 1.

        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
        • D
          diane1313 last edited by

          Thank you so much Jstap.

          I do understand now what's wrong, but not sure how to rectify it. Please, would you mind to advise how to make it right?

          Thanks a lot for your help

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

            @diane1313 You could just use candle open:

            0_1639128959617_999444c1-add5-4caa-b4b7-4e7ab041e502-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
            • D
              diane1313 last edited by

              Thanks a lot, just tried but for some reason, it still has not opened any trade in BT... Trying all inputs possible by using Genetic BT but no trades so far. Must have made another mistake somewhere.

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

                @diane1313 I strip the EA back to single blocks so I can test on backtest, then when I know each block is doing as I like I put it all together.

                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

                R
                S

                14
                Online

                146.9k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors