Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register More recent Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

View Poll Results: What Data would help develop your system?
M5 4 44.44%
M15 0 0%
M30 1 11.11%
H1 2 22.22%
H4 0 0%
Other 2 22.22%
Voters: 9. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #671 (permalink)  
Old 07-12-2009, 04:04 PM
Junior Member
 
Join Date: Apr 2009
Posts: 7
tradability is on a distinguished road
Your EA

Quote:
Originally Posted by renatops View Post
Try the EA I posted here to see how unreliable a strategy tester can be.

Porralouca

Renato
Can you post results of your EA please for me to examine as I was not able to work with the EA.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #672 (permalink)  
Old 07-29-2009, 10:05 AM
Junior Member
 
Join Date: Jul 2009
Posts: 1
ti63r_fx is on a distinguished road
Question Need Help,,4 BackTesting My EA

Hallo everybody,

I am Newbie in FOrex,

Few day Ago, I have Finished My EA it Called Ti63r_fx EA

This EA is VEry SImple..

The Rule Of My EA :
1.Attach In EUR/USD
2.Setting TP 10 SL 0
3.Just Trade in OPen MArket TIme

But I don't Know How TO BAcktesting it..

so

Can You Backtesting My EA For Look How Much The PROFit can Made?


And I ATtach My EA ..


I NEed More Advice

Thanks Before..
Attached Files
File Type: ex4 ti6er_fx-EA.ex4 (5.4 KB, 76 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #673 (permalink)  
Old 08-01-2009, 08:12 PM
nix nix is offline
Senior Member
 
Join Date: Aug 2006
Posts: 132
nix is on a distinguished road
Optimizing (not curve fitting) a profitable EA

Does anyone have experience in optimizing profitable EAs in order to adopt them to the ever changing forex market? I'm not talking about curve fitting an EA to look good in a backtest.

I have an EA which I designed to reflect my trading style. It uses some basic MT4 indicators and price action to dynamically calculate SL and TP levels plus filter choppy markets to lower the number of bad trades. The EA performs nicely, but sometimes it takes trades which I would not take because the market is choppy.

I use the ATR and CCI indicators as a filter and these are the parameters I would like to optimize on a regular basis - this is where my questions begin:

1. How often should an EA be optimized to offer best performace?
2. How much data should be analyzed by the optimizer?
3. Which optimizer results should be chosen?
4. Should All parameters (there are 3) be optimized at once or
would it be better to optimize them in pairs or one by one?

BTW: I've optimized the EA about 1 month ago and the past month has been profitable. I'm wondering if I should re-optimize it with last month's data or leave it as is, but for how long?
__________________
NiX @ www.mt4.pl

Last edited by nix; 08-01-2009 at 08:17 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #674 (permalink)  
Old 08-02-2009, 04:50 AM
Member
 
Join Date: Aug 2008
Posts: 50
doshur is on a distinguished road
What is your time frame?

For me, I'm using H1 and I optimized with 13 weeks of data.
It actually depends on the trading style to optimize all or one parameter at a time.

for me, i optimize one at a time
__________________
http://www.doshur.com/forex/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #675 (permalink)  
Old 08-02-2009, 01:24 PM
nix nix is offline
Senior Member
 
Join Date: Aug 2006
Posts: 132
nix is on a distinguished road
Quote:
Originally Posted by doshur View Post
What is your time frame?
I use 5M. How often do you optimize your EA?
__________________
NiX @ www.mt4.pl
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #676 (permalink)  
Old 08-02-2009, 04:47 PM
Member
 
Join Date: Aug 2008
Posts: 50
doshur is on a distinguished road
Quote:
Originally Posted by nix View Post
I use 5M. How often do you optimize your EA?
every weekend
__________________
http://www.doshur.com/forex/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #677 (permalink)  
Old 08-04-2009, 07:24 AM
calcowboy's Avatar
Junior Member
 
Join Date: Oct 2008
Posts: 10
calcowboy is on a distinguished road
Backtesting

Lot of people back testing years but I think it's not going to help us. Because market situation wasn't same as now and end of the year and begining of year is not good for testing or trading.
Therefore, I'd like to backtest and optimize EAs with 1-3 monthes only.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #678 (permalink)  
Old 08-04-2009, 02:53 PM
Junior Member
 
Join Date: Jun 2006
Posts: 4
Sonofortunato is on a distinguished road
EA Backtest works but EA on Demo Account not ...

Hi traderz,

I have an EA which runs perfectly on Backtest, but after attaching it to the demo account chart (same client) nothing happens.

Everything is OK. No journal or expert messages.
Silence.
Except the message, the expert was loaded successfully.

Stops are OK.
It's anought paper money on the account.
Autotrade enabled, etc.

Only silence. I get crazy.

Any idea? Thx 4 u r help


My opinion:
I guess the broker (FXCM) disabled EA's for the Symbol AUDNZD.

Last edited by Sonofortunato; 08-04-2009 at 05:14 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #679 (permalink)  
Old 08-05-2009, 09:05 PM
nix nix is offline
Senior Member
 
Join Date: Aug 2006
Posts: 132
nix is on a distinguished road
I also optimize my EA with about 2 - 3 months of data. This usually gives me good settings for the following week. I've also noticed that live trading is almost perfectly resembled on a back test - unfortunately slippage and spread changes are not taken into account. I don't mind the slippage, but MT4 should register spread changes along with tick data.

There is also another thing that sucks; demo account feed is different from real account feed (at least for my broker) so I'm forced to "pay" for my live testing.

Live feed:


Demo feed:
__________________
NiX @ www.mt4.pl
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #680 (permalink)  
Old 08-05-2009, 10:06 PM
Junior Member
 
Join Date: Feb 2009
Posts: 2
dedalo is on a distinguished road
Help about EA after open trades

Hi guys.

I would want an aid for a script program to insert after the start and open discretional trades

After I have opened an order at the market of SELL or BUY,
I want to activate a script program for

CASE A - AFTER I HAVE SOLD:
a1) when the price arrives to -14 from the ask:
I insert the stop to -6 from the OpenPrice
I insert the take profit to -40 from the OpenPrice

