Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Programmatic Unlocking of DrawObjects

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

    Programmatic Unlocking of DrawObjects

    From what I can tell, all DrawObjects have the attributes Locked=true and AutoScale=true without the ability to set these to false in any of the method signitures when called from within NinjaScript. Can these attributes be turned off programmatically or additional signitures be developed to to set these attributes as desired? Since we now can detect drawn objects programmatically in NT7, it would be useful to allow them to be initially generated by the code, yet allow for manual manipulation.

    Thanks,

    Whitmark
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    #2
    Mark,

    See here for some guidance.



    In short, all draw objects return an interface of which you can set additional properties that are not incorporated into a method signature. Help Guide of course to follow with more clear guidance and samples.
    RayNinjaTrader Customer Service

    Comment


      #3
      Excellent functionality! Thanks Ray.
      whitmark
      NinjaTrader Ecosystem Vendor - Whitmark Development

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      47 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      23 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      33 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X