Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, aliswee), 835 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Strategies based on Ehlers' work [Re: scotpip] #446486
10/17/14 09:44
10/17/14 09:44
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline OP
Senior Member
boatman  Offline OP
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
Thanks for sharing the ADX. I had a play with it, but from what I could tell, in the long run it didn't really discriminate between filtering good trades and bad trades. I tried tuning it to both the dominant cycle period and half dominant cycle period, as well as a few other values, but couldn't seem to get much of value out of it. But that's OK, I think that testing and discarding what doesn't work is important, and all part of the game!

I have another idea I want to explore: identify a trend on a higher time frame, and then use cycle analytics on a lower time frame to find a good entry point. I'm not too sure about how to implement it just yet, but I'll keep working on it.

In terms of a momentum indicator, I believe that Ehlers uses one on his stockspotter website as a confirmation signal for cycle trades. I haven't looked into it too deeply though, and I assume that it would be proprietary information. Maybe we could have a go at developing something similar?

Re: Strategies based on Ehlers' work [Re: boatman] #446629
10/23/14 18:31
10/23/14 18:31
Joined: Oct 2014
Posts: 42
DEVON
S
scotpip Offline
Newbie
scotpip  Offline
Newbie
S

Joined: Oct 2014
Posts: 42
DEVON
Sorry for the silence - been caught up in something else. I'll get back to you on this as soon as I can get some breathing space!

Last edited by scotpip; 10/23/14 18:32.
Re: Strategies based on Ehlers' work [Re: scotpip] #446670
10/27/14 10:17
10/27/14 10:17
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline OP
Senior Member
boatman  Offline OP
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
All good mate, I too have been caught up in other things. Really keen to return to this sometime this week though.

Re: Strategies based on Ehlers' work [Re: boatman] #446747
10/30/14 05:48
10/30/14 05:48
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline
User
GPEngine  Offline
User
G

Joined: Sep 2013
Posts: 504
California
You redefine vars HP

Re: Strategies based on Ehlers' work [Re: GPEngine] #446783
10/30/14 22:01
10/30/14 22:01
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline OP
Senior Member
boatman  Offline OP
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
So I do! Thanks for pointing that out GPEngine. You have an eye for detail!

Re: Strategies based on Ehlers' work [Re: boatman] #446793
10/31/14 11:33
10/31/14 11:33
Joined: Oct 2014
Posts: 42
DEVON
S
scotpip Offline
Newbie
scotpip  Offline
Newbie
S

Joined: Oct 2014
Posts: 42
DEVON
Made a bit of a breakthrough with our system using another approach - lots of work to do to get it trading, so Ehlers will be on the sidelines for a bit, I'm afraid. I'll keep watching this thread through - hope others join the fray...

Last edited by scotpip; 10/31/14 11:35.
Re: Strategies based on Ehlers' work [Re: scotpip] #447916
01/12/15 17:25
01/12/15 17:25
Joined: Apr 2014
Posts: 45
Germany
webradio Offline
Newbie
webradio  Offline
Newbie

Joined: Apr 2014
Posts: 45
Germany
Posting "Ehlers' Even Better Sinewave", coded slightly differently (after his Code Listing 12-1 in his Cycle
Analytics for Traders). Tried to save some CPU time by calculating coefficients just once and creating couple of series less.
Code:
//Ehlers' Even Better Sine Wave
function run()
{
	var Duration = 40; //highpass
	var Cutoff = 10; //lowpass
	vars Price = series(price());

	static var alpha1,a1,b1,c2,c3,c1;
	if(is(INITRUN)) {
		alpha1 = (1 - sin(2*PI/Duration)) / cos(2*PI/Duration);
		a1 = exp(-1.414*PI / Cutoff);
		b1 = 2*a1*cos(1.414*PI / Cutoff);
		c2 = b1;
		c3 = -a1*a1;
		c1 = 1 - c2 - c3;
	}

	//High pass filter cyclic components whose periods are shorter than duration input
	vars HP = series(Price[0], 2);
	HP[0] = 0.5*(1 + alpha1)*(Price[0] - Price[1]) + alpha1*HP[1];
	//Smooth with a Super Smoother Filter
	vars Filt = series(HP[0], 3);
	Filt[0] = c1*(HP[0] + HP[1]) / 2 + c2*Filt[1] + c3*Filt[2];
	//3 Bar average of Wave amplitude and power
	//Normalize the Average Wave to Square Root of the Average Power
	vars EBSW = series(0, 1);
	EBSW[0] = ((Filt[0] + Filt[1] + Filt[2])/3)/sqrt((Filt[0]*Filt[0] + Filt[1]*Filt[1] + Filt[2]*Filt[2])/3);
	plot("EBSW", EBSW, NEW, RED);
}


Page 2 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1