NeedForTrade Documentation

BooleanSeries Class

Represents series of Boolean 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], ...

 

BooleanSeries members:

 

    // Properties

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

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