OPEN-SOURCE SCRIPT

EMA 5/10/21 SMA 50/100/200

The Script is mixture of both EMAs and SMAs. EMA 5/10/21 are powerful indicators for short term providing more weightage to the recent prices. SMA 50/100/200 provide the long term view.

5 Day EMA: This is a sign of strong momentum. It tracks the trend in the short term time frame. This is support in the strongest up trends. This line can only be used in low volatility trends with strong momentum. A break back above this line is a sign for me that an uptrend may be resuming. I primarily use it as an end of day trailing stop. It is rare that this line does not break intraday, even in the strongest trending markets.

• 10 day EMA: The 10 day EMA is a great moving average to use to keep you on the right side of the major market trend. It is usually the first line to be lost before any real trouble begins. It can be used as a standalone signal in some stocks and markets that tend to trend strongly in one direction for long periods.

• 21 day EMA: This is the intermediate term moving average. It is generally the last line of support in a volatile uptrend. To me, it is the inevitable reversion to the mean in a market when it finally pulls back after an extended trend.

• 50 day SMA: This is the line that strong leading stocks typically pull back to. This is usually the support level for strong uptrends. It is normal for uptrending markets to pull back to this line and find support. Most bull markets and uptrends will pull back to this level. It is generally a great “Buy the dip” level.

• 100 day SMA: This is the line that provides the support between the 50 day and the 200 day. If it does not hold as support, there is a high probability that the 200 day SMA is the next stop. This is the deeper pullback level in bull markets and uptrends. It usually presents a great risk/reward ratio in bull markets.

• 200 day SMA: Bulls like to buy dips when markets are trading above the 200 day moving average, while bears sell rallies short below it. Bears usually win below this line, as the 200 day becomes longer term resistance, and bulls buy pullbacks to the 200 day as long as the price stays above it. This line is one of the biggest signals in the market telling you which side to be on. Bull above, Bear below. Bad things happen to stocks and markets when this line is lost.
100sma200sma50sma5emaExponential Moving Average (EMA)Moving AveragesSimple Moving Average (SMA)sma

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal