OPEN-SOURCE SCRIPT

Two EMA Cross+ Indicator

Updated
Hello traders!
Today we gonna demonstrate out heuristic of classical EMA Indicator. We decided to simplify your trading staff and add some meta data. So, let’s look at it from the very beginning and initially speak about what EMA is and then I’ll tell you why our indicator is extremely convenient and useful.

So, what is EMA? An exponential moving average ( EMA ) is a type of moving average (MA) that places a greater weight and significance on the most recent data points. The exponential moving average is also referred to as the exponentially weighted moving average . An exponentially weighted moving average reacts more significantly to recent price changes than a simple moving average ( SMA ), which applies an equal weight to all observations in the period.

Key takeaways:
-The EMA is a moving average that places a greater weight and significance on the most recent data points.
-Like all moving averages, this technical indicator is used to produce buy and sell signals based on crossovers and divergences from the historical average.

As you know, EMA Cross is one of basic and most popular Entry Indicators. It’s kinda easy to understand and even easier to use. This indicator consists of two EMAs - fast (red line) and slow (blue line). Fast EMA is EMA of less length that the fast EMA (default parameter is 9). Thus, it reacts the price change more actively than the slow. We can say that it takes into consideration the most actual price movements. Speaking about slow EMA (default parameter is 30) it’s more inert and it’s more difficult to change its action vastly. We can say that the EMA «looks» at the historical data more accurate, but doesn’t forget about actual price movements.

But how it works? Trivial. When the fast EMA crosses the slow bellow, it provides bearish signal, whereas when it crosses it above, it’s bullish signal. Even more, we added some «confirmation» factor. As you know, when the price is above the slow EMA, the slow EMA plays the role of support line for price and means that the price is in uptrend. Thus, when we see the cross above and it takes place under the price, we called it «strong Bullish Signal». When the price is bellow the slow EMA, slow EMA is resistance. Thus, when we see the cross bellow and it’s under the slow EMA, we called it «strong Bearish Signal».

To make your trading process easier, we plotted the places of crosses on the chart and added the descriptions of the crosses. The flags mean the place of cross. The default parameters have nice backtest on 1H chart. However, you can also change them depending on your goals and the time period. The places of cross looks like flags (red flag is «bearish» cross, green - «bullish»). As you can see, it’s really convenient.

I hope you’ll enjoy our heuristic of classical EMA Cross. We are sure that the meta data that we are taking into consideration makes the signals more accurate and the deals more profitable. The SkyRock Team with support of Trading View try to make your trading process more successful and profitable. Every day we works in conjunction to boost both your skills and trading balance. We hope, it’s really useful for you, dear traders!
Release Notes
Hello, traders!
After the realise of our EMA Cross Indicator, we've made many tests to see how it works. We find that the signals are very poor on the choppy market. Thus, we decided to add filter, that disable the script to make signals while sideways. We decided to make filter based on volatility. In my opinion, the best volatility indicator is Bollinger bands. It's very sensitive and catches "blow ups" very well. So, how does it work?
The process of making long/short signals is the same. However, if the value of BB Width ( width of the Chanel between upper and lower line of Bollinger Bands) is less than average of previous values (how many you can tune, default is 10), the signal seems to be false and doesn't appear. It reduced the wrong signals vastly.

Well, guys, I hope you enjoy my script and it'll become the part of your trading staff. Write down to comments what pros and cons you match when you use it. Have a nice trading day!
crosscrossovercrossunderExponential Moving Average (EMA)emacrossemacrossoverMoving Averages

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?


Get access to private PineScript strategies and turn script alerts into orders at your exchange account with easy-to-set up bots

Get free alert bot:
skyrexio.com
Also on:

Disclaimer