Exponentialmovingaverages
EMA 20/100/200 alwaysThis script will always show the EMA 20/100/200 daily values across any time frame chart (e.g. showing daily 20 EMA while viewing the 5 minute chart)
Demonstration of how history length affects all EMA valuesI saw some discussion of this so I whipped up an example to prove the that effect of history length on EMA values is pronounced, even for bars much further than the EMA length from the first candle of the chart.
This chart has two 89-bar EMAs of the close: a green one and a red one. However, for the red one, the first 89 bars of the graph are considered to have a close of "0", which is exactly whatTradingView's EMA calculation uses for bars before the start of the graph.
This is because unlike other moving averages, which reference the price of previous bars, the EMA references the EMA of previous bars. Therefore, bars closer to the beginning of the chart, where TradingView can't calculate an EMA because there is no previous EMA and therefore uses 0, will return substantially different values for the EMA() function that the same cart would with more history.
The further a bar is back in history, the less influence it has. However, every single historical bar has some influence on the EMA of every later bar.
To allow you to see this for yourself, this script contains the following inputs which you can change to see the effect:
-EMA period (default 89)
-Number of bars to ignore for EMA2 (default 89)
-decimal precision to show differences in. By making this a large number you can see that, although the effects diminish, history length affects all EMA values for the char.
-label spacing (increase this if you have a long history and run into TV's 50-label limit)
EMA / Fibonacci / Bollinger Indicator for Market Sniper SuiteHello all,
this script was created to be used in conjunction with Market Sniper - Trading/Scalping Suite . It was put together to make instrument analysis faster and less convoluted.
It includes
9 Fibonacci Exponential moving averages + 2 Simple moving averages
Auto Fibonacci levels - Tradingviews Auto Fib Retracement - with some modifications
Bollinger Bands - To faster spot squeeze momentum
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.
Bollinger Bands Ema 50,200,800EMAs converted to Bollinger Bands The bands are 50, 200 and 800 period, forming a strategy and having clear trends and stronger supports and resistances (when the lines converge the area is stronger).
EMA Noodle Fan by KviateqJust a very simple EMA fan using Highs and Lows instead of closes. This results in these "EMA noodles". Price very rarely reacts rigidly to a close price of an EMA, sometimes it comes short, other times it overshoots it. Hence the idea behind the noodles.
You can obviously change the lengths of each of the noodle, I chose these lengths for a M5 timeframe and these represent your typical 50, 100 and 200 EMAs on higher timeframes.
Pivot Boss 4 EMA + BB + Parabolic SAR + IchimokuA combination of a few of my favorite indicators.
1) Pivot Boss 4 EMA
2) Bollinger Bands
3) Parabolic SAR
4) Ichimoku Cloud
All credit to original authors.
9.x IndexENGLISH
The 9-period exponential moving average setups are simple and efficient for upward or downward trends. Its creation is attributed to trader Larry Williams . In Brazil it is widely publicized by trader Alexandre Fernandes (Palex).
This indicator was created to show the setup that appeared in each candle and an arrow shows the direction that the operation must be made (up arrow, long, and down arrow, short).
Below are the rules that describe each setup.
9.1 Long
1) MME9 is descending;
2) The candle that changes the direction of the average upwards, after its closing, activates the setup, if its maximum is broken, the purchase is activated;
3) The stop loss is positioned below the candle low in step 2.
9.1 Short
1) MME9 is rising;
2) The candle that changes the direction of the average downwards, after its closing, activates the setup, if its minimum is lost the sale is activated;
3) The stop loss is positioned above the candle maximum in step 2.
9.2 Long
1) MME9 is rising;
2) The current candle must close below the minimum of the previous candle, if its maximum is broken, the purchase is activated;
4) If the maximum of the candle in step 2 is not broken, the purchase will occur when the maximum of the next candle is broken;
5) The stop loss is positioned below the minimum of the candle in step 2 or step 3.
9.2 Short
1) MME9 is descending;
2) The current candle must close above the maximum of the previous candle, if its minimum is lost the sale is activated;
4) If the minimum of the candle in step 2 is not lost, the sale will occur when the minimum of the next candle breaks;
5) The stop loss is positioned above the maximum of the candle in step 2 or step 3.
9.3 Long
1) MME9 is rising;
2) A reference candle must be followed by two closings in a row below its closing, the purchase occurs when the maximum of the last candle breaks;
3) If the last high is not broken, the purchase occurs when the maximum of the next candle breaks;
4) The stop loss is positioned below the minimum of the candle in step 2 or step 3;
9.3 Short
1) MME9 is descending;
2) A reference candle must be followed by two closings in a row above its closing, the sale occurs when the minimum of the last candle breaks;
3) If the last low is not broken, the sale occurs when the minimum of the next candle breaks;
4) The stop loss is positioned above the candle maximum of step 2 or step 3;
9.4 Long
1) A candle generates a 9.1 short;
2) The next candle should generate a 9.1 long without losing the minimum of the previous candle, the purchase occurs when the maximum is broken;
3) The stop loss is positioned at the low of the candle in step 2.
Setup 9.4 for sale
1) A candle generates a 9.1 long;
2) The next candle should generate a 9.1 short without losing the maximum of the previous candle, the sale occurs at the loss of its minimum;
3) The stop loss is positioned at the maximum of the candle in step 2.
PORTUGUÊS
Os setups da média móvel exponencial de 9 períodos são simples e eficientes em ativos em tendência de alta ou de baixa. Sua criação é atribuída ao trader Larry Williams . No Brasil é amplamente divulgado pelo trader Alexandre Fernandes (Palex).
Esse indicador foi criado para mostrar o setup que surgiu em cada candle e uma seta mostra a direção que deve ser feita operação (seta para cima, compra, e seta para baixo, venda).
Abaixo temos as regras que descreve cada setup.
Setup 9.1 de compra
1) A MME9 está descendente;
2) O candle que mudar a direção da média para cima, após o seu fechamento, ativa o setup, se sua máxima for rompida é ativada a compra;
3) O stop loss é posicionado abaixo da mínima do candle do passo 2.
Setup 9.1 de venda
1) A MME9 está ascendente;
2) O candle que mudar a direção da média para baixo, após o seu fechamento, ativa o setup, se sua mínima for perdida é ativada a venda;
3) O stop loss é posicionado acima da máxima do candle do passo 2.
Setup 9.2 de compra
1) A MME9 está ascendente;
2) O candle atual deve fechar abaixo da mínima do candle anterior, se sua máxima for rompida é ativada a compra;
4) Caso a máxima do candle do passo 2 não seja rompida, a compra o ocorrerá no rompimento da máxima do candle seguinte;
5) O stop loss é posicionado abaixo da mínima do candle do passo 2 ou do passo 3.
Setup 9.2 de venda
1) A MME9 está descendente;
2) O candle atual deve fechar acima da máxima do candle anterior, se sua mínima for perdida é ativada a venda;
4) Caso a mínima do candle do passo 2 não seja perdida, a venda ocorrerá no rompimento da mínima do candle seguinte;
5) O stop loss é posicionado na acima da máxima do candle do passo 2 ou do passo 3.
Setup 9.3 de compra
1) A MME9 está ascendente;
2) Um candle de referência deve seguido por dois fechamentos seguidos abaixo do seu fechamento, a compra ocorre no rompimento da máxima do último candle;
3) Se a última máxima não for rompida, a compra ocorre no rompimento da máxima do candle seguinte;
4) O stop loss é posicionado abaixo da mínima do candle do passo 2 ou do passo 3;
Setup 9.3 de venda
1) A MME9 está descendente;
2) Um candle de referência deve seguido por dois fechamentos seguidos acima do seu fechamento, a venda ocorre no rompimento da mínima do último candle;
3) Se a última mínima não for rompida, a venda ocorre no rompimento da mínima do candle seguinte;
4) O stop loss é posicionado acima da máxima do candle do passo 2 ou do passo 3;
Setup 9.4 de compra
1) Um candle gera um 9.1 de venda;
2) O candle seguinte deve gerar um 9.1 de compra sem perder a mínima do candle anterior, a compra ocorre no rompimento da sua máxima;
3) O stop loss é posicionado na mínima do candle do passo 2.
Setup 9.4 de venda
1) Um candle gerar um 9.1 de compra;
2) O candle seguinte deve gerar um 9.1 de venda sem perder a máxima do candle anterior, a venda ocorre na perda da sua mínima;
3) O stop loss é posicionado a máxima do candle do passo 2.
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
Multi EMA/MA with fixed timeframe by TopsyKrettThis script shows several EMAs and MAs, fully editable
The moving averages dont change when changing candlelength
Unedited it gives:
- 4 EMA (weekly, monthly, quarterly, anual)
- 3 MA (7day, 14day, 28day)
based on daily close
In the script are two additional EMAs and MAs mutet, easy to activate with pine editor
EMA/SMA BandPlot the source high, low and close of any given ema or sma. Support and resistance is defined as an area where price is likely to bounce or get rejected and since MA's are usually just one line, this band is meant to act as an area surrounding the original MA and therefore avoiding fake outs.
Rhaps SMAEMA Combo v1.1There's many versions of this sort of thing around the Tradingview library, but i guess we all like things to our own specifications.
So this is my take on the SMA and EMA version combined.
Bunch of SMA's & EMA's, with labels, and G&D Cross Labels and Alerts.
These values can of course be changed to any you may prefer.
Rhapsodyy's Combo SMAEMA's v1.1
SMA's with Painted Labels : 10/30/50/80/200
EMA's with Painted Labels : 21/50/89/200/377
50SMA / 200SMA Golden & Death Crosses on Current Timeframe & Alerts
Daily 50SMA / 200SMA Golden & Death Crosses overlayed onto Current Timeframe & Alerts
50EMA / 200EMA Golden & Death Crosses on Current Timeframe & Alerts
Daily 50EMA / 200EMA Golden & Death Crosses overlayed onto Current Timeframe & Alerts
8 EMA & 5 SMA ComboA combination of 8 EMA & 5 SMA to use with more advanced MA strategies and de-cluttering of indicator list.
To identify lines, Color combination should be somewhat warmer/lighter to cooler/darker colors.
EMA have a thicker line than the SMA. Color pairs have lighter/darker in cases where there are slight variations (when using one over another).
CBG Rainbow Moving AveragesHere's my Rainbow Moving Average indicator. There are 41 MAs. I also have cross over signals based on 2 separate MAs. I like to use 20 ahd 50 Hull MAs for the signals but you can set those up independently.
DT-21 Moving AveragesI know a lot of people use the free version of TradingView, So I made a script to combine 5 Moving averages as 1 indicator.
Forecast 7 EMA's 6 periodsForecast 7 EMA's 6 periods
This script is an upgrade of the existing Triple MA Forecast from Yatrader2
To allow the user to display 7 different EMAs and look 6 candles ahead
Default Value
8 ema
13 ema
21 ema
55 ema
100 ema
128 ema
200 ema
Note:
Best to use on high timeframe, if on low timeframe change the forecast maximum to lower
This was made to forecast the 21 ema on weekly timeframe on the upcomming Bitcoin price
EMA 21,13,8 - scalping3 EMAs will help identify and predict uptrends and downtrends
-If EMAs are all above the candles it a sign to sell & if the EMAs are below its a sign to buy
- If the Green-8 EMA crosses or touches red candle then flips under the other EMAs & candles then it's time to sell
-If the Green-8 EMA crosses or touches green candle then flips above the other EMAs & candles then it's time to buy
- how far is the EMAs from the candle it'll show how strong the trend. combine this strategy with the stochastic oscillator & RSI to get the maximum benefit
4 Fibonacci EMAsAdd 4 Fibonacci EMAs to your charts with one indicator.
Configureable by value, so they don't necessarily have to use Fibonacci numbers, and by colors.
Relative Price OscillatorHere is a new experimental indicator we've been working on. The idea was to compare two EMA's of period midpoints to the actual closing price. The steps that were taken are listed below:
1.Calculate an EMA based on each period's midpoint ((High * Low) /2) for the last 9 periods.
2.Calculate an EMA based on each period's midpoint for the last 100 periods.
3. Divide the difference of the two EMA's by the closing price. ((EMA1 - EMA2) / Close).
4. Smooth the value from step #3 with an 18 period EMA. Multiply by 1000 for better scaling/visibility.
Using:
Bullish when line is green, bearish when line is red. Buy on first green, then sell on first red.
There is also an option to color the candles based on the RPO line.