MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

Become a Signal Provider Right Now

ColorLineBid (Get Method)

Gets the value of "ColorLineBid" property (color of Bid line).

color  ColorLineBid() const

Returned value

Value of "ColorLineBid" property of the chart, assigned to the class instance. If there is no chart assigned, it returns CLR_NONE.

ColorLineBid (Set Method)

Sets new value for "ColorLineBid" property.

bool  ColorLineBid(
   color  new_color      // new color for Bid line



[in]  New color for Bid line.

Returned value

true if successful, false if color hasn't changed.

Updated: 2014.10.31