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 Perr0Grande, Today, 08:16 PM
          0 responses
          2 views
          0 likes
          Last Post Perr0Grande  
          Started by elderan, Today, 08:03 PM
          0 responses
          5 views
          0 likes
          Last Post elderan
          by elderan
           
          Started by algospoke, Today, 06:40 PM
          0 responses
          10 views
          0 likes
          Last Post algospoke  
          Started by maybeimnotrader, Today, 05:46 PM
          0 responses
          11 views
          0 likes
          Last Post maybeimnotrader  
          Started by quantismo, Today, 05:13 PM
          0 responses
          7 views
          0 likes
          Last Post quantismo  
          Working...
          X