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

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 WHICKED, Today, 12:56 PM
          0 responses
          4 views
          0 likes
          Last Post WHICKED
          by WHICKED
           
          Started by Spiderbird, Today, 12:15 PM
          2 responses
          10 views
          0 likes
          Last Post Spiderbird  
          Started by WHICKED, Today, 12:45 PM
          0 responses
          7 views
          0 likes
          Last Post WHICKED
          by WHICKED
           
          Started by FrazMann, Today, 11:21 AM
          2 responses
          6 views
          0 likes
          Last Post NinjaTrader_ChristopherJ  
          Started by rjbtrade1, 11-30-2023, 04:38 PM
          2 responses
          80 views
          0 likes
          Last Post DavidHP
          by DavidHP
           
          Working...
          X