fxDreema

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

    USING ATR AND VARIABLES

    Questions & Answers
    3
    4
    465
    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.
    • P
      P69 last edited by

      To anyone who can help, suppose you want to use the ATR value at the point of entering a trade in another block, how do you use variables? For example, if the 50sma crossed above the 200sma and you took a long position, and the ATR value at that point was 30 pips, how do you store this 30 pips in a variable to be used in another block? Any help will be highly appreciated.

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

        @l-andorrà any thoughts on this??

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

          @6ixpappi You can do it like this, just hold the value and reset when needed:

          https://fxdreema.com/shared/EnIooHlxb

          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 0
          • 6
            6ixpappi last edited by

            @jstap Thank you. Works perfectly

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

            Online Users

            A
            E
            R
            S
            B
            N
            M
            A

            19
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors