Jackrabbit.modulus.MovingAveragesThis is the Moving Averages indicator for the Jackrabbit suite and modulus framework.
This indicator supports differential timeframe analysis and confirmational bias. Dynamic timeframes are supported.
Three different algorithms are supported: Crossover/under, The 37 rule, and momentum. For momentum, the fast line is the upper boundary and the slow line is the lower boundrary. When crosses take place, the maximum and minimum vals are calculated properly in relation to the crossing points.
The main indicatior and the confirmational indicator can both be individually tuned for the fast, and slow moving averages with different and independent lengths and 27 different moving average types:
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,
ZLEMA, Double ZLEMA, Triple ZLEMA,
SWMA, Double SWMA, Triple SWMA,
SSMA, Double SSMA, Triple SSMA,
SMMA,Double SMMA, Triple SMMA
All moving averages can also have their own source input: Open, Close, High, Low, HL2, HLC3, and OHLC4
The Jackrabbit modulus framework is a plug in play paradigm built to operate through TradingView's indicator on indicatior (IoI) functionality. As such, this script receives a signal line from the previous script in the IoI chain, and evaluates the buy/sell signals appropriate to the current analysis. The results are either combined with the signal line, or used as confirmation to the signal line. A new signal line is generated for the next script in the link.
Buy/Sell alerts are produced by the main Jackrabbit script, or the modulus AlertSystem script. This script is not designed or meant to function outside my framework and contains no alert capabilities.
By default, the signal line is visible and the charts are turned off. Signal line visibility is controlled by the Style tab, and the charts display is controlled by the indicator settings tab.
This script is by invitation only. To learn more about accessing this script, please see my signature or send me a PM. Thank you.
Hull
CBG PaintBarsUses a linear regression of averages to paint bars.
Average types include SMA, EMA, Weighted, Hull, Symmetrical, Volume Weighted, Wilder, and Linear Regression.
OneGreenCandle - Hull Keltner Channel
The Keltner Channel, a classic indicator of technical analysis developed by Chester Keltner in 1960.
The indicator is a bit like Bollinger Bands and Envelopes.
This variation uses the Hull Moving Average as the centre line for the channel.
Moving Average Compendium===========
Moving Average Compendium (16 MA Types)
===========
A selection of the most popular, widely used, interesting and most powerful Moving Averages we can think of. We've compiled 16 MA's into this script, and allowed full access to the source code so you can use what you need, as you need it.
-----------
From very simple moving averages using built-in functions, all the way through to Fractal Adaptive Averages, we've tried to cover as much as we can think of! BUT, if you would like to make a suggestion or recommendation to be added to this compendium of MA's please let us know! Together we can get a complete list of many dozens of types of Moving Average.
Full List (so far)
---
SMA - Simple Moving Average
EMA - Exponential Moving Average
WMA - Weighted Moving Average
VWMA - Volume Weighted Moving Average
DEMA - Double Exponential Moving Average
TEMA - Triple Exponential Moving Average
SMMA - Smoothed Moving Average
HMA - Hull Moving Average
ZLEMA - Zero-Lag Exponential Moving Average
KAMA - Kaufman Adaptive Moving Average
JMA - Jurik Moving Average
SWMA - Sine-Weighted Moving Average
TriMA - Triangular Moving Average
MedMA - Moving Median Average
GeoMA - Geometric Mean Moving Average
FRAMA - Fractal Adaptive Moving Average
Line color changes from green (upward) to red (downward) - some of the MA types will "linger" without moving up or down and when they are in this state they should appear gray in color.
Thanks to all involved -
Good Luck and Happy Trading!
CBG MultiAverages ColorsThe latest version of my multiple moving averages. Now includes up to 14 moving averge lines plus a separate slow and fast moving average that can be assigned a different MA type.
In the screen shot is the fast/slow set to Hull with 15/50 periods. It is overlaid on top of my Key Numbers indicator.
7 moving averages in 1 indicator, including the Hull Moving Average .
SMA
EMA
Weighted
Hull
Symetrical
Volume Weighted
Wilder
Linear Regression
Lots of other features like background shading and paint bar colors.
Smooth HA / Hull MA / MTF===========
Smooth HA / Hull MA / MTF
===========
A combination of a Smoothed Heikin Ashi Chart Line and a Hull MA Line, paints a "Long" or "Short" alert when the Hull MA changes color - editable settings for the smoothing of HA data and Hull MA Length; you can also change the time frame used (must be the same or longer as the chart).
-----------
This indicator does a real good job at finding highs and lows (otherwise known as entry and exit points!) picking up on just about every large, decent swing and making the most from those big moves! The disadvantage of all Smoothed HA strategies are when times are choppy or ranging - given the natural lag of the indicator you can be sure in choppy times you'd be buying at the top and selling at the bottom almost every time ~ No indicator is perfect!
This Smooth HA/Hull MA indicator also has a built in MTF function (Multi-Time-Frame). This means you can be using a 1hr chart and set the indicator to a 4hr chart - generally any movements on a greater time frame will overcome any movements of the smaller time frame, so this is where you should be gathering data about which direction the market is moving - as always, follow the trend.
Hope (like always) this is of at least some use to some people.
Good Luck and Happy Trading!
Zero Lag Keltner ChannelsThis is Keltner Channelz (KC) with Zero Lag Moving Average (ZLMA as base). It is smoother and has less lag than the original (EMA/SMA) variant.
It also can be used as a trend indicator and trend confirmation indicator. The upper and lower bands are green if it is an up trend, and red if a down trend. If both have the same color it is a stronger trend.
HEMA - A Fast And Efficient Estimate Of The Hull Moving AverageIntroduction
The Hull moving average (HMA) developed by Alan Hull is one of the many moving averages that aim to reduce lag while providing effective smoothing. The HMA make use of 3 linearly weighted (WMA) moving averages, with respective periods p/2 , p and √p , this involve three convolutions, which affect computation time, a more efficient version exist under the name of exponential Hull moving average (EHMA), this version make use of exponential moving averages instead of linearly weighted ones, which dramatically decrease the computation time, however the difference with the original version is clearly noticeable.
In this post an efficient and simple estimate is proposed, the estimation process will be fully described and some comparison with the original HMA will be presented.
This post and indicator is dedicated to LucF
Estimation Process
Estimating a moving average is easier when we look at its weights (represented by the impulse response), we basically want to find a similar set of weights via more efficient calculations, the estimation process is therefore based on fully understanding the weighting architecture of the moving average we want to estimate.
The impulse response of an HMA of period 20 is as follows :
We can see that the first weights increases a bit before decaying, the weights then decay, cross under 0 and increase again. More recent closing price values benefits of the highest weights, while the oldest values have negatives ones, negative weighting is what allow to drastically reduce the lag of the HMA. Based on this information we know that our estimate will be a linear combination of two moving averages with unknown coefficients :
a × MA1 + b × MA2
With a > 0 and b < 0 , the lag of MA1 is lower than the lag of MA2 . We first need to capture the general envelope of the weights, which has an overall non-linearly decaying shape, therefore the use of an exponential moving average might seem appropriate.
In orange the impulse response of an exponential moving average of period p/2 , that is 10. We can see that such impulse response is not a bad estimate of the overall shape of the HMA impulse response, based on this information we might perform our linear combination with a simple moving average :
2EMA(p/2) + -1SMA(p)
this gives the following impulse response :
As we can see there is a clear lack of accuracy, but because the impulse response of a simple moving is a constant we can't have the short increasing weights of the HMA, we therefore need a non-constant impulse response for our linear combination, a WMA might be appropriate. Therefore we will use :
2WMA(p/2) + -1EMA(p/2)
Note that the lag a WMA is inferior to the lag of an EMA of same period, this is why the period of the WMA is p/2 . We obtain :
The shape has improved, but the fit is poor, which mean we should change our coefficients, more precisely increasing the coefficient of the WMA (thus decreasing the one of the EMA). We will try :
3WMA(p/2) + -2EMA(p/2)
We then obtain :
This estimate seems to have a decent fit, and this linear combination is therefore used.
Comparison
HMA in blue and the estimate in fuchsia with both period 50, the difference can be noted, however the estimate is relatively accurate.
In the image above the period has been set to 200.
Conclusion
In this post an efficient estimate of the HMA has been proposed, we have seen that the HMA can be estimated via the linear combinations of a WMA and an EMA of each period p/2 , this isn't important for the EMA who is based on recursion but is however a big deal for the WMA who use recursion, and therefore p indicate the number of data points to be used in the convolution, knowing that we use only convolution and that this convolution use twice less data points then one of the WMA used in the HMA is a pretty great thing.
Subtle tweaking of the coefficients/moving averages length's might help have an even more accurate estimate, the fact that the WMA make use of a period of √p is certainly the most disturbing aspect when it comes to estimating the HMA. I also described more in depth the process of estimating a moving average.
I hope you learned something in this post, it took me quite a lot of time to prepare, maybe 2 hours, some pinescripters pass an enormous amount of time providing content and helping the community, one of them being LucF, without him i don't think you'll be seeing this indicator as well as many ones i previously posted, I encourage you to thank him and check his work for Pinecoders as well as following him.
Thanks for reading !
GODMODE Hull MASimple hull ma trading script
B = buy / long
S = sell / short
Confirm on barclose
Band colors indicates the trend
Aqua = bullish channel
Red =bearish channel
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 2xPlots 2 Hull MA's, 1 Fast and 1 Slow
Can Paint Bars according to Hull MA Cross
Buy / Sell Alerts for MA Crossing
Vol%MAThis study finds buying/selling opportunities on the basis of candlestick and volume percentage changes, prequalified by momentum.
Candlestick percentage changes that are equal to or greater the desired percentage with the momentum range are marked by blue diamonds.
Volume percentage changes that are equal to or greater the desired percentage with the momentum range are marked by red circles.
When candlestick and volume percentage changes aligned with user configurations are under momentum, a buy signal is triggered with BUY ASSET and a black triangle is placed at the bottom of the chart.
When candlestick and volume percentage changes aligned with user configurations are above momentum, a sell signal is triggered with SELL ASSET and a black triangle is placed at the top of the chart.
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.
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
Custom Profitable Moving Average CrossoverA custom version of Profitable Moving Average Crossover that shows the last estimations on profit for each crossover type and allows to set date range for analysis.
SnakeWhile moving averages are a good way to visualize price action, they are, in general, very poor indicators to trade against. Usually, the lowest prices occur before the cross over of multiple moving averages, while the best profits occur just before the crossunders of the moving averages.
This study captures the buy signals before the cross overs and sells just prior to the cross unders, when prices are lowest and highest respectively.
This is accomplished by treating the moving average as a "snake", specifically looking for the "head" of the snake to turn upwards when buying is most opportunistic. Note the the body must still be trending downward.
For selling, the "snake's head" must be turning down while the body is trending up.
This script uses blue arrows, pointing up, at the bottom, to indicate a buy signal, sending an alert of BUY ASSET.
Blue arrows, point down, at the top, represent sell signals with an alert of SELL ASSET.
The gray bar or strip is momentum. The snake's head must be above momentum for a sell, and below for a buy. This study does NOT work well with stable coins.
The longer the momentum, the more likely weak signals will be weeded out, but also presents less opportunities for buys.
The longer the length of the snake, the more likely cascading down turns will be ignored, but requires a longer trend to identify buy signals.
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.
Double RSI StudyHere is the study version of our recent Double RSI strategy based on a Hull RSI and ALMA RSI.
The study version includes alerts for signals generated by both RSI's. It also includes an option to allow repeat signals, as well as tons of plotting options, etc.
If interested in a 3 day trial, feel free to send a message and check out our website ProfitProgrammers.com !
Hull RSI
This is an RSI that is smoothed with a faster Hull Moving Average. The upper pink and bottom teal lines represent the 95th and 5th percentiles of Hull RSI values over a window of user-defined length.
The two percentile bands function identically to the traditional upper and lower bounds used in the standard RSI setup. Buy signals are plotted as the vertical green background highlights and sell signals are the red highlights. Buy signal is generated when RSI is below the lower teal line and then crosses above it. Sell signals occur when Hull RSI was previously above the upper pink line and then crosses back under.
Hull Trend with KahlmanThis is an update to the idea of
The Kahlman smoother makes the signal more precise (by one candle).
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: