Result Property
Summary
Gets the resulting time series of the Rainbow Oscillator indicator calculation.
Signature
| public abstract IndicatorDataSeries Result {get;}
|
Return Value
IndicatorDataSeries
Declaring Type
cAlgo.API.Indicators.RainbowOscillator
Examples
1
2
3
4
5
6
7
8
9
10
11
12
13
14 | //...
private RainbowOscillator rainbow;
//...
protected override void Initialize()
{
rainbow = Indicators.RainbowOscillator
(MarketSeries.Close, 9, MovingAverageType.Simple);
//...
}
public override void Calculate(int index)
{
double result = rainbow.Result[index];
//...
}
|
Last update: January 30, 2023