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

Automated Trading Language Documentation

Freelancer services needed to perform 150+ jobs of traders

ShowGrid (Get Method)

Gets the value of "ShowGrid" property.

bool  ShowGrid() const

Returned value

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

ShowGrid (Set Method)

Sets new value for "ShowGrid" property.

bool  ShowGrid(
   bool  show      // new value
   )

Parameters

show

[in]  New value for "ShowGrid" property.

Returned value

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


Updated: 2014.09.10