Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Essence of the notion Value(s)
Collapse
X
-
Hello,
This is referring to the difference between Value and Values in NinjaScript. When you refer to Value[], you are referring to the primary data series in the script. If you have more than one data series in your script, then you can use Values[][] to refer to specific data series.
For example:
- Value[5] -- The value of the primary data series, 5 bars ago
- Values[0][5] -- The same thing as above
- Values[3][10] -- The value of the fourth data series, 10 bars ago
Dave I.NinjaTrader Product Management
-
5 bars.. Really? Bar's Numeration starting did not from zero? P.S. I think, that it read as:Originally posted by NinjaTrader_Dave View PostValue[5] -- The value of the primary data series, 5 bars ago
The value of the primary data series, 6 bars ago( from zero... 5 is 6's number ). Isn't it, really?
Possibly, it is 11's bars ago?Originally posted by NinjaTrader_Dave View PostValues[3][10] -- The value of the fourth data series, 10 bars ago
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
331 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
549 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
550 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment