fxDreema

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

    Moving Average question

    Questions & Answers
    3
    8
    2388
    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.
    • V
      valleyfx last edited by

      Good morning fellows, i have a doubt.

      is possible to "detect" the direction of moving average to open order?
      it can be simple but i'm a little newbie here, using the software 3 days now.
      i guess everything is possible to do using fxdreema but idk how to do it.

      it has to "detect" in the close of the Candle [0] that is a reversal in the SMA and just open the order if its in a buy/sell zone (next to top or bottom of the price).

      Example : 0_1481916817873_Sem título.png

      I think in use something "specific" to do it, but i guess it is possible using SMA 1 == Price Close [1] && SMA 1 == Price High [0] to buy and the reverse to sell.

      If anybody have any information about how can i do it. please share! 😄

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        using "==" in comparing prices, especially MA price and current price, is bad way, base your strategy on ">" or "<" conditions ...
        when you will MA direction (if MA rise or fall) you can do this:

        MA[1] < MA[0] : MA rise on current candle
        MA[1] > MA[0] : MA fall on current candle

        notice, that current candle is not closed candle and can in any time change direction ... on history of chart you see only closed candles, not behavior from candle 0 ...
        this is how you see history of chart, without candle 0:
        MA[2] < MA[1] : MA rise on previous candle
        MA[2] > MA[1] : MA fall on previous candle

        Between trading and gambling is a very small gap, be careful.

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

          Somwehere in the past the picture looked like this: http://prntscr.com/dkdhqq If you were able to recognize at that time that the next candle will be green one with exactly this size and proportions, then you can become rich in no time 🙂

          1 Reply Last reply Reply Quote 0
          • V
            valleyfx last edited by

            haha :P, not that way, i mean, in the picture i'm using M1, but it can be done in M5, when it really confirm a reversion. using SMA [1]. i guess it is possible, but it's so simple i cant think in a way to make it work :X

            1 Reply Last reply Reply Quote 0
            • V
              valleyfx last edited by

              i Have this example >
              it's working on M15, it looks a little with "zigzag" but, seriously, i am sure there is a way to do it, but man, i can't think in how to make it work :@. Mad haha

              0_1481943015456_fxdreema.png

              1 Reply Last reply Reply Quote 0
              • V
                valleyfx last edited by

                i found this,

                https://www.mql5.com/en/articles/1516

                it can help.

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

                  Then I guess I don't understand what you want to do 🙂 But if you want to compare 2 or 3 values... well, Condition block is mostly used for that.

                  1 Reply Last reply Reply Quote 0
                  • M
                    miro1360 last edited by

                    I am not sure what exactly you need because it is question if you exactly know what you need 😄 ... but can try this: https://fxdreema.com/shared/BWG3f4z1d ... 2 versions, you can run one or other with turn blocks on/off ... version 2 are blocks turned off
                    but I am not sure if it is working for you right because I have not tried ... time pressure 😄
                    it was for this ... https://www.mql5.com/en/articles/1516
                    also change other parameters like MA period or TP SL for trades etc

                    this was my reply from PM 😄 ...

                    Between trading and gambling is a very small gap, be careful.

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

                    Online Users

                    L
                    F
                    S
                    F
                    N
                    S
                    E
                    H
                    E

                    21
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors