OHLCVCollection (Function)
The OHLCVCOllection function is a system function that provides access to session-based price and volume information using EasyLanguage objects and supports higher level 'wrapper' functions to return commonly requested values
The OHLCVCOllection function is used by the related TradeStation session functions listed below. Use these designated functions in your EasyLanguage code to simplify accessing individual values.
Syntax
OHLCVCOllection(ResetTrigger, IncludeThisBar, OHLCV_Vector);
Returns
OHLCVCOllection returns a positive integer, if successful, representing the number of periods . The function returns -1 (negative one) if insufficient data has been found, or -2 (negative two) if attempting to use with an unsupported advanced chart type.
Related Functions
closesession, highsession, lowsession, opensession, volumeday, volumeweek, volumemonth, volumeyear, and VolumeSession.