당사 팬 페이지에 가입하십시오
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.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: 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.