Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add-On Container Script - Chart or Workspace Specific

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

    Add-On Container Script - Chart or Workspace Specific

    As near as I can tell, Add-ons are global.

    Is there a way to make them chart or workspace specific? A chart or workspace toggle that will enable the add-on?

    #2
    Hello BodhiKarma,

    Thank you for your post.

    You can check the active workspace using NinjaTrader.Core.Globals.ActiveWorkspace, and compare that with the workspace you want to attach the AddOn to before calling .Show() in your window class.

    Please let us know if you have any further questions.
    Last edited by NinjaTrader_Gaby; 05-05-2025, 07:20 AM.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by sjsj2732, Today, 04:31 AM
    0 responses
    20 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    279 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    279 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    130 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    89 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X