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

Automated Trading Language Documentation

Subscribe to signal
Free Cash 2
15.16%, 11 516.11 USD
Spread Of Symbols Indicator
Spread Of Symbols
Author: 07041982
Event handling in MQL5: Changing MA period on-the-fly Event handling in MQL5: Changing MA period on-the-fly Time IVTime IV Try product
Time IV
Author: IvanIvanov
Screenshot
GBPUSD, H1
Real

Shift (Get Method)

Gets the value of "Shift" property.

bool  Shift() const

Returned value

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

Shift (Set Method)

Sets new value for "Shift" property.

bool  Shift(
   bool  shift      // new flag value
   )

Parameters

shift

[in]  New value for "Shift" property.

Returned value

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


Updated: 2010.02.22