fxDreema

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

    Box 22:30 to 10:30 doesn't work!

    Questions & Answers
    5
    12
    1496
    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.
    • J
      javadTT last edited by

      link text

      A 1 Reply Last reply Reply Quote 0
      • A
        ambrogio @javadTT last edited by

        @javadTT the "hours filter" block works fine alone, seems to be the rest have some problems. I suggest you to clean up and rewrite since is a small project

        Cattura.PNG

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

          This doesn't work, becaue the "Buy now" block probably comes from another project where a variable Candle_ID was used, and this variable can still be found somewhere in the block's properties:

          image.png

          This is also kind of a bug, because "Custom (price level)" is not what is actually selected. The solution would be to go to that particular setting for "Take-Profit mode", remove the Candle_ID variable name, and then go back to the original "Take-Profit mode" setting. Or, as @ambrogio mentioned, to replace the block with new one.

          1 Reply Last reply Reply Quote 0
          • J
            javadTT last edited by

            Thanks your attention @fxDreema
            How can I create this strategy?
            box stra.JPG

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

              Instead of using candle ID use time for the candle in your conditions, may have to restrict working until time is right.

              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
              • J
                javadTT last edited by

                I did it but doesn't work

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

                  @javadTT Add a shared link to look at

                  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
                  • J
                    javadTT last edited by

                    https://fxdreema.com/shared/dDLI3KyRd

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      javadTT @javadTT last edited by

                      @javadTT @jstap

                      jstap R 2 Replies Last reply Reply Quote 0
                      • jstap
                        jstap @javadTT last edited by

                        @javadTT Change your time stamps to only work in the same day, back test and visually watch, if still not working add link and say what's not working.

                        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
                        • R
                          RGoo last edited by

                          The problem could be the day the system needs to know. If you want to implement your idea over time, you also have to consider the day. You would then have to use the "datetime" function. But you can implement a simpler solution: set the time frame, then you know the number of candles until your desired time in the past day, when the other candle (10:30) is reached.
                          You should also reconsider block 12. You can only trade after the candle closes at 10:30 a.m. and this only happens once on that day. So you can see here only one trade a day or from 10:30am. Because you have Block 4 you don't even need this.

                          RGoo

                          1 Reply Last reply Reply Quote 0
                          • R
                            RGoo @javadTT last edited by

                            @javadTT
                            Try this, it's a simple solution that you can use to test your strategy at least once. The time filters must be arranged correctly. And since the candle to be checked is in the past day, there must also be 2. Of course, the time can be converted much more comfortably, but with this method you can easily make improvements yourself. In the "on Init" function the candle is calculated, of course this only works if there are no trading hours, so be careful here. You can set different time frames, which will be converted automatically. At 30 minutes you have 44 candles and at 1 hour you have 22.
                            https://fxdreema.com/shared/F7DrrzpFd

                            RGoo

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

                            Online Users

                            M
                            T
                            T
                            M

                            8
                            Online

                            146.8k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors