NeedForTrade Documentation

DoubleSeries Class

Represents series of Double values.

Series can hold historical sequence of values.

 

Only current value of series can be set: series1[0] = new_value. Read only access to previous values in series is available as follows: current_value = series[0], previous_value = series[1], ...

 

DoubleSeries members:

 

    // Properties


 // Values count in the series
    int Count { get; }
    
 // Indexer to get or set value by index
    double this[int index]

 

DoubleSeries can be read-only. If you will try to change elements of read-only collection NotSupportedException exception will be generated.