Difference between revisions of "OptionType"
Jump to navigation
Jump to search
(Created page with "Returns the numerical value, indicating the Put or Call value for the data series that the study is applied to. If the instrument is not an option contract the keyword returns...") |
(No difference)
|
Latest revision as of 15:20, 15 June 2017
Returns the numerical value, indicating the Put or Call value for the data series that the study is applied to. If the instrument is not an option contract the keyword returns 0.
Usage
OptionType
Example
OptionType will return 0 for Google, since it is not an option instrument
OptionType will return the value of the Put constant for any Put option, and the value of the Call constant for any Call option