Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Suggestions for Trading Systems


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-11-2007, 08:05 AM
designmax's Avatar
Junior Member
 
Join Date: Jul 2006
Posts: 10
designmax is on a distinguished road
Smile Coding up a new EA based on Keltner channel breakouts

Hi All

I am pretty new to the world of trading with robots, but have been around for a few years now trading manually. I have a simple strategy which I have been manually testing, and it is working well. It is based on 2 indicators...a keltner channel, and a 360 simple moving average. It is a combination scalp/swing system, and the system rules are as follows -
Buy entry rules
Enter long with 2 trades when the price breaks above the high band of the Keltner channel. The centreline of the Keltner channel must be on or above the 360 simple moving average for an entry. The initial stoploss for both positions is at the value of the centreline of the Keltner channel.
As the trade progresses, run both stoplosses along the Keltner channel centreline to breakeven. For the scalp trade, continue to run the stoploss along the Keltner channel centreline, until the trade closes out. For the swing trade, run the stoploss along the 360 sma until the trade closes out.

Sell entry rules
Enter short with 2 trades when the price breaks below the low band of the Keltner channel. The centreline of the Keltner channel must be on or below the 360 simple moving average for an entry. The initial stoploss is for both positions is at the value of the centreline of the Keltner channel.
As the trade progresses, run both stoplosses along the Keltner channel centreline to breakeven. For the scalp trade, continue to run the stoploss along the Keltner channel centreline, until the trade closes out. For the swing trade, run the stoploss along the 360 sma until the trade closes out.

Rules for re-entry
A trade can be re-entered when the next entry signal is generated, providing the previous scalp and swing trades are at break even.

The first week I tested this system, it made well over 500 pips forthe week, and only generated 12 trades. Position size = 5% of capital per entry.

I am interested in getting this coded so we can develop an EA for the strategy. It is a trend following strategy, so will make best gains when the market is moving in one direction, but shouldn't lose very mch when the market is sideways.

Anyone who can help me with coding, please contact me either on the forum or by pm to my email address.

Cheers
Designmax
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-11-2007, 11:13 AM
Member
 
Join Date: Jun 2006
Posts: 56
timbobo is on a distinguished road
Hi Designmax,

Could you please provide more info about your system.
What timeframe do you use?
What parameters for keltner channel? I got two different descriptions for that indicator:
http://en.wikipedia.org/wiki/Keltner_channel
http://www.chartfilter.com/reports/c19.htm

It looks exactly as indicator Envelopes from MetaTrader. Could you try it and check if your system works the same way with it too? It can be very simple expert with three standard MT indicators: SMA 360, SMA(or EMA?) and Envelopes with period of your Keltner channel.

Regards,
Tim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-12-2007, 11:17 AM
designmax's Avatar
Junior Member
 
Join Date: Jul 2006
Posts: 10
designmax is on a distinguished road
Coding up an EA based on a Keltner Channel breakout

Hello Timbobo,

The setup for the system is:-
Timeframe = 3 minutes
Keltner channel settings - length = 100, width = 300%
Direction indicator = 360 simple moving average

That's it so far.

Cheers
Designmax
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-14-2007, 10:38 PM
Member
 
Join Date: Jun 2006
Posts: 56
timbobo is on a distinguished road
Well, here it is my version of that strategy.
1. Metatrader does not have 3 min timeframe, so I used 5 min. Periods for channel and big ma converted to get the same results on bigger timeframe: 100 on 3 min = 60 on 5 min and 360 on 3 min = 216 on 5 min. You can change/optimise them.
2. Metatrader does not have Keltner channel indicator but Envelopes looks very similar to description for Keltner channel I could find. So I did not know what width = 300% means. Env_deviation should be similar parameter to change width of channel. You can change/optimise it too.
3. TradeType - 1 is scalping, 2 - swing trade. Expert works with single order only.
4. Move_SL_to_breakeven - move (1) or not (0) stoploss to breakeven as it was recommended or just use the general trailing stop rule.

Look the code and you can find some stuff you can adjust: Mode for Moving Averages (deafaul is simple MA), applied price (default is typical price)

Finally, I could not make this strategy profitable on long history. But the similar one with trading inside the channel looks promising.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-14-2007, 10:39 PM
Member
 
Join Date: Jun 2006
Posts: 56
timbobo is on a distinguished road
sorry, lost the expert...
Attached Files
File Type: zip KeltnerChannel_2.zip (1.6 KB, 103 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-15-2007, 02:42 AM
Senior Member
 
Join Date: Jun 2006
Posts: 1,136
prasxz is on a distinguished road
hi

Quote:
Originally Posted by designmax
Hi All

I am pretty new to the world of trading with robots, but have been around for a few years now trading manually. I have a simple strategy which I have been manually testing, and it is working well. It is based on 2 indicators...a keltner channel, and a 360 simple moving average. It is a combination scalp/swing system, and the system rules are as follows -
Buy entry rules
Enter long with 2 trades when the price breaks above the high band of the Keltner channel. The centreline of the Keltner channel must be on or above the 360 simple moving average for an entry. The initial stoploss for both positions is at the value of the centreline of the Keltner channel.
As the trade progresses, run both stoplosses along the Keltner channel centreline to breakeven. For the scalp trade, continue to run the stoploss along the Keltner channel centreline, until the trade closes out. For the swing trade, run the stoploss along the 360 sma until the trade closes out.

Sell entry rules
Enter short with 2 trades when the price breaks below the low band of the Keltner channel. The centreline of the Keltner channel must be on or below the 360 simple moving average for an entry. The initial stoploss is for both positions is at the value of the centreline of the Keltner channel.
As the trade progresses, run both stoplosses along the Keltner channel centreline to breakeven. For the scalp trade, continue to run the stoploss along the Keltner channel centreline, until the trade closes out. For the swing trade, run the stoploss along the 360 sma until the trade closes out.

Rules for re-entry
A trade can be re-entered when the next entry signal is generated, providing the previous scalp and swing trades are at break even.

The first week I tested this system, it made well over 500 pips forthe week, and only generated 12 trades. Position size = 5% of capital per entry.

I am interested in getting this coded so we can develop an EA for the strategy. It is a trend following strategy, so will make best gains when the market is moving in one direction, but shouldn't lose very mch when the market is sideways.

Anyone who can help me with coding, please contact me either on the forum or by pm to my email address.

Cheers
Designmax
Interesting system...but it's better for u to test it min a month to make sure there's no big drawdown ...how much initial equity did u use ?

=================
Forex Indicators Collection
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-26-2007, 10:08 PM
designmax's Avatar
Junior Member
 
Join Date: Jul 2006
Posts: 10
designmax is on a distinguished road
Keltner channel breakout EA

Quote:
Originally Posted by prasxz
Interesting system...but it's better for u to test it min a month to make sure there's no big drawdown ...how much initial equity did u use ?

=================
Forex Indicators Collection
Hi Prasxz

Initial equity = 100k.
Problem is I have run manual tests on a 3 min chart using Xtick charts. With Metatrader, there is no 3 min chart, so we have to run it on a 5 min one instead.

Cheers
Designmax
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keltner Channel LazyForex Metatrader 4 14 11-27-2007 02:59 PM
Trading Hi Low Breakouts Maji Setup Questions 7 09-30-2006 12:21 AM
Shi Channel fxken Indicators - Metatrader 4 2 04-21-2006 05:37 AM
RSS channel aviar General Discussion 6 03-25-2006 04:48 PM


All times are GMT. The time now is 01:54 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.