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 the X-axis on a chart?

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

    Change the X-axis on a chart?

    I have never tried this in NinjaTrader before, but is it possible when programming an indicator to use the X-axis for something other than date/time? What if I have a couple different lists or arrays I want to show by index count -- 1,2,3,4,... as the X-axis? It would be like a scatter plot or multiple Y values per X value. X could be "days" or "minutes" or "hours", but not a specific sequence of dates/times. Is this possible?

    Thanks!
    Bryan
    cassb
    NinjaTrader Ecosystem Vendor - Logical Forex

    #2
    Hello,

    Thank you for the question.

    I am unsure if there is any possible way to do this currently. I will put in a question to development to see if there are any exposed controls to NinjaScript currently. There are other chart like controls in the platform that do use other values for the X axis but these are likely custom controls for a specific purpose.

    Once I have further details I will reply back.


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

    Comment


      #3
      That would be awesome if you could ask, thanks Jesse! I am skeptical that it can be done though, because all chart panels seem to have to move in unison, so they all must have the same X axis values, and I don't think you can have the main Panel 1 X axis be anything but bar dates/times.

      Bryan
      cassb
      NinjaTrader Ecosystem Vendor - Logical Forex

      Comment


        #4
        Hello,

        I just wanted to reply back on this item.

        This is as I had thought, the other charts in the platform are completely custom and not specifically related to the ChartControl you see in a chart.

        Because there is currently no solution for this, I have put in a feature request for a custom chart control for NinjaScript to allow for more advanced charting tools.

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

        Comment


          #5
          OK, thank you Jesse.
          cassb
          NinjaTrader Ecosystem Vendor - Logical Forex

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by bortz, 11-06-2023, 08:04 AM
          47 responses
          1,606 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Today, 05:56 PM
          0 responses
          8 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          18 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by Jon17, Today, 04:33 PM
          0 responses
          4 views
          0 likes
          Last Post Jon17
          by Jon17
           
          Started by Javierw.ok, Today, 04:12 PM
          0 responses
          13 views
          0 likes
          Last Post Javierw.ok  
          Working...
          X