This function implements the Goertzel algorithm (for integer N). The Goertzel algorithm is a technique in digital signal processing (DSP) for efficient evaluation of the individual terms of the discrete Fourier transform (DFT). In short, it measure the power of a specific frequency like one bin of a DFT, over a rolling window (N) of samples. Here you see an...

152

When designing filters it can be interesting to have information about their characteristics, which can be obtained from the set of filter coefficients (weights). The following script analyzes the impulse response of a filter in order to return the following information: Lag Smoothness via the Herfindahl index Percentage Overshoot Percentage Of Positive...

162

Fourier series Model Of The Market John F. Ehlers TASC Jun 2019

219

The Detrended Synthetic Price was created by Bill Mars and this indicator is another undiscovered gem that I have found very useful. He obviously took inspiration from John Ehlers in the creation of this indicator and I would describe this indicator as a combination of a MACD and Ehlers work. This indicator is extremely smooth and gives very clear buy and sell...

105

The Hilbert Transform was created by John Ehlers (Stocks & Commodities V. 18:3 (16-27)) and this indicator can work pretty well as a trend confirmation. This essentially transforms the underlying price data into a soundwave and when you compare the two (blue is positive and red is negative) then it provides fairly clear buy and sell signals. Ehlers did warn in...

47

A tool to plot auto correlation of time series, this is useful in identifying periodicity in a time series or signal. Due to the limits of Pine Script you'll need to add it multiple times if you want autocorrelation beyond 55 periods. I have added it 4 times here for 220 periods. For more information on Autocorrelation see: en.wikipedia.org Note: There are 1...

67

A simple utility tool to examine a filter's step & impulse responses. By default you can see LSMA's responses. How to use: 1. Insert your filter to "f(input)" function inside the code; 2. Let this tool help you to make your own filters. I been seeing people dropping snaps with this stuff but NEVER, NO1 actually dropped the tool itself (4 real?). Well here is it,...

18

Detrended Synthetic Price is a function that is in phase with the dominant cycle of real price data. This DSP is computed by subtracting a half-cycle exponential moving average (EMA) from the quarter cycle exponential moving average. See "MESA and Trading Market Cycles" by John Ehlers pages 64 - 70. You can change long to short in the Input Settings ...

87

Detrended Synthetic Price is a function that is in phase with the dominant cycle of real price data. This DSP is computed by subtracting a half-cycle exponential moving average (EMA) from the quarter cycle exponential moving average. See "MESA and Trading Market Cycles" by John Ehlers pages 64 - 70.

81

Library "AnalysisInterpolationLoess" LOESS, local weighted Smoothing function. loess(sample_x, sample_y, point_span) LOESS, local weighted Smoothing function. Parameters: sample_x : int array, x values. sample_y : float array, y values. point_span : int, local point interval span. aloess(sample_x, sample_y, point_span) aLOESS, adaptive local...

38

This is combo strategies for get a cumulative signal. First strategy This System was created from the Book "How I Tripled My Money In The Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies. The strategy buys at market, if close price is higher than the previous close during 2 days and the meaning of 9-days Stochastic Slow...

161

This is combo strategies for get a cumulative signal. First strategy This System was created from the Book "How I Tripled My Money In The Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies. The strategy buys at market, if close price is higher than the previous close during 2 days and the meaning of 9-days Stochastic Slow...

57

This is combo strategies for get a cumulative signal. First strategy This System was created from the Book "How I Tripled My Money In The Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies. The strategy buys at market, if close price is higher than the previous close during 2 days and the meaning of 9-days Stochastic Slow...

83

39

This Indicator plots a single Daily DSP (Detrended Synthetic Price) and a Daily ELI (Ehlers Leading Indicator) using intraday data. Detrended Synthetic Price is a function that is in phase with the dominant cycle of real price data. This one is computed by subtracting a 3 pole Butterworth filter from a 2 Pole Butterworth filter. Ehlers Leading Indicator...

113

Detrended Synthetic Price is a function that is in phase with the dominant cycle of real price data. This DSP is computed by subtracting a half-cycle exponential moving average (EMA) from the quarter cycle exponential moving average. See "MESA and Trading Market Cycles" by John Ehlers pages 64 - 70.

49

Detrended Synthetic Price is a function that is in phase with the dominant cycle of real price data. This DSP is computed by subtracting a half-cycle exponential moving average (EMA) from the quarter cycle exponential moving average. See "MESA and Trading Market Cycles" by John Ehlers pages 64 - 70.

35