a2) when the price arrives to +8 from the ask:
I insert the stop loss to +250 from the OpenPrice
I insert the take profit to -5 from the OpenPrice


CASE B - AFTER I HAVE BOUGHT:
b1) when the price arrives to +14 from the bid:
I insert the stop to +6 from the OpenPrice
I insert the take profit to +40 from the OpenPrice

b2) when the price arrives to -8 from the bid:
I insert the stop loss to -250 from the OpenPrice
I insert the take profit to +5 from the OpenPrice


This EA, not work.

Why?

Thanks in advance


Quote:
#property copyright "Mark 2009"
#property link "winken@inwind.it"

extern bool Scalper_mode = TRUE;

extern int digitPips = 0;

extern int DistanceUp_Buy=14;
extern int SL_Up_Buy=6;
extern int TP_Up_Buy=40;

extern int DistanceDown_SELL=14;
extern int SL_Down_SELL=6;
extern int TP_Down_SELL=40;


extern int DistanceDown_Buy=-9;
extern int SL_Down_Buy=250;
extern int TP_Down_Buy=5;


extern int DistanceUp_SELL=-9;
extern int SL_Up_SELL=250;
extern int TP_Up_SELL=5;




extern

int init() {
return (0);
}

int deinit() {
return (0);
}

int start() {

int digitPips = MarketInfo(OrderSymbol(),MODE_DIGITS);
double point = MarketInfo(OrderSymbol(),MODE_POINT);
double PointRatio = 1;
if (digitPips==3 || digitPips==5) PointRatio = 10;

int ordine;
if (Scalper_mode) {
for (int q = 0; q < OrdersTotal(); q++) {
//OrderSelect(q, SELECT_BY_TICKET, MODE_TRADES);
OrderSelect(q, SELECT_BY_POS, MODE_TRADES);

ordine = OrderType();

int profit=OrderProfit();


if (OrderSymbol() == Symbol()) {

if (ordine == OP_BUY && (Bid-OrderOpenPrice()>Point*DistanceUp_Buy)) {
OrderModify(OrderTicket(),OrderOpenPrice(),Normali zeDouble(OrderOpenPrice()+SL_Up_Buy*Point, digitPips),NormalizeDouble(OrderOpenPrice()+TP_Up_ Buy*Point, digitPips),0,Blue);
return (0);
}
if (ordine == OP_SELL && (OrderOpenPrice()-Ask)>(Point*DistanceDown_SELL)) {
OrderModify(OrderTicket(),OrderOpenPrice(),Normali zeDouble(OrderOpenPrice()-SL_Down_SELL*Point, digitPips),NormalizeDouble(OrderOpenPrice()-TP_Down_SELL*Point, digitPips),0,Red);
return (0);
}


if (ordine == OP_BUY && (Bid-OrderOpenPrice()<Point*DistanceDown_Buy)) {
OrderModify(OrderTicket(),OrderOpenPrice(),Normali zeDouble(OrderOpenPrice()+SL_Down_Buy*Point, digitPips),NormalizeDouble(OrderOpenPrice()+TP_Dow n_Buy*Point, digitPips),0,Blue);
return (0);
}
if (ordine == OP_SELL && (OrderOpenPrice()-Ask)<(Point*DistanceUp_SELL)) {
OrderModify(OrderTicket(),OrderOpenPrice(),Normali zeDouble(OrderOpenPrice()-SL_Up_SELL*Point, digitPips),NormalizeDouble(OrderOpenPrice()-TP_Up_SELL*Point, digitPips),0,Red);
return (0);
}
//END MODIFY
}
}
}
Comment("nScalper MarknSupport TP & SLnThis EA is FREEnAuthor: Mark");
return (0);
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
back testing, backtesting, bug, data, EURUSD1.hst, expert, forex, forex optimization, metatrader optimization, mistake;ea;test, MT4 optimization, optimization, ROBOT, strategy tester, test


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Phoenix optimization Prankie Phoenix 173 10-17-2007 08:24 AM
Optimization cpu usage, need help Big Joe Indicators - Metatrader 4 4 08-16-2007 11:46 PM
Martingale Optimization pelele79 Expert Advisors - Metatrader 4 19 05-07-2007 11:27 AM
How do I use the optimization? huhenyo Metatrader 4 1 03-15-2007 10:39 AM
Optimization cardio Metatrader 4 1 01-25-2006 01:30 PM


All times are GMT. The time now is 04:44 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.