Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Change chart symbol programatically

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

    Change chart symbol programatically

    Hi,

    I have an indicator that does not support Market Analyzer. I'd like to cycle through a large number of charts manually. Typing in symbols makes it a very laborious process. I'm familiar with how to add, say, buttons to the toolbar that would allow me to click "Next" and take some action in response. The action I'd like to take is to change the symbol of the chart. Is that doable that anyone is aware of? I'f prefer to do it in NT7, but would leverage NT8 if that is the only option. Thanks.

    Gordon

    #2
    Hello grose,

    In both platforms, there are no documented/supported ways to programmatically change the DataSeries like you are asking. This may be able to be accomplished using general C# to invoke key commands however I believe an easier solution would be to use the built-in window link feature.

    If you already have a market analyzer open, you could use the link button in the top of the window and define a specific color, then in the chart do the same process and define the same color. Now when clicking rows in the market analyzer the chart will change to that instrument.



    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      That's a brilliant suggestion. Thanks.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      32 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      4 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      19 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      6 views
      0 likes
      Last Post cre8able  
      Started by Haiasi, Today, 06:53 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Working...
      X