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

Automated Trading Language Documentation

ROMAN5 Fractals TS IndicatorROMAN5 Fractals TS Indicator Try product
ROMAN5 Fractals TS Indicator
Author: ROMAN5
Relative Strength Index of Volatility Indicator
Relative Strength Index of Volatility
Author: Kos
Subscribe to signal
Beethoven
114.56%, 988.03 USD
Screenshot
GBPUSD, H1
Real
Custom Graphical Controls. Part 1: Creating a Simple Control Custom Graphical Controls. Part 1: Creating a Simple Control

InitPhase

Gets the current phase of the object initialization.

ENUM_INIT_PHASE  InitPhase()

Returned value

Current phase of the object initialization.

Note

The object initialization consist of several phases:

1. Start initialization.

  - start              - after finish of the constructor
  - finish             - after successful completion of the Init(...) method.
  - allowed          - call of the Init(...) method
  - not allowed    - call of the ValidationSettings() method and other initialization methods

2. Parameters setting phase. In this phase you need to set all the object parameters, used for creation of indicators.

  - start             - after successful completion of the Init(...) method
  - finish            - after successful completion of the ValidationSettings() method
  - allowed         - call of Symbol(...) and Period(...) methods
  - not allowed   - call of the Init(...), SetPriceSeries(...), SetOtherSeries(...) and InitIndicators(...) methods

3. Checking of parameters.

  - start             - after successful completion of the ValidationSettings() method
  - finish            - after successful completion of the InitIndicators(...) method
  - allowed         - call of the Symbol(...), Period(...) and InitIndicators(...) methods
  - not allowed   - call of any other initialization methods

4. Finish of initialization.

  - start             - after successful completion of the InitIndicators(...) method
  - not allowed    - call of initialization methods


Updated: 2011.07.25