Code: Select all
if (LastBarOnChart) then Print(" Expires By : "+FormatDate("ddd_dd_MMM_yyyy", ElDateToDateTime(expirationdate)) );
Does the keyword "expirationdate" work?Expires By : Fri_01_Jan_2038
Expires By : Fri_01_Jan_2038
Code: Select all
if (LastBarOnChart) then Print(" Expires By : "+FormatDate("ddd_dd_MMM_yyyy", ElDateToDateTime(expirationdate)) );
Does the keyword "expirationdate" work?Expires By : Fri_01_Jan_2038
Expires By : Fri_01_Jan_2038
In order to have correct expiration date for IQFeed instrument - symbol root should be present in QuoteManager->Tools->Symbol Dictionary->IQfeed (applied for non-continuous contracts only).Expires By : Fri_01_Jan_2038
Expires By : Fri_01_Jan_2038
The instrument should be added from data source:I get this for individual contracts e.g
BOu12 (Sept 12) too