hobbeLe

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 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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Comments

Hello!
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...
"
// === INPUT BACKTEST RANGE ===
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?
Reply
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
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out