fxDreema

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

    Are These The Same?

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

      assuming both condition blocks cannot be true at the same time, aren't these two saying the same thing? For some reason, I don't get the same results.

      http://fxdreema.com/shared/xuCIAMo6

      ......
      test1.mq4

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

        The yellow output for Condition block is normally active when the orange one is not, but for crossover it is active in case of the opposite crossover. So in all other conditions you have one of both outputs active, but for crossover - most of the time both are inactive.
        I think in case of "<" or ">" I will do the same. Because now if the condition is "<" then the yellow output will work as ">=", but maybe it's better to work as ">" without "=". In this case the yellow output can be really considered as "the opposite condition".

        1 Reply Last reply Reply Quote 0
        • T
          Trader3487 last edited by

          ok, a bit confusing but basically, it's better to use the second diagram (in Area #2) if I want to check for both conditions?

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

            MA3 x< MA5 checks two conditions inside, one of which is MA3 < MA5. If you want to check if one of your block conditions are true and continue, then that crossover condition is not needed there, at least in the example on the right. In this example you can have moments when 1708 will be executed twice per tick because both conditions are true at the same time.

            The example on the left.. this separates crossover moments from the general condition (MA3 < MA5) that is true in both conditions. But as you connect outputs to the same block, it is the same as you use only MA3 < MA5.

            Here see more about crossovers: viewtopic.php?f=2&t=2290

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

            Online Users

            T
            J
            G
            C
            N
            A
            T
            T

            17
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors