당사 팬 페이지에 가입하십시오
GlobalVariable - MetaTrader 5용 expert
- 조회수:
- 2933
- 평가:
- 게시됨:
- 2015.11.02 15:29
- 업데이트됨:
- 2016.11.22 07:32
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
This advisor demonstrates an example of global variables usage. The task of the advisor: store the calculation result in a global variable and get the global variable value on new initialization.
The global variable receives its compound name from text and magic number. A typical global variable name example: "main_id_1010458".
The idea of the advisor: binding the name of a global variable to magic number. The advisor algorithm is the following:
- Start of the advisor: if the variable does not exist, it is created and assigned a calculated value; if the variable exists, its value is retrieved and stored in the variable.
- Deinitialization adviser: if the variable does not exist, it is created and assigned a calculated value; if the variable exists, it is assigned a new calculated value.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/13871
This variant of JCCX oscillator is calculated based on five JCCX indicators.
JS-Stoh-BB-RSI_HTFThe JS-Stoh-BB-RSI indicator with the timeframe selection option available in the input parameters.
The ColorZerolagJCCX indicator with the timeframe selection option available in the input parameters.
Exp_ColorZerolagJCCXThe Exp_ColorZerolagJCCX Expert Advisor enters the market when the ColorZerolagJCCX indicator cloud changes its color.