Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Series Doubles Return 0

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

    Series Doubles Return 0

    Using a rithmic connection.
    Everything was working fine this morning, going into the afternoon, the series doubles I used to store previous indicator values going 5k bars back all of a sudden start returning zeros.
    No code changes, only thing returning a value is close[i], Vol[i] and stoch[i] and everything else returning zero.
    Another indicator I haven't touched is also all of a sudden not working.

    Example
    double vol1 = VOL(BarsArray[1])[0];
    VOL1[0] = vol1;

    if i print VOL1[i]​ at any index other then the current one, I get 0. Is this a rithmic issue?

    #2
    Hello kluwer420,

    Is this an indicator added to a chart?

    To confirm, the issue is with the secondary series BarsArray[1] only, and the primary bars are matching the bars on the chart shown in the DataBox?

    Can you open a chart to the instrument, bar type, and interval of the series added with AddDataSeries() and see data loaded on the chart for the same time range?

    I see you are using VOL(BarsArray[1])[0].
    This would be the same as Volumes[1][0].


    Do you have an output text file showing the issue?


    Do you have reduced test script exported?
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    588 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    342 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    555 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    552 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X