fxDreema

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

    condition for unknown candle!

    Questions & Answers
    3
    8
    1451
    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.
    • M
      mohammad2232 last edited by

      Hello
      I need check for example candle 5m that start in 22:10 and if has my condition
      check other next candles and when candle appear with my condition do for example BUY
      How can i do this , that i don't know which next candles can appear with my condition
      because when i know for example 2 candle later
      i can use 2previous id for first and 0 for second !
      Thanks

      1 Reply Last reply Reply Quote 0
      • K
        keanzoe last edited by

        lol its really hard to understand your question...

        1 Reply Last reply Reply Quote 0
        • M
          mohammad2232 last edited by

          can this help ?
          0_1502217781592_can2.jpg

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

            Create some variable which "remembers" that the first condition passed.
            Example: bear bar -> modify variable bigbear to value 1

            condition: bigbear = 1
            -> proceed to 2nd condition
            (reset bigbear back to 0 so it signals only once per time)

            Need small help? Tag me in your post
            Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

            1 Reply Last reply Reply Quote 0
            • M
              mohammad2232 last edited by

              Thanks for your answer
              but little i confused with your instroduction but i created this
              https://fxdreema.com/shared/xgAOc0U9d
              please see and say is it true and work ?
              i test it with my conditions but not work!
              please open conditions block and also and block and read my information
              thanks

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

                https://fxdreema.com/shared/GEUH4hBoe
                Maybe this helps.
                I didn't really understand your example, but I think I know what youre meaning 😄

                In your example, connecting that AND block back to the "once per bar" creates a loop which never changes - thats bad

                Need small help? Tag me in your post
                Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                1 Reply Last reply Reply Quote 1
                • M
                  mohammad2232 last edited by

                  Thanks for your answer
                  is it true you think?
                  https://fxdreema.com/shared/DAtyKNd2d

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

                    looks good

                    Need small help? Tag me in your post
                    Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

                    Online Users

                    F
                    R
                    S
                    D
                    V
                    O

                    15
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors