OPEN-SOURCE SCRIPT

Crypto EMA+MA+MACS by hobbeLe

By hobbeLe
This is an indicator that includes several EMAs and MAs (Used in Cryptotrading).
In addition, the Golden and Death Cross are also displayed.

Used MAs
  • MA 7 - Orange Line
  • MA 21 - Yellow Line
  • MA 25 - Grey Line
  • MA 99 - Blue Line
  • MA 200 - Green Line


Used EMAs
  • EMA 200 - Grey Dotted Line
  • EMA 222 - Pink Dotted Line


Golden Cross
  • Crossover MA25 + MA200


Death Cross
  • Crossunder MA25 + MA200


What is a Moving Average (MA) ?
A moving average (MA) is a widely used indicator in technical analysis that helps smooth out price action by filtering out the “noise” from random short-term price fluctuations.
Moving average is a trend-following, or lagging, indicator because it is based on past prices. The most common applications of moving averages are:

  • to identify the trend direction
  • to determine support and resistance levels


The two basic and commonly used moving averages are the simple moving average ( SMA ), which is the arithmetic average of a security over a defined number of time periods, and the exponential moving average ( EMA ), which gives greater weight to more recent prices.

What is a Golden Cross?
The golden cross is a candlestick pattern that is a bullish signal in which a relatively short-term moving average crosses above a long-term moving average. The golden cross is a bullish breakout pattern formed from a crossover involving a security's short-term moving average (such as the 15-day moving average) breaking above its long-term moving average (such as the 50-day moving average) or resistance level. As long-term indicators carry more weight, the golden cross indicates a bull market on the horizon and is reinforced by high trading volumes.

What Is a Death Cross?
The death cross is a technical chart pattern indicating the potential for a major selloff. The death cross appears on a chart when a stock’s short-term moving average crosses below its long-term moving average.

Source; Investopedia

snapshot
cryptocryptotradingdeathcrossExponential Moving Average (EMA)goldencrossMoving AveragesSimple Moving Average (SMA)sma
hobbeLe

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer