Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT 6.0 Histogram indicator not working in 6.5

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

    NT 6.0 Histogram indicator not working in 6.5

    I have a simple histogram-like indicator I coded for NT 6.0. It draws veritcal lines on each bar from -15 up to 15.
    I am now trying to view it in 6.5 beta 10. The indicator area seems to be limited to the range 0 to +1. I can't find any flags or min/max properties to change this. I also tried AutoScale and that did not work.

    What to I need to do to get histogram (in indicator panel) to show + and - values?

    I attached the code that is working in 6.0.

    Thanks,
    Gary
    Attached Files

    #2
    Try it on Panel 1?
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Josh,
      It is an indicator that plots from -15 to +15 so it needs to be on panel 2+.

      In my initial post of the file, I mistakenly posted the 6.0 version. The attachment to this post is the 6.5 version. The only difference is the signature change to the DrawLine method which has an additional parameter for 6.5.

      Let me rephrase my question:

      Is there a way to define the range of the plot area for an indicator, as in this case, from -15 to +15?

      Is this necessary in 6.5? If not, what has changed?

      Thanks,
      Gary
      Attached Files

      Comment


        #4
        I have attached a better example of the problem. This simple histogram plots between -100 and +100. When the plot lines are red and green, it works (range is -100 to +100).
        When the plot lines are changed to Color.Transparent, then the range of the chart defaults back to 0 to 1.
        Attached Files

        Comment


          #5
          I see. The range automatically limits it to plot a range of only what is needed. When you go transparent you are effectively not plotting so NT doesn't detect it as a necessary range. Thanks for the suggestion. We will add it to the list of future enhancements.
          Last edited by NinjaTrader_JoshP; 03-12-2008, 12:47 AM.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          580 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          336 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          554 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          552 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X