fxDreema

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

    Check How many Bars Passed

    Questions & Answers
    2
    7
    199
    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.
    • E
      ellemitless last edited by ellemitless

      How to check if how many bars passed from a certain point?

      Example if RSI x> 30 then RSISignal = 1.
      Now if 10 Bars passed , I wanna invalidate the Signal.

      How do I check if 10 Bars Passed from the point of Signal?

      @jstap @l-andorrà

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

        When the cross happens count to candle ID's from that point, then check if < 10 now

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

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

          @jstap how can I store the candle ID variable of the signal point? Please show me how to do it on block please.

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

            when x> happens start counting, modify variable (one you have created) to 0, then once per bar add 1 to the variable, this will hold and update how many candles back when the cross happened.

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

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

              @jstap hello sir! I can't get quite understand how can I do this on FxDreema. Can you please show me an example via shared link?
              I want to try to use it as an exit too, like if 10 bars passed after entry close position.

              ThankYou!

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

                Something like this: https://fxdreema.com/shared/lQHnpAuPc

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

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

                  @jstap THANK YOU SO MUCH BROTHERR!!!

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

                  Online Users

                  F
                  C
                  A
                  E

                  10
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors