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

Automated Trading Language Documentation

Subscribe to signal
KarachiFX
17.61%, 451.29 USD
How to Prepare MetaTrader 5 Quotes for Other Applications How to Prepare MetaTrader 5 Quotes for Other Applications Psy WarPsy War Try product
Psy War
Author: achidayat
Screenshot
USDJPY, H4
Demo
TrendLineAlert Indicator
TrendLineAlert
Author: GODZILLA

ScalePPB (Get Method)

Gets the value of "ScalePPB" property (scale is "point per bar" or not).

bool  ScalePPB() const

Returned value

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

ScalePPB (Set Method)

Sets new value for "ScalePPB" property.

bool  ScalePPB(
   bool  scale_ppb      // new flag value
   )

Parameters

scale_ppb

[in]  New value for "ScalePPB" property.

Returned value

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


Updated: 2010.02.22