MTF indicators - AllAverages_v3.2 indicator
by
, 05-01-2019 at 06:50 PM (818 Views)
This is MTF Moving Averages - with many types of MA:
AllAverages_v3.2 indicator is on this post. The settings for this indicator is here. This version works with Metatrader 4 build 600 and above.
List of MAs:
Code:// MA_Method= 0: SMA - Simple Moving Average // MA_Method= 1: EMA - Exponential Moving Average // MA_Method= 2: Wilder - Wilder Exponential Moving Average // MA_Method= 3: LWMA - Linear Weighted Moving Average // MA_Method= 4: SineWMA - Sine Weighted Moving Average // MA_Method= 5: TriMA - Triangular Moving Average // MA_Method= 6: LSMA - Least Square Moving Average (or EPMA, Linear Regression Line) // MA_Method= 7: SMMA - Smoothed Moving Average // MA_Method= 8: HMA - Hull Moving Average by Alan Hull // MA_Method= 9: ZeroLagEMA - Zero-Lag Exponential Moving Average // MA_Method=10: DEMA - Double Exponential Moving Average by Patrick Mulloy // MA_Method=11: T3_basic - T3 by T.Tillson (original version) // MA_Method=12: ITrend - Instantaneous Trendline by J.Ehlers // MA_Method=13: Median - Moving Median // MA_Method=14: GeoMean - Geometric Mean // MA_Method=15: REMA - Regularized EMA by Chris Satchwell // MA_Method=16: ILRS - Integral of Linear Regression Slope // MA_Method=17: IE/2 - Combination of LSMA and ILRS // MA_Method=18: TriMAgen - Triangular Moving Average generalized by J.Ehlers // MA_Method=19: VWMA - Volume Weighted Moving Average // MA_Method=20: JSmooth - Smoothing by Mark Jurik // MA_Method=21: SMA_eq - Simplified SMA // MA_Method=22: ALMA - Arnaud Legoux Moving Average // MA_Method=23: TEMA - Triple Exponential Moving Average by Patrick Mulloy // MA_Method=24: T3 - T3 by T.Tillson (correct version) // MA_Method=25: Laguerre - Laguerre filter by J.Ehlers // MA_Method=26: MD - McGinley Dynamic---------------Code:// List of Prices: // Price = 0 - Close // Price = 1 - Open // Price = 2 - High // Price = 3 - Low // Price = 4 - Median Price = (High+Low)/2 // Price = 5 - Typical Price = (High+Low+Close)/3 // Price = 6 - Weighted Close = (High+Low+Close*2)/4 // Price = 7 - Heiken Ashi Close // Price = 8 - Heiken Ashi Open // Price = 9 - Heiken Ashi High // Price =10 - Heiken Ashi Low
Code:TimeFrame = 0; Price = 0; MA_Period = 14; MA_Shift = 0; MA_Method = 0; Color_Mode = 0; Sound_Mode = 0; //0-off,1-on(works only with Color_Mode=1) Sound_Shift = 0; //0-open bar(multiple),1-closed bar(once)