fxDreema

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

    Crossing of moving averages

    Questions & Answers
    2
    12
    3404
    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
      Sergio last edited by

      After starting the EA, or after the closing of a deal.

      The opening of a new deal can only happen if condition (block (6) (5 > 20 or 5 < 20)) happen once .. ..

      example:
      Right now "5> 20".
      If EA was initialized, or the closing of the deal happened.
      The next opening will happen when deal "5 <20" and conditions of the block "1 and 13 or 14" are true.
      This is the Intent, but the http://fxdreema.com/shared/NYmDqOQhe
      this not working. Can you help me?

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

        Things are not like this. This is "on Tick" event (see that orange button above) and the block on the top (#9) is executed on every tick. Every block below depends on the one above. It's not to place blocks one after another. Imagine that blocks you have are scanned with a scanner on every tick starting from top.

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

          😎 Still can not do. Could you give me an example? ❓ ⚡

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

            I don't really understand all you want to do, but if you want to do buy-sell-buy-sell on opposite conditions, see here: topic/2287

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

              My English is not very good at explaining better the conditions of the EA, then edited an image.
              Can you help me now? Can better understand what I'm trying to do?

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

                Is this 3 MA strategy where:

                Buy: when MA5 crosses MA20 above while MA20 is above MA100
                Sell: Buy: when MA5 crosses MA20 below while MA20 is below MA100

                😕

                Here is some information about crossovers: http://fxdreema.com/documentation/proje ... er%20works

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

                  crossovers ((X>) (5 X> 20)), will not work for me. crossovers only works in the exact moment of crossing, and in my EA, besides the crossovers there are five conditions to deal. (And these conditions are well happen after crossovers).

                  So I have to use ((>). (5> 20)).

                  Can you help me?

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

                    Crossover works when conditions for crossover are true. There are 2 conditions for crossover - one using "<" and one using ">". Yes, when you use "x>" or "x<" there are 2 conditions to be checked actually.

                    Condition block, when crossover is used inside, can pass multiple times until the current candle closes.

                    I hardly understand your words, so I surrender 🙂 I have to say that I am not narive english as well and it's hard for me 🙂

                    What I can suggest is a way to check when some block passes - connect "Draw arrow" below that block and you will see on the chart where exactly that block passes, you will see arrows.

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

                      ➡ The answer I need for my "EA" is. How many times was the cross between (5 x> ​​20)? How to get this answer? ❓

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

                        http://fxdreema.com/shared/DkTazQIQc

                        Count arrows if you want. These are 3 types of crossover detection.

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

                          The suggested site is not opening .

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

                            Ooops, wrong address 😳
                            http://fxdreema.com/shared/DkTazQIQc

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

                            Online Users

                            M
                            K
                            F
                            Z
                            S
                            C

                            13
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors