Multi Timeframe Moving Averages This indicator allows you to view a moving average ( EMA or SMA ) of your choosing on other time frames than what you are currently on. You just need to edit the script and plot MAs that you want to see.
This is based on awesome work of @millerrh at but now instead of read inputs, I just plot what I desire with correct labels.
The reason I used that was that I wanted to see daily MAs in 15min, 5min and 1min charts.
To use the script add to your chart and edit it, you can add or remove any MA you want at end of file and then add it to your chart again.
The code off course is open source.
Sma
Life StrandA visual representation of 25, 50, 100, or 200 moving averages and their position relative to price action.
Reading this Indicator:
Blue represents that the majority of MAs are below price action, indicating a bullish trend. The wider the Strand, the stronger the trend. All 4 Settings showing blue indicate a strong bullish trend.
Orange represents that the majority of MAs are above price action, indicating a bearish trend. The wider the Strand, the stronger the trend. All 4 Settings showing orange indicate a strong bearish trend.
White areas signify some MAs are above while others are below price action, indicating periods of consolidation or trend change.
The 25 MA setting is most responsive to PA and shows change of trends quickly. The 200 MA setting is the least responsive but gives a solid look at the long term trend and ignores the ups and downs in a longer trend.
Currently Supported MAs:
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
RSI Moving Average (RMA)
Weighted Moving Average (WMA)
Volume Weighted Moving Average (VWMA)
Jurik Moving Average (JMA)
Trading Strategy:
I prefer to have all 4 Life Strands open (25, 50, 100, 200) and look for confluence of all 4 for confirmation of PA direction. All 4 are orange for 2-4 candles, strong indication of bearish movement. Same can be said for blue. When the 4 settings have conflicting colors (ie 2 are blue, 2 are orange), that PA becomes a no trade zone for me. Confirmation is key, as is with any indicator.
ScalpyScalpy is made up of a 2 main parts.
- The cloud comprising of a 10 period SMA and a 30 period SMA.
- When the cloud is green you should be looking for long entries.
- When the cloud is red you should be looking for short entries.
- Price is most bullish above a green cloud and most bearish below a red cloud.
- Being within the cloud indicates indecision.
The blue and white lines on the indicator show the relationship between price and momentum.
They can be used to spot reversals in two ways:
- The first is a divergence between price (blue line) and RSI (white line)
- If the price makes a lower low but the RSI makes a higher low this shows the trend is weakening and may be reversing soon (as can be seen by the two yellow lines on the chart).
The second is a simple crossover:
- When the white line crosses the blue line to the upside this signals a long entry.
- When the white line crosses the blue line to the downside this signals a short entry.
DAMA - Dyn ATR based MAEnglish description:
This is my approach to self fixing moving average that uses ATR to establish which MA length to use, considering current price volatility.
It has four settings values:
- ATR Length
- MA Length From
- MA Length To
- Choose Moving Average (2 options: SMA and EMA)
This script is invite-only for the members of our trading group (info in signature).
---------------------------------------------------------------------------------------------------
Polish description:
Niniejszy skrypt jest moim podejściem do zaprogramowania automatycznie ustalającej się średniej kroczącej, która przy wykorzystaniu ATR ustala z ilu świec wstecz obliczać cenę średnią, biorąc pod uwagę zakres zmienności ceny z danego okresu.
Skrypt posiada cztery ustawienia:
- ATR Length (długość Average True Range)
- MA Length From
- MA Length To
- Choose Moving Averaga (2 opcje: SMA i EMA)
Skrypt jest publikowany na zasadzie invite-only(konieczność przydzielenia dostępu na TradingView), a zatem dostępny jest tylko dla aktywnych użytkowników naszej grupy traderskiej, do której link można znaleść w mojej sygnaturze poniżej.
Briz 1D XMAs LOCKED to 1D - BitcoinA crazy bunch of MAs coded the way I wanted - Never was meant to be published but maybe it will help other tightwads out there that need many MAs in one indicator. These SMAs and EMAs are locked to the 1 day time frame. The PURGATORY line is a 666 day MA from 12 hour - thus, 333 1D. There is also a high and low Mayer Multiple built in, a Tilson MA, and a bubble top SMA.
ZLMA - Low-Lag Moving Average Based On An Alternative SMA DesignThere can be many ways to make a simple moving average, you can either sum the current and the n-1 previous data points and divide the result by n , or you can do it more efficiently by first taking the cumulative sum of your data points, and subtracting the current cumulative sum result with the cumulative sum results n bars ago, then divide the result by n . This can be described by the following formulas:
a(t) = a(t-1) + price(t)
b(t) = (a(t) - a(t-n))/n
This method is the one used in order to allow the user to use a series as SMA period, more info here:
Today we use this design in order to provide a pretty efficient low-lag moving average where the amount of lag of the moving average can be increased/decreased by the user.
THE INDICATOR
length control the period of the moving average, with larger value of length returning larger filtering amount. The lag setting in the other hand control the amount of lag of the moving average, with larger value of lag returning a moving average with less lag. The lag setting can't be lower than 1 or greater than 2, but values lower than 1 and greater than 0 would just return a moving average with larger filtering amount while values greater than 2 would create crazy wild overshoots.
In blue lag = 1.8, in red lag = 1.4, when lag = 1 the moving average is equal to a simple moving average of period length. Remember that larger values of lag will return greater over/undershoots.
Approximate amplitude response of the moving average, like all low-lag moving averages you can see frequencies amplified (the ones on the left greater than 1) .
SUMMARY
We proposed a low-lag moving average based on the cumulative/change SMA design where the lag of the moving average can be controlled by the user. There are tons of low-lag moving averages already, and they don't necessarily provide different results from each others, however this one is still relatively interesting as you can switch from a simple MA from a low-lagging one, other indicators are ready using this design and will be posted soon.
Forex&Co Baseline - Multi ChoiceBest baseline indicator with multiple choice and bar colour. Easy to use and very effective.
Moving Averages Linear CombinatorLinearly combining moving averages can provide relatively interesting results such as a low-lagging moving averages or moving averages able to produce more pertinent crosses with the price.
As a remainder, a linear combination is a mathematical expression that is based on the multiplication of two variables (or terms) with two coefficients (also called scalars when working with vectors) and adding the results, that is:
ax + by
This expression is a linear combination , with x/y as variables and a/b as coefficients. Lot of indicators are made from linear combinations of moving averages, some examples include the double/triple exponential moving average, least squares moving average and the hull moving average.
Today proposed indicator allow the user to combine many types of moving averages together in order to get different results, we will introduce each settings of the indicator as well as how they affect the final output.
Explaining The Effects Of Linear Combinations
There are various ways to explain why linear combination can produce low-lagging moving averages, lets take for example the linear combination of a fast SMA of period p/2 and slow simple moving average of period p , the linear combination of these two moving averages is described as follows:
MA = 2SMA(p/2) + -1SMA(p)
Which is equivalent to:
MA = 2SMA(p/2) - SMA(p) = SMA(p/2) + SMA(p/2) - SMA(p)
We can see the above linear combinations consist in adding a bandpass filter to the fast moving average, which of course allow to reduce the lag. It is important to note that lag is reduced when the first moving average term is more reactive than the second moving average term. In case we instead use:
MA = -2SMA(p/2) + 1SMA(p)
we would have a combination between a low-pass and band-reject filter.
The Indicator
The indicator is based on the following linear combination:
Coeff × LeadingMA(length) - (Coeff-1) × LaggingMA(length)
The length setting control both moving averages period, leading control the type of moving average used as leading MA, while lagging control the type of MA used as lagging moving average, in order to get low lag results the leading MA should be more reactive than the lagging MA. Coeff control the coefficients of the linear combination, with higher values of coeff amplifying the effects of the linear combination, negative values of coeff would make a low-lag moving average become a lagging moving average, coeff = 1 return the leading MA, coeff = -1 return the lagging MA. The leading period divisor allow to divide the period of the leading MA by the selected number.
The types of moving average available are: simple, exponentially weighted, triangular, least squares, hull and volume weighted. The lagging MA allow you to select another MA on the chart as input.
length = 100, leading period divisor = 2, coeff = 2, with both MA type = SMA. Using coeff = -2 instead would give:
You can select "Plot leading and lagging" in order to show the leading and lagging MA.
Conclusion
The proposed tool allow the user to create a custom moving averages by making use of linear combination. The script is not that useful when you think about it, and might maybe be one of my worst, as it is relatively impractical, not proud of it, but it still took time to make so i decided to post it anyway.
Multi moving average (by S. G. Lee)- Multi moving average with one indicator
- You can choose SMA/EMA
- You can change length
- You can change color, thickness
GMS: Moving Average IndicatorThis is a moving average indicator built the way I would want it. There are 3 moving averages with On/Off toggles. It makes it easier than having to add each one separately over and over. Now it's nice and easy all in one spot!
- The moving averages are SMA, EMA, WMA, VWMA and can select anyone for each of the 3 moving averages.
- You can also select the data used for the moving averages (OHLC etc.)
Source code should be open, so feel free to take a look and use it for you own project or ideas.
I hope this helps!
Andre
GMS: Moving Average Crossover StrategyThis is a moving average crossover system built the way I would want it to be.
- The moving averages included are SMA, EMA, WMA, VWMA.
- You can select either for the first moving average or the second moving average.
- You can also select to see the Long trades, Short trades, or both at the same time.
- There is also a simple moving average trend filter. When this is selected, it only applies to the entries of a trade and not the exit. There are situations where the entry is above the trend filter and the exit is below.
The source code should be open so feel free to adapt it, make it more efficient, or take some part for your own project!
I hope it helps,
Andre
MACD AND SMA COMBINATION StrategyHello Everyone This Strategy Base on MACD AND SMA COMBINATION
By Default 3 Percentage TP AND 1 Percentage Sl & quantity 500
By Default Backtesting Starting Time 1 Jan 2020 and end time 31 Dec 2020
You Can also change everything.
In future, I will Enhance this Strategy
if you have any suggestion Mention There Thank you so much
Multiple Timeframe Five Moving AveragesThis allows you to plot up to 5 moving averages on your chart at once. You can either use the chart's current timeframe or select a custom timeframe for your 5 moving averages (for example, you can see the 200DMA on your 4h chart without having to adjust the moving average length). You can also choose amongst SMA , EMA , and HULLMA for each MA.
[fikira] Volume + MTF MAVolume normally has 1 Moving Average (standard orange coloured)
This script gives 1 extra Moving Average (default blue coloured)
BOTH MA can be shown with Multi Time Frames,
based on the most excellent work of "PineCoders"
(MTF Selection Framework functions)!
This can provide more insights, also the crossovers can be interesting!
So, default there are 2 MA's of the present Time Frame + extra 2 TF's of these MA's
(default 2 and 4 times of the present TF)
All can be enabled/disabled,
Only 1 MA:
With labels and values:
Here 2 MA but + only 1 extra TF:
[fikira] Fibma/Fibema StrategyMy strategy regarding the Fibma/Fibema lines (also see my Fibma/Fibema study)
You can enable/disable each strategy to see what
works best in what timeframe
Thanks!
[fikira] Fibonacci MA / EMA's (Fibma / Fibema)I've made SMA/EMA's NOT based on the principle of the 2(1+1), 3(2+1),
5(3+2), 8(5+3), 13(8+5), 21(13+8), 34(21+13), 55(34+21), ... numbers,
but based on these following Fibonacci numbers:
0,236
0,382
0,500
0,618
0,764
1
Ending up with 2 series of Fibma / Fibema:
"Tiny Fibma / Fibema":
24, 38, 50, 62, 76, 100
"Big Fibma / Fibema":
236, 382, 500, 618, 764, 1000
IMHO it is striking how these lines often act as Resistance/Support,
although (except the 50, 100 & 500) they are not typical MA/EMA's.
They perform very well on every Timeframe as well!
Week:
3 Days:
1 Day:
4h:
1h:
Even on the 15 minutes:
Or 5':
Things to watch for:
Price compared to the Tiny or Big Fibma / Fibema (below or above)
Price compared to important Fibma / Fibema (for example below or
above MA 236, MA 764, MA 1000, ...)
Crossing of Fibma / Fibema 24/76, 236/764 and 38/62, 382/618
(bullish crossover = Lime coloured "cloud", bearish crossunder = Red coloured "cloud"),
...
I've made a change in barcolor if the close crosses the "Big Fibma / Fibema 500"
If price closes above MA/EMA 500, the first bar is yellow coloured,
if price stays above this level, candles are coloured lime/orange (= very bullish)
If price closes under MA/EMA 500, the first bar is purple,
if price stays under this level, candles are standard coloured (= very bearish)
Strategy will follow,
Thanks!
5 MAThis indicator can help you out to check for entry points, taking in concideracion ema cross, providing you an alert before the entry and as doble check once you get the confirmation you will be able to put you order
MA Medias Pacman V1The indicator shows the cross of 2 medias, when the moving average lines cross, a small circle is shown on screen, this is useful when you work with small timeframes. This script helps you to find the small trends. You can combine it with rsi or macd.
SMA by KGS 5 MA's in 1 indicatorIn this indicator you can use 5 moving averages in a single indicator.
You can also adjust the moving averages time period and color code.
Turning on/off is also available as per your convenience.
Genesis 20/200 Trend ScalperThis is a 20 / 200 SMa trend scalper, works on all time frames to Identify Trend and short/long scalp opportunities. The Indicator is very simple and it includes the following
20 SMA
100 SMA
200 SMA
when the 20 SMA is green and above the 200 SMA go long...When the 20 SMA is red and below the 200 SMA then short.
Simple Moving Average - ATR Trailing StopThe old adage goes "Cut losers fast and let the winners run"
With this in mind, this will plot a dynamic trailing stop by subtracting any multiplier of the Average True Range (ATR) from the SMA of your choice.
Chingas EMA/MA - White BackgroundI use a lot of Black Background as well as a lot of White background charts. Therefor when I made the Black Background version, I'd have to change all the settings when I was on a White Background. And thus, the White Version was born!
Those who love their Dynamic Support and Resistance will hopefully find some value with this indicator.
This is not the end all be all EMA/MA but something that I wanted for myself and figured some other traders may like to use it as well.
I have one for BLACK Background as well and that has already beed posted.
By Default I have the following EMAs:
9
21
50
70
100
200
By default I have the following SMAs:
20
50
100
200
350
www.dropbox.com
www.dropbox.com
If you go into your settings and select
INDICATOR NAME LABEL and
INDICATOR LAST VALUE
then you will be able to see a super easy and super clean representation on your scale for exactly which EMA/MA you want the value of.
www.dropbox.com
Obviously you can change the colors to whatever you want and you can change the source to whatever you want.
You can also change the length to whatever you want but the names are coded in. In other-words if you want to use a 99 EMA instead of a 100, you can change it to 99 from 100 BUT the name will always be 100.
Enjoy.