Download MetaTrader 5

PriceScale (Get Method)

Gets the value of "PriceScale" flag.

bool  PriceScale() const

Return Value

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

PriceScale (Set Method)

Sets new value for "PriceScale" flag.

bool  PriceScale(
   bool  scale      // flag value



[in]  New value for "PriceScale" flag.

Return Value

true - successful, false - cannot change the flag.