Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 5 Libraries | Class CalcFrac - Number of bars before and after the current High / Low (calculate…

Discover expert developed MetaTrader tools that can complement professional solutions.

Image for Class CalcFrac - Number of bars before and after the current High / Low (calculated fractal)

Calculates fractals and lets you specify the number of bars separately before and after the current High / Low (fractal).

Functions:
//+------------------------------------------------------------------+
//| calculate lower fractals                                         |
//+------------------------------------------------------------------+
bool CalcFrac :: is_lower_fr(int number_of_bars)//+------------------------------------------------------------------+
//| calculate upper fractals                                         |
//+------------------------------------------------------------------+
bool CalcFrac :: is_upper_fr(int number_of_bars)

Sample:

Indicator : FractalsPeriod

Trade Renko charts automatically using the advanced Renko Expert Advisors. Clean trends, better entries. Discover them here.

Build better strategies with RobotFX professional tools – check them out.

62

Best MetaTrader Indicators + Profitable Expert Advisors