fxDreema

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

    Colors

    Questions & Answers
    2
    7
    1812
    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.
    • H
      hilavoku last edited by

      When drawing a rectangle or other objects it would be nice to see more than the six standard colors. Is there also the possibility to give the Rectangle block the option ob how thick to draw the border and if to draw a non filled rectangle.

      thx in advance

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

        I'm not sure about the border you want to draw.
        This is the function to set properties of objects: http://docs.mql4.com/objects/objectset
        And this is the list of properties that can be set: http://docs.mql4.com/constants/objects/properties

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

          Colors updated.

          1 Reply Last reply Reply Quote 0
          • H
            hilavoku last edited by

            Thank you! Looks good now. I thought of drawing a rectangle just only with a border line and no filling. I will check the properties. 😉

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

              Every object is created with ObjectCreate(), then modified with one or more ObjectSet(). But I'm not sure that rechtangles can look as you like in MQL4 🙂 In MQL5 there are more properties and I think it's possible there.

              1 Reply Last reply Reply Quote 0
              • H
                hilavoku last edited by

                When nothing goes with the rectangle then i will draw four lines 😄

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

                  Well, you can search if there is a trick to do that. I remember that once I searched for this and didn't found a solution. If you ever find indicator, ea or script that can write such a thing, show it to me 🙂

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

                  Online Users

                  T
                  A
                  N

                  9
                  Online

                  146.8k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors