File Includes: Indicator - Contract Hi-Low
Category: Indicator > Miscellaneous
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.
Place the indicator into subgraph 2.
HiPrice - security`s High price
LoPrice - security`s Low price
INPUTS: HIPRICE(HIGH), LOPRICE(LOW) ;
VARS: CONHI(0), CONLO(0) ;
IF CURRENTBAR = 1 THEN BEGIN
CONHI = HIGH;
CONLO = LOW;
IF HIGH > CONHI THEN CONHI = HIGH;
IF LOW < CONLO THEN CONLO = LOW;