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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        668 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        377 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        110 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        575 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        580 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X