Please read "MQL4: Datetime constants"
"Its internal representation is a long integer number of 4 bytes. The value represents the amount of seconds elapse from 00:00 Jan 1, 1970."
In c++ see time_t type
"Its internal representation is a long integer number of 4 bytes. The value represents the amount of seconds elapse from 00:00 Jan 1, 1970."
In c++ see time_t type
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
How do I pass and return datetime values to a C++ dll.
For example I want to pass the current bar time to a c++ function, in the c++ function it needs to do something with the value pass such as compare the value with values in a lookup file and then return a bool.
or
Pass in a an array of datetime values.
or
Return a datetime value based on some logic.
Any help here would be appreciated as the sample files don't include a sample for datetime.