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

Automated Trading Language Documentation

Read Financial Magazines in MetaTrader 4 and MetaTrader 5!

ColorBarDown (Get Method)

Gets the value of "ColorBarDown" property (color for bear bars, its shadow and candle body outlines).

color  ColorBarDown() const

Returned value

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

ColorBarDown (Set Method)

Sets new value for "ColorBarDown" property.

bool  ColorBarDown(
   color  new_color      // new color for bear bars
   )

Parameters

new_color

[in]  New color for bear bars.

Returned value

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


Updated: 2013.12.20