Crypto EMA+MA+MACS 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:

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

Open-source Skript

Ganz im Sinne von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es verstehen und überprüfen können. Ein Hoch auf den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln. Sie können das Skript den Favoriten hinzufügen, um es auf dem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?


I wish you the best during Xmass and NewYear's time.
I would like to ask for your help.
I want to check the MA within the time period, I use for it as normally work with other scripts eg. OTT...
FromMonth = input(defval = 1, title = "From Month", minval = 1, maxval = 12)
FromDay = input(defval = 1, title = "From Day", minval = 1, maxval = 31)
FromYear = input(defval = 2000, title = "From Year", minval = 1990)
ToMonth = input(defval = 1, title = "To Month", minval = 1, maxval = 12)
ToDay = input(defval = 1, title = "To Day", minval = 1, maxval = 31)
ToYear = input(defval = 9999, title = "To Year", minval = 1990)
I copied out your scrip, and put the backtest range, but nothing changed.
What can I do?
hobbeLe sportflow365
@sportflow365, I don't know your code and I don't know what errors you're getting either ... so how am I supposed to help you ?! :-D

Merry Christmas