MTF EHMA & HMA Insights [FibonacciFlux]MTF EHMA & HMA Insights
Overview
The Multi-Timeframe EHMA, HMA, and Midline with Fill script is a powerful technical analysis tool designed for traders seeking to enhance their market insights and decision-making processes. By integrating two advanced moving averages—Exponential Hull Moving Average (EHMA) and Hull Moving Average (HMA)—along with a dynamic midline, this indicator provides a comprehensive view of market trends across multiple timeframes.
Key Features
1. Dual Moving Averages
- Exponential Hull Moving Average (EHMA) :
- Offers a rapid response to price changes, making it particularly useful for identifying short-term trends.
- Utilizes a unique calculation method that reduces lag, allowing traders to react quickly to market movements.
- Hull Moving Average (HMA) :
- Known for its smoothness and ability to filter out noise, the HMA presents a clear picture of the underlying trend.
- The HMA is specifically designed to achieve a balance between responsiveness and smoothness, enabling traders to make informed decisions.
2. Midline Calculation
- Dynamic Midline (m) :
- The midline is calculated as the average of EHMA and HMA, providing a neutral reference point for evaluating price movements.
- It visually represents market sentiment; a rising midline suggests bullish conditions, while a declining midline indicates bearish trends.
3. Visual Components
- Fill Areas :
- Color-coded fills between the EHMA and HMA enhance visual clarity by indicating the relative position of these moving averages.
- The fill color dynamically changes based on the relationship between the two averages (green for EHMA below HMA and red for EHMA above HMA), allowing traders to quickly assess market conditions.
4. Signal Generation and Alerts
- Buy/Sell Signals :
- The indicator generates buy signals when the midline crosses above its previous value, indicating a potential upward trend.
- Conversely, sell signals are triggered when the midline crosses below its previous value, suggesting a possible downward movement.
- Alert Conditions :
- Built-in alerts notify traders in real-time when significant changes occur, allowing them to act swiftly on potential trading opportunities.
- Customizable alert messages ensure traders receive relevant information tailored to their strategies.
Technical Details
Input Parameters
- Timeframe Settings :
- Traders can customize the timeframes for both EHMA and HMA, enabling them to adapt the indicator to different trading styles and market conditions.
- Length Settings :
- Adjustable lengths for both moving averages impact their sensitivity, allowing traders to optimize their performance based on volatility and market dynamics.
Plotting and Visualization
- Plotting :
- The script plots the EHMA, HMA, and midline directly on the chart for easy visualization.
- Signal labels (BUY and SELL) are displayed prominently, helping traders to identify potential entry and exit points without ambiguity.
Benefits
1. Clarity and Insight
- The combination of EHMA, HMA, and midline provides a clear and concise visual representation of market trends, aiding traders in making informed decisions.
2. Flexibility
- Customizable parameters allow traders to tailor the indicator to their specific needs, making it suitable for various market conditions and trading styles.
3. Efficiency
- Real-time alerts and visual signals minimize response times, enabling traders to capitalize on opportunities as they arise.
4. Enhanced Trading Conditions
- When utilizing the Fibonacci number 144 on a daily chart, the indicator facilitates optimal trading conditions:
- "The entry was made before the bubble began, using 144 as the Fibonacci variable."
- "The exit occurred right before the bubble burst, or alternatively, a short position was initiated."
- "When the next bubble started, a long entry was made again."
- "Despite some lag, the position was exited and a long entry was made."
- "The exit or short entry took place at the second double top peak."
- "A short position was already established before the double top formation occurred."
- On a 4-hour chart, traders can effectively set stop losses at HMA levels, achieving a risk-reward ratio between 4 and 8.
- Additionally, analyzing the 15-minute chart with a multi-timeframe approach allows for more precise entry points.
Conclusion
The Multi-Timeframe EHMA, HMA, and Midline with Fill script is a robust tool for traders looking to enhance their technical analysis capabilities. By combining multiple moving averages with a dynamic midline and alert system, this indicator offers a comprehensive approach to understanding market trends. Its flexibility, clarity, and efficiency make it an invaluable asset for both novice and experienced traders alike.
Important Note
As with any trading tool, it is crucial to conduct thorough analysis and risk management when using this indicator. Past performance does not guarantee future results, and traders should always be prepared for potential market fluctuations.
Ehma
Smooth EMA/DEMA/TEMA/EHMA (SEMA)This is my attempt at smoothing the exponential moving average any its cousins. I literally just smoothed the source and alpha and this is what we got. I really like this because you get a nice smooth yet fast acting moving average that works better than a traditional simple moving average. This script also included directional alerts.
Smooth EMA
Smooth DEMA
Smooth TEMA
Smooth EHMA
STD-Filtered, Adaptive Exponential Hull Moving Average [Loxx]STD-Filtered, Adaptive Exponential Hull Moving Average is a Kaufman Efficiency Ratio Adaptive Hull Moving Average that uses EMA instead of WMA for its computation. I've also added standard deviation stepping to further smooth the signal. Using EMA instead of WMA turns the Hull into what's called the AEHMA. You can read more about the EHMA here: eceweb1.rutgers.edu
What is the traditional Hull Moving Average?
The Hull Moving Average (HMA) attempts to minimize the lag of a traditional moving average while retaining the smoothness of the moving average line. Developed by Alan Hull in 2005, this indicator makes use of weighted moving averages to prioritize more recent values and greatly reduce lag. The resulting average is more responsive and well-suited for identifying entry points.
What is Kaufman's Efficiency Ratio?
The Efficiency Ratio (ER) was first presented by Perry Kaufman in his 1995 book ‘Smarter Trading‘. It is calculated by dividing the price change over a period by the absolute sum of the price movements that occurred to achieve that change. The resulting ratio ranges between 0 and 1 with higher values representing a more efficient or trending market.
The value of the ER ranges between 0 and 1. It has the value of 1 when prices move in the same direction for the full time over which the indicator is calculated, e.g. n bars period. It has a value of 0 when prices are unchanged over the n periods. When prices move in wide swings within the interval, the sum of the denominator becomes very large compared to the numerator and ER approaches zero.
Some uses for ER:
A qualifier for a trend following trade; a trend is considered “persistent” only when RE is above a certain value, e.g. 0.3 or 0.4 .
A filter to screen out choppy stocks/markets, where breakouts are frequently “fakeouts”.
In an adaptive trading system, helping to determine whether to apply a trend following algorithm or a mean reversion algorithm.
It is used in the calculation of Kaufman’s Adaptive Moving Average (KAMA).
How to calculate the Hull Adaptive Moving Average (HAMA)
Find Signal to Noise ratio (SNR)
Normalize SNR from 0 to 1
Calculate adaptive alphas
Apply EMAs
Included
Bar coloring
Signals
Alerts
Loxx's Expanded Source Types
Mother of All Moving Averages, MAMA [orion35]This indicator contains the huge number of 53 MA tools . So, with the Mother of All Moving Averages (MAMA) , you can draw any two of these MA tools (that is, almost all the "Moving Average" tools used in the market) in the length and thickness you want.
These MA tools include traditional averages such as SMA , EMA , DEMA, as well as innovative averaging tools such as LFS (Laguerre Filter Smoother), LSMA (Least Square Moving Average), ZLSMA (Zerolag LSMA ) developed by @veryfid and SSMA (Super Smoothed Moving Average ) by John F. Ehlers .
Another great feature of this indicator is that signals can be filtered according to the instant ADX (Average Directional Movement indeX) value of the market. By using this filter, false signals in horizontal markets can be reduced. Also, with the threshold value setting in the ADX filter, calibration can be made for different assets and time frames when desired. In addition, you can color the price bars according to the ADX threshold value you set.
You can also automatically color these drawings in conditional formats as you wish.
If desired, the intersections of the plotted curves can be showed as signals. You can also set alarms for these intersections.
This indicator contains almost twice as many MA tools as the previous Super Moving Average Tools, SMAT indicator. For this reason, they are gathered in two main groups as " Traditional " and " New Generation " MA tools.
These MA tools are listed as follows:
--------- Mostly Traditional MA Tool s ---------
LFS : Laguerre Filter Smoother
SMA : Simple Moving Average
EMA : Exponential MA
DEMA : Double EMA
TEMA : Triple EMA
QEMA : Quadrupole EMA @everget
ZLEMA : Zerolag EMA
KZLEMA : Kalman ZLEMA
LRSMA : Linear Regression SMA
LREMA : Linear Regression EMA
TMA : Triangular MA (slow)
TMA v2 : Triangular MA (normal)
TMA v3 : Triangular MA (fast) @Daveatt
SMMA : SMoothed MA
SSMA : Super Smoother MA © 2013 John F. Ehlers
SSF : Super Smoother Filter @DonovanWall
SSeMA : Smoothed SEnsitive MA @BakwaasTrading
WMA : Weighted MA
VWMA : Volume Weighted MA
VWAP : Volume Weighted Average Price
AMA : Adaptive MA @everget
KAMA : Kaufman's Adaptive MA
FrAMA : Fractal Adaptive MA @Shizaru
ALMA : Arnaud Legoux MA
--------- New Generation MA Tools ---------
HMA : Hull MA
EHMA : Exponential HMA @DonovanWall
JMA : Jurik MA @everget
RMA : Relative MA aka Rolling MA
LWMA : Linearly Weighted MA @io72signals
LSMA : Least Square MA
ZLSMA : Zerolag LSMA @veryfid
ARSI : Adaptive Relative Strength Index @everget
WWMA : Welles Wilder's MA @KivancOzbilgic
VMA : Variable MA by Tushar S. Chande,
VIDYA : Variable Index Dynamic Average @KivancOzbilgic
VIDYA v2 : @Mohamed3nan
TSF : True Strength Force @KivancOzbilgic
TILL : Tillson T3 MA @KivancOzbilgic
DAF : Dynamically Adjustable Filter @alexgrover
KFS : Kalman Filter Smoother @alexgrover
PKF : Parametric Kalman Filter @alexgrover
VAMA : Volatility Adjusted MA @Duyck
CTI : Correlation Trend Indicator by John Ehlers
BF : Blackman Filter @alexgrover
MAMA : MESA Adaptive MA aka: Mother of AMA @KivancOzbilgic
FAMA : Following Adaptive MA @KivancOzbilgic
ARMA : Autonomous Recursive MA @alexgrover
ZARMA : Zerolag ARMA @alexgrover
A2RMA : Adaptive ARMA @alexgrover
EDMA : Exponentially Deviating MA @MightyZinger
BLP : Butterworth Low Pass Filter @DonovanWall
GLP : Gaussian Low Pass Filter @DonovanWall
SWMA : Sine Weighted MA @blackcat1402
Moving Average PanelThis indicator calculates many different moving averages and displays whether they are increasing or decreasing as a panel/table instead of a plot. Rows/columns can be removed from the table as needed in the options menu, there is also a mobile friendly/compact option as well as a location option.
Note: This script is large and may take a few moments to load.
Note: If there is not enough data, will default to bearish/decreasing.
Value Added
This is the most complete and transparent moving average panel/table indicator. Unlike things such as the Technical Ratings, you can see what components are increasing or decreasing.
There may be some advantage in judging if a trend is likely to reverse or not based on the MA's with less lag.
Good for quick screening of charts.
Resampling Filter Pack [DW]This is an experimental study that calculates filter values at user defined sample rates.
This study is aimed to provide users with alternative functions for filtering price at custom sample rates.
First, source data is resampled using the desired rate and cycle offset. The highest possible rate is 1 bar per sample (BPS).
There are three resampling methods to choose from:
-> BPS - Resamples based on the number of bars.
-> Interval - Resamples based on time in multiples of current charting timeframe.
-> PA - Resamples based on changes in price action by a specified size. The PA algorithm in this script is derived from my Range Filter algorithm.
The range for PA method can be sized in points, pips, ticks, % of price, ATR, average change, and absolute quantity.
Then, the data is passed through one of my custom built filter functions designed to calculate filter values upon trigger conditions rather than bars.
In this study, these functions are used to calculate resampled prices based on bar rates, but they can be used and modified for a number of purposes.
The available conditional sampling filters in this study are:
-> Simple Moving Average (SMA)
-> Exponential Moving Average (EMA)
-> Zero Lag Exponential Moving Average (ZLEMA)
-> Double Exponential Moving Average (DEMA)
-> Rolling Moving Average (RMA)
-> Weighted Moving Average (WMA)
-> Hull Moving Average (HMA)
-> Exponentially Weighted Hull Moving Average (EWHMA)
-> Two Pole Butterworth Low Pass Filter (BLP)
-> Two Pole Gaussian Low Pass Filter (GLP)
-> Super Smoother Filter (SSF)
Downsampling is a powerful filtering approach that can be applied in numerous ways. However, it does suffer from a trade off, like most studies do.
Reducing the sample rate will completely eliminate certain levels of noise, at the cost of some spectral distortion. The lower your sample rate is, the more distortion you'll see.
With that being said, for analyzing trends, downsampling may prove to be one of your best friends!
Hull SuiteHull is its extremely responsive and smooth moving average created by Alan Hull in 2005.
Minimal lag and smooth curves made HMA extremely popular TA tool.
alanhull.com
Script was made to regroup multiple hull variants in one indicator,maintaining flexible customization and intuitive visualization
Option to chose between 3 Hull variations
Option to chose between 2 visualization modes ( Bands or single line)
Option to Paint hull and/or candlesticks according to hulls trend
Shortcut for personalizing Line/band thickness,instead of changing every object manually ,there is global option in inputs
HMA
THMA ( 3HMA)
EHMA
HMA:
Alan Hull
EHMA:
Slower than hull by default.
Raudys, Aistis & Lenčiauskas, Vaidotas & Malčius, Edmundas. (2013). Moving Averages for Financial Data Smoothing ( 403. 34-45. 10.1007/978-3-642-41947-8_4.) Vilnius University, Faculty of Mathematics and Informatics
3HMA (THMA) :
Documentation on link below
alexgrover
GuppyAdded over 20 ma types to experiment with ,while avoiding the traditional list and keeping compiling time adequate.
Its purely experimental ,published spontaneously for friend use and not as trading indicator.