View Single Post
  #20 (permalink)  
Old 04-25-2006, 04:45 PM
gkozlyk's Avatar
gkozlyk gkozlyk is offline
Senior Member
 
Join Date: Feb 2006
Posts: 202
gkozlyk is on a distinguished road
OK, here are the EA's from the original thread and settings/what they do. Now i was not part of the original process, however I would like to see an EA created that executes trades just like i have been doing manually with great success. For more info, answer to specific EA questions, and all credit due, goes to the original thread on post #1 of this thread. Support for these EAs are for resource purposes only, but are not supported or maintained here, only used as a reference. Below i post the EA name, post # and the blurb on that post. Enclosed is a .zip of all the EAs.

On to the EAs:

------------------- HedgeTest.mq4 --- post #2
http://www.strategybuilderfx.com/for...55&postcount=2
Attached is an indicator which you can use to visually see how it would look on a chart.
If the RED or BLUE line is broken through by a tick it means the BUY/SELL LIMIT was reached. I use a 1 hour chart to view it on.

Variables:
Offset=14; - Number of pips above/below days open price
TimeZoneOfData=0; - by default if time zone of data is at GMT 0 (timezone of your trading account

------------------- HedgeHog 1.0.mq4 --- post #40
http://www.strategybuilderfx.com/for...5&postcount=40
DO NOT USE THIS EA IN LIVE OR DEMO TRADING - IT IS NOT WORKING YET!!!
I have attached a "rough draft" of an EA and the MAJOR problem I'm having at the moment is getting it to initiate a trade at 00:00 GMT
1) It is picking and choosing what days it wants to trade and not doing it every day at 00:00 GMT
2) Is not entering both a BUY and a SELL
Any of you programers out there - help would be appreciated!!!!
Here is the routine that works when it wants to (testing dates 1/2/06 through 1/31/06 with 15min data)
if (TimeHour(Time[0])==0+BrokerOffsetToGMT && TimeMinute(Time[0])==0)
{
EnterSell();
EnterBuy();
}
------------------- HedgeHog.mq4 --- post #82
http://www.strategybuilderfx.com/for...5&postcount=82
There is the EA. But backtesting doesn't seem to be profitable.

------------------- HedgeHog v1.1.mq4 --- post #88
http://www.strategybuilderfx.com/for...5&postcount=88
There is original EA with implemented stoploss.
***Now this is the one that i found has the best performance, as it is purely the hedge trader with stoploss ***

------------------- HedgeHogUltra v1.1.mq4 --- post #95
http://www.strategybuilderfx.com/for...5&postcount=95
There is EA for your ULTRA strategy. I used stop orders instead market. There are 2 opportunities to close opposite order when one is triggered. You can choose PO_mode:
0 - close when opposite is actived
1 - close at 23:55
There is no adjustment for different broker settings of time, so if you use it on the platform with another time than GMT, you have to change time settings.

***Based on Strategy found on post #87. This trader uses the Ultra Strategy, which doesn't do initial hedge, but rather bracket style trading (entry buy stop and sell stop). Good idea, but maybe as an option for the future. ***

------------------- HedgeHog_v1.3.mq4 --- post #104
http://www.strategybuilderfx.com/for...&postcount=104
Initiates market orders (not pending) at the time specified under the EA's properties.

CHANGES:

It only initiates 1 trade at the specified time. It uses a 5M Parabolic SAR to determine the direction which to place the trade (BUY/SELL). This at least gives us a fighting chance of being right.

Trailing Stop: This not only helps on trades going our way, but can reduce the STOP LOSS we end up being stuck with.

Settings:
StartHr=0; // Start hour to initiate trade
StartMin=30; // Start minute to initiate trade
StopLoss=75;
TakeProfit=20;
Lots=1;
DaysOfClose=2; // how many days before closing open orders
TS_Mode=1; // use trailing stop 0=NO 1=YES 2=TS Only
TS_Trigger=5;
TS_Sensitivity=5;

*** This one executes 1 trade based on PSar, so not a hedge system anymore. That is why i stuck with v1.1 ***

-----------------------
I hope that helps our cause. And lastly, as i was trolling the other thread for info, i found MoneyQuest's results on the Eur/Usd for Feb and March. Here are the stats, the trading log is enclosed under "Hedge Hog Trading Results.zip".
Original post is here: http://www.strategybuilderfx.com/for...&postcount=234
Here is a summary of his results:

No of wins:22
No of losses:5
% win:81.5
Total profit:700 pips
Total losses:192 pips
Profit factor:3.65
Max No of consecutive win:8
Max No of consecutive losses:1
Maximum drawdown:90 pips
Maximum lots traded:6

His results do confirm the same results i have been getting as well. So i hope you guys enjoy the data
Attached Files
File Type: zip hedge hog trading result.zip (6.3 KB, 305 views)
File Type: zip Hedgehog EAs.zip (8.0 KB, 333 views)

Last edited by gkozlyk; 04-25-2006 at 05:02 PM.
Reply With Quote