fxDreema

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

    How to use two conditions in one indicator ?

    Questions & Answers
    2
    5
    1191
    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.
    • S
      sengwa last edited by

      How to use double conditions in one indicator ?

      I am new user and I'm subscribe already.

      I think, fxDreema that works for me. Thanks Radoslav.

      but I have one problem.

      I want to my EA analyze two condition in one indicator.

      Example:

      First : CCI cross above -100
      Seccond : CCI cross above 0
      Finally : open order buy

      https://fxdreema.com/shared/MQo89Fyab
      so I try 2 method but it not work.
      Method 1 : it not working to order
      Method 2 : it will order when cross above -100 to 0 in 1 bar only

      Help me plz..

      ps:I'm so sorry for wrong command of english

      http://www.uppic.org/image-13F6_53540DBB.jpg

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

        So you want to know where was the indicator in the past for the last time - below -100 or above +100. There is no block to check this and I think this is requested for the first time here. I even wonder what name can I give to a block which can do that.

        But anyway, I have some suggestions. You can use some other indicator or period of CCI that can tell you something about the direction. Or maybe you can try crossover between CCI and CCI with slightly different period (faster period vs slower period). Or something like this: https://fxdreema.com/shared/Y4nUTW9H Or with some code like this: https://fxdreema.com/shared/feicYrGNc

        1 Reply Last reply Reply Quote 0
        • S
          sengwa last edited by

          __So you want to know where was the indicator in the past for the last time - below -100 or above +100. There is no block to check this and I think this is requested for the first time here. I even wonder what name can I give to a block which can do that.

          But anyway, I have some suggestions. You can use some other indicator or period of CCI that can tell you something about the direction. Or maybe you can try crossover between CCI and CCI with slightly different period (faster period vs slower period). Or something like this: https://fxdreema.com/shared/Y4nUTW9H Or with some code like this: https://fxdreema.com/shared/feicYrGNc[/quote:380199hp]

          Thanks.

          I'm glad to my ideas have participate for develop fxDreema.

          your suggest its work for me. I will try adapt it on my EA.

          ps:I'm so sorry for wrong command of english

          1 Reply Last reply Reply Quote 0
          • S
            sengwa last edited by

            ____So you want to know where was the indicator in the past for the last time - below -100 or above +100. There is no block to check this and I think this is requested for the first time here. I even wonder what name can I give to a block which can do that.

            But anyway, I have some suggestions. You can use some other indicator or period of CCI that can tell you something about the direction. Or maybe you can try crossover between CCI and CCI with slightly different period (faster period vs slower period). Or something like this: https://fxdreema.com/shared/Y4nUTW9H Or with some code like this: https://fxdreema.com/shared/feicYrGNc[/quote:3kfiyixp]

            Thanks.

            I'm glad to my ideas have participate for develop fxDreema.

            your suggest its work for me. I will try adapt it on my EA.

            ps:I'm so sorry for wrong command of english[/quote:3kfiyixp]

            I try to adapt it on my EA already.

            But have something not normal.

            When I'm run EA just a few minute that function (AboveOrBelow) value is stuck. (1 or -1)
            What should i do with problem ?

            Thanks

            This link is my EA adapt with function AboveOrBelow.
            https://fxdreema.com/shared/v6S6YvVce

            1 Reply Last reply Reply Quote 0
            • S
              sengwa last edited by

              ______So you want to know where was the indicator in the past for the last time - below -100 or above +100. There is no block to check this and I think this is requested for the first time here. I even wonder what name can I give to a block which can do that.

              But anyway, I have some suggestions. You can use some other indicator or period of CCI that can tell you something about the direction. Or maybe you can try crossover between CCI and CCI with slightly different period (faster period vs slower period). Or something like this: https://fxdreema.com/shared/Y4nUTW9H Or with some code like this: https://fxdreema.com/shared/feicYrGNc[/quote:3qdehdxz]

              Thanks.

              I'm glad to my ideas have participate for develop fxDreema.

              your suggest its work for me. I will try adapt it on my EA.

              ps:I'm so sorry for wrong command of english[/quote:3qdehdxz]

              I try to adapt it on my EA already.

              But have something not normal.

              When I'm run EA just a few minute that function (AboveOrBelow) value is stuck. (1 or -1)
              What should i do with problem ?

              Thanks

              This link is my EA adapt with function AboveOrBelow.
              https://fxdreema.com/shared/v6S6YvVce[/quote:3qdehdxz]

              Sorry I'm wrong.

              I'm found error point already. 🙂

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

              Online Users

              D
              E
              E
              P
              H
              E

              15
              Online

              146.8k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors