fxDreema

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

    Plot horizontal line in specific value.

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

      I want to plot a horizontal line in the value that is displayed according to the image.0_1583694895751_verticalline.PNG 0_1583694939402_1verticalline.PNG

      the line is not showing, can you help me understand why?

      follows shared project. https://fxdreema.com/shared/pBSOmr7ne

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

        You must select a trade before reading its properties. So put the "for each trade" block before drawing the line.

        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 1
        • F
          fabiobioware last edited by

          0_1583699331978_2verticalline.PNG
          https://fxdreema.com/shared/2DA0gEKV

          continues in the same way without projecting the line, I put it according to the image.

          1 Reply Last reply Reply Quote 0
          • F
            fabiobioware last edited by

            @roar to be more specific:
            I want a line to be printed on the graph at exactly the value that appears in the comment "VALUE TAKE" which, for example, in the image is at 103805.0
            Note that in the image I also marked where the Take profit line is, along with this line, a new line must appear and remain on the screen.

            This number 103.805.0 is the price that was defined as Take profit in trading, I managed to plot this number in a variable, so any number that appears in the "VALUE TAKE" must insert a horizontal line so that I know where the take targets were profit on each trade that was opened.
            0_1583700650627_valuesline.PNG

            1 Reply Last reply Reply Quote 0
            • F
              fabiobioware last edited by

              https://fxdreema.com/shared/TPd0TnRAd project shared

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

                @fabiobioware Oh, here's the problem:
                0_1583700967625_aa738e41-8b4e-4365-9797-92547d0dec59-image.png

                Vertical line goes from up to down,
                horizontal from left to right

                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
                • F
                  fabiobioware last edited by

                  0_1583701392132_horizontalline.PNG

                  vertical or horizontal it is not printing the line I want on the graph.

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

                    @fabiobioware I changed from vertical to horizontal and got a line. The variable doesn't update, though, because your "modify variables" doesnt select the trade.
                    0_1583701788496_adfab416-734c-4098-94d3-8c72df1bef34-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
                    • F
                      fabiobioware last edited by

                      @roar working fine now, thanks for the support.

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

                      Online Users

                      H
                      G

                      8
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors