My research into the theory of Cycles leads me to believe that the Hilbert Huang Transform is one of the best methods that currently exists for teasing cycles out of data. It is a bit complicated but certainly not beyond many of the great minds here at BMT
I am including nearly my entire library of HHT material for your convenience. In addition to the Matlab .m files there are a number of scholarly papers. Several are by Huang, several from other authors.
I cannot use the Matlab scripts as they stand. My sincere hope is that the awesome talent here on BMT will convert the scripts to Ninja for the benefit of all. I believe it will be a bit of a project but I believe it will be worth the effort.
Please contact me via PM if you acquire an interest in this material and want to get something going. We can start a thread and see where it goes. I ask for the PM because I will not be able to conveniently see when a new thread on this topic is started - and I hope to watch it play out !!
It doesn't actually "indicate" anything, but its routines are exposed via the "ALGLIB" namespace, and can be called from NinjaTrader indicators and strategies.
To use, you need a "using" statment in your code. i.e.:
using ALGLIB;
For usage examples, see my "CADF" indicator posted in the elite downloads section.
May 16th, 2012
Size: 629.94 KB
Downloaded: 115 times
1192
kevind
Ok, not very MatLab, but MatLab, R, ...
This simple script download historical data from IB (360 days, 1 minutes bar) for all SP500 stocks, without risking the "Pace violation ..." from IB. The files are wrote in the user home directory.