Option expiration date  [SOLVED]

Questions about MultiCharts and user contributed studies.
chippe
Posts: 6
Joined: 08 Jan 2013
Has thanked: 3 times

Option expiration date

Postby chippe » 21 Mar 2013

Hello.

I am option trader with Interactivebrokers.

So I want to get the expiration date of SPY and N225 option and so on
from IB data to Multichart.


And I wanna write and use the expiration date in the Powerlanguage progrum.


How Can I get the expiration date from IB to Multichart.
Please teach me.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Option expiration date  [SOLVED]

Postby Henry MultiСharts » 22 Mar 2013

Hello chippe,

Have you tried using expirationdate reserved word?

chippe
Posts: 6
Joined: 08 Jan 2013
Has thanked: 3 times

Re: Option expiration date

Postby chippe » 25 Mar 2013

Hello,Henry.

OH my god!! There is such a reserve word! Thank you. I can confirm this reserveword.

I can set progrum.


Thanks regards,Have a good day.

waveslider
Posts: 222
Joined: 16 Oct 2011
Has thanked: 66 times
Been thanked: 20 times

Re: Option expiration date

Postby waveslider » 22 Sep 2013

Is there a way to reference historical option expiration days in a continuous contract? "expirationdate" only gives the current expiration day.
I thought I remember a TS function called "isthirdfriday" - does anyone have that to share?

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Option expiration date

Postby Henry MultiСharts » 30 Sep 2013

Is there a way to reference historical option expiration days in a continuous contract?
Unfortunately there is no reserved word for that.
I thought I remember a TS function called "isthirdfriday" - does anyone have that to share?
Are you referring to built-in Next3rdFriday function?


Return to “MultiCharts”