Join our fan page
- Views:
- 2682
- Rating:
- Published:
- 2015.11.02 15:31
- Updated:
- 2023.03.29 13:45
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The ColorZerolagJCCX indicator with the timeframe selection option available in the input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
The indicator requires JCCX.mq5 and ColorZerolagJCCX.mq5 indicator files. Place them in terminal_data_folder\MQL5\Indicators.
Fig.1. The ColorZerolagJCCX_HTF indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/13874
![GlobalVariable](https://c.mql5.com/i/code/expert.png)
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.
![ColorZerolagJCCX](https://c.mql5.com/i/code/indicator.png)
This variant of JCCX oscillator is calculated based on five JCCX indicators.
![Exp_ColorZerolagJCCX](https://c.mql5.com/i/code/expert.png)
The Exp_ColorZerolagJCCX Expert Advisor enters the market when the ColorZerolagJCCX indicator cloud changes its color.
![KAGI-1_HTF](https://c.mql5.com/i/code/indicator.png)
The KAGI-1 indicator with the timeframe selection option available in input parameters.