# Exponential Moving Average Envelope Trading Strategy

## What is an Exponential Moving Average Envelope?

An exponential moving average (EMA) is a type of moving average that places a greater weight and significance on the most recent data points.

EMA trading is one of the oldest forms of trading strategy and is also trusted by thousands of cryptocurrency traders.

An exponentially weighted moving average reacts more significantly to recent price changes than a simple moving average, which applies an equal weight to all observations in the period.

EMA Trading Strategy can be used in any time frame as well as for any kind of market, makes EMA a better tool to be used.

Lines that were a certain amount above and below the moving average form the envelopes, which are used in the Exponential Moving Average Envelope Trading Strategy.

You can also check out the Double Exponential Moving Average Envelope Trading Strategy.

## EMA Envelope Indicator

Exponential Moving Average Envelope is a trend indicator, where the EMA envelope is formulated with lines above and below the EMA.

EMA is used to smooth out the price action by formulating lines around the price chart using the simple EMA formula.

The confusion around the daily price chart is reduced by the EMA Strategy as Exponential Moving Average puts more weight on the recent price charts making it more reliable than Simple Moving Average.

## How to Calculate EMA Envelope?

To calculate the Exponential Moving Average Envelope, three different calculations are to be made altogether which are described as follows:

At the first instance, the EMA value is calculated which forms the line close to the price chart which is also explained in the blog explaining exponential moving average. Followed by calculating the upper value of the band and the lower value of the band.

• EMA = Previous Data * (1.0 – Smooth factor) + New Data * Smooth factor​
• where Smooth factor =1- 2 / (1 + period)
• Top or Upper value of the band is calculated as EMA*(100+percent)/100
• The bottom or lower value of the band is calculated as EMA*(100-per cent)/100

## Why use Exponential Moving Average Envelope?

EMA Trading Strategy is one of the oldest strategies and reliable over professional traders. The main reasons for the reliability are as follows:

• EMA formula puts more weightage on the recent price rather than taking an average simply
• The EMA Envelope reacts faster to price dynamics than SMA
• EMA offers a more accurate representation of trends as well as patterns
• An exponential Moving Average reduces the confusion of everyday price action
• EMA envelope reveals the trend and pattern as well as smooths the price

## How to use EMA Envelope Strategy:

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. Traders often use several different EMA lengths, such as 10-day, 50-day, and 200-day moving averages.

The step by step procedure to be followed is as follows:

1. Plot the EMA with a specific period over the chart
2. Stretch the EMA to above and below the price to formulate the EMA envelope
3. A Bullish scenario is defined as the price crosses above the upper band
• This indicates that the current price is greater than the average of the defined price, hence the market is in an upward trend
4. A Bearish scenario is defined as the price crosses down the lower band
• This indicates that the current price is lower than the average of the defined price, hence the market is in a downward trend

## Building Exponential Moving Average Envelope On Mudrex:

You can create strategies on Mudrex using simple ‘blocks’. You can connect multiple blocks and define conditions on those connections or ‘paths’ to create your strategy on Mudrex.

As discussed above, lets first write our entry/exit conditions so that we know what to do:

BUY: When price crosses up the upper band.

SELL: When price crosses down the lower band.

Final Strategy: The final strategy on Mudrex looks like this

### Testing

We can now run a quick back-test to see how our strategy performs.