UltimateOscillator


Summary

Returns the Ultimate Oscillator indicator instance.

Syntax

public UltimateOscillator UltimateOscillator(int cycle1, int cycle2, int cycle3)
public UltimateOscillator UltimateOscillator(MarketSeries marketSeries, int cycle1, int cycle2, int cycle3)

Parameters

NameDescription

Example 1

protected override void OnStart()
{
   ultimateOscillator = Indicators.UltimateOscillator(Cycle1,Cycle2,Cycle3);
}
protected override void OnTick()
{
   double currentValue = ultimateOscillator.Result.LastValue;
    //...
}