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

Automated Trading Language Documentation

Exp_StepSto_v1 Expert Advisor
Exp_StepSto_v1
Author: GODZILLA
HORUSHORUS Try product
HORUS
Author: jaman
Screenshot
GBPJPY, D1
Demo
Using the Object Pointers in MQL5 Using the Object Pointers in MQL5 Subscribe to signal
TakeProfit 3
46.77%, 82 866.63 USD

Scale (Get Method)

Gets the value of "Scale" property.

int  Scale() const

Returned value

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

Scale (Set Method)

Sets new value for "Scale" property.

bool  Scale(
   int  scale      // new value
   )

Parameters

scale

[in]  New value for "Scale" property.

Returned value

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


Updated: 2010.02.22