Rejoignez notre page de fans
- Publié par:
- Nikolay Kositsin
- Vues:
- 10275
- Note:
- Publié:
- 2012.01.09 12:58
- Mise à jour:
- 2016.11.22 07:32
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Real author:
lukas1
The indicator draws a grid of eight stochastic oscillators on one chart. Indicator parameters are calculated by consequent multiplying of the first stochastic parameters by "koef" ratio implemented in the indicator input parameters. Each line parameters are displayed in tooltips.
Second (signal) stochastic lines are not displayed in the indicator, but the visibility of the indicator is not affected - on the contrary, display of the entire grid has been improved.
Indicator buffers are declared using the simplest class for the code optimization:
//+------------------------------------------------------------------+ //| Variables arrays for the indicator buffers creation | //+------------------------------------------------------------------+ class CIndicatorsBuffers { public: double IndBuffer[]; }; //+------------------------------------------------------------------+ //| Indicator buffers creation | //+------------------------------------------------------------------+ CIndicatorsBuffers Ind[LINES_TOTAL];
If you want to change the number of lines on the chart, you should only change the value of the LINES_TOTAL constant:
//+-----------------------------------+ //| Declaration of constants | //+-----------------------------------+ #define LINES_TOTAL 8 // The constant for the number of the indicator lines
This indicator was first implemented in MQL4 and published in Code Base at mql4.com 12.03.2010.
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/678

StepXCCX_HTF_Signal displays trend directions from three last bars of the ColorStepXCCX indicator as three graphical objects with a trend color indication.

The simple script for deleting all graphical objects from a financial asset chart. It can be useful, in case the chart is overcrowded by objects that are not needed anymore.

CSAROnArray class is designed for calculation of SAR (Parabolic SAR) values on indicator buffers. The example of use of the CSAROnArray class is presented.

ASCtrend_HTF_Signal shows a trend direction or a signal for performing a deal generated by ASCtrend indicator as a graphic object with colored trend indication or deal direction.