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 saltminer, 07-07-2025, 01:43 PM
1 response
54 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by idude, Yesterday, 05:06 AM
0 responses
22 views
0 likes
Last Post idude
by idude
 
Started by music_p13, 07-05-2025, 11:33 PM
1 response
43 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by gubbar924, 03-18-2018, 05:15 PM
43 responses
5,488 views
0 likes
Last Post ESMC377
by ESMC377
 
Started by siqalexcg, 06-30-2025, 08:06 PM
1 response
205 views
0 likes
Last Post Emma1
by Emma1
 
Working...
X