IIndicatorsAccessor.GatorOscillator
method · IIndicatorsAccessor · cAlgo.API.Internals
DesktopCLICloud
Gator Oscillator (GO) supplements the Alligator indicator and is used together with it.
Overloads
GatorOscillator(int jawsPeriods, int jawsShift, int teethPeriods, int teethShift, int lipsPeriods, int lipsShift, MovingAverageType maType)
Gator Oscillator (GO) supplements the Alligator indicator and is used together with it.
GatorOscillator GatorOscillator(int jawsPeriods, int jawsShift, int teethPeriods, int teethShift, int lipsPeriods, int lipsShift, MovingAverageType maType)
api.Indicators.GatorOscillator(jawsPeriods: int, jawsShift: int, teethPeriods: int, teethShift: int, lipsPeriods: int, lipsShift: int, maType: MovingAverageType) -> GatorOscillator
Parameters
| Name | C# type | Python type | Description |
|---|---|---|---|
jawsPeriods | int | int | The jaws period of Alligator |
jawsShift | int | int | The jaws shift of Alligator |
teethPeriods | int | int | The teeth period of Alligator |
teethShift | int | int | The teeth shift of Alligator |
lipsPeriods | int | int | The lips period of Alligator |
lipsShift | int | int | The lips shift of Alligator |
maType | MovingAverageType | MovingAverageType | Moving Average Type |
Returns GatorOscillator — GatorOscillator
Examples
var gator = Indicators.GatorOscillator(13, 8, 8, 5, 5, 3, MovingAverageType.Simple);
Print("Gator upper: {0}, lower: {1}", gator.Upper.Last(1), gator.Lower.Last(1));
gator = api.Indicators.GatorOscillator(13, 8, 8, 5, 5, 3, MovingAverageType.Simple)
api.Print(f"Gator upper: {gator.Upper.Last(1)}, lower: {gator.Lower.Last(1)}")
GatorOscillator(DataSeries source, int jawsPeriods, int jawsShift, int teethPeriods, int teethShift, int lipsPeriods, int lipsShift, MovingAverageType maType)
Gator Oscillator (GO) supplements the Alligator indicator and is used together with it.
GatorOscillator GatorOscillator(DataSeries source, int jawsPeriods, int jawsShift, int teethPeriods, int teethShift, int lipsPeriods, int lipsShift, MovingAverageType maType)
api.Indicators.GatorOscillator(source: DataSeries, jawsPeriods: int, jawsShift: int, teethPeriods: int, teethShift: int, lipsPeriods: int, lipsShift: int, maType: MovingAverageType) -> GatorOscillator
Parameters
| Name | C# type | Python type | Description |
|---|---|---|---|
source | DataSeries | DataSeries | The source data used for the Alligator calculation. |
jawsPeriods | int | int | The jaws period of Alligator |
jawsShift | int | int | The jaws shift of Alligator |
teethPeriods | int | int | The teeth period of Alligator |
teethShift | int | int | The teeth shift of Alligator |
lipsPeriods | int | int | The lips period of Alligator |
lipsShift | int | int | The lips shift of Alligator |
maType | MovingAverageType | MovingAverageType | Moving Average Type |
Returns GatorOscillator — GatorOscillator
Examples
var gator = Indicators.GatorOscillator(Bars.MedianPrices, 13, 8, 8, 5, 5, 3, MovingAverageType.Simple);
Print("Gator on median prices, upper: {0}, lower: {1}", gator.Upper.Last(1), gator.Lower.Last(1));
gator = api.Indicators.GatorOscillator(api.Bars.MedianPrices, 13, 8, 8, 5, 5, 3, MovingAverageType.Simple)
api.Print(f"Gator on median prices, upper: {gator.Upper.Last(1)}, lower: {gator.Lower.Last(1)}")