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

Automated Trading Language Documentation

Screenshot
AUDJPY, M15
Demo
JCCX Indicator
JCCX
Author: GODZILLA
Live Pivot PointLive Pivot Point Try product
Live Pivot Point
Author: forex2start
Subscribe to signal
Desirous 2
55.07%, 157 325.12 USD100
Creating Multi-Expert Advisors on the basis of Trading Models Creating Multi-Expert Advisors on the basis of Trading...

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
   )

Parameters

new_color

[in]  New color of the bear candle body.

Returned value

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


Updated: 2010.12.15