×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

ExpirationDate

118 bytes added, 20:36, 9 February 2012
no edit summary
Returns a numerical value, indicating the expiration date of the financial instrument the study is applied to. The date is indicated in the ''YYYMMdd '' format, where YYY is the number of years since 1900, MM is the month, and dd is the day of the month.
For example, the value returned for the date of October 30th, 2008 will be 1081030, and for April 2nd, 1999 will be 990402.
==== Usage ====
<syntaxhighlight>ExpirationDate</syntaxhighlight>
== Notes == * A valid expiration date will be returned for futures or options only. ==== Example ====<syntaxhighlight>ExpirationDate will return a value of 1081030 * See the category [[:Category:Date_and_Time_Routines|Date & Time routines]] for October 30th, 2008  ExpirationDate will return a value of 990402 the reserved words for April 2nd, 1999</syntaxhighlight> working with dates.
== Example ==
<syntaxhighlight>ExpirationDate</syntaxhighlight>
* Will return a value of 1081030 for October 30th, 2008,
* Will return a value of 990402 for April 2nd, 1999.
[[Category:Data Information/General]]