+1 888 340 6572

Miscellaneous > Contract Hi-Low

Article/Author: Omega Research Inc., 1995

Download: conthilo.ela

File Includes: Indicator - Contract Hi-Low

Category: Indicator > Miscellaneous

Description:

This indicator is designed for continuous plotting of the High. This means the Highest High and Lowest Low of all bars previous to the current. This is a very convenient indicator, very visually indicating the Highest High and Lowest Low of the chart. Especially useful of you study is absed on that value.

Usage:

Place the indicator into subgraph 2.




Inputs:

HiPrice - security`s High price
LoPrice - security`s Low price

EasyLanguage Code:
INPUTS: HIPRICE(HIGH), LOPRICE(LOW) ;

VARS: CONHI(0), CONLO(0) ;

IF CURRENTBAR = 1 THEN BEGIN
CONHI = HIGH;
CONLO = LOW;
END;

IF HIGH > CONHI THEN CONHI = HIGH;
IF LOW < CONLO THEN CONLO = LOW;

PLOT1(CONHI, "CONTHI");
PLOT2(CONLO, "CONTLO");