Level: 2 Background John F. Ehlers introuced Ehlers Filter in his "Rocket Science for Traders" chapter 18 on 2001. Function blackcat L2 Ehlers Filter is used to follow trend. The filters Dr. Ehlers have invented are nonlinear FIR filters. It turns out that they provide both extraordinary smoothing in sideways markets and aggressively follow major price...
Level: 2 Background John F. Ehlers introuced MESA Adaptive Moving Average-a.k.a "MAMA" in his "Rocket Science for Traders" chapter 17. Forgive the whimsy of the name Dr. Ehlers attached to this unique indicator, but with that name he is sure you will always remember it, like KAMA and VIDYA. Function blackcat L2 Ehlers MESA Adaptive Moving Average-a.k.a...
Level: 3 Background John F. Ehlers introuced ZeroLag Intraday Trading System in his "Rocket Science for Traders" chapter 16. Function blackcat L3 EhlersZeroLag Intraday Trading System is used to find proper long and short entries. Dr. Ehlers developed a completely automatic ZeroLag Intraday Trading System. The concepts of the Instantaneous Trendline and the...
Level: 2 Background John F. Ehlers introuced Automatic SineTrend Trading System in his "Rocket Science for Traders" chapter 12. Function blackcat L2 Ehlers Automatic SineTrend Trading System is used to find proper long and short entries.Dr. Ehlers developed a completely automatic trading system called the SineTrend Automatic System based on the rules in his...
Level: 2 Background John F. Ehlers introuced Market Mode Identifier in his "Rocket Science for Traders" chapter 11. The simplified model of the market, derived from the Drunkard's Walk problem, has only two modes-the Cycle Mode and the Trend Mode. Through the derivation of the Sinewave Indicator and the Instantaneous Trendline, Ehlers had shown several ways to...
Level: 2 Background John F. Ehlers introuced Instantaneous Trendline (IT) in his "Rocket Science for Traders" chapter 10. Dr. Ehlers hope IT can enable us to compute a continuous trendline from which we can rapidly assess market action. Function blackcat L2 Ehlers Instantaneous Trendline (IT) is used to follow trend. IT is important because the dominant...
Level: 2 Background John F. Ehlers introuced Sine Wave Indicator in his "Rocket Science for Traders" chapter 9. Function blackcat L2 Ehlers Sine Wave Indicator compared to conventional oscillators such as the Stochastic or Relative Strength Indicator (RSI), the Sinewave Indicator has two major advantages. These are 1. The Sinewave Indicator anticipates the...
Level: 2 Background John F. Ehlers introuced Hilbert Oscillator in his "Rocket Science for Traders" chapter 8. The Hilbert Oscillator identifies every major turning point. Function blackcat L2 Ehlers Hilbert Oscillator is used to follow the trend. Although it will not be a leading indicator because of the 2-bar lag required to compute Q3, it does prove...
Level: 2 Background John F. Ehlers introuced another Enhanced Signal to Noise Indicator in his "Rocket Science for Traders" chapter 8. Function blackcat L2 Ehlers Signal to Noise Indicator is used to measure Signal-to-Noise Ratio (SNR). In this code, the period of the measured dominant cycle is calculated in exactly the same manner as we calculated it for...
Level: 2 Background John F. Ehlers introuced Signal to Noise Indicator in his "Rocket Science for Traders" chapter 8. Dr. Ehlers terms the case where half the average daily trading range is equal to the signal amplitude as our zero decibel Signal-to-Noise Ratio (0 dB SNR) condition. He wants the signal amplitude to be at least twice the noise amplitude (6dB...
Level: 2 Background John F. Ehlers introuced Dual Differential Cycle Period Measurer in his "Rocket Science for Traders" chapter 7. The In-phase and Quadrature components are computed with the Hilbert Transformer using procedures identical to those in the Dual Differentiator. Function blackcat L2 Ehlers Homodyne Discriminator Cycle Period Measurer is used to...
Level: 2 Background John F. Ehlers introuced Homodyne Discriminator Cycle Period Measurer in his "Rocket Science for Traders" chapter 7. Homodyne means we are multiplying the signal by itself. More precise, we want to multiply the signal of the current bar with the complex conjugate of the signal 1 bar ago. The complex conjugate is, by definition, a complex...
Level: 2 Background John F. Ehlers introuced Phase Accumulation technique of cycle period measurement in his "Rocket Science for Traders" chapter 7. It is perhaps the easiest to comprehend. In this technique, John Ehlers measures the phase at each sample by taking the arctangent of the ratio of the Quadrature component to the In-phase component. A delta phase is...
Level: 2 Background John F. Ehlers introuced Hilbert Transform in his "Rocket Science for Traders" chapter 6. The Hilbert Transform is a procedure to create complex signals from the simple chart data familiar to all traders. Once we have the complex signals, we can compute indicators and signals that are more accurate and responsive than those computed using...
Level: 2 Background Have you considered that factors outside the Earth will be related to macro market trends? Let’s discuss the relationship between the planetary movement in the Galaxy and the market movement on Earth today! Although I said that, you may have laughed out in front of the screen, but the calculations in this script are entirely based on...
The Adaptive Commodity Channel Index V1 was created by John Ehlers (Rocket Science For Traders pgs 236-237) and this is the typical Commodity Channel formula with the introduction of adaptive lengths based on his earlier work with indicators such as the Mother of Adaptive Moving Averages. For longer term signals you would get a bullish signal when CCI is above 0...
The Adaptive Relative Vigor Index was created by John Ehlers (Cybernetic Analysis For Stocks And Futures pgs 140-141) and it does a pretty good job of capturing the peaks and valleys of the underlying data. There are several ways to read this particular indicator so for long term trades then buy when it goes above 0 and sell when it falls below 0 or for shorter...
Thanks to MasBart, I updated the earlier version to normalize signal and lead according to vigor and trigger. Vigor and trigger are limited to +-2. Now signal and lead are also in that range. The code of interest is lines 39-43: tmpdif = (BP - nz(BP ))/close a = array.new_float(0) for i = 0 to win-1 array.push(a, tmpdif ) den = array.max(a) den is then used...