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