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

Automated Trading Language Documentation

ShowLastLine (Get Method)

Gets the value of "ShowLastLine" property.

bool  ShowLastLine() const

Returned value

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

ShowLastLine (Set Method)

Sets new value for "ShowLastLine" property.

bool  ShowLastLine(
   bool  show      // new flag value
   )

Parameters

show

[in]  New value for "ShowLastLine" property.

Returned value

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


Updated: 2014.10.31