Download MetaTrader 5
To add comments, please log in or register
Deposit to your account via Visa QIWI Wallet
David Saulnier
400
David Saulnier 2014.01.28 15:50 
double expiration = MarketInfo("#NQH4", MODE_EXPIRATION);

expiration is always == 0

any idea to fix this ? or do you think this is a problem from broker transmitting info to MT4?

thanks for help

Simon Gniadkowski
Moderator
17994
Simon Gniadkowski 2014.01.28 16:03  
DavidS777:

expiration is always == 0

any idea to fix this ? or do you think this is a problem from broker transmitting info to MT4?

The only place that info comes from is your Broker, talk to them and ask for an explanation.
David Saulnier
400
David Saulnier 2014.01.28 16:04  
Alright thanks.
whroeder1
14236
whroeder1 2014.01.28 16:38  
DavidS777: expiration is always == 0
MarketInfo - MQL4 Documentation

MODE_EXPIRATION21Market expiration date (usually used for futures).
Are you trading futures with MT4?
David Saulnier
400
David Saulnier 2014.01.28 16:41  
Yes I'm trading future with MT4. Why?
/
To add comments, please log in or register