Download: Pivpoint.ela
File Includes:
Function - PivotPoint
Indicator - Pivot Point Average
Indicator - Pivot Point Levels
Category: Function > PivotPoint
Description:
Inputs:
EasyLanguage Code:
INPUT: METHOD(NUMERICSIMPLE);
IF METHOD <= 1 THEN
PIVOTPOINT = (HIGH[1] + LOW[1] + CLOSE[1]) / 3;
IF METHOD = 2 THEN
PIVOTPOINT = (HIGH[1] + LOW[1] + CLOSE[1] + OPEN) / 4;
IF METHOD >= 3 THEN
PIVOTPOINT = (HIGH[1] + LOW[1] + OPEN) / 3;