Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Data Serie Question
Collapse
X
-
Welcome to our forums sd888, do you see any error in your log tab when this occurs? This would be the right most tab in NT's Control Center.
You are most likely running into this issue here - http://www.ninjatrader.com/support/f...ead.php?t=3170
-
Data Serie Question
I am learning ninja scripts to create indicators, but seems could not get the data series to work. I can only get value for the current data i.e. Open[0], Close[0], etc. But Open[1], or Close[1] would return nothing. for example the following code would return no value but no error as well
protected override void OnBarUpdate()
{
// Use this method for calculating your indicator values. Assign a value to each
// plot below by replacing 'Close[0]' with your own formula.
SR.Set(Close[1]);
}
I am using free end of day data. I suppose that should not be a problem.
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by saltminer, 07-07-2025, 01:43 PM
|
1 response
54 views
0 likes
|
Last Post
|
||
Started by idude, Yesterday, 05:06 AM
|
0 responses
22 views
0 likes
|
Last Post
![]()
by idude
Yesterday, 05:06 AM
|
||
Started by music_p13, 07-05-2025, 11:33 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
Started by gubbar924, 03-18-2018, 05:15 PM
|
43 responses
5,488 views
0 likes
|
Last Post
![]()
by ESMC377
07-05-2025, 03:15 PM
|
||
Started by siqalexcg, 06-30-2025, 08:06 PM
|
1 response
205 views
0 likes
|
Last Post
![]()
by Emma1
07-05-2025, 05:56 AM
|
Leave a comment: