Ehlers' Cycle Analytics for Traders - futures io
futures io futures trading



Ehlers' Cycle Analytics for Traders


Discussion in Trading Reviews and Vendors

Updated by Big Mike
      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.0 thanks per post
    4. looks_4 mk77ch with 1.0 thanks per post
    1. trending_up 13,260 views
    2. thumb_up 29 thanks given
    3. group 15 followers
    1. forum 20 replies
    2. attach_file 18 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,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)
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

Reply With Quote

Can you help answer these questions
from other members on futures io?
Linear Regression Slope Indicator
TradeStation
Any Jim Dalton's June 2020 Intensive Graduates?
Emini and Emicro Index
Think or swim earnings move calculation
Brokers
Data Feed sharing possible between TS/IB and 3rd party apps?
Platforms and Indicators
Short OTM options with a stop order?
Options
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Are sharks watching on the other side?
52 thanks
Sierra Chart ACSIL for Beginners.
27 thanks
Earn2Trade (Helios) - "The Gauntlet"
21 thanks
VWAP for stock index futures trading?
20 thanks
FIO Journal Challenge - June 2020 w/SharkIndicators
15 thanks
 
(login for full post details)
  #3 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 5,997 since Jun 2009
Thanks: 831 given, 7,830 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)
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,346 since Jul 2009
Thanks: 1,245 given, 2,713 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)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 5,997 since Jun 2009
Thanks: 831 given, 7,830 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)
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.

Reply With Quote
The following user says Thank You to Taggart for this post:
 
(login for full post details)
  #7 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 5,997 since Jun 2009
Thanks: 831 given, 7,830 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)
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,346 since Jul 2009
Thanks: 1,245 given, 2,713 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)
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, 96 views)
Register to download File Type: zip MyBandpass.zip (2.3 KB, 86 views)
Reply With Quote
The following 4 users say Thank You to Taggart for this post:
 
(login for full post details)
  #10 (permalink)
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,346 since Jul 2009
Thanks: 1,245 given, 2,713 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, 158 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:


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


June 21, 2020


Upcoming Webinars and Events
 

Free BloodHound Licenses for everyone!

June
 

Every journal equals ten meals for the hungry

June
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, 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