OS_FindCall (Function)
The OS_FindCall function returns the ID number for the specified Call option. This function is designed primarily for use in OptionStation.
Syntax
OS_FindCall(SeriesProx, StrikeProx)
Returns (Double)
A numeric value representing the ID number for the specified Call option.
Parameters
|
Name |
Type |
Description |
|
SeriesProx |
Numeric |
Sets the option series proximity to the near series, where 1 = near series, 2 = next trading month and so on. |
|
StrikeProx |
Numeric |
Sets the option strike price proximity to the At-The-Money strike price. |
Remarks
The ID number of an option in an option(n) array for a Call is based on a specific series and strike price proximity. OptionStation maintains an array of all options in the analysis, which you can referenced by using the ”of option(n)” convention.
Example
Assigns to Value1 the strike price of a near series, At-The-Money Call option.
Value1 = Strike of option(OS_FindCall(1,0)) ;