high() Series Functions
Parameters
The high() function is used to create a Series Object of the high prices or to retrieve individual high price values.
high( [ nBarIndex ][, sym() | inv() ] )
Parameters
Parameter: | Description: | Default: |
nBarIndex | [Optional] Number of bar index of series to retrieve | n/a |
sym() or inv() | [Optional] Function of sym() or inv() to determine source for high values. | n/a |
Return Value(s)
Returns a Series Object when nBarIndex is not specified.
Returns a single price value when nBarIndex is specified.
Notes
N/A
Code Examples
function main() { //retrieve the value for the current price bar myVar = high(0); //retrieve the value for the previous price bar myVar = high(-1); //retrieve the current value for a specific symbol myVar = high(0, sym("IBM")); //retrieve the current value for a specific symbol/interval myVar = high(0, sym("IBM,5")); //retrieve the current value for a specific bar interval myVar = high(0, inv(15)); //create a Series Object of the high prices. xHigh = high(); //create a Series Object of the high prices for a specific symbol. xHigh = high(sym("IBM")); //create a Series Object of the high prices for a specific symbol/interval. xHigh = high(sym("IBM,5")); //create a Series Object of the high prices for a specific interval. xHigh = high(inv(15)); }
See Also
Series Functions
eSignal Bulletin Board Search Engine
Help Guides and Tutorials