Reverse EMA strategy is based on a modification of the regular exponential moving average (EMA). This modification contains signal processing technique Z-transform, which is said to eliminate the indicator lag and make the indicator suitable for trend and market data cycle analysis.

The strategy calculates two Reverse EMAs. The Reverse EMA with a greater length is used to analyze trend conditions while the shorter Reverse EMA is used to analyze market data cycles. Based on behavior of these two values, simulated buy and sell orders are added according to the following rules:

  • Buy to open: shorter Reverse EMA crosses above the zero level while longer Reverse EMA is positive.
  • Sell to close: either Reverse EMA falls below zero.
  • Sell to open (short entry): shorter Reverse EMA crosses below zero while longer Reverse EMA is negative.
  • Buy to close (short exit): either Reverse EMA crosses above the zero level.

Input Parameters



price The type of price to apply the Reverse EMAs to.
trend length The length of the Reverse EMA to analyze trends with.
cycle length The length of the Reverse EMA to analyze market data cycles with.
You may also like
The Momentum Percent Diff is a momentum-based technical indicator. Unlike the regular Momentum ...
Tick Counter
Tick Counter is a feature available for charts using Tick aggregation. This feature shows ...
The Slow Relative Strength Index is a version of the classic Relative Strength Index (RSI), ...