fxDreema

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

    How to loop price in x variables?

    Questions & Answers
    2
    4
    287
    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.
    • B
      BestTrader last edited by

      Hello I want to register every day, the maximum daily price in variable and record for 30 days, there are 30 variables.
      But I want to continue recording in loop, each day always keeping the most recent 30 variables.
      I also want each new day to compare the pips of difference between this new variable with each one of the others.
      Can you help me? Thank you very much

      Jose

      jstap 2 Replies Last reply Reply Quote 0
      • jstap
        jstap @BestTrader last edited by

        @besttrader In HERE you'll see how you can achieve this, it will take a lot more than 30 variables though. hope this helps.

        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! 😊

        B 1 Reply Last reply Reply Quote 0
        • jstap
          jstap @BestTrader last edited by

          @besttrader I thought about how you could reduce the amount of variables used, you could draw event field on init, then type on screen the days you want to compare, this way you only get the relevant data displayed on screen

          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
          • B
            BestTrader @jstap last edited by

            @jstap thank you very much, i understood the logic, i will try to implement

            Jose

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

            Online Users

            J
            T

            7
            Online

            146.9k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors