Once Profitable Hedging EA needs rescuing!

MQL4 전문가 컨설팅

명시

Hello Traders/Developers/Strategists

I worked with a developer 2 years ago to create a hedging strategy.  For 9 months, I made great money with it, and made a nice return (97%) and thought everything was working great!  (see screen shot of myfxbook performance)  Unfortunately, my strategy hit a snag and in a matter of 3 weeks, I lost all of the money I had made and then some!

After taking a lengthy break to get my motivation and confidence back, I decided to go back to testing and try to see if there is a way I can correct the issue that occurred.  I am fully aware of the limitations of using a hedging strategy... they work great in trending markets, and falter in sideways markets.  To protect against this, we built in a mechanism inside the EA to expand the parameters once the EA detects it is trapped inside a sideways market.  This has its pitfalls though as well because each trade gets larger and larger.

To keep it simple, my trades are initiated based on several conditions trying to detect momentum.  If the conditions are met, the EA places a trades in the hopes of course that the profit target is met.  If the market goes against me a certain amount, I place a trade in the opposite direction (obviously, this is what hedging is all about).  Based on my testing of several currencies from 2008-2017, 97% of the time my EA creates only 4 hedges or less.  So, getting trapped in a sideways market is statistically rare for my EA, but it does happen.  And it can get really nasty if I can't get out of this hedging trap.

So, my options are the following:

1) Scrap hedging altogether because it is impossible to figure out a way around the 3% chance that too many hedges will happen

2) Evaluate my entry strategy a bit more and determine if there are additional ways to filter out trades which are being placed during a sideways market.  This is very tough because there are many times a market can be trending with lots of momentum, and can flatten out quickly afterwards.

3) Accept that sometimes getting trapped in a sideways will happen, and determine if there are ways to better mitigate the issue.

4) Do a combination of #2 and #3

One thing that has interested my lately is the concept of AI machine learning and genetic algorithms.  Instead of trying to wrack my brain to come up with the answers on my own, maybe the EA can utilize machine learning and produce the answer on it's own?  I am certainly open to this approach and welcome anyone who knows anything about this approach.

Also, if there are any traders or developers who have faced the issues that I mention above and has experienced overcoming them, please let me know!

Trey



파일:

응답함

1
개발자 1
등급
(49)
프로젝트
134
27%
중재
62
13% / 53%
기한 초과
58
43%
무료
2
개발자 2
등급
(42)
프로젝트
70
43%
중재
6
33% / 50%
기한 초과
19
27%
무료
3
개발자 3
등급
(48)
프로젝트
80
28%
중재
8
75% / 13%
기한 초과
41
51%
무료
4
개발자 4
등급
(33)
프로젝트
35
40%
중재
11
9% / 91%
기한 초과
4
11%
무료
5
개발자 5
등급
(88)
프로젝트
120
38%
중재
19
16% / 53%
기한 초과
19
16%
바쁜
6
개발자 6
등급
(349)
프로젝트
463
51%
중재
41
24% / 49%
기한 초과
149
32%
무료
7
개발자 7
등급
(103)
프로젝트
205
41%
중재
17
29% / 71%
기한 초과
45
22%
무료
8
개발자 8
등급
(1)
프로젝트
1
0%
중재
1
0% / 100%
기한 초과
0
무료

프로젝트 정보

예산
50 - 200 USD
개발자에게
45 - 180 USD