Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
Class CalcFrac - Number of bars before and after the current High / Low (calculated fractal) - library for MetaTrader 5
- Views:
- 7268
- Rating:
- Published:
- 2010.01.07 13:36
- Updated:
- 2017.09.06 09:54
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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
Average Directional Movement Index (ADX)
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.
Accelerator Oscillator (AC)The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.
Average Directional Movement Index Wilder
The Average Directional Movement Index by Wilder (ADX Wilder) helps to determine the presence of the price trend.
Adaptive Moving Average (AMA)The Adaptive Moving Average Indicator is used for constructing a moving average with low sensitivity to price series noises and is characterized by the minimal lag for trend detection.