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

Automated Trading Language Documentation

Freelancer services needed to perform 150+ jobs of traders

ColorChartLine (Get Method)

Gets the value of "ColorChartLine" property (color for line chart and Doji candles).

color  ColorChartLine() const

Returned value

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

ColorChartLine (Set Method)

Sets new value for "ColorChartLine" property.

bool  ColorChartLine(
   color  new_color      // new color of the chart lines
   )

Parameters

new_color

[in]  New color of the chart lines (Doji candles).

Returned value

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


Updated: 2014.07.17