OPEN, O

Top  Previous  Next

Keyword Description

Opening price of the day

Class

Function

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

l

l

l

 

 

 

Syntax

OPEN[n] 

Where n is an integer representing the desired number of days ago. Argument is optional.

Example

Sample code

IF OPEN[1] < COL4[1] THEN SELLOPEN

' see if yesterday's open was less than yesterday's 

' value of the indicator in column 4.

' If so sell at the open today.

 

ThumbTack white

Returns the opening price for the day referenced. OPEN[1] means open yesterday.  If the bracketed integer is greater than the Current day then  "Too Soon"  will be displayed in the Status Bar.

See also:

HIGH, LOW, CLOSE, V, OI