Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Drawing Objects

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

    Custom Drawing Objects

    Is there any way to create custom drawing objects? I can figure out the actual drawing of the objects, but I don't know how to go about placing them or handling movement and resizing.

    Ideally I'd like to be able to place orders using a drawing object, because one of the objects I'd like to create is a visual representation of an ATM strategy that lets you specify entry points, stops, and targets visually, but I also want to be able to modify the orders once they're placed with the chart manager, so it can't be a strategy (and even if it could, I don't know how you'd handle moving the various elements around).

    A couple other objects I'd like to create would involve placing two horizontal or vertical lines and coloring the range in between them, sort of like a rectangle that's infinite on one axis.
    Last edited by TNixon; 11-29-2010, 02:32 AM.

    #2
    Welcome to our forums, unfortunately you could not add to the drawing objects available. You can create though whatever you like through custom plotting and drawing with C# directly, for a sample the CustomPlotSample would be a way to start.

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Welcome to our forums, unfortunately you could not add to the drawing objects available. You can create though whatever you like through custom plotting and drawing with C# directly, for a sample the CustomPlotSample would be a way to start.
      Is there any way to initiate the creation of a new custom draw object, or to manage movement and resizing, though? CustomPlotSample is an indicator, and I would want to be able to easily create and modify multiple custom drawing objects.

      Comment


        #4
        Unfortunately not TNixon, you would need to create this framework using C# as well in order to manage your custom draw objects.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        161 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        311 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        245 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        350 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X