MasterMAThis study demonstrates 15 different common moving averages.
SMA, Double SMA, Triple SMA
EMA, Double EMA, Triple EMA
WMA, Double WMA, Triple WMA
VWMA, Double VWMA, Triple VWMA
Hull, Double Hull, Triple Hull
Buy/Sell alerts are given for crossover/under conditions.
Triangles at the bottom, pointing up are buy signals. Triangles at the top, pointing down, are sell signals
Hull Moving Average (HMA)
Layout Padrao_HULL Version This layout was inspired by the Andre Machado´s Tabajara set of rules.
The adaptation are the following:
-Usage of Hull Average instead of simple moving average
-Usage of 2 Averages instead of just one
-Implementation of a "transition zone"
Average Candle Color
p1 // p2 // Prior
> // > // > Set Color 1
> // > // < Set in your layout settings color (down candle)
> // < // > Set Color A1
> // < // < Set Color A2
< // > // > Set Color A1
< // > // < Set Color A2
< // < // > Set in your layout settings color (up candle)
< // < // < Set Color 2
The A1 // A2 colors are for the transition zone.
Either the average 1 or the average 2 will be lower than the previous average.
This is a way to show how both averages are developing without having to look at 2 additional lines, making the layout more clear (at least, for me).
Feel free to comment
PS: Thank you for all the people who have implemented Machado´s work in pine editor
Baseline - evoPlots the high and low of your chosen moving average.
Options are:
SMA = Simple Moving Average
EMA = Exponential Moving Average
WMA = Weighted Moving Average
HMA = Hull Moving Average
VWMA = Volume Weighted Moving Average
RMA = Exponetial Weighted Moving Average
ALMA = Arnaud Legoux Moving Average
Unbox "Use Current Timeframe" to use chosen timeframe below
I mainly use this to get in and out of the market for futures trading, to reduce fake outs of having just one moving average line.
Let me know if you like it..
Inspired from LazyBear's EMAenvelope :)
TSI CCI HullThis is TSI and CCI combined. The CCI is customized and is using HullMA, but the TSI is default TSI
For use with the HMAv420 indicator, to form trading strategy based on the 3 indicators.
Best as all 3 indicators used on 3 timeframes at once, ie 1m 5m 1H
Triple Hull Moving AverageCalculates and plots 3 Hull Moving Averages. Color of plot changes to indicate positive or negative slope. Original Hull MA code written by mohamed982.
Scripting Tutorial 4 - Triple Many Moving Averages ImprovedThis script is for a triple moving average indicator where the user can select from different types of moving averages and periods. This script improves upon tutorial 3 by adding source selection for MAs and another option for an MA that is not built-in, the HMA. It is meant as an educational script with well formatted styling, and references for specific functions.
Multiple HMA - bgeraghtyTo save space on a chart's maximum indicator count, this single indicator includes:
- Three Hull Moving Averages, Defaulted to 13, 26, and 55 Periods.
- Customizable Time-Frame for Each HMA.
- Customizable Triple Weighted MA Smoothing for Jagged Lines from Higher Time-Frame
- Alert Conditions for Price Cross Over/Under the HMAs.
OBV with Auto Fibonacci LevelsI like to use OBV as a summary of the order book action + I added Fib levels from my other script for more context. I typically trade swings on H4, and HMA of the OBV helps me set the bias/trend.
Ultimate_MA_MTF_CMChrisMoody MTF Ultimate Moving Average combined
with Exponential Moving Averages with Price line, i needed to analyze stocks
I have added 50, 100, 200 Period Moving Average to Chrismoody's UMA_MTF
Chris's MA can be found at
i have just combined these averages in a script major contribution goes to chris not me
please look at his indicator still is million times better than me
Hull Trend MTFhull trend taken from
So add MTF function and alert for the buy and sell (in the MTF shift set to 0 , if repaint then set shift to 1)
the blue line is linear regression trend
Hull TrendHere we are using Hull Moving Average crossovers as an experiment in trend detection.
The Hull Moving Average (HMA) is an extremely fast and smooth moving average.
Credit to alexgrover & RicardoSantos:
HMA ATR Range v2In Alan Hull's books he talks about his 'range indicator' which is the HMA and ATR to give buy / hold / sell signals.
It is the HMA with the ATR SL with the Trend and (ATR multiplier * Period) + HMA for the TP (upper range)
HMA ATR RangeIn Alan's books he talks about his 'range indicator' which is the HMA and ATR to give buy / hold / sell signals. This is my version as he doesnt give the formula.
It is the HMA with the ATR added and subtracted and plotted above & below the HMA to create a range.
According to Alan's terminology: HMA = Central Cord, SL = Lower deviation, TP = Upper deviation
Exponential Hull MA Oscillator PrototypeClamped EHMA Oscillator Prototype with 21/200 EHMA with additional JMA smoothing (Credit: @everget)
Note: This is an experiment - this is not a polished indicator
HMA=WMA(2*WMA(n/2)−WMA(n)),sqrt(n))3 Hull moving averages
Hull MA 1 (shortest period) crossing Hull MA 2 is buy and sell signal, 3rd MA (longest period) to show overall trend
Pivots included
Hull MAThis Hull MA uses the default settings of the built-in MA. The basic idea is that we are in a buy setup when hull is below price, and a sell setup when hull is above price. The indicator is extended with slightly change in contrast when moving average is declining and it plot the ma/price crossovers: green dot when a buy setup is appearing, and red dot when a sell setup is forming. It is possible to hide crossovers in the option panel.
Three alert conditions is added "Hull MA cross", "Hull MA sell" and "Hull MA buy". I use "Hull MA cross" on slow frames (2w, M) and "Hull MA buy/sell" on faster frames.
Fibo Guppy Multi MA RevisedThis is Guppy MA i customized for myself based on two scripts of GMMA from JustUncleL and NeoButane.
Its features are:
1. Besides standard EMA you can chose all kinds of exotic moving average types ike ALMA (my favorite), HullMA, ZeroLag EMA, VWMA, KAMA etc...
2. Two types of coloring scheme - depends on volatility try one that's best fit.
3. Multiple sets of predefined lengths: standard Guppy 3-60, Fibonacci based lengths 3-610, Fibo 5-987 and Custom (user defined lengths)
Hull channelThis Hull based channel , the resistance and the support based on Hull which also can be calculated as signal (big triangle) and represent by circles (red and black)
the channel has bands that are based on ATR and std (2 or 4) you can change as you like
The small arrow in green and red are the slope calculation (this also has signal and alerts)
there is bullish and bearish zone that you can highlight to see where you are according to slope
Hull MA BarsThis indicator fill bars with color of HullMA + warning yellow bars, then trend reversing
ROC'n-H is a ROC indicator with dynamic length From Investopedia "The Price Rate of Change (ROC) is a momentum-based technical indicator that measures the percentage change in price between the current price and the price a certain number of periods ago.
The ROC indicator is plotted against zero, with the indicator moving upwards into positive territory if price changes are to the upside, and moving into negative territory if price changes are to the downside."
In this script, ROC length (the moment from when ROC is calculated) is set by detected trend change.
Trend change is marked by indicators background colour.
"Trend Lenght" - Adjust this to fit the security and time frame
"SMA" - Simple Moving Average
"MHA" - Hull Moving Average
Feedback for improvements are welcome.