Multiple Moving Averages for Heikin Ashi I want to give credits to @QuantNomad, i got the heikin ashi part of the script from this open script /0iKy7lyG-QuantNomad-Heikin-Ashi-PSAR-Strategy/;
and to the other guy that provided a 17 type of moving average script open source but i forgot his name, if someone remember please tell me.
My idea was to see how the different types of moving averages behaves in a Heinkin Ashi chart, you can change to more than 15 types of Moving Average and use it the way you want it.
For the source of the moving averages i used a simple moving average of 1 period using the high of the heikin ashi candle, low of it and divided by 2 as the source of the different types of moving averages.
Different types of Moving Averages
Moving Average Types
SMA ---> Simple
WMA ---> Weighted
VWMA ---> Volume Weighted
EMA ---> Exponential
DEMA ---> Double EMA
ALMA ---> Arnaud Legoux
HMA ---> Hull MA
SMMA ---> Smoothed
LSMA ---> Least Squares
KAMA ---> Kaufman Adaptive
TEMA ---> Triple EMA
ZLEMA ---> Zero Lag
FRAMA ---> Fractal Adaptive
VIDYA ---> Variable Index Dynamic Average
JMA ---> Jurik Moving Average
T3 ---> Tillson
TRIMA ---> Triangular
The type of moving average you select will appear in a separated chart with Heikin Ashi candles, like in the image above.
HMA
MA, MATR, ChEx | All in One - 4CR CUPIn trade position setup, we always need to determine the market structure and manage the position sizing in a short period of decision time. Indicators such as moving average, initial stop loss and trailing stop loss are always helpful.
This indicator put all these handy tools into a single toolkit, which includes the following price action and risk management indicators:
MA - Moving Average
MATR - Moving Average less Average True Range
ChEx - Chandelier Exit
This script further enhances the setting so that you can easily customize the indicators.
For both the Moving Averages and the Moving Average less Average True Range , you can pick a type of moving average which suits your analysis style from a list of commonly used moving average formulations: namely, EMA , HMA , RMA, SMA and WMA , where EMA is selected as default.
The Moving Average less Average True Range , MATR, is usually applied as a reference to set the initial stop loss whenever opening a new position.
The abbreviation, MATR, is picked, so that this can serve as a handy reminder of a very good trading framework as elaborates as below:
M – Market Structure
A – Area of Value
T – Trigger
R – Risk Management (aka. Exit Strategy)
[THETA] Tema Hema Evwma Trade ActionTHETA
Is an Intraday Strategy Indicator, To be used over 1 minute chart and in conjunction with built in pine indicator Pivot Point Standard, {Fibonacci One}
I came across this Strategy Indicator while reading through the Forex Trading Journals, and thought of sharing you guys
The Indicator Comprises of amalgamation of
TEMA : Triple Exponential Moving Average
HMA : Hulls Moving Average
EVWMA and EMA: Elastic Volume weighted Moving Average and Exponential Moving Average
Filter Action by Rajandran R Supertrend
So
Theta = ( tema(src, length) + hma(src, length) + ema(src, length) + evwma(src, length) )/4
The lengths in use are: 8,21,34,55,89,144,233,610
How to Use
Use on 1 min chart for best results
UsE in Conjuction with Fibonacci Pivot Points, (.which is present in option of built in pine indicator : Pivot Point Standard )
Provision For Alert
Long theta Signal
Short theta Signal
Multiple Moving AveragesThis script adds up to 5 moving averages to your chart - and you can select which moving average type (and timeframe) you want to use for each.
The possible MA type options are:
EMA
SMA
HMA
WMA
DEMA
VWMA
VWAP
You can specify the length of each moving average, and you can override the type of all moving averages with the setting "ALL MA TYPE".
There is also higher-timeframe functionality, so you can select the timeframe for each moving average.
If the "Smooth HTF MA" setting is turned on then the script will fill any gaps in intraday price data by averaging the difference (giving it a regular smooth look), and if it's turned off then the HTF MAs will have a "stepped" look to them. Technically speaking, the non-smoothed setting is more accurate and so it's turned off by default.
And finally, the first option "Color MA 1" will change your first MA's color based on whether price action is above that MA's price or below it. If it's above it then the color turns green, if it's below it then it turns red.
If you set an MA's length to zero it will disable that MA.
The source code is protected but available on my website (link in my profile).
Enjoy! Good luck with your trading :) 😎
Moving Average Compilation by CryptonerdsThis script contains all commonly used types of moving averages in a single script. To our surprise, it turned out that there was no script available yet that contains multiple types of moving averages.
The following types of moving averages are included:
Simple Moving Averages (SMA)
Exponential Moving Averages (EMA)
Double Exponential Moving Averages (DEMA)
Display Triple Exponential Moving Averages (TEMA)
Display Weighted Moving Averages (WMA)
Display Hull Moving Averages (HMA)
Wilder's exponential moving averages (RMA)
Volume-Weighted Moving Averages (VWMA)
The user can configure what type of moving averages are displayed, including the length and up to five multiple moving averages per type. If you have any other request related to adding moving averages, please leave a comment in the section below.
If you've learned something new and found value, leave us a message to show your support!
Multi Time Frame Moving Averages [Anan]Hello friends,
All your popular moving average now in one indicator, also no need to open a lot of tabs to see where is that moving average at that time frame,
with multi time frame feature, now u can see up to six multi time frame MA in the same chart with option to show/hide it
list of moving averages:
SMA
Smooth SMA
SuperSmooth MA
EMA
DEMA
TEMA
Triangular MA
QEMA
RMA
Hull MA
KAMA
WMA
VWMA
VWAP
CTI
LSMA
VIDYA
Blackman Filter
Adaptive RSI
also there is an option to see the Average of four lengths, i backtest this and found it super great !
ARI-DPO TrendThis is a new indicator that uses DPO (Detrended Price Oscillator) and calculating its HMA 200 and EMA 200 is able to show the current price direction.
if the line is below 0 the market is in a downtrend in the short term, otherwise, the market is in an uptrend.
if the line is red, the market is in a downtrend in the long term (bearish), otherwise, the market is in a long term uptrend (bullish)
a sequence of red/green lines means that the market is choppy
Currently, I'm using it with cryptocurrencies to assess if the short term price action.
How it works:
the indicator calculates the DPO (default 21 periods) and its HMA (default 200 periods) and EMA (default 200 periods) and shows if the DPO is above both HMA and SMA (indicator line above 0 and green), below both (indicator line below 0 and red) or between (the indicator line and the colour are not matching: e.g. red line above the zero or green line below zero). the latter is the classic situation of a choppy market or a possible short term reversal.
The aim of this indicator is to find a good entry point for long/short positions.
I'm still testing and improving it, please
let me know in the comments if you find this useful. Cheers!
Simple Hull MAA simple code to plot Hull MA with colour coding of plot fill and price bars based on strength.
MA+MA+ is a multi time frame moving average indicator with more than a dozen different moving averages (like KAMA, VAMA, JMA, HMA and much more).
More moving averages will be added on every update, hence Follow me to get notified.
MA+ Supports automatic (AUTO in settings) time frame multiplier. For example, if you set 'Auto Resolution Multiplier' to 6, and your base chart is 5 minutes, the moving averages will plot at 5 * 6 = 30 minutes.
You can still use 'User Defined' to use your own time frame without using the multiplier.
Use higher time frame than the base chart time frame to avoid repainting.
Default multiplier for higher time frame is 2.
Supports Signals 1 (rising MA) or -1 (falling MA) to attach to another indicator.
Bars are not colored by default.
Just for this great community, You can request in the comments other moving averages that do not exists in MA+.
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
FishNet Doubled hullMA Reactive ColorsMoving averages are used to determine trend. These moving averages are designed to determine trend with reactive coloring and utilizes a unique version of the Hull moving average. This is one of many iterations of fishnet MAs I have made in the past.
I first found fishnet MAs, which is a lot of moving averages of increasing length, from @TusenPix
YMMV on actionable information :p
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
GMS: The OscillatorThis is my version of an RSI. Basically treat it the same way, but needless to say there's a few more things going into it than just the closing price.
The color of the line is based on my HAMA JAMMA indicator so they could be used in conjunction to help pick potential trend reversals in either direction, overbought and oversold levels will turn the line yellow.
The "Make that a combo?" selection will change the curve and make it more sensitive to sharper price movements.
This works on any time frame as well as any bar type, although for certain bar types you'll probably have to tweak the settings to see what works.
I hope it helps,
Andre
Every single moving average (ALMA, EMA, HMA, KAMA, RMA, SMA...)So you may be looking at the graph and thinking "this is a mess", and I agree.
The purpose of this script is to plot in the same graph every single type of moving average that I could think of, so you can find the ones that are better for your timeframe and for your asset. Once you add it, disable those types that doesn't seem to serve your purpose, until you can select one you like.
The average types are: ALMA, EMA, HMA, KAMA, RMA, SMA, SWMA, VIDYA, VWAP, VWMA, and WMA. Each one is ploted two times (except SWMA and VWAP), one with a short period, and another with a long, both of which you can configure.
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
GMS: HAMA JAMMAThis is my version of HAMA candles, I just wanted more out of the original indicator. So now with this one you'll be able to pick which MA you want as well as it's length.
MA's included are: SMA, EMA, WMA, HMA, VWMA, & Linear Regression.
The line at the bottom represents a slightly firmer grasp of the trend relative to the HAMA candle colors. Basically it will help to filter out potentially weak signals. *It is not price support*
Tip: Be sure to turn off the border color in the settings, it will help the colors to pop.
Hope this helps,
Andre
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.
HMA & D1 crossover FX (Study)Can work on other Forex pairs if change settings: Period
This example tuned for AUDUSD (FX Version)
Enter new order on HMA ( Hull Moving Average ) and D1 ( Daily Candle) crossovers, Exit orders as basket when profit = Your Target Profit
This study version built for users of Alerts. Crossover of HMA and DailyCandle1 (and/or DailyCandle1 cross DailyCandle2) (also possible Price cross HMA)
Candle Color GeneratorCandle Color Generator:
This indicator is designed to highlight the candle colors based on the combinations of Parabolic SAR (PSAR) and 2 Hull Moving Averages (HMA).
Colors:
Yellow, Red, and Green colors are used to describe the candle colors depends on its position to PSAR and 2 HMAs.
PSAR:
PSAR position above or below candle position is differentiated by Red and Green colors
HMAs:
As default settings 20 HMA is considered as lower period and 50 HMA is considered period for the calculation
Trade What You See:
This indicator will help to see how the setup of particular instrument coming up. Users/Traders can use and trade based on what they see and interpret from it.
Disclaimer:
Idea of publishing this script is to identify the strength of the instrument using multiple confirmation.
Using this indicator, changing inputs (show/hide/change period), and trading decisions are up to the users/traders.
Courtesy:
Thanks to inventors of HMA (Alan Hull), PSAR(Welles Wilder) as these inputs are used to make some calculations
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.
KINSKI Flexible Multi MA (EMA, SMA, RMA, WMA, VWMA, KAMA, HMA)This Multi Moving Average (MA) indicator is more flexible than any other indicator of this type offered so far. You can define up to 10 different Moving Average (MA) lines based on different calculation variants.
The following MA types can be configured.
- EMA: Exponentially Moving Average
- SMA: Small Moving Average
- RMA: Rolling Moving Average
- WMA: Weighted Moving Average
- VWMA: Volume Weighted Moving Average
- KAMA: Kaufman's Adaptive Moving Average
- HMA: Hull Moving Average
Which settings can be made?
- Selection for calculation formula ("Calculation Source"). The default value is "close".
- for each MA line the "Length" and the "Type" can be defined
- furthermore you can make layout adjustments via the "Style" menu
Colored Directional Movement and Bollinger Band's Cloud by DGTThis study combines Bollinger Bands, one of the most popular technical analysis indicators on the market, and Directional Movement (DMI), which is another quite valuable technical analysis indicator.
Bollinger Bands used in conjunction with Directional Movement (DMI) may help getting a better understanding of the ever changing landscape of the market and perform more advanced technical analysis
Here are details of the concept applied
1- Plots Bollinger Band’s (BB) Cloud colored based on Bollinger Band Width (BBW) Indicator’s value
Definition
Bollinger Bands (created by John Bollinger ) are a way to measure volatility . As volatility increases, the wider the bands become and similarly as volatility decreases, the gap between bands narrows
Bollinger Bands, in widely used approach, consist of a band of three lines. Likewise common usage In this study a band of five lines is implemented
The line in the middle is a Simple Moving Average (SMA) set to a period of 20 bars (the most popular usage). The SMA then serves as a base for the Upper and Lower Bands. The Upper and Lower Bands are used as a way to measure volatility by observing the relationship between the Bands and price. the Upper and Lower Bands in this study are set to two and three standard deviations (widely used form is only two standard deviations) away from the SMA (The Middle Line), hence there are two Upper Bands and two Lower Bands. The background between two Upper Bands is filled with a green color and the background between two Lower Bands is filled with a red color. In this we have obtained Bollinger Band’s (BB) Clouds (Upper Cloud and Lower Cloud)
Additionally the intensity of the color of the background is calculated with Bollinger Bands Width ( BBW ), which is a technical analysis indicator derived from the standard Bollinger Bands indicator. Bollinger Bands Width, quantitatively measures the width between the Upper and Lower Bands. In this study the intensity of the color of the background is increased if BBW value is greater than %25
What to look for
Price Actions : Prices are almost always within the bands especially at this study the bands of three standard deviations away from the SMA. Price touching or breaking the BB Clouds could be considered as buying or selling opportunity. However this is not always the case, there are exceptions such as Walking the Bands. “Walking the Bands” can occur in either a strong uptrend or a strong downtrend. During a strong trend, there may be repeated instances of price touching or breaking through the BB Clouds. Each time that this occurs, it is not a signal, it is a result of the overall strength of the move. In this study in order to get a better understanding of the trend and add ability to perform some advanced technical analysis Directional Movement Indicator (DMI) is added to be used in conjunction with Bollinger Bands.
Cycling Between Expansion and Contraction : One of the most well-known theories in regards to Bollinger Bands is that volatility typically fluctuates between periods of expansion (Bands Widening : surge in volatility and price breaks through the BB Cloud) and contraction (Bands Narrowing : low volatility and price is moving relatively sideways). Using Bollinger Bands in conjunction with Bollinger Bands Width may help identifying beginning of a new directional trend which can result in some nice buying or selling signals. Of course the trader should always use caution
2- Plots Colored Directional Movement Line
Definition
Directional Movement (DMI) (created by J. Welles Wilder ) is actually a collection of three separate indicators combined into one. Directional Movement consists of the Average Directional Index (ADX) , Plus Directional Indicator (+D I) and Minus Directional Indicator (-D I) . ADX's purposes is to define whether or not there is a trend present. It does not take direction into account at all. The other two indicators (+DI and -DI) are used to compliment the ADX. They serve the purpose of determining trend direction. By combining all three, a technical analyst has a way of determining and measuring a trend's strength as well as its direction.
This study combines all three lines in a single colored shapes series plotted on the top of the price chart indicating the trend strength with different colors and its direction with triangle up and down shapes.
What to look for
Trend Strength : Analyzing trend strength is the most basic use for the DMI. Wilder believed that a DMI reading above 25 indicated a strong trend, while a reading below 20 indicated a weak or non-existent trend
Crosses : DI Crossovers are the significant trading signal generated by the DMI
With this study
A Strong Trend is assumed when ADX >= 25
Bullish Trend is defined as (+D I > -DI ) and (ADX >= 25), which is plotted as green triangle up shape on top of the price chart
Bearish Trend is defined as (+D I < -DI ) and (ADX >= 25), which is plotted as red triangle down shape on top of the price chart
Week Trend is assumed when 17< ADX < 25, which is plotted as black triangles up or down shape, depending on +DI-DI values, on top of the price chart
Non-Existent Trend is assumed when ADX < 17, which is plotted as yellow triangles up or down shape, depending on +DI-DI values, on top of the price chart
Additionally intensity of the colors used in all cases above are defined by comparing ADX’s current value with its previous value
Summary of the Study:
Even more simplified and visually enhanced DMI drawing comparing to its classical usage (may require a bit practice to get used to it)
As said previously, to get a better understanding of the trend and add ability to perform some advanced technical analysis Directional Movement Indicator (DMI) is used in conjunction with Bollinger Bands.
PS: Analysis and tests are performed with high volatile Cryptocurrency Market
Source of References : definitions provided herein are gathered from TradingView’s knowledgebase/library
Disclaimer: The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd tradingview user liable for any possible claim for damages arising from any decision you make based on use of the script