MQL4 Reference Constants, Enumerations and Structures Indicator Constants Indicators Lines

Indicator Lines

Indicator line identifiers used in iMACD(), iRVI() and iStochastic() indicators.

ID

Value

Description

MODE_MAIN

0

Base indicator line

MODE_SIGNAL

1

Signal line

Indicator line identifiers used in iADX() indicator.

ID

Value

Description

MODE_MAIN

0

Base indicator line

MODE_PLUSDI

1

+DI indicator line

MODE_MINUSDI

2

-DI indicator line

Indicator line identifiers used in iBands(), iEnvelopes(), iEnvelopesOnArray(), iFractals() and iGator() indicators.

ID

Value

Description

MODE_UPPER

1

Upper line

MODE_LOWER

2

Lower line

Indicator line identifiers used in iAlligator() indicator.

ID

Value

Description

MODE_GATORJAW

1

Jaw line

MODE_GATORTEETH

2

Teeth line

MODE_GATORLIPS

3

Lips line

Ichimoku Kinko Hyo identifiers used in iIchimoku() indicator call as source of requested data.

ID

Value

Description

MODE_TENKANSEN

1

Tenkan-sen

MODE_KIJUNSEN

2

Kijun-sen

MODE_SENKOUSPANA

3

Senkou Span A

MODE_SENKOUSPANB

4

Senkou Span B

MODE_CHIKOUSPAN

5

Chikou Span