View Single Post
  #1 (permalink)  
Old 12-06-2006, 12:17 PM
lmx2000 lmx2000 is offline
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, 615 views)
Attached Files
File Type: mq4 DayHL_EA.mq4 (2.4 KB, 235 views)
File Type: mq4 dayHL.mq4 (3.2 KB, 239 views)

Last edited by lmx2000; 12-06-2006 at 12:28 PM.
Reply With Quote