Changes

Jump to navigation Jump to search

OptionType

458 bytes added, 15:20, 15 June 2017
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..."
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==
<syntaxhighlight>OptionType</syntaxhighlight>

==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

Navigation menu