fxDreema

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

    Double Cross Moving Average

    Questions & Answers
    4
    9
    788
    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.
    • G
      GTOAT777 last edited by

      How would I do a condition that when the MAs cross but then cross back again buy or sell.

      So for example 10MA cross the 20MA downwards but then cross back upwards place a buy trade.

      For now this question is more about the MA crossing because I wouldn’t want to do an instant buy/sell I would to place an order on the candle close when it crosses back.

      1 Reply Last reply Reply Quote 0
      • G
        GTOAT777 last edited by

        Anyone know?

        bk7 1 Reply Last reply Reply Quote 0
        • bk7
          bk7 @GTOAT777 last edited by

          @gtoat777

          reset a variable once per bar

          cross above +1
          cross below -2

          if negative then double cross

          G 1 Reply Last reply Reply Quote 0
          • G
            GTOAT777 @bk7 last edited by

            @bk7 Ok thanks but looking back i dont think i explained it well, lets say the 10MA crosses the 20MA but 4-5 candles later crosses back over how do i do that. I didnt mean crosses straight away on the same candle

            bk7 1 Reply Last reply Reply Quote 0
            • bk7
              bk7 @GTOAT777 last edited by

              @gtoat777
              if current cross is above
              check if at candle4 was a cross below
              if not check if candle 5 was a cross below
              if any is true you can proceed

              G 2 Replies Last reply Reply Quote 0
              • G
                GTOAT777 @bk7 last edited by

                @bk7 appreciate that, thank you

                1 Reply Last reply Reply Quote 0
                • G
                  GTOAT777 @bk7 last edited by

                  @bk7 Just coming back to this how would I do this on FXDreema literally, what would i need to go to etc, im new to using FXDreema

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

                    0_1614453070760_ee7351ca-ab2e-4129-9269-f571fa6be9b4-image.png

                    1 Reply Last reply Reply Quote 0
                    • John Doe
                      John Doe last edited by

                      He said crosses above then crosses back on the same logic tree. Why have you given him misinformation. You clearly just made two different branches which does not answer the question.

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

                      Online Users

                      M
                      E
                      C
                      M
                      F
                      L
                      F
                      F
                      E
                      K

                      29
                      Online

                      146.6k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors