Rejoignez notre page de fans
- Publié par:
- Вадим
- Vues:
- 9304
- Note:
- Publié:
- 2010.07.20 09:14
- 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
Added colors to Parabolic SAR. The color depends on the acceleration factor.
All calculations performed inside the CParabolic class.
The functions:
- Init(double SARStep, double SARMaximum,const double &high[],const double &low[],int totl) - initialization.
- GetColor() - gets the color.
- Calc(const double &high[],const double &low[],int i) - calculates the value of Parabolic at the specified bar.
The code will be useful for all who start to learn classes.
The colors are listed in the line:
#property indicator_color1 Blue,Purple,Indigo,Sienna,SteelBlue,Aqua,SpringGreen,Gold,Yellow,Linen,MintCream
This version uses 10 first colors, but it's better to specify more colors in the list.
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/96

The CGV class simplifies the work with global variables of MetaTrader 5 client terminal.

The Stochastic of all oscillator-like indicators, included in MetaTrader 5 client terminal.

The updated version of TimeClosingPeriod indicator, it plots the time, remained to the current bar complete. At the last second it plays the sound file, specified in the input parameters.

The indicator helps to find the reversal bar of the trend.