Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4






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
 
Thread Tools Display Modes
  #1 (permalink)  
Old 12-06-2006, 12:17 PM
Member
 
Join Date: Jan 2006
Posts: 48
lmx2000 is on a distinguished road
Daily high-low break system EA need help

I have an idea to develop a "Daily high-low break system EA",detail as below:

1.EA works only on GBPUSD,because this pair moves big,of couese can use on other pairs but I think the result will not so good.

2.An indicator shows the previous day's high and low.Today when price go up and break the "high" we go long and if there is already a "short" order exist,we should first close it.The same method,When price go down and berak the "low" we go short and if there is already a "long" order exist we also should close it at first.(We
do not care how much pips we will lost when we close the order)

3.For example,we have a "long" order in about 1.8938 in NOV.20,price go up and up,in DEC.05 in about 1.9708 the price break the "low" line and we close the "long" order with the profit=1.9708-1.8938=770 pips. At the same time we open the "short" order at 1.9708 and wait for the price go up and break the "high" line.

4.I just write a small "EA" for this method(just some basic function and I am not a programmer),but there are lots of improvement should be done,I post all the related file here,hope skillful programmer can help me to finish it.Thanks in advance!

5.The file dayHL.mq4 is the indicator, it will show previous day's high and low on the chart,default is 1000 bar,but you can change it to 100000.The file DayHL_EA.mq4 is the unfinished EA.
Attached Images
File Type: jpg GBPUSD_4H_20061206.jpg (49.9 KB, 610 views)
Attached Files
File Type: mq4 DayHL_EA.mq4 (2.4 KB, 233 views)
File Type: mq4 dayHL.mq4 (3.2 KB, 234 views)

Last edited by lmx2000; 12-06-2006 at 12:28 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 12-06-2006, 12:25 PM
Member
 
Join Date: Jan 2006
Posts: 48
lmx2000 is on a distinguished road
And I think we should use the H1 period,the order's open price is the close of the 1H bar.When price close above the "high" line we go long and when price close below the "low" line we go short.By this method,we can confirm the trend is the real one,just eliminate some "shake" of the price.

And we can see that at the every moment there will be only one order floating
maybe long order or maybe the short one.

We do not open 2 orders at the same direction,just one!One by one,long--->short--->long----->short.

Sorry for my poor english,not my mother lanauage .

Waiting for your good news!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 12-06-2006, 01:00 PM
Senior Member
 
Join Date: Dec 2005
Posts: 142
trevman is on a distinguished road
Quote:
Originally Posted by lmx2000
And I think we should use the H1 period,the order's open price is the close of the 1H bar.When price close above the "high" line we go long and when price close below the "low" line we go short.By this method,we can confirm the trend is the real one,just eliminate some "shake" of the price.
the picture you gave has open and clsoe defined as the shadows, but i think it will be better to do it as close of the candle. it seems to be a good indicator of trend change but due to the size between high/lows it could lose more than it makes, maybe using the previous high/low as a trailing stop would help preserve profit. so when the price hits the line it closes, when the candle closes and crosses the line a new trade is made.
__________________
There is no candle.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
break, daily high low ea

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
daily high/low channel hoene003 Indicators - Metatrader 4 23 06-06-2009 10:37 PM
25-min Statistical High/Low Scalping System... forextrades Metatrader 4 14 02-08-2008 07:53 AM
Daily ASC Trend system returned +766 pips in Jan kiwifxguy Suggestions for Trading Systems 12 04-02-2007 01:50 AM
Break Out Indicator or System amarnath Suggestions for Trading Systems 6 10-11-2006 10:15 AM
Break through system manager Suggestions for Trading Systems 3 03-13-2006 11:16 AM


All times are GMT. The time now is 03:34 AM.



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