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

Automated Trading Language Documentation

Have Something to Say to Traders? Welcome to Blogs!

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
   )

Parameters

new_color

[in]  New color for Bid line.

Returned value

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


Updated: 2014.09.10