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

IncFractalsOnArray - MetaTrader 5 Library - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

IncFractalsOnArray - library for MetaTrader 5

CFractalsOnArray class is used to calculate fractals on indicator buffers.

No preparation (initialization) is required.

This solve() function calls the OnCalculate() method with the following parameters:

The Test_FractalsOnArray.mq5 file is an indicator of how to use the CFractalsOnArray class. The IncFractalsOnArray file must be located in the MQL5\Include\IncOnArray directory of the terminal data folder (the IncOnArray folder must be created).

A fractal is one of five indicators in the Bill Williams trading system that can detect bottoms or tops. The technical definition of an upward fractal is a series of at least five consecutive bars with the highest high in the middle and two lower highs on either side. A reversal group is a series of at least five consecutive bars with the lowest low in the middle and two higher lows on either side, which is associated with a sell fractal. Fractal displays upper and lower values ​​and is marked with colored symbols on the chart.

IncFractalsOnArray - library for MetaTrader 5


Attachment download

📎 test_fractalsonarray.mq5 (2.83 KB)

📎incfractalsonarray.mqh (3.91 KB)

Source: MQL5 #659

Verification code Refresh