Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Notify changes from DrawingTool

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

    Notify changes from DrawingTool

    Hello,
    is there any way for a DrawingTool owner (indicator, strategy, addon) to be notified when the DrawingTool changes (for example, if it is moved or resized)?

    If not, would it be possible in a future release that the DrawingTool class would implement the INotifyPropertyChanged interface? This way the owner could instantly react to any change in the properties of the DrawingTool.

    Thank you

    #2
    Hello cls71,

    Thanks for your message.

    This is something we have been tracking interest in with the feature request ticket ID SFT-1358. I have added a vote on your behalf. (We cannot offer an ETA or promise of fulfillment and feature requests are tracked internally, not publicly.)

    You could consider adding a public property in the Drawing Object that is signaled when a property has changed and then have the hosting script set this property back after it sees the "PropertyChanged" property has changed. This would be a roll-your-own type of solution and would have hitches, but you may be able to shoehorn enough functionality to satisfy the needs for your goal. You could also consider modifying the setters for each public property in the Drawing Tool to signal when one may have been changed.

    If you have any additional inquiries, please don't hesitate to open a new thread.

    Comment


      #3
      Thanks Jim,
      but if I have understood you well your advice would be useful for new custom DrawingTools, not for the standard ones that already exist.

      Comment


        #4
        Hello cls71,

        Yes, the suggested workaround would be applied to custom DrawingTools. You can create your own custom versions if it is absolutely needed.

        We do have your feedback tracked to consider implementing INotifyPropertyChanged for DrawingTools in a newer version of NinjaTrader.

        Let us know if there is anything else we can do to help.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        558 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X