Black Friday great discounts start today Learn more
+1 888 340 6572

AvgP_OBV

Article/Author: Omega Research Inc., 1997

Download: FUNCTION-AVGP_OBV.ELA

File Includes: Function - AvgP_OBV

Description: This function calculates average price on balance volume

EasyLanguage Code:
IF AVGPRICE[0] > AVGPRICE[1] THEN AVGP_OBV = AVGP_OBV[1] + VOLUME

ELSE
IF AVGPRICE[0] < AVGPRICE[1] THEN AVGP_OBV = AVGP_OBV[1] - VOLUME
ELSE
AVGP_OBV = AVGP_OBV[1];