fxDreema

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

    High and Low in Time period of previous day

    Questions & Answers
    4
    30
    2091
    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.
    • L
      Lorenzo97 last edited by

      How can I start with this EA,
      I want it to get the Highest and lowest price of the new york session and enter trades during Asian session based on the new york session highest and lowest price

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

        If you know your broker times, time filter to stop opening trades at wrong time - market properties high/low in the required time

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

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

          @jstap can you please help me here https://fxdreema.com/shared/WUzLEJeob

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

            What is or isn't happening with this EA?

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

            L 1 Reply Last reply Reply Quote 0
            • S
              sktsec last edited by

              Use of local time/GMT seems tricky. Better use comment to print out and check first.

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

                @jstap Did I start the project correctly?

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

                  Looks like it, but as sktsec has said check the correct time is returning, backtest will always be server time

                  Put this in a comment as text code input and check the returned time is the same as your computer and the FX time:

                  TimeToString(TimeLocal(),TIME_DATE|TIME_MINUTES)

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

                  L 1 Reply Last reply Reply Quote 1
                  • L
                    Lorenzo97 @jstap last edited by

                    @jstap Its Not Working as wanted it still open trades where it should not, it open trades between highest and lowest price. I want the EA to open buy trade in Asia session when candle close above Highest price of the new york session and the opposite for sell. https://fxdreema.com/shared/se6qUSLbc

                    A 1 Reply Last reply Reply Quote 0
                    • L
                      Lorenzo97 last edited by

                      Any Help? Anyone

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

                        Have you checked the time?

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

                        L 2 Replies Last reply Reply Quote 0
                        • L
                          Lorenzo97 @jstap last edited by

                          @jstap yes I did during backtest when there is a trade I pause the EA when there is a trade and check for the high and low during the new york session. but some trades is just random

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

                            @jstap bandicam 2025-02-13 18-56-49-189.jpg

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

                              @Lorenzo97 said in High and Low in Time period of previous day:

                              @jstap Its Not Working as wanted it still open trades where it should not, it open trades between highest and lowest price. I want the EA to open buy trade in Asia session when candle close above Highest price of the new york session and the opposite for sell. https://fxdreema.com/shared/se6qUSLbc

                              before looking for the error in the high and low, adjust the condition: the close of the candle ID 1 is a price level, it will never be able to cross another price level. You can put bid x> or x< , or candle ID0 close x> or x<. If you are focusing at the candle close ID1 you can put < or >
                              Blocks #2 and #6

                              L 1 Reply Last reply Reply Quote 1
                              • L
                                Lorenzo97 @ambrogio last edited by

                                @ambrogio Hi, thanks but I tried both with bid and candle ID 0 it doesn.t open trades

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  Lorenzo97 @Lorenzo97 last edited by

                                  @Lorenzo97 and with > or < it does the same as x> or x<

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

                                    Put dayoffset 1 since you are searching the previous day high and low

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      Lorenzo97 @ambrogio last edited by

                                      @ambrogio this is what I get with dayoffset set to 1 bandicam 2025-02-13 20-44-20-227.jpg bandicam 2025-02-13 20-49-40-298.jpg

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

                                        so......

                                        L 1 Reply Last reply Reply Quote 0
                                        • L
                                          Lorenzo97 @ambrogio last edited by

                                          @ambrogio look where it entered the sell positions between the high and low and not below it how can I fix it, it should be like a breakout.

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

                                            @Lorenzo97 share the link

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

                                            Online Users

                                            C
                                            P
                                            E
                                            R
                                            F
                                            ح

                                            14
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors