Donchian Channel Break Out strategy

Strategies are published here.

Moderator: admin

Donchian Channel Break Out strategy

Postby Apprentice » Tue Dec 07, 2010 7:59 am

Donchian Strategy.png

Donchian Strategy.lua
(21.17 KiB) Downloaded 3498 times


Basic Rules
Enter on Long Channel Break Out.
Exit on Short Channel Break In.

Buy's on a break of the 55 day high (with a stop on the 20 day low)
Sell's on a break of the 55 day low (with a stop on the 20 day high).

Filter Option Added.
1. Filter - Price / 1. MA
2. Filter - 1. MA / 2. MA
3. Filter - 1. MA Slope
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17415
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Donchian Channel Break Out strategy

Postby cwallin » Tue Dec 07, 2010 9:56 am

Thanks for the quick response. I added the strategy and tried to backtest it, but nothing happened. I tried to attach a screenshot. I made sure "allow for trade" was set to 'Yes'. Also, my program shut down twice while trying to load it.?
cwallin
 
Posts: 5
Joined: Mon Dec 06, 2010 6:29 pm

Re: Donchian Channel Break Out strategy

Postby Apprentice » Tue Dec 07, 2010 10:37 am

Oops, you do not have a beta version.
I have upload new version.
This is probably working.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17415
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Donchian Channel Break Out strategy

Postby cwallin » Tue Dec 07, 2010 11:02 am

I did see results after backtesting, however, I am still getting closed out of program.
Thanks!
cwallin
 
Posts: 5
Joined: Mon Dec 06, 2010 6:29 pm

Re: Donchian Channel Break Out strategy

Postby Apprentice » Tue Dec 07, 2010 11:23 am

Did you download updated version?
Strange.
I think I'll need to install the regular version
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17415
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Donchian Channel Break Out strategy

Postby cwallin » Tue Dec 07, 2010 11:36 am

I deleted the previous download I had and downloaded the one at the top of this post. Is this the correct version?
Thanks!
cwallin
 
Posts: 5
Joined: Mon Dec 06, 2010 6:29 pm

Re: Donchian Channel Break Out strategy

Postby Apprentice » Tue Dec 07, 2010 1:19 pm

Yes Top Most is correct one.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17415
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Donchian Channel Break Out strategy

Postby cwallin » Tue Dec 07, 2010 6:10 pm

Alright, so now I can change parameters and time frames, etc.. However, after about 30 seconds to 1 minute or so, the program still closes on me. Any ideas?
Thanks Again!
cwallin
 
Posts: 5
Joined: Mon Dec 06, 2010 6:29 pm

Re: Donchian Channel Break Out strategy

Postby bbauernschmitt » Thu Dec 23, 2010 3:11 pm

Is there an easy way to add a long term directional filter (such as a 200 period EMA) to this strategy?

So, it only buys or sells breakouts in the direction of the LT trend.
bbauernschmitt
 
Posts: 1
Joined: Thu Dec 23, 2010 2:07 pm

Re: Donchian Channel Break Out strategy

Postby Apprentice » Thu Dec 23, 2010 3:20 pm

Modification of this type is possible.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17415
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 3 guests