Ultimate Oscillator (UltOsc)
For a list of all members of this type, see UltOsc Members.
System.Object
RQuant.Indicator.TTimeArray
RQuant.Indicator.TDoubleArray
RQuant.Indicator.TIndicator
RQuant.Indicator.UltOsc
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The Ultimate Oscillator, developed by Larry Williams, compares an instrument?s price with its price xperiods ago. Because Williams noted that the value of this type of oscillator can vary greatly depending on the number of time periods utilized in the calculation, he assigned to this oscillator a single line that generates weighted sums of three oscillators, each using a different bar length.
Williams singled out divergences between the Ultimate Oscillator and the instrument's price activity in addition to a breakout in the trend of the oscillator values as the most significant action signals. A buy signal occurs with a bullish divergence, when the instrument?s price reaches a lower low that is not followed by a lower low in the oscillator. Conversely, when a market?s price reaches a higher high not followed by a higher high in the oscillator value, a bullish divergence occurs, setting a sell signal.
Formula:
TDataManager.cd("Demo");
TDailyArray Daily1 = TDataManager.GetStock("YHOO").DailyArray;
DateTime Date1 = DateTime.Parse("1999/02/08");
DateTime Date2 = DateTime.Parse("2000/12/29");
TDailyArray Daily = Daily1.Clone(Date1, Date2);
TCanvas Canvas = new TCanvas("Canvas","UltOsc DEMO",600,400);
UltOsc UltOsc = new UltOsc(Daily, 14, 10, 5);
Canvas.cd(1);
Daily.Draw("c");
Canvas.cd(2);
UltOsc.Draw();
Namespace: RQuant.Indicator
Assembly: RQuant.Indicator (in RQuant.Indicator.dll)
UltOsc Members | RQuant.Indicator Namespace