fxDreema

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

    How can I set a stop loss based on ATR%

    Questions & Answers
    8
    13
    7359
    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.
    • J
      jzfusion last edited by

      I'm trying to set a stop loss based on a percentage of the ATR. I am able to select the ATR as an indicator for the stop loss but not sure what to do next.

      V 1 Reply Last reply Reply Quote 0
      • V
        Voodoogodman @jzfusion last edited by Voodoogodman

        @jzfusion quick and dirty is to use the "adjust" tab under the atr and enter *1.5 or whatever
        *2
        *1.5
        *0.33
        etc

        (enter percent as a decimal) 100% == 1.00 52.8% == 0.528

        1 Reply Last reply Reply Quote 0
        • J
          jzfusion last edited by

          @Voodoogodman
          I don't think I understood what you meant. This is what I did:

          0_1565934640782_Screenshot 2019-08-16 at 06.47.18.png

          And this is what I'm getting:
          0_1565934686920_Screenshot 2019-08-16 at 06.48.32.png

          I'm missing something here!

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

            hi did you fined answer for you problem because i have this same clue?
            i need stop loss:
            current price - 2*atr

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

              @jzfusion said in How can I set a stop loss based on ATR%:

              @Voodoogodman
              I don't think I understood what you meant. This is what I did:

              0_1565934640782_Screenshot 2019-08-16 at 06.47.18.png

              And this is what I'm getting:
              0_1565934686920_Screenshot 2019-08-16 at 06.48.32.png

              I'm missing something here!

              Just change the mode. ATR is not a level, it's a price fraction 😉

              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
              • B
                brianharig last edited by

                Can someone post an example of this in real life? I have it set exactly as stated and it's not working. Thank you.

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

                  @brianharig Check my recent post. There is a project and an mq4 file you might take a look at.
                  https://fxdreema.com/forum/topic/8618/tutorial-expert-advisor-with-some-recent-issues-solved/14

                  0_1582082546595_2941f61e-a816-4ec6-9085-39e222a75118-image.png

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

                  1 Reply Last reply Reply Quote 1
                  • B
                    brianharig last edited by

                    0_1582118449302_ATR Trailing Stop.jpg
                    Thanks for the help. I still have something wrong. It will set the initial stop loss at 2*ATR, but it will not trail. What am I missing? Thank you so much.

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

                      @brianharig I think it is technically working, but the problem is the variable SL.

                      Trailing stop will never increase your SL. But the ATR increases when the price moves, and it increases even more because you multiply it. The trailing system can't update the SL, to protect your trade.

                      Try using candle ID 1 on the ATR, maybe it helps. Also, make sure the "trailing start" is set up as you want it.

                      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

                      B T 2 Replies Last reply Reply Quote 0
                      • B
                        brianharig @roar last edited by

                        @roar Ah, I think I get it. If I used candle ID 1 it would reset it for each candle. I'll give it a try.

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

                          @roar In my Tutorial EA I calculate the ATR value from the time the trade was opened (candle ID:1 at that time). Like this it is a constant for the trade.

                          0_1582119340870_bc91d44c-eac6-4661-aadf-ff3c6ae87df4-image.png

                          vdATR is the price fraction and viATRPips calculate that price fraction in Pips as somehow that works more reliable with the trailing I observed.

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

                          1 Reply Last reply Reply Quote 1
                          • C
                            crazycnw last edited by

                            thanks very much. Also will these boxes open when i press the code on the keyboard on the chart. If not how do i manually open boxes?

                            https://fxdreema.com/shared/P3hzzHWSc

                            1 Reply Last reply Reply Quote 0
                            • G
                              gordonhmilton @brianharig last edited by

                              @brianharig

                              You may want to create an ATR variable first. You may find this post helpful

                              https://fxdreema.com/forum/topic/12843/atr-to-pips-new-formula

                              All the best

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

                              Online Users

                              C
                              T
                              S
                              A
                              M
                              R
                              G
                              G
                              Y
                              C
                              S
                              S

                              25
                              Online

                              146.7k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors