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

Automated Trading Language Documentation

Subscribe to signal
Elsero
19.13%, 11 913.28 USD
Ind - CosmoGround Indicator
Ind - CosmoGround
Author: Vladon
Screenshot
EURUSD, D1
Demo
MQL5 for Newbies: Guide to Using Technical Indicators in Expert Advisors MQL5 for Newbies: Guide to Using Technical Indicators in... Double marty Triple pairsDouble marty Triple pairs Try product
Double marty Triple pairs
Author: pop457045

ColorBarUp (Get Method)

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

color  ColorBarUp() const

Returned value

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

ColorBarUp (Set Method)

Sets new value for "ColorBarUp" property.

bool  ColorBarUp(
   color  new_color      // new color for bull bars
   )

Parameters

new_color

[in]  New color for bull bars.

Returned value

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


Updated: 2010.12.15