fxDreema

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

    How can I add a specific level to the moving average at fxdreema ?

    Questions & Answers
    4
    13
    2141
    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.
    • khalids222
      khalids222 last edited by

      Anyone help me how to add the levels in Moving average ?
      0_1582377074885_level200.jpg
      Here the Dow Jones, I want the 14-day moving average and the 200-day level

      I want to work on a candle zero, but not on the closure of the candle? What is the best option for dealing with the price? As in the picture؟
      0_1582377569523_333.jpg

      roar 1 Reply Last reply Reply Quote 0
      • roar
        roar @khalids222 last edited by

        @khalids222 What? 200-day level? You mean the 200-day moving average?

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        khalids222 2 Replies Last reply Reply Quote 0
        • khalids222
          khalids222 @roar last edited by

          @roar no i mean level 200 for moving averge 14

          1 Reply Last reply Reply Quote 0
          • khalids222
            khalids222 @roar last edited by

            @roar 0_1582380247002_level14.jpg

            roar 1 Reply Last reply Reply Quote 0
            • roar
              roar @khalids222 last edited by

              @khalids222 The "level" on moving average is just a deviation.

              Compare 14-MA with 200 level with the Envelopes indicator (period 14, deviation 0.200.
              They are the same thing.

              Need small help? Tag me in your post
              Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

              khalids222 1 Reply Last reply Reply Quote 0
              • khalids222
                khalids222 @roar last edited by

                @roar thank you i will try it ? what is the best option for candle00_1582381702157_333.jpg

                roar 1 Reply Last reply Reply Quote 0
                • roar
                  roar @khalids222 last edited by roar

                  @khalids222 When working with candle crosses, you probably want a confirmed cross. This is why you should use ID1, the completed candle.

                  Why are you measuring candle size? Isn't it the level you are interested in?

                  Need small help? Tag me in your post
                  Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

                    If you do want to check candle size, dont use cross.
                    Crossing condition will always compare a candle with the previous candle, it doesn't compare intra-candle values.

                    Need small help? Tag me in your post
                    Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                    khalids222 1 Reply Last reply Reply Quote 0
                    • khalids222
                      khalids222 @roar last edited by

                      @roar said in How can I add a specific level to the moving average at fxdreema ?:

                      If you do want to check candle size, dont use cross.
                      Crossing condition will always compare a candle with the previous candle, it doesn't compare intra-candle values.

                      But what if you use a double moving average, one greater than the second, such as the average one and the average ten, and use the zero candle at the intersection of the average ten.
                      Assuming here the intersection really happened?
                      What is the best option to use the body of the candle or wick. Even if there is an intersection and return.

                      I appreciate your efforts and thank you for helping me

                      roar 1 Reply Last reply Reply Quote 0
                      • roar
                        roar @khalids222 last edited by

                        @khalids222 You want to check if candle crosses 10-MA?
                        Don't use candle body size, or candle total size.
                        Those are sizes, not levels.

                        If you want to take action when a candle touches moving average, a solution is to use two conditions:

                        if candle open > MA, then
                        if candle close < MA
                        -> take action

                        another case:
                        if candle open < MA, then
                        if candle close > MA
                        -> take action

                        Need small help? Tag me in your post
                        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                        khalids222 T T 3 Replies Last reply Reply Quote 1
                        • khalids222
                          khalids222 @roar last edited by

                          @roar
                          thank you very much
                          I appreciate your efforts and thank you for helping me

                          1 Reply Last reply Reply Quote 1
                          • T
                            TitanGeorge @roar last edited by

                            @roar

                            Good input roar. Your knowledge is humbling.

                            If you wish to know my trading style, look up TRO and visit him on the Kreslik forums. BambinoFlex is my other internet handle as well as my Gamer Tag.

                            1 Reply Last reply Reply Quote 0
                            • T
                              trader.philipps @roar last edited by

                              @roar said in How can I add a specific level to the moving average at fxdreema ?:

                              @khalids222 You want to check if candle crosses 10-MA?
                              Don't use candle body size, or candle total size.
                              Those are sizes, not levels.

                              If you want to take action when a candle touches moving average, a solution is to use two conditions:

                              if candle open > MA, then
                              if candle close < MA
                              -> take action

                              another case:
                              if candle open < MA, then
                              if candle close > MA
                              -> take action

                              Just for my interest, doesn't do x> or x< do the same? If you compare on candle cross per candle, you'd probably miss crosses with gaps. For instance candle ID2 close was below MA and candle ID 1 open was above.

                              I like to share my knowledge, but expect the others to contribute as well.

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

                              Online Users

                              A
                              L
                              S

                              14
                              Online

                              146.7k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors