Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Large Number of plots causes NT problems

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

    Large Number of plots causes NT problems

    I have a very complex study that uses a large number of plots. When I add more than 30 plots, it appears that NT always decides that the minimum of the plot is zero. Attaches is a cut-down strip that shows this. It should plot the current close, but it ALWAYS sets the minimum of the plot to zero. (or -5?).

    Any suggestions as to what I may be doing wrong?
    Attached Files

    #2
    Originally posted by SharkCub View Post
    I have a very complex study that uses a large number of plots. When I add more than 30 plots, it appears that NT always decides that the minimum of the plot is zero. Attaches is a cut-down strip that shows this. It should plot the current close, but it ALWAYS sets the minimum of the plot to zero. (or -5?).

    Any suggestions as to what I may be doing wrong?
    You have assigned one Plot, Plot0 a value: all the others are undefined. What were you expecting to see?

    Comment


      #3
      The issue turns out to be that I have one of the plots marked as a bar plot. Even if there is NO data in the plot, NT sets the "minimum" to zero... Solution: Over-ride the min/max computation and ignore any plot that has all "empty" values.

      Comment


        #4
        I have coded an indicator that has 540 plots. No problems whatsoever. This is just to confirm that NinjaTrader can indeed handle a large amount of plots.

        The only limitation here is the RAM requirement. Let us assume that you open a 5-minute chart with a lookback period of 1 year. In that case NinjaTrader needs to store all the DataSeries values over the last year.

        If you assume that there are 250 business days per year, if you further assume that a typical business day has about 276 bars (1440 min, one hour deducted as break and then divided by 5) and if you take into account that each data point occupies 8 Byte, then you can compute the RAM requirement for this indicator as

        540 plots x 250 days x 276 bars x 8 bytes = 298 MByte

        This calculation would apply to any software that is used to display 540 plots on a 5-minute chart with a lookback of 1 year. Now if you apply that indicator to a 1-minute chart, the RAM load will increase to 1.5 GByte. Still feasible. But if you try to open a Renko chart which has a lot more bars than a 1-minute chart, a PC upgrade might be necessary.

        Comment


          #5
          Originally posted by Harry View Post
          I have coded an indicator that has 540 plots. No problems whatsoever. This is just to confirm that NinjaTrader can indeed handle a large amount of plots.

          The only limitation here is the RAM requirement. Let us assume that you open a 5-minute chart with a lookback period of 1 year. In that case NinjaTrader needs to store all the DataSeries values over the last year.

          If you assume that there are 250 business days per year, if you further assume that a typical business day has about 276 bars (1440 min, one hour deducted as break and then divided by 5) and if you take into account that each data point occupies 8 Byte, then you can compute the RAM requirement for this indicator as

          540 plots x 250 days x 276 bars x 8 bytes = 298 MByte

          This calculation would apply to any software that is used to display 540 plots on a 5-minute chart with a lookback of 1 year. Now if you apply that indicator to a 1-minute chart, the RAM load will increase to 1.5 GByte. Still feasible. But if you try to open a Renko chart which has a lot more bars than a 1-minute chart, a PC upgrade might be necessary.
          Ahem....Mr.Harry,could please kindly peep into this thread:



          The deal is about 2 plots only...540 this is not!...

          Comment


            #6
            Originally posted by SharkCub View Post
            The issue turns out to be that I have one of the plots marked as a bar plot. Even if there is NO data in the plot, NT sets the "minimum" to zero... Solution: Over-ride the min/max computation and ignore any plot that has all "empty" values.
            See you in 2 years for another update

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            579 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            334 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 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
            551 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X