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

Automated Trading Language Documentation

ColorCandleBear (Get Method)

Gets the value of "ColorCandleBear" property (body color of the bear candle).

color  ColorCandleBear() const

Returned value

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

ColorCandleBear (Set Method)

Sets new value for "ColorBarBear" property.

bool  ColorCandleBear(
   color  new_color      // new color for bear candle body



[in]  New color of the bear candle body.

Returned value

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

Updated: 2014.10.23