RainbowOscillator


Summary

Developed by Mel Widner, Rainbow Oscillator is based on multiple moving averages and helps to identify trends and provides overbought/oversold levels.

Syntax

public interface RainbowOscillator

Members

NameTypeSummary
Result PropertyGets the resulting time series of the Rainbow Oscillator indicator calculation.

Example 1

//...
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];
    //...
}
Reference