EMAplusWPR_V2

0
(0)

> I see nothing free on your site

This line not my post but if you look here there are free source code EA's

And here are free compiled EA's, indis and tools

No email or registration required, just download

FWIW

-BB-

04.08.2011 10:51 BarrowBoy

Needs a Trading Hours filter as found in this LiveAlligator 101 - working example of an intraday/swing trading EA - original author is Rustein

Also ECN handling would be an idea and 'reliable order handling'

FWIW

-BB-

04.08.2011 00:58 BarrowBoy

Name:
EMAplusWPR_V2
Author: gery18 (2011.08.03 17:53)
Rating: 10
Downloaded: 19340
Download:
EMAplusWPR_V2 1
 EMAplusWPR_V_2.mq4 (12.1 Kb) View
 

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 starting equity and to minimize the drawdown. Hope you like it. I appreciate every feedback.

Optimized for EURUSD 5 min

I have removed some bugs, removed position sizing, add some inputs.

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.

have not optimized itold versions:

http://codebase.mql4.com/7348

http://codebase.mql4.com/7458

 

inputs:

extern string    separator1 = "------trend settings------";
extern bool      useEMAtrend = true;               // trade in EMA trend
extern int       barsInTrend = 1;                  // how many bars should be in trend
extern double    EMAtrend = 144;                   // EMA period for trend

extern string    separator2 = "------WPR settings------";
extern double    iWPRPeriod = 46;                  // WPR period for enter and exit
extern double    iWPRRetracement = 30;             // minimal retracement for WPR to allow another trade
extern bool      useWPRExit = true;                // use exit with WPR indicator

extern string    separator3 = "------position settings------";
extern double    lots = 0.1;                       // fixed lot size
extern int       maxTrades = 2;                    // max trades allowed for pyramiding
extern double    stop_loss = 50;                   // stop loss
extern double    take_profit = 200;                // take profit
extern bool      useTrailingStop = false;          // use trailing stop
extern double    trailing_stop = 10;               // trail stop loss
extern bool      useUnprofitExit = false;          // exit trade when trade was not in profit in defined amount of bars
extern int       maxUnprofitBars = 5;              // amount of bars not in profit
6 comments  To post a new comment, please log in or register

i risultati esposti sono molto buoni.......h o scaricato, ma non riesco a farlo funzinare con i parametri default.......quancuno mi aiuta??'

GRAZIE MILLE

27.07.2012 21:02 pasqui

Did you write this Code? I am trying to find someone that can write a similar EA for me. I have the concept but do not know how to write the code.
16.02.2012 15:17 gator

indeed is profitable but needs optimization

22.10.2011 22:45 barauskasjustin

EMAplusWPR_V2 2

DEFAULT SETTINGS

Symbol EURUSDFXF (Euro vs US Dollar)
Period 5 Minutes (M5) 2007.03.30 17:01 - 2011.09.30 00:59 (2007.01.01 - 2011.06.20)
Model Every tick (the most precise method based on all available least timeframes)
Parameters separator1="------trend settings------"; useEMAtrend=true; barsInTrend=1; EMAtrend=144; separator2="------WPR settings------"; iWPRPeriod=46; iWPRRetracement=30; useWPRExit=true; separator3="------position settings------"; lots=0.1; maxTrades=2; stop_loss=50; take_profit=200; useTrailingStop=false; trailing_stop=10; useUnprofitExit=false; maxUnprofitBars=5; magicNumber=13131;
Bars in test 335572 Ticks modelled 34632921 Modelling quality 99.00%
Mismatched charts errors 0
Initial deposit 10000.00
Total net profit 3924.40 Gross profit 32367.40 Gross loss -28443.00
Profit factor 1.14 Expected payoff 1.64
Absolute drawdown 376.60 Maximal drawdown 1261.60 (8.53%) Relative drawdown 8.53% (1261.60)
Total trades 2399 Short positions (won %) 1100 (65.45%) Long positions (won %) 1299 (69.44%)
Profit trades (% of total) 1622 (67.61%) Loss trades (% of total) 777 (32.39%)
Largest profit trade 136.60 loss trade -54.80
Average profit trade 19.96 loss trade -36.61
Maximum consecutive wins (profit in money) 30 (287.20) consecutive losses (loss in money) 12 (-599.60)
Maximal consecutive profit (count of wins) 455.80 (18) consecutive loss (count of losses) -599.60 (12)
Average consecutive wins 4 consecutive losses 2

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.