Download MetaTrader 5

possible to call ObjectGet() for given chartId?

To add comments, please log in or register
Nikolay
175
Nikolay  

Can I somehow call ObjectGet() giving it a specific chartId?

The documentation does not specify that this is possible.

I want to get some properties, like OBJPROP_TIME1 and OBJPROP_COLOR from another chart than the currently active one.

Nikolay
175
Nikolay  

solved. It turned out that OBJPROP_TIME1 and OBJPROP_COLOR can be read also through:

ObjectGetInteger(chartId, objName, OBJPROP_TIME);

ObjectGetInteger(chartId, objName, OBJPROP_COLOR );

whroeder1
16105
whroeder1  
nikolaygmt: The documentation does not specify that this is possible.
Exactly Object creation on different charts (xoxman4) - MQL4 forum
To add comments, please log in or register