OPEN-SOURCE SCRIPT
Aggiornato

[blackcat] L2 Ehlers Reverse EMA

4 259
Level: 2

Background

John F. Ehlers introuced Reverse EMA in Sep, 2017.

Function

In “The Reverse EMA Indicator” in Sep, 2017, John Ehlers presented very interesting filtering technique based on a Z-transform of the exponential moving average. It is a causal forward and backward EMA indicator that could be used in real trading. It has double smoothing at the high end of the spectrum to reduce aliased components and is able to mitigate the impact of spectral dilation at the low end. The author described the indicator as having unique flexibility in that it could display trend or cycle information by varying the alpha parameter and do this with very low lag.


Key Signal

TrendRevEMA --> Ehlers Reverse EMA slow line
CycleRevEMA --> Ehlers Reverse EMA fast line


Pros and Cons

100% John F. Ehlers definition translation, even variable names are the same. This help readers who would like to use pine to read his book.

Remarks

The 88th script for Blackcat1402 John F. Ehlers Week publication.


Readme

In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.

The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.

Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.

Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.

Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.

Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.

Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
Note di rilascio
OVERVIEW
L2 Ehlers Reverse EMA is a technical analysis indicator that combines Ehlers' Reverse EMA methodology with two different timeframe analyses to generate trading signals. It plots two colored bands representing trend and cycle components, with buy/sell signals generated by their crossovers.

FEATURES

• Dual timeframe analysis using two configurable alphas
• Color-coded bands showing trend and cycle relationships
• Automatic buy/sell signal generation and alert conditions
• Visual crossover indicators with labeled arrows
• Customizable transparency levels for band visualization

HOW TO USE

Add the indicator to your chart
Adjust the input parameters: • Trend Alpha: Controls sensitivity of trend component (default: 0.05) • Cycle Alpha: Controls sensitivity of cycle component (default: 0.3)
Monitor crossovers between trend and cycle bands
Watch for BUY/SELL labels on the chart
Use alerts for automated notification of trading signals
LIMITATIONS

• Requires sufficient historical data for accurate calculations
• Performance may vary across different market conditions
• Parameter optimization needed for specific trading pairs

NOTES

• Band colors indicate which component is dominant:

Yellow: Cycle > Trend
Fuchsia: Trend > Cycle • The indicator uses Ehlers' Reverse EMA algorithm with multiple smoothing passes • Alerts can be customized through TradingView's alert settings

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.