EMA플러스WPRv1_1

0
(0)
이름:
EMA플러스WPRv1_1
작가: 투어18 (2011.03.30 09:24)
다운로드됨: 5067
다운로드:
 

실제 버전 : http://codebase.mql4.com/7746

Expert advisor that trade in the trend of EMA and buy/sell signals get from Williams %R

I have tried to create an Expert advisor that could by traded with 1000 EUR 시작 자본 및 손실 최소화. Hope you like it. I appreciate every feedback.

Optimized for EURUSD 5 분

I have removed some bugs, changed position sizing, you define the % of your account you want to risk on a single trade. I added simple trailing stop, if trailingStop = 0, then it is disabled.

You use it on your own risk. I am not responsible for your loss, you have to change, test and optimize it for your purpose.

입력:

extern double takeProfit      = 200;      // take profit
extern double maxStopLoss     = 50;       // stop loss

extern double maxLots         = 10;       // max lots per position
extern double maxContracts    = 2;        // max open positions, 2 is optimal for smoother equity

extern double EMA             = 144;      // EMA to identify trend
extern int    iWPRPeriod      = 46;       // Williams' Percentage Range to determine buy/sell signals
       int    iWPRretracement = 30;       // retracement of Williams' Percentage to allow next trade
extern double trailingStop    = 50;       // 후행 중지, 사용 0 to disable trailing stop
extern int    risk            = 2;        // % of account you want to risk on a trade
extern double magicNumber     = 13131;

전략 테스터 보고서

EMA플러스WPRv1_1
XTrade-MT4 Demo (짓다 229)
상징 EURUSD (유로 대 미국 달러)
기간 5 분 (M5) 2010.01.04 00:00 - 2011.02.01 23:55 (2010.01.04 - 2011.02.02)
모델 매 틱 (사용 가능한 모든 최소 시간 프레임을 기반으로 하는 가장 정확한 방법)
매개변수 takeProfit=200; maxStopLoss=50; maxLots=0.1; maxContracts=2; EMA=144; iWPRPeriod=46; trailingStop=50; risk=6; magicNumber=13131;
테스트 중인 막대 59025 진드기 모델링 7365767 모델링 품질 해당사항 없음
일치하지 않는 차트 오류 8220
초기 입금 1000.00
총 순이익 1635.88 총 이익 4478.56 총 손실 -2842.67
이익 요인 1.58 기대 보수 3.92
절대 손실 22.16 최대 드로다운 249.69 (10.77%) 상대적 손실 12.99% (188.82)
총 거래 417 짧은 위치 (이겼다 %) 198 (67.68%) 롱포지션 (이겼다 %) 219 (73.52%)
이익 거래 (% 총계의) 295 (70.74%) 손실 거래 (% 총계의) 122 (29.26%)
최대 이익 무역 67.23 손실 무역 -39.62
평균 이익 무역 15.18 손실 무역 -23.30
최고 연승 (돈의 이익) 20 (273.93) 연패 (돈의 손실) 6 (-142.17)
최대 연속 이익 (승리 횟수) 326.42 (15) 연패 (손실 수) -142.17 (6)
평균 연승 4 연패 2

EMAplusWPRv1_1 1

To use my position sizing increase the maxLots size and define the risk - how many % of your account you want to risk on a single trade.

For position sizing I use the following code:

   minAllowedLot  =  MarketInfo(상징(), MODE_MINLOT);    //IBFX= 0.10
   lotStep        =  MarketInfo(상징(), MODE_LOTSTEP);   //IBFX= 0.01
   maxAllowedLot  =  MarketInfo(상징(), MODE_MAXLOT );   //IBFX=50.00

   balance = AccountBalance();  
   ilo   =  ((균형 * 위험 / 100) / maxStopLoss); 

   lots  =  NormalizeDouble(ilo, 0) * lotStep;

   만약에 (많이 < minAllowedLot)  lots = minAllowedLot;
   만약에 (많이 > maxLots)        lots = maxLots;
   만약에 (많이 > maxAllowedLot)  lots = maxAllowedLot;

전략 테스터 보고서

EMA플러스WPRv1_1 + position sizing
XTrade-MT4 Demo (짓다 229)
상징 EURUSD (유로 대 미국 달러)
기간 5 분 (M5) 2010.01.04 00:00 - 2011.02.01 23:55 (2010.01.04 - 2011.02.02)
모델 매 틱 (사용 가능한 모든 최소 시간 프레임을 기반으로 하는 가장 정확한 방법)
매개변수 takeProfit=200; maxStopLoss=50; maxLots=10; maxContracts=2; EMA=144; iWPRPeriod=46; trailingStop=50; risk=6; magicNumber=13131;
테스트 중인 막대 59025 진드기 모델링 7365767 모델링 품질 해당사항 없음
일치하지 않는 차트 오류 8220
초기 입금 1000.00
총 순이익 4655.80 총 이익 13740.16 총 손실 -9084.36
이익 요인 1.51 기대 보수 11.16
절대 손실 22.16 최대 드로다운 1139.43 (28.08%) 상대적 손실 28.08% (1139.43)
총 거래 417 짧은 위치 (이겼다 %) 198 (67.68%) 롱포지션 (이겼다 %) 219 (73.52%)
이익 거래 (% 총계의) 295 (70.74%) 손실 거래 (% 총계의) 122 (29.26%)
최대 이익 무역 268.93 손실 무역 -256.75
평균 이익 무역 46.58 손실 무역 -74.46
최고 연승 (돈의 이익) 20 (353.21) 연패 (돈의 손실) 6 (-354.36)
최대 연속 이익 (승리 횟수) 1466.13 (15) 연패 (손실 수) -664.91 (4)
평균 연승 4 연패 2

EMAplusWPRv1_1 2

 

9 코멘트 새 댓글을 게시하려면, 제발 로그인 또는 등록하다

genial!!!!!

01.06.2011 06:11 ea20102010

EMAplusWPRv1_1 3
19.05.2011 01:16 Pityka888

but its a great job m8

03.05.2011 20:32 zaratrau

with me doesnt work at all

03.05.2011 20:20 zaratrau

안녕하세요, congratulations for your EA, I am already using it on real, however with 500 usd start deposit. It is doing ok so far for a month and a half.

The new version, 그럼에도 불구하고, will not open trades correctly, it will start with 0.01 많은, Broker STS Finance, and will not increase it. Please vefify this it might be just a little bug 🙂

제안: You might include MACD 4H filter, and open trades only in the direction of relationship of Convergence/divergence bars and signal line. This is only suggestion not mandatory, the EA worsk ok so far as I said.

건배,

Vladimir Draganov

[email protected]

11.04.2011 20:19 vlddrg

Can i ask you, how can i set my own lot size with this EA.

I am a beginner so i hope some one can teach me, 감사합니다.

31.03.2011 21:22 nomis

안녕,

thanks for new version.

you should make a backtest from 2011.02.02 ~에, because the last version made only losses since then.

Re

31.03.2011 09:21 KlamseN

the trailingStop does not trail at all
30.03.2011 14:06 razoff

안녕

Can you help me to create a Bollinger Bands and Stochastic in 1 scripts ?

so that i can use it in my expert advisor

이 게시물이 얼마나 유용했나요??

평가하려면 별표를 클릭하세요.!

평균 평점 0 / 5. 투표수: 0

현재까지 투표가 없습니다! 이 게시물을 가장 먼저 평가해 보세요..

이 게시물이 귀하에게 도움이 되지 못했다니 죄송합니다!

이 게시물을 개선해 보겠습니다.!

이 게시물을 개선할 수 있는 방법을 알려주세요.?



작가: 외환 위키 팀
우리는 경험이 풍부한 Forex 트레이더 팀입니다. [2000-2023] 우리 자신의 조건에 따라 삶을 살기 위해 헌신하는 사람들. 우리의 주요 목표는 재정적 독립과 자유를 얻는 것입니다., 우리는 자기 교육을 추구하고 Forex 시장에서 자립 가능한 라이프 스타일을 달성하기 위한 수단으로 광범위한 경험을 얻었습니다..