fxDreema

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

    Help Please... Need a candle counter

    Questions & Answers
    2
    4
    481
    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
      dazmed9 last edited by

      Hello and Thank you in advance.. I need to build something very simple. I need to be able to a certain number of candles into the future and then execute an order. Im having problems figuring out if every future candle is always going to be candle 0 how can I get it to be a number I want to assign to it. For example. In 3 candles from now do (X) task. I know there is a simple solution.. Im just missing it. Thanks for your help everyone..
      Dazza

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

        @dazmed9 This loop counts candles from the x above and below of a ma, the same prinible can be used for other conditions, put the conditions in your buy & sell tree and when candle count matches any action can be taken.

        https://fxdreema.com/shared/bLF5Olf3

        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
          dazmed9 last edited by

          https://fxdreema.com/shared/Hun9n4D4d

          Jstap You rock!! THanks for your help... Ok this is what I am trying to do but I don't seem to be linking it up correctly. Can you have a peek at this and tell me what Im doing wrong?

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

            @dazmed9 the idea if this loop is that it compares a condition on a candle then adds 1 and checks the next, so constants cant be used where you have them, if you have the loop returning what's wanted then have a separate tree with conditions to check loop you can use many options, as a general rule I have loops returning values I can use, then separately use the data.

            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

            G
            S
            M
            G
            C
            F
            T
            E
            E
            A
            K

            19
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors