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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
82 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
43 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
64 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
68 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
56 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment