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 funk10101, Today, 09:43 PM
      0 responses
      6 views
      0 likes
      Last Post funk10101  
      Started by pkefal, 04-11-2024, 07:39 AM
      11 responses
      37 views
      0 likes
      Last Post jeronymite  
      Started by bill2023, Yesterday, 08:51 AM
      8 responses
      44 views
      0 likes
      Last Post bill2023  
      Started by yertle, Today, 08:38 AM
      6 responses
      26 views
      0 likes
      Last Post ryjoga
      by ryjoga
       
      Started by algospoke, Yesterday, 06:40 PM
      2 responses
      24 views
      0 likes
      Last Post algospoke  
      Working...
      X