Leader (Function)

image\trumpet2.gif Disclaimer

The Leader function compares the current and previous bars to determine if the mid-point of the current bar is greater than the previous High or less than the previous Low.

Syntax

Leader

Returns (Integer)

The function returns 1 if the mid-point of the current bar is greater than the previous High or less than the previous Low, otherwise it returns 0.

Parameters

None

Example

Value1 = Leader;