Wiseman Alligator

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > System Indicator Methods >

Wiseman Alligator

Previous page Return to chapter overview Next page

Description

The Wiseman Alligator is an indicator that consists of 3 moving averages with offsets applied to identify trend absence, formation, and direction. This indicator was provided by Profitunity: http://www.profitunity.com

 

Syntax

Wiseman Alligator(int jawPeriod, int teethPeriod, int lipsPeriod, int jawOffset, int teethOffset, int lipsOffset)

Wiseman Alligator(ISeries<double> input, int jawPeriod, int teethPeriod, int lipsPeriod, int jawOffset, int teethOffset, int lipsOffset)

 

Return Value

double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.

 

Parameters

input

Indicator source data (?)

jawPeriod

Number of bars used in the jaw moving average calculation

teethPeriod

Number of bars used in the teeth moving average calculation

lipsPeriod

Number of bars used in the lips moving average calculation

jawOffset

The offset for the jaw moving average

teethOffset

The offset for the teeth moving average

lipsOffset

The offset for the lips moving average

 

 

Examples

ns


// Prints the current value of the teeth for the Wiseman Alligator
double value = WisemanAlligator(13, 8, 5, 8, 5, 3).Teeth[0];
Print("The current Wiseman Alligator teeth value is " + value.ToString());