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

Automated Trading Language Documentation

Read Financial Magazines in MetaTrader 4 and MetaTrader 5!

ScaleFix (Get Method)

Gets the value of "ScaleFix" property (fixed chart scale or not).

bool  ScaleFix() const

Returned value

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

ScaleFix (Set Method)

Sets new value for "ScaleFix" property.

bool  ScaleFix(
   bool  scale_fix      // new value
   )

Parameters

scale_fix

[in]  New value for "ScaleFix" property.

Returned value

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


Updated: 2013.12.20