Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

CSALChartPoints - MetaTrader 5 Library | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 5 reads | 0 comments |

CSALChartPoints is a Mql-like rate for extended functionality.

Class advantages:

Example 1 (average of 400 bars with the highest parameter of the candlestick):

 CSALChartPoints Points;
Point.PointType(HIGH); double m_avg = point.Avg( 400 );

Example 2 (average of 400 bars with the lowest parameter of the candlestick):

 CSALChartPoints Points;
point.PointType(low); double m_avg = point.Avg( 400 );

Example 3 (processing a set of 100 bars):


Attachment download

📎 salchartpoints.mqh (4.42 KB)

Source: MQL5 #14795

Verification code Refresh