Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Data Serie Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NinjaTrader_Bertrand
    replied
    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

    Leave a comment:


  • sd888
    started a topic Data Serie Question

    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 cmoran13, 04-16-2026, 01:02 PM
0 responses
43 views
0 likes
Last Post cmoran13  
Started by PaulMohn, 04-10-2026, 11:11 AM
0 responses
25 views
0 likes
Last Post PaulMohn  
Started by CarlTrading, 03-31-2026, 09:41 PM
1 response
162 views
1 like
Last Post NinjaTrader_ChelseaB  
Started by CarlTrading, 04-01-2026, 02:41 AM
0 responses
98 views
1 like
Last Post CarlTrading  
Started by CaptainJack, 03-31-2026, 11:44 PM
0 responses
158 views
2 likes
Last Post CaptainJack  
Working...
X