ObjectGetDouble()
ObjectGetInteger()
Keith Watford:
ObjectGetDouble()
ObjectGetInteger()
ObjectGetInteger() return time of anchor points. what is format of this time?

Documentation on MQL5: Constants, Enumerations and Structures / Objects Constants / Methods of Object Binding
- www.mql5.com
Methods of Object Binding - Objects Constants - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
for time it returns a datetime (actually a long but it is used as a datetime)
There is no format of a datetime — it is seconds from 1970. Question makes no sense.
Keith Watford:
for time it returns a datetime (actually a long but it is used as a datetime)
Thanks Keith.

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
I have a user created trend line on the chart.
how can I get time1_price1 of the trend's first point, and time2_price2 of the trend's second point.
anyone have idea?