fxDreema

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

    ATR value to Pips - Tutorial

    Tutorials by Users
    10
    19
    7855
    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.
    • F
      FenixTrading last edited by FenixTrading

      Recently I was looking for a good solution to get always the ATR value in Pips without currency problem.

      So here is a useful tutorial for you:

      1. The first step is to create a new double Variable where we are going to store the result of our calculation.
        In my case, I used "ATRvalue"
        0_1604049773179_dc73fc57-b96c-4a7d-a6a7-0901e2c421c4-image.png

      2. Let's create the formula using 2 different formula blocks
        The formula to convert ATR value in Pips is really simple:
        ATRpips = ATR * 10000 ----> For any currency
        ATRpips = ATR * 100 ----> For JPY
        Just copy the image and use the double Variable to store our results.

      0_1604049096627_f39465ac-0aba-4ea2-b6c6-5884ba903a2a-image.png

      1. Now we need a block that helps the EA to chose which one formula to use, so the only thing I need to know is if we are trading a JPY pair.
        Since JPY is always the quote currency we need just one block:
        0_1604049486930_97b01740-3534-47ae-8df0-3604e2cad7d2-image.png

      The final results will be like this:
      On Tick
      0_1604049600134_0d5a03fa-f3eb-4063-b598-e899776695b8-image.png

      Upvote if you found helpful this tutorial and have a nice day.

      6 1 Reply Last reply Reply Quote 18
      • l'andorrà
        l'andorrà last edited by

        Upvoted and congratulated! 😉 Great tutorial.

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        1 Reply Last reply Reply Quote 1
        • jerkha
          jerkha last edited by jerkha

          If you need to multiply with a coeficient afterwards you do not need to put another block and yet another variable, for faster result do it like this :
          0_1605788982947_Capture.PNG

          D 1 Reply Last reply Reply Quote 0
          • D
            drewinbrissie @jerkha last edited by

            @jerkha
            What about working out ATR as a pip value for indices and other non forex instruments? Any ideas as the pip values can be difficult to calculate as different brokers present the data in different ways. I have found setting the FXDreema options doesn't always work consistently due to broker differences.

            Any help would be much appreciated.

            Thanks Drew

            jerkha 1 Reply Last reply Reply Quote 0
            • jerkha
              jerkha @drewinbrissie last edited by

              @drewinbrissie
              I do not know about non-forex instrument since I work solely on forex but maybe there is a way to test for how many decimal the value has and *10 it until it has no decimal left ?

              1 Reply Last reply Reply Quote 0
              • S
                saeed 2 last edited by

                does this work at xauusd (gold) it has same jPY phenomenal .. and what about BTCUSD ?

                1 Reply Last reply Reply Quote 0
                • S
                  saeed 2 last edited by

                  upvoted .. so helpful .. thanks

                  1 Reply Last reply Reply Quote 0
                  • l'andorrà
                    l'andorrà last edited by

                    All fxDReema EAs can be used in any non forex instrument as far as you adjust the pip rules in the 'global options' section.

                    (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                    (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                    (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                    1 Reply Last reply Reply Quote 0
                    • 6
                      6ixpappi @FenixTrading last edited by

                      @fenixtrading Does this apply to metals and stock indices?

                      jstap 1 Reply Last reply Reply Quote 0
                      • jstap
                        jstap @6ixpappi last edited by

                        @6ixpappi Use this in MT4 or MT5, it works on all assets. https://fxdreema.com/shared/bUCD0mdBb

                        Learn fxDreema Without the Wait!

                        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                        Don’t miss out

                        Click here➡️ https://mybook.to/fxDreema to get your copy today!

                        Enjoy! 😊

                        T 1 Reply Last reply Reply Quote 3
                        • T
                          tec.nacks @jstap last edited by

                          @jstap which of the below is the ATR value in pips?

                          Screenshot 2023-08-25 144527.png

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tec.nacks @tec.nacks last edited by

                            @tec-nacks

                            Gotten

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

                              Use this one, I added the word else to the code: https://fxdreema.com/shared/bUCD0mdBb

                              Learn fxDreema Without the Wait!

                              My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                              The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                              Don’t miss out

                              Click here➡️ https://mybook.to/fxDreema to get your copy today!

                              Enjoy! 😊

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                tec.nacks @jstap last edited by

                                @jstap ooh...But I dont see the difference, can you show me pls?

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

                                  else is written in the code:
                                  image.png

                                  Learn fxDreema Without the Wait!

                                  My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                                  The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                                  Don’t miss out

                                  Click here➡️ https://mybook.to/fxDreema to get your copy today!

                                  Enjoy! 😊

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    tec.nacks @jstap last edited by

                                    @jstap ooh... thanks
                                    ]

                                    but check the link, its isn't the right one...the link you sent doesn't contain the else..

                                    Also, should this be used in MT5 also? The else

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

                                      The picture was from that link, otherwise just write the word else in the code.

                                      Learn fxDreema Without the Wait!

                                      My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                                      The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                                      Don’t miss out

                                      Click here➡️ https://mybook.to/fxDreema to get your copy today!

                                      Enjoy! 😊

                                      1 Reply Last reply Reply Quote 1
                                      • Q
                                        QuantEngineer last edited by

                                        Hello everyone,

                                        I was just dealing with this pips calculation and I found a very safe way to do that for any symbol. It turns out that it is also the easiest way.
                                        Because this pip calculation involves many possible scenarios, including broker settings, asset class, etc... FX Dreema has already done all this work in advance for us, by creating a function that converts 1 pip to a price fraction, We can just save that to a variable and use it on any calculation to convert pips to price fraction and vice versa, and by using FX Dreema's methods, the compatibility with other FX Dreema's functions will be safer where it uses pips or price fractions.

                                        Here is a screenshot:
                                        image.png

                                        Safe Bots to everyone!

                                        Quant Engineer
                                        www.abfs.tech

                                        S 1 Reply Last reply Reply Quote 2
                                        • S
                                          sktsec @QuantEngineer last edited by

                                          @QuantEngineer
                                          A more direct approach:
                                          http://fxdreema.com/forum/post/94132

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

                                          Online Users

                                          M
                                          C
                                          K
                                          T
                                          K
                                          D

                                          20
                                          Online

                                          146.6k
                                          Users

                                          22.4k
                                          Topics

                                          122.6k
                                          Posts

                                          Powered by NodeBB Forums | Contributors