Download MetaTrader 5
To add comments, please log in or register
Follow the news. View our company's official channel!
Nikolay
170
Nikolay 2016.05.19 18:05 

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
170
Nikolay 2016.05.19 19:34  

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
13641
whroeder1 2016.05.20 14:46  
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