Download MetaTrader 5

Period (Get Method)

Gets the value of "Period" property.

int  Period() const

Return Value

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

Period (Set Method)

Sets new value for "Period" property.

bool  Period(
   int  period      // period
   )

Parameters

period

[in]  New value for "Period" property.

Return Value

true - successful, false - cannot change the property.


Updated: 2016.04.06