Any suggestions as to what I may be doing wrong?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Large Number of plots causes NT problems
Collapse
X
-
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? -
You have assigned one Plot, Plot0 a value: all the others are undefined. What were you expecting to see?Originally posted by SharkCub View PostI 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?
-
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
-
Ahem....Mr.Harry,could please kindly peep into this thread:Originally posted by Harry View PostI 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.
The deal is about 2 plots only...540 this is not!...
Comment
-
See you in 2 years for another updateOriginally posted by SharkCub View PostThe 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
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
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment