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

Automated Trading Language Documentation

Parallel Calculations in MetaTrader 5 Parallel Calculations in MetaTrader 5 AIIV USDCAD Active Index Inflection Values USDCADAIIV USDCAD Active Index Inflection Values USDCAD Try product
AIIV USDCAD Active Index Inflection Values USDCAD
Author: Aktiniy
Screenshot
AUDJPY, H4
Real
Subscribe to signal
AAA1362141
130.85%, 21 927.78 USD
MultiLineMovingAverage Indicator
MultiLineMovingAverage
Author: GODZILLA

IndicatorAdd

Adds an indicator with the specified handle into a specified chart window.

bool  IndicatorAdd(
   int   sub_win         // number of the sub-window
   int   handle          // handle of the indicator
   );

Parameters

sub_win

[in]  The number of the chart sub-window. 0 means the main chart window. if the number of a not-existing window is specified, a new window will be created.

handle

[in]  The handle of the indicator.

Return Value

The function returns true in case of success, otherwise it returns false. In order to obtain information about the error, call the GetLastError() function.

See Also

IndicatorDelete(), IndicatorsTotal(), IndicatorName().


Updated: 2011.07.08