The ‘Hedge’ Rocks Expert Advisor for MT4 - page 2

 

Strategy Explained

BigBoppa:
hi onealpha,

yes, your code is ok, i made a mistake and edited my post after detecting. Do you have a link or explaination of the strategy?

It is hard to get through the code without knowing the strategy, there are too many arrays to keep in mind...

i know your ea hedges a major currency position with minor currency positions.

is it "only" hedge because of correlation or is it a ring like the FPI of Michal Kreslik?

When will ea close position? At TP/SL only? When to close hedge?

Thank you again!

bbop

I started a blog Onealpha’s Weblog and try to copy any posts that are informative.

You could do a search for Hedge-trading strategy, specifically "FR" (I don't want to utter the words for a number of reasons.

 

Thank you again,

i found everything at your weblog! .

Great work!

bbop

 

Well, I forward test it on 2 accounts and results are disastrous...

Both started with 2500$ balance, I edited EA to lower grab profit (was about 23$ and stop loss at ~54$).

on CHF was left in balance ~1000$ and for JPY ~2000 so , yes, is working better on JPY

But can't get any profit from it...

 

Hi,

When i try this EA with a IBFX mini account, I get an error "zero divide". The EA works fine with a standard account.

If anybody could help me with that, it would be great.

Thanks

 

This thread is kind of dead ! Sadly because I love this EA. To thanks OneAlpha, I will post updates on my trading with this EA.

Since 03/31/2008, my results are : Rollover premium : 226.82 $ with 0.1% of margin

Deposit/Withdrawal: 5 000.00

Credit Facility: 0.00

Closed Trade P/L: 3 134.40

Floating P/L: -1 214.62 Margin: 774.63

Balance: 8 134.40

Equity: 6 919.78

Free Margin: 6 145.15

Details:

Gross Profit: 6 520.97

Gross Loss: 3 386.57

Total Net Profit: 3 134.40

Profit Factor: 1.93

Expected Payoff: 17.71

Absolute Drawdown: 0.00

Maximal Drawdown: 813.33 (11.66%)

Relative Drawdown: 11.66% (813.33)

Total Trades: 177

Short Positions (won %): 86 (72.09%)

Long Positions (won %): 91 (85.71%)

Profit Trades (% of total): 140 (79.10%)

Loss trades (% of total): 37 (20.90%)

Largest profit trade: 712.65 loss trade: -664.80

Average profit trade: 46.58 loss trade: -91.53

Maximum consecutive wins ($): 43 (795.30)

consecutive losses ($): 7 (-226.27)

Maximal consecutive profit (count): 921.42 (11)

consecutive loss (count): -729.22 (3)

Average consecutive wins: 7

consecutive losses: 2

 

New month, new stats

Since 03/31/2008, the rollover premium is : 282.75 $ with 10% of margin

Deposit/Withdrawal: 5 000.00

Credit Facility: 0.00

Closed Trade P/L: 3 580.37

Floating P/L: -1 604.34

Margin: 835.95

Balance: 8 580.37

Equity: 6 976.03

Free Margin: 6 140.08

Details:

Gross Profit: 6 966.94

Gross Loss: 3 386.57

Total Net Profit: 3 580.37

Profit Factor: 2.06

Expected Payoff: 17.99

Absolute Drawdown: 0.00

Maximal Drawdown: 837.80 (12.01%)

Relative Drawdown: 12.01% (837.80)

Total Trades: 199

Short Positions (won %): 102 (76.47%)

Long Positions (won %): 97 (86.60%)

Profit Trades (% of total): 162 (81.41%)

Loss trades (% of total): 37 (18.59%)

Largest profit trade: 712.65 loss trade: -664.80

Average profit trade: 43.01 loss trade: -91.53

Maximum consecutive wins ($): 43 (795.30)

consecutive losses ($): 7 (-226.27)

Maximal consecutive profit (count): 921.42 (11)

consecutive loss (count): -729.22 (3)

Average consecutive wins: 8 consecutive losses: 2

 

well, i'm intersted too in this EA but it didn't stand long enough,

could u tell us your setting and which broker do u test the EA with ??

 

Two tests - one with FXDD (5000$ account) and one with interbankfx (1000$) to see how the EA will react with micro lots.

settings :

Files:
hedgevar.gif  9 kb
 

how do u test it on interbank,i tried it before and it refused,could u upload the version that u r using.

as i remember i tested it a long time ago on a ceratin broker platform,it done well at first but later it was losing,on time frame 15 m ,and there was a lot of messages puping up every second.

 

I was out on vacations so I didn't have time to check this thread.

You can find the version I use for IBFX micro account attached (smalls modifications in the size of the lots, name of the pairs etc...).

Also, a small board to resume the performances of the ea since april 2008.

Regards

Files:
hedge.gif  6 kb
hedge_rocks.mq4  58 kb
Reason: