OBJPROP_TIME1, OBJPROP_TIME2

 

Hi,

is there any possibility to get OBJPROP_TIME1 or OBJPROP_TIME2 in mql5?

What is the aquivalent in mql5?


Mike

 
Why do you think there aren't? Migrating from MQL4 to MQL5 - MQL5 Articles № 15. Object Functions
 
webtraffic:

Hi,

is there any possibility to get OBJPROP_TIME1 or OBJPROP_TIME2 in mql5?

What is the aquivalent in mql5?


Mike

It is much easier to work with the chart object classes in MQL5


https://www.mql5.com/en/docs/standardlibrary/chart_object_classes/cchartobject/cchartobjecttime

Documentation on MQL5: Standard Library / Graphic Objects / CChartObject / Time
Documentation on MQL5: Standard Library / Graphic Objects / CChartObject / Time
  • www.mql5.com
Time coordinate of the specified anchor point of the graphical object attached to an instance of the class. If there is no attached object or the object does not have this point, it returns 0.
Reason: