Download MetaTrader 5

Color (Get method)

Gets the OBJPROP_COLOR (color) property of the chart object.

color  Color()

Return Value

The value of the OBJPROP_COLOR property.

Color (Set method)

Sets the OBJPROP_COLOR (color) propery of the chart object.

bool  Color(
   const color  value      // value
   )

Parameters

value

[in]  New value of the OBJPROP_COLOR property.

Return Value

true - successful, otherwise - false.


Updated: 2016.06.23