FRAMA and Fractal Dimension
Hi,
One more adaptive tool is FRAMA(Fractal Adaptive Moving Average). There are a lot of versions of this indicator and one of them is a part of the MT5 library of pre-installed indicators. So please take a look at our version of the FRAMA. Plus you can find Fractal Dimension indicator which is main part of the FRAMA algorithm.
Code:
extern int TimeFrame = 0; //Time Frame in min
extern int Price = 4; //Applied Price: 0-C,1-O,2-H,3-L,4-Median,5-Typical,6-Weighted
extern int HiLoMode = 1; //High/Low switch:0-off,1-on
extern int Length = 16; //Length(must be an even number)
extern int MinPeriod = 1; //EMA Min Period
extern int MaxPeriod = 200; //EMA Max Period
extern int AdaptiveSmooth = 1; //Adaptive Factor Smoothing Period
extern int AdaptiveSmoothMode = 0; //Adaptive Factor Smoothing Mode:0-SMA,1-EMA,2-Wilder,3-LWMA,4-Median
extern int ColorMode = 1; //Color Mode(0-off,1-on)
Attachment 1366
Regards,
Igor