Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Suggestion: Add size parameter to Draw Objects.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Suggestion: Add size parameter to Draw Objects.

    For Version 7, suggest adding a size parameter to the drawing objects such as DrawTriangleUp/Down(), DrawDiamond(), DrawSquare() and DrawDot().

    I have created my own graphics library that I call from the custom Plot(). In my library, for example, the MyDrawTriangleUp() has a Size paramenter that ranges from 3 to 15. This defines the height of the triangle in pixels.

    If I was able to draw different sizes of triangles, dots, squares and diamonds from OnBarUpdate(), then I would not need to deal with the extra complication of having to draw from the custom Plot().

    The attachment shows 3 different triangle sizes from my library.

    thanks,
    shawnj
    Attached Files
    Last edited by shawnj; 10-24-2010, 12:00 PM.

    #2
    shawnj, thank you for sharing this. Would it be possible for you to post your library to the file-sharing section? The next ticket in my queue actually asks if it is possible to change the size of chart markers - I know many people would find this library quite useful. I will forward this suggestion on.
    AustinNinjaTrader Customer Service

    Comment


      #3
      There is a big difference between drawing from OnBarUpdate() and drawing from Plot(). I wrote my library for drawing from Plot(). Since NinjaTrader Support does not formally (or informally as far as I can tell) provide any support for Plot() I'm not planning to make public my graphics library. We need more flexability drawing from within OnBarUpdate(). I'm trying to get away from writing code in Plot().

      shawnj

      Comment


        #4
        Thank you for the suggestions, shanj. I will forward to our development team.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Any update on this? I was just wanting this feature myself.

          Comment


            #6
            Thanks for the input, cunparis. Unfortunately there is no update available, but is assigned tracking ID # 526 in our enhancement list.
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by DJ888, 04-16-2024, 06:09 PM
            6 responses
            18 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by Jon17, Today, 04:33 PM
            0 responses
            1 view
            0 likes
            Last Post Jon17
            by Jon17
             
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            6 views
            0 likes
            Last Post Javierw.ok  
            Started by timmbbo, Today, 08:59 AM
            2 responses
            10 views
            0 likes
            Last Post bltdavid  
            Started by alifarahani, Today, 09:40 AM
            6 responses
            41 views
            0 likes
            Last Post alifarahani  
            Working...
            X