fxDreema

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

    ELSE/OR CLOSE UNDER THESE CONDITIONS OR THE OTHERS

    Questions & Answers
    2
    4
    738
    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.
    • 4
      4xFatigue last edited by

      I want to make sure I'm understanding the logic right:

      Does this say if AREA 1 conditions are TRUE then CLOSE?

      If not, then AREA 2 condItions are TRUE, then CLOSE?

      ......
      2016-01-21.png

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

        For "Condition", the yellow output is active when the orange one is not. At any given time one of the outputs is active and the orher is inactive. But this is not always the case!

        In case of x> the yellow output works as x< and in case of x< the yellow output works as x>. So in case of crossover, the yellow output is not "else", but it's the opposite crossover. In most of the time both outputs are off in this case.

        There is one more situation when one of the operands (left or right side) is equal to EMPTY_VALUE, which is the value that custom indicators are giving us when they are not visible. Or when you work with an object that does not exists. In these case none of the outputs is active.

        1 Reply Last reply Reply Quote 0
        • 4
          4xFatigue last edited by

          What is the best way to have:

          area 1 false?

          then go to area 2?

          In other words I just want 1 group to close a trade or the other, whichever is first.

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

            Only if you use <, >, <=, >=, == or != you can yse the yellow output as a true "else". For block 2, one of it's outputs is active within some candles and the other output is active in different candles, but most of the time bith outputs are completely off. While there is no x< or x> both outputs in block 2 are completely off. This means that if you connect a block from these outputs, it will not run most of the time. This is how I did it in the beginning

            If you want to check some condition and while it's not true to check other condition, use <, >, <=, >=, == or != for the first one.

            Crossovers (x< and x>) are 2 in 1 conditions. And as I said, it was my initial decision to make the yellow output to work as the opposite crossover, but not "else".

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

            Online Users

            A
            S
            E
            H
            E

            11
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors