Class CalcFrac – Number of bars before and after the current High / Low (calculated fractal) – library MetaTrader 5

Class CalcFrac - Number of bars before and after the current High / Low (calculated fractal) - library for MetaTrader 5
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 Class CalcFrac – Number of bars before and after … Read more