Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

change chart primary instrument

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

    change chart primary instrument

    is there a way to change the primary instrument of a chart from my indicator?
    for example from the indicator every time i click a button i change the instruments from SPY to QQQ

    #2
    Hello dtl-saw,

    Thanks for your post.

    There is not a supported way to do this, but you could consider changing the instrument through the Overlay Instrument Selector with Keyboard.FocusedElement.RaiseEvent. An example indicator that does this can be found below.

    Rollover Indications - https://ninjatraderecosystem.com/use...indications-2/

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    We look forward to assisting.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    639 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    366 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    572 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X