MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Object functions  ObjectGet

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
double ObjectGet( string name, int index)
The function returns the value of the specified object property. To check errors, one has to call the GetLastError() function.
See also ObjectSet() function.
Parameters:
name   -   Object name.
index   -   Object property index. It can be any of the Object properties enumeration values.
Sample:
color oldColor=ObjectGet("hline12", OBJPROP_COLOR);