GatorOscillator
interface cAlgo.API.Indicators
DesktopCLICloud
The calculation of the Gator Oscillator.
Definition
public interface GatorOscillator
Namespace: cAlgo.API.Indicators · Group: Indicators · Implements: StandardIndicator
Examples
private GatorOscillator _gatorOscillator;
protected override void OnStart()
{
_gatorOscillator = Indicators.GatorOscillator(13, 8, 8, 5, 5, 3, MovingAverageType.WilderSmoothing);
}
protected override void OnBar()
{
Print("Gator Upper: {0}, Lower: {1}", _gatorOscillator.Upper.Last(1), _gatorOscillator.Lower.Last(1));
}
def on_start(self):
self.gatorOscillator = api.Indicators.GatorOscillator(13, 8, 8, 5, 5, 3, MovingAverageType.WilderSmoothing)
def on_bar(self):
api.Print(f"Gator Upper: {self.gatorOscillator.Upper.Last(1)}, Lower: {self.gatorOscillator.Lower.Last(1)}")
Properties
| Name | Description |
|---|---|
LowerDesktopCLICloudIndicatorDataSeries | The histogram (bar graph). The difference between the Alligator's teeth and lips. |
UpperDesktopCLICloudIndicatorDataSeries | The histogram (bar graph). The difference between the Alligator's jaws and teeth. |
Inherited members
From StandardIndicator: AddToChart, Symbol, TimeFrame, Bars