fxDreema

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

    Help me, how to use (and) to buy or sell

    Questions & Answers
    2
    8
    868
    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
      seinvalles last edited by

      I do not run these two conditions? why?

      ......
      foto.jpg

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

        I will suggest to not use this "AND" block - there is no need to. It should work, but it's better and faster without them. Look at the example here, the one on the left: https://fxdreema.com/demo/mt4-and-logic

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

          Do not run the two conditions. why? never buy or sell. why?

          Could you help and modify please:

          https://fxdreema.com/shared/iWZmCXy7d

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

            I can see you are using custom indicators and you have crossover in all conditions. Crossovers are detected within a single candle, so you want to detect a moment when there are two crossovers at the same time in two indicators. I don't know how these indicators look and work, but I guess that the chance to detect this situation is rare. So I will suggest to use > or < for one of the indicators.

            You can also check indicators with "Indicator tester" block to see if their buffers are actually giving the EA normal values.

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

              I do not understand, you can modify my ea, please.
              I want to buy or sell when met both conditions.

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

                But I don't want to modify your project, I want you to know what is going on and how to modify it. That's why I explain things here, it's not that I have nothing else to do 🙂

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

                  I want to buy or sell when met both conditions.

                  how is that done?

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

                    There are conditions and conditions. In your case, both conditions are crossovers of two different indicators. But the crossover happens in one candle and then it's over. At least one of the conditions should be > or <, and I wrote about this above.

                    If you think that after the first condition becomes true, the second one waits to become true... this is wrong. Here is why: https://fxdreema.com/demo/mt4-wrong-closing-rule
                    Blocks 60 and 61 are executed on every tick, again and again. While you don't have any trade, blocks 55 and 57 are also executed on every tick. If the condition in block 55 is true, only then 62 will be executed (in the very next moment, not within seconds or minutes or hours). If the condition in block 57 is true, only then 63 will be executed.

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

                    Online Users

                    Z
                    T
                    T
                    A
                    S

                    14
                    Online

                    146.9k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors