HPotter

D_ELI (Ehlers Leading Indicator) Strategy Backtest

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 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
Please, use it only for learning or paper trading. Do not for real trading
Remove from Favorite Scripts Add to Favorite Scripts
DONATE/TIP

BTC: 3FKWwtaYrf5NHZzaCi1fyAfQj7XSgtyCqe
Does it repaint? Could you explain the repainting issue? Very interesting work.
Reply
Very interesting. Does this ever repaint the arrows?
Reply
@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.
Reply
txnemo HPotter
@HPotter, could you explain more, I don't understand?
Reply
txnemo 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?
Reply
@txnemo, Arrows it is only from script logic. About Ehlers logic I can't say any more.
Reply
@HPotter, i just continually refreshh and its correct --- right? i am going to use some of this.
Reply
HPotter 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.
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out