KK_MA_MTFThis is multitimeframe Hull moving average
you can change offset to 0 if you want realtime data
Hull
Hull MA Scanner / Screener LabelThis screens for Hull MA trend reversal's in 10 different securities. If the label color is not visible due to the text in it being white colored, then choose a different color from settings. Also added a simple HullMA to it. If want can increase it upto 40 securities in the code which is upto user to decide.
This was requested by soderstromkenan in comments and looked like a nice idea so decided to make it.
The Hull MA logic is from "Hull50" by u/RafaelZioni with his permission. Screener logic from u/Quantnomad with his permission.
CS Hull SuiteThis indicator displays 2 Hull Moving Averages (HMA) for a quick representation of both floating S/R levels and swing entries.
AltS Swing (INV)
PLEASE READ THIS DESCRIPTION TO SAVE TIME AND UNDERSTAND WHAT THIS INDICATOR DOES
This is a official version of AltSignals Long/Short Reverse Indicator
Description:
This indicator uses various indicators in combination with each other, some of the key ones to mention is Hulls, EMA , MA. Along with that it uses EMA crossovers to get the precise entries and exits.
The recommended time frames with this indictor are shorter ones, for example 5m,10m,15m work well, along with that I have found that some of the more unique time frames also work well such as 20m,45m,2hr and so on.
This indicator is not super advanced but it's still very powerful, with only 130 lines of code.
This indicator works on every chart, time, and candle type but you must play with the settings to find what is best, the same setting will not work on every pair etc.
With AltSignals Swing Indicator it trades one way, that means it gives 3 pieces of information. BUY/TakeProfit/StopLoss.
Unlike most indicators which Buy and Sell both ways this one focuses on one direction of trading so please take into account when using this.
I have added in a reverse strategy which basically shows the opposite values of of the buy, so if you select the box in the settings and un-tick it, then it will show opposite directions so sells only.
This feature is very useful especially in general bear markets when buying is difficult.
I have also added in the option for no stop losses to be used, if you set the stop loss value = 100 then it will show no stop losses.
I suggest a stop loss somewhere in the region of 1-2-3%, please note that you can use decimal stop losses too so for example 0.1 or 0.5.
This indicator is NOT a once size fits all, every chart is different, time frame and candles also, so i would suggest spending some time going through and playing with the channel length settings, which will change the EMA numbers.
Using this along with the back script to find the ideal settings is the best way to use this script, once you have done that make sure to save those values somewhere.
Its important to remember that the Regular script and the back testing script values should be the same for them to match up on the chart, so the channel lengths, stop losses and so on values should be the same.
Side note
This is not financial advice.
We will continue making updates as time goes on.
If you would like to try this script for free please visit our website or message us on Tradingview live chat.
AltS Swing
PLEASE READ THIS DESCRIPTION TO SAVE TIME AND UNDERSTAND WHAT THIS INDICATOR DOES
This is a official version of AltSignals Long/Short Reverse Indicator
Description:
This indicator uses various indicators in combination with each other, some of the key ones to mention is Hulls, EMA, MA. Along with that it uses EMA crossovers to get the precise entries and exits.
The recommended time frames with this indictor are shorter ones, for example 5m,10m,15m work well, along with that I have found that some of the more unique time frames also work well such as 20m,45m,2hr and so on.
This indicator is not super advanced but it's still very powerful, with only 130 lines of code.
With AltSignals Swing Indicator it trades one way, that means it gives 3 pieces of information. BUY/TakeProfit/StopLoss.
Unlike most indicators which Buy and Sell both ways this one focuses on one direction of trading so please take into account when using this.
I have added in a reverse strategy which basically shows the opposite values of of the buy, so if you select the box in the settings and un-tick it, then it will show opposite directions so sells only.
This feature is very useful especially in general bear markets when buying is difficult.
I have also added in the option for no stop losses to be used, if you set the stop loss value = 100 then it will show no stop losses.
I suggest a stop loss somewhere in the region of 1-2-3%, please note that you can use decimal stop losses too so for example 0.1 or 0.5.
This indicator is NOT a once size fits all, every chart is different, time frame and candles also, so i would suggest spending some time going through and playing with the channel length settings, which will change the EMA numbers.
Using this along with the back script to find the ideal settings is the best way to use this script, once you have done that make sure to save those values somewhere.
Its important to remember that the Regular script and the back testing script values should be the same for them to match up on the chart, so the channel lengths, stop losses and so on values should be the same.
Side note
This is not financial advice.
We will continue making updates as time goes on.
If you would like to try this script for free please visit our website or message us on Tradingview live chat.
Hull Moving Average based strategyThis is a simple Hull Moving Average based strategy using a short term HMA for signal generation and a long term HMA for filtering purposes.
A long entry is generated if the short term HMA changes direction from decreasing to increasing values and if the long term HMA indicates an uptrend (i.e. previous value < current value)
A short entry is generated if the short term HMA changes direction from increasing to decreasing values and if the long term HMA indicates a downtrend (i.e. previous value > current value)
Positions are closed using an ATR based stop loss/take profit system. Stop Loss (red) and Take Profit (blue) levels are plotted on the chart.
CBG Keltner ChannelsHere's an updated version of the CBG Keltner Channel indicator.
1. Added a new option for painting bars and backgrounds.
- Option 5 will paint up bars if the midline moving average is moving up and price is above the control moving average. It will paint down bars if the opposite is true. If neither are true, it will paint a neutral color. The neutral color defaults to gray bars and no color for backgrounds.
2. I've also added a 3rd band.
The chart here shows the default settings except for the inner band which is turned off.
Hull Candles [BigBitsIO]This script is for custom candles based on an HMA calculation with a default period of 10 as well as an SMA of the close price, defaulted to 1 period to only show the current price. The purpose of the custom candles is to try and reduce noise from candles and help identify trends. These custom candles somewhat resemble Heikin-Ashi candles in their appearance.
Explained:
- Open, High, Low and Close (o, h, l, and c) are all calculated using an HMA calculation based on a user input length/period, defaulted at 10.
- Candle colors are determined by using the same HMA calculation on the ohcl4 and comparing it to the previous candle. Green candles have an ohlc4 greater than the previous candle, all other candles are red.
- The current price is plotted with the default blue line with an SMA calculation with 1 period to allow customization of smoothing if necessary to identify trends.
DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB.
All MAs displayedThis is a collection of moving averages.
Thanks to everget and other pinecoders to pubblish their codes in tradingview.
I just collect a lot of moving averages in one script and transform them in stand alone functions, so you can copy and paste in your script the MA that best fit your needs.
Furthermore, the chart shows which moving average has more smooth and which one has less lag and so on: in this way it is easy to graphically compare moving averages.
Hull Agreement IndicatorThe idea for this script came when I studied how the Hull moving average should be used in trading, where I saw someone who used two HMA's, a longer and a shorter one, in a system in which he only placed an order if these agree on direction. This way he could pause trading when there is no direction (sideways movement). I look for a way to analyse range extensions in combination with volume expansions in combination with change of momentum. The idea is to depict momentum as a background color in this new indicator, called REVE, which I wil publish too. The purpose of this script is to show how the background colors are calculated and give users of the REVE a posibilty to tweak the length of the short and long HMA and to verify in the main panel of the chart that the colors are actually meaningful. To show how accurate this works I also put a MACD and the REVE in the sub panels of the example chart
CBG Swing HighLow MAThis indicator will show the swing high and lows for the number of bars back. It's very easy to use and shows good support and resistance levels.
I then took it a step further and added a moving average with all the standard types in my indicators:
SMA
EMA
Weighted
Hull
Symmetrical
Volume Weighted
Wilder
Linear Regression
I then added Bollinger Bands to show the standard deviation from the midline.
Finally, I added a simple bar coloring scheme: green if above the upper BB, Red if below and orange if in the middle.
I am just testing this out so please use with caution. If anyone in the community wants to run some backtests, that would be great and we would all appreciate it.
Of course you can keep it all simple and turn off all the moving averages and bollinger bands.
Enjoy! :-)
Hull Suite StrategyConverted the hull suite into a strategy script for easy backtesting and added ability to specify a time periods to backtest over.
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.
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