fxDreema

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

    Buy/Sell With in a Number of Candles from 1st condition happening

    Questions & Answers
    3
    8
    771
    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.
    • T
      TheDisliked last edited by TheDisliked

      Hey Every one , I would like to know what block to put that will check with in how many candles after the 1st condition has taken place .
      Example here i want the moving average S (Small) to cross above the moving average M ( Medium) with in 10 candles after the moving average M (Medium) has crossed Above moving average B (Big) and vice versa
      Thanks
      https://fxdreema.com/shared/FPT9cg6fe

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

        @thedisliked Have a look in area 20 https://fxdreema.com/shared/YLM9C92Zb.

        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
        • T
          TheDisliked last edited by

          @jstap Thanks for the Idea , Please can you show me how to connect to my blocks because what you sent me is only showing 1 condition block and i have 2 condition blocks . I hope it makes sense what am saying . Thank you

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

            @thedisliked This makes no sense to me as there is 8 condition blocks in area 20, the loop at the top will start at 0 then count candles from the cross, the condition blocks go in your tree, you only need 2, logic being check amount of candles the fast ma > slow ma.

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

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

              @jstap Hi I just stumbled upon this post when looking for something else... I am very interested in your project... could you please explain your area 20 in more detail? Especially these lose blocks
              0_1638092557767_2fb66ff7-a537-427f-a46a-076ea4e71bd1-image.png

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

                @alphaomega 71-78 will count the candles starting at 0 from the point of MA cross, can be used for most things like candle<>, indicator <> 0 etc.

                78+79 is to put in tree so whenever the loop count is above a set number the tree will pass.

                81-88 is how to turn a bool constant/variable true false depending on condition.

                89+90 is how to read if a bool condition is true/false, if true the block passes.

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

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

                  @jstap excellent job you have done here... thanks . still looking for 71-72 blocks? ..and what is all the lose blocks for.. experiments? If I may ask, can you give a copy of the complete blocks tree? I have changed the mql4 to mql5.. see example.. I am still checking if it works correctly
                  https://fxdreema.com/shared/qNhWgEv0b

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

                    @alphaomega Pretty much everything works for mt5, every time people asked a question I would use this file to add an example so it isn't necessarily all needed to work together, I also have other ideas that aren't in here.

                    71-72 will likely be in there somewhere but unsure and they're unnecessary for area 20.

                    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 1
                    • 1 / 1
                    • First post
                      Last post

                    Online Users

                    J
                    A
                    Z
                    T

                    11
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors