Ehlers' Cycle Analytics for Traders - futures io
futures io



Ehlers' Cycle Analytics for Traders


Discussion in Trading Reviews and Vendors

Updated
      Top Posters
    1. looks_one Taggart with 5 posts (11 thanks)
    2. looks_two Zondor with 4 posts (13 thanks)
    3. looks_3 cory with 3 posts (1 thanks)
    4. looks_4 mk77ch with 2 posts (2 thanks)
      Best Posters
    1. looks_one Zondor with 3.3 thanks per post
    2. looks_two Taggart with 2.2 thanks per post
    3. looks_3 nailz420 with 2 thanks per post
    4. looks_4 mk77ch with 1 thanks per post
    1. trending_up 16,602 views
    2. thumb_up 29 thanks given
    3. group 18 followers
    1. forum 21 posts
    2. attach_file 18 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Ehlers' Cycle Analytics for Traders

(login for full post details)
  #1 (permalink)
 Taggart 
Los Angeles, CA
 
Experience: Advanced
Platform: NinjaTrader
Broker: AMP
Trading: ES
 
Posts: 30 since Oct 2009
Thanks: 183 given, 22 received

I thought I'd start this thread to discuss John Ehlers' new book, "Cycle Analytics for Traders". I just received my copy today and am already a fair way through (though it will likely take me several read throughs to comprehend). Shortly I will attempt to convert some of the EasyLanguage indicators accompanying the book into Ninjascript. Unfortunately I have only recently begun learning Ninjascript and C# and will likely need some help which leads me to some questions for Big Mike or any of the mods:

1. Can I post EasyLanguage files from the book in an effort to convert to Ninjascript or is that against the forum rules?
2. Are there any rules against discussing/sharing information from this or any book?

Once I get further along with things I will post my thoughts etc, but if any one else has read the book and would like to share their thoughts etc please feel free to do so here (assuming it is ok to do so).

Cheers,
Taggart

Started this thread Reply With Quote

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(602 thanks from 60 posts)
looks_twoSalao's Journalby Salao
(147 thanks from 26 posts)
looks_3Learning to Profit - A journey in algorithms and optionsby Syntax
(112 thanks from 26 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(94 thanks from 30 posts)
looks_5Maybe a little bit different journalby Malykubo
(46 thanks from 29 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
I finally blew up an account
494 thanks
Spoo-nalysis ES e-mini futures S&P 500
63 thanks
The Crude Dude Oil Trading System
62 thanks
The tiyfTradePlanFactory indicator
21 thanks
Building a Crypto Mining Rig
18 thanks
 
(login for full post details)
  #3 (permalink)
 cory 
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,044 since Jun 2009
Thanks: 857 given, 7,915 received



Taggart View Post
...

1. Can I post EasyLanguage files from the book in an effort to convert to Ninjascript or is that against the forum rules?
....

search for attachment with his name yields this


yes you can post EL but in four year on here I didn't any translation from EL --> Ninja,maybe there was a few but nothing I can recall.

Reply With Quote
 
(login for full post details)
  #4 (permalink)
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,347 since Jul 2009
Thanks: 1,245 given, 2,721 received

I have already done quite a few of these conversions. It's generally pretty easy not only to convert them, but to optimize the code for efficient operation.

"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.”
Prof. Albert Bartlett
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #5 (permalink)
 cory 
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,044 since Jun 2009
Thanks: 857 given, 7,915 received


Taggart View Post
...
Cheers,
Taggart

tip: click on name, select attachment upload by to see what is available.

Reply With Quote
The following user says Thank You to cory for this post:
 
(login for full post details)
  #6 (permalink)
 Taggart 
Los Angeles, CA
 
Experience: Advanced
Platform: NinjaTrader
Broker: AMP
Trading: ES
 
Posts: 30 since Oct 2009
Thanks: 183 given, 22 received


cory View Post
search for attachment with his name yields this .

@cory, thanks for the link but I'm talking about his newest indicators that were introduced in his book that was released in November 2013, Cycle Analytics for Traders. I have only seen the RoofingFilter indicator which John Ehlers provided during his webinar over the summer but haven't seen any other attachments on futures.io (formerly BMT) or anywhere else. Included with the book is the easy language code for the following:

1. DeCycler
2. DeCycler Oscillator
3. Bandpass
4. ZeroCrossings
5. Hurst
6. RoofingFilter1Pole
7. RoofingFilter2Pole
8. RoofingFilter
9. MyStochastic
10. MyRSI
11. SyntheticPrices
12. Autocorrelation
13. Autocorrelation Periodogram
14. Autocorrelation Reversals
15. DFT
16. CombSpectrum
17. Adaptive RSI
18. Adaptive Stochastic
19. Adaptive CCI
20. Adaptive Bandpass
21. Even Better Sinewave
22. Convolution
23. Hilbert Classic
24. Hilbert Transform
25. Hilbert Analytic
26. Dual Differentiator
27. Phase Accumulator
28. Homodyne
29. SwamiChart RSI
30. SwamiChartsStochastic


Zondor View Post
I have already done quite a few of these conversions. It's generally pretty easy not only to convert them, but to optimize the code for efficient operation.

@Zondor, have you converted any of the above or were you making a general statement about converting .ELD to .CS? I am most interested in only a few of them mainly the Autocorrelation Periodogram, Adaptive Bandpass, Even Better Sinewave, DeCycler, and the Hilbert Transform.

Started this thread Reply With Quote
The following user says Thank You to Taggart for this post:
 
(login for full post details)
  #7 (permalink)
 cory 
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,044 since Jun 2009
Thanks: 857 given, 7,915 received


Taggart View Post
@cory, thanks for the link but I'm talking about his newest indicators that were introduced in his book that was released in November 2013, Cycle Analytics for Traders. I have only seen the RoofingFilter indicator which John Ehlers provided during his webinar over the summer but haven't seen any other attachments on futures.io (formerly BMT) or anywhere else. Included with the book is the easy language code for the following:

1. DeCycler
2. DeCycler Oscillator
3. Bandpass
4. ZeroCrossings
5. Hurst
6. RoofingFilter1Pole
7. RoofingFilter2Pole
8. RoofingFilter
9. MyStochastic
10. MyRSI
11. SyntheticPrices
12. Autocorrelation
13. Autocorrelation Periodogram
14. Autocorrelation Reversals
15. DFT
16. CombSpectrum
17. Adaptive RSI
18. Adaptive Stochastic
19. Adaptive CCI
20. Adaptive Bandpass
21. Even Better Sinewave
22. Convolution
23. Hilbert Classic
24. Hilbert Transform
25. Hilbert Analytic
26. Dual Differentiator
27. Phase Accumulator
28. Homodyne
29. SwamiChart RSI
30. SwamiChartsStochastic



@Zondor, have you converted any of the above or were you making a general statement about converting .ELD to .CS? I am most interested in only a few of them mainly the Autocorrelation Periodogram, Adaptive Bandpass, Even Better Sinewave, DeCycler, and the Hilbert Transform.

search for theme here https://futures.io/search/attachments/

Reply With Quote
 
(login for full post details)
  #8 (permalink)
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,347 since Jul 2009
Thanks: 1,245 given, 2,721 received

The Hilbert Transform has been done already. I found a version floating around somewhere and modified it, changing the name to Hilbert Transform 2. Somebody should check the code. I just fixed a bug, and there could be others. The plot looks plausible.

HilbertTransform2.cs

I don't have the EzL code for any of the other new indicators from the recent book except for the Roofing Filter, which should be available on futures.io (formerly BMT).

Hilbert Transform 2 is plotted in the bottom panel of the chart shown below. Note that the EMA in the price panel is for a time series (300T) other than that of the chart (100T). People call this a multi time frame mtf EMA (more accurately it is an ANY time frame, atf EMA). The time frames of the atf indicators can be based on minutes, seconds, or volume bars, not just on tick bars. I don't see any reason that this can't be done for Ehlers indicators.

Note that the two oscillator plots in Panel 2 are also based on a number of different time frames, none of which are those of the price series.




On this next chart, the time series is plotted using one of RJay's excellent, proprietary bar types, but the EMA is still based on the 300 Tick time series. The bottom panel has an Hilbert Sine Wave plot. This version of the Sine Wave is "powered by" the Hilbert Transform indicator and looks like it might actually be useful, unlike other versions I have seen.


"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.”
Prof. Albert Bartlett
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following 2 users say Thank You to Zondor for this post:
 
(login for full post details)
  #9 (permalink)
 Taggart 
Los Angeles, CA
 
Experience: Advanced
Platform: NinjaTrader
Broker: AMP
Trading: ES
 
Posts: 30 since Oct 2009
Thanks: 183 given, 22 received

This is my first attempt at programming a Ninjascript indicator, so be forewarned that there are likely some issues with it. Additionally, the code is sloppy and I welcome any suggestions on improvement. That being said, Ehlers introduces a tweak to his bandpass filter by incorporating Automatic Gain Control and Spectral Dilation Removal techniques. The indicator on its own isn't very useful, but when used with appropriate cycle length measuring tools can provide early reversal signals. Shortly I will attempt to port over the Autocorrelation Periodogram, which Ehlers believes offers the best way to measure cycle length. It is much more complicated, so I thought I would start off with the bandpass indicator to get my feet wet.



The attached .txt file is a copy of the EasyLanguage code for this indicator.

P.S. There are other, older versions of the Bandpass indicator floating around. I'm not sure of proper naming conventions so I went basic with it.

Attached Files
Register to download File Type: txt 5_1BandPass.txt (1,004 Bytes, 100 views)
Register to download File Type: zip MyBandpass.zip (2.3 KB, 90 views)
Started this thread Reply With Quote
The following 4 users say Thank You to Taggart for this post:
 
(login for full post details)
  #10 (permalink)
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,347 since Jul 2009
Thanks: 1,245 given, 2,721 received


I corrected two bugaboos that degrade performance with no benefit whatsoever:
  • Calculating on every tick values that only need to be calculated once per lifetime of indicator.
  • Calculating on every tick values that only need to calculated once per bar.

This drastically reduces the loading time and CPU load.

"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.”
Prof. Albert Bartlett
Attached Files
Register to download File Type: cs JFEhlers Bandpass Filter.cs (8.9 KB, 160 views)
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following 6 users say Thank You to Zondor for this post:
 
(login for full post details)
  #11 (permalink)
 Taggart 
Los Angeles, CA
 
Experience: Advanced
Platform: NinjaTrader
Broker: AMP
Trading: ES
 
Posts: 30 since Oct 2009
Thanks: 183 given, 22 received

@Zondor thanks for the optimized version of the bandpass. I have a lot to learn. Attached is my stab at the AutoCorrelation Periodogram. I was able to get it to plot (without the fancy colors) but am not too sure about its accuracy. My code is of course sloppy and not optimized. There is one block of code involving what looks to be a 2 dimensional array (array "r" in Ehlers code) that I could not get to work, so I broke it down into 2 separate 1 dimensional arrays. I am not sure the logic mimics what Ehlers had intended. Anyway, if anyone smarter than me could have a look I would much appreciate it. I have also included Ehlers EasyLanguage code for reference.


Attached Files
Register to download File Type: txt AutocorrelationPeriodogram.txt (6.3 KB, 76 views)
Register to download File Type: zip AutocorrelationPeriodogram.zip (3.0 KB, 56 views)
Started this thread Reply With Quote
The following 3 users say Thank You to Taggart for this post:
 
(login for full post details)
  #12 (permalink)
 Taggart 
Los Angeles, CA
 
Experience: Advanced
Platform: NinjaTrader
Broker: AMP
Trading: ES
 
Posts: 30 since Oct 2009
Thanks: 183 given, 22 received

I was finally able to sort out the two dimension array issue which more closely follows Ehlers code and have attached an update. It produces significantly different values from the one posted earlier. So, one or both may be incorrect. Don't rely on either indicator until further verification. I have no way of comparing to Ehlers' work. There is only 1 screenshot in the book and it is for a stock which I don't have a data feed for. I also have not made any effort to optimize as I plan on only using this indicator on COBC=True (plus I don't really know how anyway, haha).

Attached Files
Register to download File Type: zip AutocorrelationPeriodogram2.zip (3.0 KB, 105 views)
Started this thread Reply With Quote
The following 3 users say Thank You to Taggart for this post:
 
(login for full post details)
  #13 (permalink)
 mk77ch 
Switzerland
 
Experience: Advanced
Platform: NinjaTrader
Broker: Dorman
Trading: Currency Futures, ES
 
mk77ch's Avatar
 
Posts: 85 since Oct 2010
Thanks: 14 given, 78 received

great thread, would be nice to have the code for the other indicators.

cheers,
mike

Reply With Quote
 
(login for full post details)
  #14 (permalink)
 mk77ch 
Switzerland
 
Experience: Advanced
Platform: NinjaTrader
Broker: Dorman
Trading: Currency Futures, ES
 
mk77ch's Avatar
 
Posts: 85 since Oct 2010
Thanks: 14 given, 78 received

Here is the Even Better Sinewave or at least a try to code it for Ninjatrader

cheers,
Mike

Attached Thumbnails
Click image for larger version

Name:	EvenBetterSinewave.png
Views:	314
Size:	65.7 KB
ID:	139005  
Attached Files
Register to download File Type: zip EvenBetterSineWave.zip (2.3 KB, 143 views)
Reply With Quote
The following 2 users say Thank You to mk77ch for this post:
 
(login for full post details)
  #15 (permalink)
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,347 since Jul 2009
Thanks: 1,245 given, 2,721 received

It's not necessary to calculate on every tick values that never change during the execution of a program, or that only change once per bar. (Unless your CPU is lazy and needs some extra work to do).

Nor is it necessary to do anything when an intrabar price tick has the same value as the one just before it, since the output will be the same as the previous one.

When an instance of the EBSinewave is being called by another indicator, set the ShowPlot parameter to false. It is not necessary to generate an output plot (Values[0]) if an instance of the EB Sinewave is being called by another indicator, since the output of the EB SInewave is exposed by a public data series that is not dependent on the plot.

"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.”
Prof. Albert Bartlett
Attached Files
Register to download File Type: cs ~JFE EvenBetterSineWave.cs (9.4 KB, 178 views)
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following 5 users say Thank You to Zondor for this post:
 
(login for full post details)
  #16 (permalink)
 Royal Flush 
Stanstead, Quebec, Canada
 
Experience: Intermediate
Platform: NinjaTrader
Trading: CL
 
Royal Flush's Avatar
 
Posts: 122 since Dec 2010
Thanks: 71 given, 64 received

I have been unable to find any information on the net regarding how to read Elhers Dominant Cycle. Below it appears that it is a leading indicator saying that the next dominant cycle will be up. This seems to good to be true, is it?


Reply With Quote
 
(login for full post details)
  #17 (permalink)
 waver 
New York
 
Experience: Advanced
Platform: NT
Trading: parallel
 
Posts: 5 since Oct 2012
Thanks: 1 given, 3 received

It would be great to have the code for Adaptive Bandpass, Adaptive RSI and Autocorrelation Reversal. I can post EL code if somebody can give it a try.

Reply With Quote
 
(login for full post details)
  #18 (permalink)
 nailz420 
NYC
 
Experience: Beginner
Platform: NinjaTrader
 
Posts: 14 since Dec 2009
Thanks: 9 given, 9 received


Zondor View Post
I corrected two bugaboos that degrade performance with no benefit whatsoever:
  • Calculating on every tick values that only need to be calculated once per lifetime of indicator.
  • Calculating on every tick values that only need to calculated once per bar.

This drastically reduces the loading time and CPU load.

Corrected a bug where alpha2 variable was overwritten before it was used in calculations.

Attached Files
Register to download File Type: cs MyBandpassFilter.cs (11.5 KB, 56 views)
Reply With Quote
The following 2 users say Thank You to nailz420 for this post:
 
(login for full post details)
  #19 (permalink)
 iq200 
Surrey, UK
 
Experience: Intermediate
Platform: Ninjatrader, Tradestation
Broker: Kinetick, InteractiveBrokers
Trading: Equities, Futures
 
Posts: 314 since Jun 2010
Thanks: 118 given, 199 received

I bought his Mesa 8/9 tools for Tradestation quite a few years ago. It was useless buggy shit that didn't work properly. I tried to get support from him but it was for nothing as he didn't seem to have a clue as to what the problem was. Extremely disappointed.

Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #20 (permalink)
 Analytic 
New York NY/United States
 
Experience: Advanced
Platform: TOS NinjaTrader Jigsaw
Trading: Futures, Options, Stocks
 
Analytic's Avatar
 
Posts: 43 since Dec 2013
Thanks: 3 given, 20 received

I spoke with John Ehlers over the phone several times, here is what I learned:

1) He seems to be very open and honest
2) He said he is primarily a researcher and trades live only to prove his research
3) He does NOT trade as a source of income
4) He said his new correlation indicator may NOT be fast enough to give profitable trend trades. I didn't ask about cycle mode trades.


His live autotrade strategy with Worldcupadvisor had a 24% MAX DD I believe.

The hypothetical results look great as with most systems (I completely discount these)


(pasted screenshot)





(pasted screenshot)

Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #21 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 50,068 since Jun 2009
Thanks: 32,534 given, 98,488 received

Doesn't look like it's mentioned here in the thread, but John Ehlers has presented several webinars here. You can find them:

https://futures.io/webinars


Sent using the futures.io mobile app

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #22 (permalink)
sgjohnson
Kingsport, Tennessee
 
 
Posts: 35 since Apr 2020
Thanks: 13 given, 12 received

Anyone know why the "Even Better Sinewave" won't work in TS 10 copied straight out of the book? For some reason it gives an "unknown identifier" error for the "alpha1" variable even though it's declared under variables and initialized with 0 as in alpha1(0).

Reply With Quote


futures io Trading Community Trading Reviews and Vendors > Ehlers' Cycle Analytics for Traders


Last Updated on March 10, 2021


Upcoming Webinars and Events

NinjaTrader Indicator Challenge!

Ongoing

Journal Challenge w/$1,800 in prizes!

May 7

The Cold Hard Truth: Maybe I Am Not Good Enough w/Chris Gray @ Earn2Trade

Elite only
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts