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

Automated Trading Language Documentation

Ticks RSITicks RSI Try product
Ticks RSI
Author: dupter
Interview with Nikolay Kositsin: multicurrency EA are less risky (ATC 2010) Interview with Nikolay Kositsin: multicurrency EA are less... The simplified class of the CArrayRing256 ring buffer Library
The simplified class of the CArrayRing256 ring buffer
Author: Lizar
Subscribe to signal
FX4UDO CONSERVATIVE
38.07%, 14 286.81 USD
Screenshot
.DE30Cash, M15
Real

ColorForeground (Get Method)

Gets the value of "ColorForeground" property (color of axes, scale and OHLC strings of the chart).

color  ColorForeground() const

Returned value

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

ColorForeground (Set Method)

Sets new value for "ColorForeground" property (for axes, scale, and OHLC string).

bool  ColorForeground(
   color  new_color      // New color
   )

Parameters

new_color

[in]  New color for axes, scale and OHLC string.

Returned value

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


Updated: 2010.12.15