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 SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
24 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
14 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
9 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
10 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
17 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment