fxDreema

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

    How do I calculate it trendline time 2 value?

    Questions & Answers
    2
    9
    214
    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
      Bandito7 last edited by

      Please help! How can I draw a trend line so that the end is until the next candle. I should somehow calculate the time 2 value.

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

        @Bandito7 try this: TimeCurrent() + PeriodSeconds()

        f5108177-8f2c-4117-a7fb-c09293eef99a-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

        1 Reply Last reply Reply Quote 0
        • B
          Bandito7 last edited by

          Now drag it along. I just want it up to the green line.

          2023-04-15 20 12 40.jpg 1.jpg 2.jpg

          1 Reply Last reply Reply Quote 0
          • B
            Bandito7 last edited by

            I corrected the first picture.2023-04-15 20 12 40.jpg

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

              Just dont update your object, now you are updating your objects continually

              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
                Bandito7 last edited by

                I do not understand. I will not update.
                Can you help me set it up?
                1.jpg

                https://fxdreema.com/shared/sGajB3Lje

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

                  Try setting A -> Yes, B -> No

                  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
                    Bandito7 last edited by

                    Thanks, but unfortunately it doesn't work. I already tried. It should be drawn up to the 50th candle, but this way it only draws the first ones, but not well. 😞

                    Line2.jpg

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

                      @Bandito7 I dont know what your whole project is about. From the picture I can see the 2 lines correctly extend until the next candle, and that was your original question. So problem solved.

                      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
                      • 1 / 1
                      • First post
                        Last post

                      Online Users

                      L
                      T
                      A
                      N

                      14
                      Online

                      146.8k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors