Simple Hull MAA simple code to plot Hull MA with colour coding of plot fill and price bars based on strength.
Hullmovingaverage
Donchian BlasterRelease Note:
Keeping in mind of getting full potential of Donchian Channels, As part of this script, Linear Regression is used as primary source to identify trend and execute the trades.
Hull Moving Average given as alternative option in place of Linear regression.
Linear Regression:
Linear regression used to identify trend, trade setup, and stop. Based on this, Color fillings on Donchian channels is updated. That will give clear idea of strength or weakness in any trading instruments.
HMA:
HMA used as alternative to identify trend, trade setup, and stop. Based on this, Color fillings on Donchian channels is updated. That will give clear idea of strength or weakness in any trading instruments.
Donchian Channels:
As it is one of the oldest trend riding system, combined here with differentiation in color will help to go with the trend.
Inputs:
Input periods can be changed by users/traders as per their understanding and observations.
//Disclaimer: Idea of publishing this script is to identify the strength of the instrument using multiple confirmation.
//Disclaimer: Using this indicator, changing inputs, and trading decisions are up to the users/traders.
//Courtesy: Thanks to Richard Donchian, Alan Hull, and author of LSMA as this indicator/script inspired by Donchian Channels, Hull Moving Average, and LSMA
EMA_HMA_RSI_StrategyThis strategy BUYS when HMA is below EMA (default setting is 200) and HMA turning to green and RSI 13 is below 70
Adds to existing position when current price is below BUY price and RSI crossing above 30 or 40
Exits the long position when HMA crosses down EMA
when you select Take Profit setting , partial profits are taken when current price > BUY price and RSI 13 crossing down 80
Bar color changes to purple when RSI13 is above 80 (if only in Long position exists)
Tested for SPY QQQ AAPL on hourly and 30 mins chart
Warning : For educational purposes only
Adjacent HMA StopRelease Note:
This indicator script setup is published to identify the strength and ride the trends.
HMA:
HMA 100 period is used as default. However this can be changed as per wish. Major turning points or decisions can be made using this HMA line. Purple color is used to identify this. This can be used as the final extreme stop for any trend before it turns.
Adjacent Line:
Blue colored Adjacent line can be used to determine the trend strength or ride the trend till it slows down. When trending move happens it can be ride till the candles comes within this Adjacent line. And then sideways move or the moves between HMA & Adjacent line can be traded
Stop:
Dotted lines in Red and Green colors are used as very tight stop. This can be also used as first level of profit booking when very strong move happens.
Trend View:
There is an optional 'Trend View' which can be used to determined the trend.
Disclaimer:
//This script/indicator published with the idea of finding the strength of any instruments. Trade decisions and execution are up to the traders/users as per their understanding
//Courtesy: Thanks to Alan Hull and Richard Donchian as some of the concepts are inspired from them
Modified Donchian ChannelRelease Note:
This indicator setup highly inspired by Donchian Channel and Hull Moving Average. Big thanks to both Richard Donchian and Alan Hull.
Back test and live test it and come to conclusion of how to use this indicator for live trading.
200 HMA:
200 Hull Moving Average plays major role in deciding the right trades using Donchian Channel. As part of this setup,
If price is below 200 HMA, then the Donchian Channel is highlighted in Red color
If price is above 200 HMA, then the Donchian Channel is highlighted in Green color
Donchian Channel:
Default 20 period is used for the Donchian channel. However, the color highlight as per 200 HMA position. Also, the middle basis color changes to Green and Red based on candle close of above or below.
Additionally, 5 period Donchian basis is used as tight stop loss. This can be used wisely or optionally based on trade decisions
Disclaimer:
//Idea of publishing this script is to identify the strength of the instrument using multiple confirmation.
//Using this indicator, changing inputs, and trading decisions are up to the users/traders.
//Courtesy: Thanks to Richard Donchian and Alan Hull as this indicator/script inspired by Donchian Channels and Hull Moving Average
KK_MA_MTFThis is multitimeframe Hull moving average
you can change offset to 0 if you want realtime data
CS Hull SuiteThis indicator displays 2 Hull Moving Averages (HMA) for a quick representation of both floating S/R levels and swing entries.
HULL MACDA modified version of MACD.
Uses Hull moving average for the signal line instead of your typical EMA.
Can be used as a crossover strategy with decent win rate.
Alternatively, can also be used for histogram divergences.
Try it out! :)
One-Stop Trading SetupOne-Stop Trading Setup:
This script designed to identify up, down, and sideways trends. 200 HMA, 9 EMA, PSAR, and ATR are used to identify the strength of any instrument.
Candle Colors - Simpler approach to follow:
Green color indicates for up side trade signals
Red color indicates for down side trade signals
Yellow color can be interpreted for stop, sideways, and counter trade trade signals
Multiple Trade Setups:
Green Zone - Trading green candles within green zone has better odds of long trades
Red Zone - Trading red candles within red zone has better odds of short trades
200 HMA - Candles above 200 HMA mostly for long trades. Candles below 200 HMA usually for short trades. But the zone also very important to consider
9 EMA - Cross over above 200 HMA in Green zone, look for long trades. Cross over below 200 HMA in red zone, look for short trades
PSAR - This can be used as potential initial warning sign. Also can be used to exit partial or wait for it goes to opposite side for taking trade decisions
Candle Above all - If Green candle and above all the indicators, then very good sign of long side. If red candle and below all indicators, then very good sign of short side.
Multiple Time Frame:
This works very well with any instrument and on any time frame. Always its better to do analysis on multi time frame before entry, exit, and trade execution. Back test it with this setup and also observe it on live market. That will give edge in taking trade decisions. All the best and happy trading.
Disclaimer:
This script and setup is written with the sole purpose of identifying the strength of any instrument. Interpretation, trade decisions, and changing inputs are up to each individual users/trades.
Easy stockvery simple indicator for stocks and others
first step is weekly range of hull color in yellow and gray
next is linear regression length 100
signal are product of cross over of weekly hull and linear regression
put it on 4 hour chart and just follow the buy and sell:)
here some examples
TSI CCI Hull with profit$$$$ , Alert versionThis is a modified version of @SeaSide420 TSI CCI Hull with profits exit on long and short order with alert as well
original script :
the strategy script:
/// feel free to edit/improve and comment
BCeyhan Hull Strategy System by HassonyaHere is the 1 Hour Hull Moving Average Strategy System
1 hour strategy for Day Traders or Swing Traders.
Our purpose in this system, we have a channel belonging to hullma50 - Channel Top and Channel Bottom.
The indicator warns us when the price rises above hullma14 with green arrow.
Then it tells us to be ready when she collides with the lower band.
When hullma14 breaks hullma50 up, we make our first part purchase.
Then hullma14 breaks hullma100 up, we make our second part purchase.
The system warns you with a red arrow when the price drops below the hull moving average of hullma14. If you want, you can sell there.
Then, when the upper band is broken, it warns with caution with the C label.
And finally, when we break down hullma14, hullma 50, we sell parts and we completely exit hullma14, hullma100 down the position we have.
Our strategy is when Hullma50 is below hullma100. If hullma100 is below hullma50, we will buy the first piece when hullma14 breaks hullma100 up. When hullma14 breaks hullma50 up, we will buy a second piece. That's it
Here is the Resistance/Support Breakouts Alerts with green and red arrows
C label is Careful R label is Ready.
and last one, the candle bars were adjusted on a volume based colored bars.
You can find the necessary explanation about the use of bars here.
You can use it in different indicators to support the strategy. (Rsi , Macd , Stochastic ...)
Thanks
REVEREVE is abbreviation from Range Extension Volume Expansion. This indicator shows these against a background of momentum. The histogram and columns for the range and volume rises ara calculated with the same algorithm as I use in the Volume Range Events indicator, which I published before. Because this algorithm uses the same special function to assess 'normal' levels for volume and range and uses the same calculation for depicting the rises on a scale of zero through 100, it becomes possible to compare volume and range rises in the same chart panel and come to meaningful conclusions. Different from VolumeRangeEvents is that I don't attempt to show direction of the bars and columns by actually pointing up or down. However I did color the bars for range events according to direction if Close jumps more than 20 percent of ATR up or down either blue or red. If the wider range leads to nothing, i.e. a smaller jump than 20 percent, the color is black. You can teak this in the inputs. The volume colums ar colored according to two criteria, resulting in four colors (orange, blue, maroon, green). The first criterium is whether the expansion is climactic (orange, blue) or moderate (maroon, green). I assume that climactic (i.e. more than twice as much) volume marks the beginning or end of a trend. The second criterium looks at the range event that goes together with the volume event. If lots of volume lead to little change in range (blue, green), I assume that this volume originates from institutional traders who are accumulating or distributing. If wild price jumps occur with comparatively little volume (orange, maroon, or even no volume event) I assume that opportunistic are active, some times attributing to more volume.
For the background I use the same colors calculated with the same algorithm as in the Hull Agreement Indicator, which I published before. This way I try to predict trend changes by observation of REVE.
Hull Suite StrategyConverted the hull suite into a strategy script for easy backtesting and added ability to specify a time periods to backtest over.
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 !
CryptoBandsGuru MultiColor Bollinger BandsHere are my Bollinger Bands that come with 2 std dev bands and a variety of moving averages. The bands can have shading between the bands and the middle section can be shaded.
Moving Averages include:
SMA
EMA
Weighted
Hull
Symmetrical
Volume Weighted
Wilder
Right now my 2 favorites are the Hull with a std dev of .5 and the Wilder with a std dev of 1.7 and 2.0.
You can get some really good signals buy putting both on the same chart. The faster Hull will move above and below the slower Wilder and show good price action.
(12) Pass Band Muti VS-97PBM transforms volatile and conflicting candles into obvious and easy trading decisions. It’s this simple; stocks trending in an upward direction will be above the zero line (1) in the chart below. Stock trending downward will be below the zero line (2). Zero line crossovers are indicating turning points and trading opportunities (3). This gives you advanced warning of when your trades are approaching the next turning point, as the indicator will migrate back toward the zero line. Momentum, Volatility and Rate-of-Change are each unique and distinctive attributes of stocks in strong trends. The Pass Band Multi indicator provides the trader with a collective or merged indication of these attributes, all reflected by this indicator as the height or distance the Pass Band, sin-wave, signal line is from the zero line (4).
When a stock’s PBM indicator advances rapidly, moving far above or far below the zero line you are seeing stocks in a strong trend with strong momentum. This strength and correspondingly the momentum will diminish over time in the absence of new market motivating factors such as rumors, news or earnings. As this occurs, the signal line will again drift down and approach the zero line even if the price has not moved against this most recent trend(5). This is a function of most oscillators and is referred to as detrending.
The closer your trade comes to the zero line the more likely you are to see a reversal in the stock's price in the near future. The PBM signal moving inside the center band (gold lines/blue fill)(6) indicates to you that this upward momentum has neutralized and an exit may be required as the stock’s price approaches the zero line. If you have a strong convection of this stock’s long term potential, then you can hold the stock as long as the Pass Band signal does not move below the zero line.
Stocks approaching the zero line, moving inside of the blue center band with gold boarders or tracking very near to the zero line indicate to traders that some action may be required by them to preserve capital in the near future. Short signals are exactly the opposite of the above description.
Over extended prices are signaled by green or red background flags and periods of consolidation are flagged with gold a background color.
Pass Band Multi is an excellent indicator for any class of equity, but as you can see from the example chart, it is also an excellent crypto trading indicator.
Access this Genie indicator for your Tradingview account, through our web site. (Links Below) This will provide you with additional educational information and reference articles, videos, input and setting options and trading strategies this indicator excels in.
(11) Master Moving Average VS-168Moving Averages have been a staple of technical traders for a lot longer than computers have been available to accomplish the calculations. Luckily today we are able to easily produce very sophisticated, reactive moving averages using multiple algorithms designed by individuals with different backgrounds, talents and skill sets. The Master Moving Average Envelope calculates 9 distinct moving averages and then utilizes a knockout scoring system to produce a single combined score between -10 and +10. When we refer to a knockout scoring system, it simply means that if one of these indicators is positive and one is negative they cancel each other out. The majority of the survivors wins and that calculated total produces the MMAE dot's score and determines the dots location on the MMAE indicator chart.
The envelope refers to the area produced by multiple moving averages of different lengths. When you have a short time frame and a long time frame the two lines will contain between them, the majority of the candles. The area between these two lines is the, "envelope" and it allows us to stay in a trade during a pre-determined amount of volatility. This keeps us in trades when the stock might be experiencing short term counter trend trading action. As these two lines converge as the stocks price changes direction the envelope become smaller and smaller until it disappears briefly as the stock price changes direction. The center line of this indicator indicates a turning point in the price action where the envelope has become very small or nonexistence. Moving average are not reliable indicators as the envelop disappears and a crossover point nears. This indicator is most reliable when the stock price is not near the center demarcation line.
Access this Genie indicator for your Tradingview account, through our web site. (Links Below) This will provide you with additional educational information and reference articles, videos, input and setting options and trading strategies this indicator excels in.
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
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