# D_ELI (Ehlers Leading Indicator) Strategy Backtest

1797 lượt xem
This Indicator plots a single
Daily DSP (Detrended Synthetic Price) and a Daily ELI ( Ehlers Leading
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 gives an advanced
indication of a cyclic turning point. It is computed by subtracting the simple
moving average of the detrended synthetic price from the detrended synthetic price.
Buy and Sell signals arise when the ELI indicator crosses over or under the detrended
synthetic price.
See "MESA and Trading Market Cycles" by John Ehlers pages 64 - 70.

You can change long to short in the Input Settings

## Bình luận

Does it repaint? Could you explain the repainting issue? Very interesting work.
Phản hồi
Very interesting. Does this ever repaint the arrows?
Phản hồi
txnemo
@txnemo, Yes. In real time arrows will be painting, but if you make a refresh then arrows will repaint again and it will be different from real time.
Phản hồi
HPotter
@HPotter, could you explain more, I don't understand?
Phản hồi
HPotter
@HPotter, also I bought the book by Ehlers and am still trying to understand the logic. Could you explain the reasoning behind it a little more?
Phản hồi
txnemo
@txnemo, Arrows it is only from script logic. About Ehlers logic I can't say any more.
Phản hồi
HPotter
@HPotter, i just continually refreshh and its correct --- right? i am going to use some of this.
Phản hồi
ghettotroof
@ghettotroof, Yes. Theoreticaly you can change xHL2 = security(tickerid, 'D', hl2) to xHL2 = security(tickerid, 'D', hl2) and it will be stable on the intraday data.
Phản hồi