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.
Could someone provide the piece of script I need to add to the drawing object to implement this feature?

Comment