high()

ICE Data Services -

high()

 

high([nRelativeOffset] [, nNumBars [, Symbol ] ])

 

  • nRelativeOffset: Offset to bar. 0 is most recent bar, -1 is next bar, etc.
  • nNumBars:  Number of bars to retrieve (a negative number)
  • Symbol:  The symbol to retrieve data for.

 

Examples: 

high(-1);    gets the next-to-last high for the current symbol
high(0, "IBM");  gets the most recent high for IBM
high(0, -10, "INTC"); gets the last 10 highs for INTC and places them in an array

 

This is a shortcut to getValue, requesting the high bars. See getValue for more information.