Join our fan page
CSALChartPoints - library for MetaTrader 5
- Views:
- 3370
- Rating:
- Published:
- 2016.02.16 15:33
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
CSALChartPoints is a class for expanding the capabilities of MqlRates.
Advantages of the class:
- It provides a simpler interface for working with MqlRates.
- It extends the parameter set of the candlesticks (for example, it add the body_high parameter, which shows the closing price for the bullish candles and the opening price for the bearish candles — the upper limit of the candle's "body").
- Introduces an abstract term Value, which indicates one of the specified parameters of the candlesticks.
Example №1 (the average values of 400 bar for the High parameter of the candlesticks):
CSALChartPoints points; points.PointType(HIGH); double m_avg = points.Avg(400);
Example №2 (the average values of 400 bar for the Low parameter of the candlesticks):
CSALChartPoints points; points.PointType(LOW); double m_avg = points.Avg(400);
Example №3 (processing set of 100 bars):
double sum; CSALChartPoints points; for(int i = 100; i > 0; i--) sum = points.At(i).high;
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/14795
The indicator displays rapid reversals to the dynamic change of the direction in the form of a cloud.
TangoLine_HTFThe TangoLine indicator with the timeframe selection option available in the input parameters.
The TangoLineCloud indicator with the timeframe selection option available in the input parameters.
ColorXADX_HTFThe ColorXADX indicator with the timeframe selection option available in the input parameters.