Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Script to Load Drawing Template via Right Click Context Menu

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

    Script to Load Drawing Template via Right Click Context Menu

    Hello,

    I’m looking for guidance on implementing a feature to allow me to load a saved drawing object template directly from the right-click context menu in NinjaTrader 8. The goal is to streamline the process of applying templates to drawing objects by providing quick access without navigating through multiple windows.

    Desired Functionality:
    • When a user right-clicks on a drawing object, the context menu should display a "Templates" option.
    • Hovering over "Templates" should reveal a list of available templates for that specific drawing object type (e.g., "Template1," "Template2," etc.).
    • Selecting a template from the list should immediately apply it to the drawing object.
    I found a drawing object where this function was implemented as shown in the image https://ninjatraderecosystem.com/use...e-drawingtool/

    Could someone provide the piece of script I need to add to the drawing object to implement this feature?
    Attached Files
    Last edited by diegomezhur; 01-13-2025, 02:46 PM.

    #2
    Hello diegomezhur,

    Doing a search for the word 'template' I am seeing relevant sections in 53, 54, 226 - 250, 480 - 519, 820 - 848, 935 - 956, 1183 - 1220, 1802 - 1806, 1836, 1857, 2338 - 2434, 2507 - 2614.

    This looks to be a really elegant custom solution of custom C#.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    596 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    343 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    556 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    554 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X