Ehlers' Cycle Analytics for Traders - Vendors and Product Reviews | futures.io
futures io futures trading


Ehlers' Cycle Analytics for Traders
Started: by Taggart Views / Replies:7,929 / 17
Last Reply: Attachments:16

Welcome to futures io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


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, and we will never resell your private information.

-- Big Mike

Reply
 16  
 
Thread Tools Search this Thread
 

Ehlers' Cycle Analytics for Traders

  #1 (permalink)
Elite Member
Los Angeles, CA
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: AMP
Favorite Futures: ES
 
Posts: 30 since Oct 2009
Thanks: 183 given, 21 received

Ehlers' Cycle Analytics for Traders

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
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
reston, va
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,125 since Jun 2009
Thanks: 616 given, 6,165 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 https://futures.io/download/ninjatrader-7/indicators/840-download.html?view


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
 
  #4 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,312 since Jul 2009
Thanks: 1,229 given, 2,578 received

Ehers Indicators converted from EZL to Ninjascript

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
Reply With Quote
 
  #5 (permalink)
Elite Member
reston, va
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,125 since Jun 2009
Thanks: 616 given, 6,165 received

Futures Edge on FIO

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:
 
  #6 (permalink)
Elite Member
Los Angeles, CA
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: AMP
Favorite Futures: ES
 
Posts: 30 since Oct 2009
Thanks: 183 given, 21 received


cory 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 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:
 
  #7 (permalink)
Elite Member
reston, va
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,125 since Jun 2009
Thanks: 616 given, 6,165 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
 
  #8 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,312 since Jul 2009
Thanks: 1,229 given, 2,578 received

Latest Ehlers Indicators

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.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).



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.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

"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

Last edited by Zondor; January 1st, 2014 at 04:26 PM.
Reply With Quote
The following 2 users say Thank You to Zondor for this post:
 
  #9 (permalink)
Elite Member
Los Angeles, CA
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: AMP
Favorite Futures: ES
 
Posts: 30 since Oct 2009
Thanks: 183 given, 21 received

New Version Of Ehlers Bandpass Filter

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.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


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, 80 views)
Register to download File Type: zip MyBandpass.zip (2.3 KB, 66 views)

Last edited by Taggart; January 2nd, 2014 at 08:56 PM. Reason: Included notation of original author in code
Reply With Quote
The following 4 users say Thank You to Taggart for this post:
 
  #10 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,312 since Jul 2009
Thanks: 1,229 given, 2,578 received

Optimized version of bandpass filter


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, 126 views)
Reply With Quote
The following 5 users say Thank You to Zondor for this post:

Reply



futures io > > > > Ehlers' Cycle Analytics for Traders

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

Elite only

FIO Video Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

April

Process above all else w/Anthony Crudele @ Futures Radio Show

Elite only

Machine Learning - Quantitative Trading w/Martin Froehler @ Quantiacs

Elite only

Market Dynamics w/Peter Davies @ Jigsaw Trading

Elite only

Ask Me Anything w/Patrick Rooney @ Trading Technologies

Apr 18

Ask Me Anything w/FuturesTrader71

Apr 19

Machine Learning w/Kris Longmore

Elite only

Market Analysis w/Dave Forss

Apr 25

Introducing iSystems with Stage 5 Trading

Apr 27
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
John Ehlers Zero Lag ebtrader ThinkOrSwim Programming 1 March 5th, 2017 12:59 PM
Thoughts on Ehlers indicators quasar NinjaTrader 14 January 29th, 2015 09:34 AM
Center of Gravity by John Ehlers Silvester17 NinjaTrader 10 June 9th, 2014 04:45 PM
John Ehlers traderwerks Traders and Trading Methods 0 August 22nd, 2013 10:59 PM
Ehlers Cycle Period Indicator kabakj NinjaTrader 5 January 15th, 2013 05:47 PM


All times are GMT -4. The time now is 10:53 PM.

no new posts
Page generated 2017-03-27 in 0.13 seconds with 20 queries on phoenix via your IP 54.204.249.55