Condition: EMA (Exponential Moving Average)
1. Overview
The Exponential Moving Average (EMA) is a technical indicator that calculates a moving average of past prices. Unlike simple averages (SMA), the EMA weights recent price data more heavily than older price data.
EMAs are used to better assess trends and smooth out price movements. Depending on your strategy, short, medium, or long time periods can be used.
2. Typical EMA Periods
EMAs can be applied to different time periods. Commonly used values include, for example:
- 9, 12 or 20 time units for short-term analysis
- 50 time units for medium-term analysis
- 200 time units for long-term analysis
Particularly well-known is the 200-day EMA, which is frequently used to assess long-term trends.
The time unit can be minutes, hours, or days, for example.
3. Interpreting the EMA
When the current price is above the EMA, this is often interpreted as a bullish signal. This suggests that the market is currently showing strength and rising prices are more likely.
When the current price is below the EMA, this is often interpreted as a bearish signal. This suggests that the market is currently showing weakness and falling prices are more likely.
Important: An EMA provides no guarantee for future price movements. The indicator merely represents a technical assessment of the current market trend and should always be considered together with other analysis tools and market information.
4. Use in OptionsApp
In OptionsApp, the EMA can be used both as an Entry Condition and as an Exit Condition.
This allows trades to be opened only when the Underlying is above a specific EMA, for example. Similarly, existing trades can be automatically closed when the price falls below or exceeds a defined EMA.
The EMA is particularly suited as a trend filter to trade only in the direction of a broader market trend.
5. EMA Configuration
Configuration is done within Entry Conditions or Exit Conditions from left to right.
5.1 Select Underlying
First, select the desired Underlying, for example SPX.
5.2 Select Value
In the next step, select "Value". This specifies that a price value of the selected Underlying should be used for evaluation.
5.3 Select Price Value and Time Unit
Next, select which price value should be used.
Typically, this would be:
- Close
- Minute
used.
This uses the most recently completed minute value of the Underlying.
5.4 Select Operator
In the next step, select the desired comparison operator.
Possible operators include, for example:
- greater than (>)
- less than (<)
- greater than or equal to (>=)
- less than or equal to (<=)
5.5 Configure EMA
Next, the EMA is selected as the comparison value.
Then set the parameters of the EMA:
- Period, e.g. 9, 20, 50 or 200
- Time unit, e.g. Minute, Hour or Day
An example would be:
SPX Value Close Minute > EMA 200 Day
In this case, it checks whether the most recently completed minute value of SPX is greater than the 200-day EMA.
6. Practical Examples
6.1 Trading Only Above the 200-Day EMA
A trade should only be opened when the market is in a long-term uptrend.
Configuration:
SPX Value Close Minute > EMA 200 Day
The trade is only opened when the current SPX value is above the 200-day EMA.
6.2 Trading Only Below the 200-Day EMA
A trade should only be opened when the market is in a long-term downtrend.
Configuration:
SPX Value Close Minute < EMA 200 Day
The trade is only opened when the current SPX value is below the 200-day EMA.
6.3 Exit on Trend Change
The EMA can also be used as an Exit Condition.
For example, a trade can be automatically closed as soon as the current price falls below a defined EMA.
This allows the EMA to be used as an additional safety mechanism if the market moves against the original trading direction.
6.4 Comparing Two EMAs
In addition to comparing the current price with an EMA, two EMAs can also be compared with each other.
This makes it possible to identify trend changes or changes in market dynamics. Often a short-term EMA is compared with a longer-term EMA.
For example, the following condition can be created:
EMA 15 < EMA 35
In this case, it checks whether the EMA with period 15 is below the EMA with period 35.
Since the EMA 15 responds faster to price movements than the EMA 35, this constellation is often interpreted as an indication of a rather weaker or falling market.
Conversely, the following condition would be possible:
EMA 15 > EMA 35
Here the short-term EMA is above the longer-term EMA. This is often interpreted as an indication of a rather stronger or rising market.
Configuration is analogous to the normal EMA condition. Instead of a price value (Value -> Close), an EMA is selected on the left side and another EMA is also defined as the comparison value on the right side.
7. Usage Notes
Short EMAs respond faster to price movements and provide earlier signals. At the same time, this often results in false signals during short-term market fluctuations.
Long EMAs respond much more slowly, but filter out a large portion of short-term fluctuations and are particularly well-suited for determining the broader trend.
In practice, the 200-day EMA is often used as a long-term trend filter. Many strategies open long-oriented positions only when the market is above this EMA.
The EMA can be combined with additional Entry Conditions or Exit Conditions, for example with RSI, SMA, ADX/DMI, VIX conditions or other technical indicators.