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 llanqui, Today, 03:53 AM
      0 responses
      6 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by burtoninlondon, Today, 12:38 AM
      0 responses
      10 views
      0 likes
      Last Post burtoninlondon  
      Started by AaronKoRn, Yesterday, 09:49 PM
      0 responses
      15 views
      0 likes
      Last Post AaronKoRn  
      Started by carnitron, Yesterday, 08:42 PM
      0 responses
      11 views
      0 likes
      Last Post carnitron  
      Started by strategist007, Yesterday, 07:51 PM
      0 responses
      14 views
      0 likes
      Last Post strategist007  
      Working...
      X