MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading and Strategy Testing Forum

Interview with Matúš German (ATC 2012) Interview with Matúš German (ATC 2012) IncCCIOnArray Library
IncCCIOnArray
Author: Integer
Subscribe to signal
TrandMaster
43 766.31%, 71 453.33 USD
Library for Custom ChartLibrary for Custom Chart Try product
Library for Custom Chart
Author: Lizar
Screenshot
USDJPYpro, M5
Demo

// Libraries: IncFractalsOnArray

To add comments, please log in or register
Automated-Trading
Admin
20511
Automated-Trading 2012.01.19 15:44

IncFractalsOnArray:

The CFractalsOnArray class is intended for calculation of Fractals on indicator buffers.

The Test_FractalsOnArray.mq5 file is an indicator demonstrating 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 of Bill Williams’ trading system, which allows to detect the bottom or the top.

Technical definition of the upwards fractal is a series of at least five successive bars, with the highest HIGH in the middle, and two lower HIGHs on both sides. The reversing set is a series of at least five successive bars, with the lowest LOW in the middle, and two higher LOWs on both sides, which correlates to the sell fractal. The fractals have High and Low values and are indicated with the up and down arrows in a chart.

Author: Дмитрий

An example of using the CFractalsOnArray class

/
To add comments, please log in or register