fxDreema

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

    I want to use the atr as an input filter, to only place operations when there is good volatility, but I don't know how to do it and connect with the other conditions

    Questions & Answers
    4
    19
    3127
    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.
    • L
      luisjunior1224 last edited by

      I want to use the atr as an input filter, to only place operations when there is good volatility, but I don't know how to do it and connect with the other conditions

      Luis Martinez

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

        @luisjunior1224
        One method is to compare fast (13) and slow (144) ATR to each other.
        0_1575844418900_b6885078-c611-4116-b0e8-4c7dc5112d57-image.png

        You can also set a multiplier. For example, adjust *2 means that fast ATR must be double that of slow ATR.
        0_1575844509512_fb0d9c7f-2542-4dd4-ade7-f802782f8936-image.png

        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

        L 2 Replies Last reply Reply Quote 0
        • L
          luisjunior1224 last edited by

          thank you very much, and if I turn it upside down it would be for a range operation

          Luis Martinez

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

            @luisjunior1224 Well, you should always trade only the volatile period (fast above slow), no matter if there is a trend or not.
            Fast below slow means that the price doesn't move at all -> your profits are small but spread+commission stays the same. Not wise to trade that.

            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 1
            • L
              luisjunior1224 @roar last edited by

              @roar Without the multiplier does not work?

              what is the logic applied here with respect to the multiplier

              Luis Martinez

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

                @luisjunior1224 You could use any multiplicator for short term atr - even , if you like. It should just indicate that the short term average of atr is bigger than the long term atr. In @roar 's case he assumes that good volatility if 2 times short atr is bigger than long term atr.

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

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

                  The number 2 was just an example, its probably too big for most cases. You can try 0.7, 1.0, 1.3, 1.7 etc. Its very easy to optimize, just one number to measure volatility.

                  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

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

                    @roar In your experience, which has worked the most for you as a multiplier

                    Luis Martinez

                    T roar 2 Replies Last reply Reply Quote 0
                    • L
                      luisjunior1224 @roar last edited by

                      @roar what period of ATR do you recommend if I want the sl to be for atr

                      Luis Martinez

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

                        @luisjunior1224 Start with 2* ATR value for begining. That's a fair value usually. However, it depends also on timeframe if you use default period of 14. On M1 you'd just cover the last 14 minutes and on D1 the last 14 days.

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

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

                          @luisjunior1224 Just to give you a feeling about ATR maybe and because I have good mood today, here is a very useful custom indicator for all kinds of moving averages. I tweaked it a bit that it shows an ATR band (1 line above MA line and one below). You can adjust the multiplicator in the settings as well as the ATR period.

                          0_1575850997168_75960007-d242-4b85-ba41-3ee855152558-image.png

                          0_1575851025517_AllAverages_v4.9_600.mq4

                          And that's how it looks like on the chart.

                          0_1575851180290_3f785bdf-f435-4661-9707-013241c08158-image.png

                          If you set MA period to 1 you'd have your SL based on ATR (candle close for instance).

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

                          L T 2 Replies Last reply Reply Quote 0
                          • L
                            luisjunior1224 @trader.philipps last edited by

                            @trader-philipps Do you have a robot with that indicator?

                            Luis Martinez

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

                              @luisjunior1224 You can easily build by yourself. You can import the the indicator into fxdreema and use it. Most strategies use any kind of Moving Average - at least the trend following ones.

                              Btw. I just implemented the ATR bands vor current timeframe as I just need it that way.

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

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

                                @roar Just to confirm, is 144 or 14 the atr?

                                Luis Martinez

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

                                  @luisjunior1224 The default value for ATR in MT is 14. you can use a multiplied value of that (for instance by 2) for initial SL.

                                  What @roar wanted to show is 1 way to measure volatility. That has nothing to do with SL. So he took the ATR of a long periood (144) and compared it with the ATR of a shorter period (13) in his example. In this case you'd enter trades only, if ATR(13) is bigger than ATR(144). Keep in mind that ATR is directionless!

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

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

                                    @trader-philipps I for one was very happy that you were in a good mood because you have taught me a lot in this post plus.... presents before Christmas.. lol .. Thank you!

                                    1 Reply Last reply Reply Quote 1
                                    • roar
                                      roar @luisjunior1224 last edited by roar

                                      @luisjunior1224 said in I want to use the atr as an input filter, to only place operations when there is good volatility, but I don't know how to do it and connect with the other conditions:

                                      @roar In your experience, which has worked the most for you as a multiplier

                                      It really depends on the timeframe and your strategy - how many trades per day do you plan to take?

                                      If I go for a M5 scalping strategy, I would use fast ATR 13, slow ATR 377, and a multiplier 1.1 as a start. Later optimize for multipliers ranging from maybe 0.7 - 2.1.

                                      It's not really some mystical fact, like "1.1 multiplier gives you the most million $".
                                      ATR is just a filtering tool, you must fit it together with the rest of your strategy 🙂

                                      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

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

                                        @roar thants bro 🙌

                                        Luis Martinez

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

                                          @trader-philipps Hey folks, the AllAverages indicator I posted above was anly showing ATR bands on the current TF. Here is a version that also shows the ATR bands on a higher TF (with higher TF ATR).

                                          0_1578712531547_AllAverages_v4.9_600.mq4

                                          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

                                          K
                                          S
                                          G
                                          B
                                          F

                                          20
                                          Online

                                          146.6k
                                          Users

                                          22.4k
                                          Topics

                                          122.6k
                                          Posts

                                          Powered by NodeBB Forums | Contributors