Go Back   Forex-TSD > 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
  #401 (permalink)  
Old 05-16-2008, 06:56 AM
Junior Member
 
Join Date: Apr 2008
Posts: 23
shanyang is on a distinguished road
why optimization only test maximal 10496 cases

an EA has 4 inputs to be optimized, each input data ranges from 1 to 200, with step 1
in principle, it should generates 200*200*200*200=1600000000 cases
but metatrader only generated and optimized 10496 combination.
what's the problem? is there anything wrong with the optimization setting?
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
  #402 (permalink)  
Old 05-18-2008, 02:51 PM
jumpman's Avatar
Member
 
Join Date: May 2008
Posts: 34
jumpman is on a distinguished road
Mising part

please help me to find out, whats wrong with my chart just for usd/jpy,
there is a big gap i mean missing, how can i load the 2 years tim period?

thanks
Attached Images
File Type: jpg aaa.JPG (45.2 KB, 271 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
  #403 (permalink)  
Old 05-19-2008, 03:08 AM
Linuxser's Avatar
Forum Staff
 
Join Date: May 2006
Location: Helliconia (Summer)
Posts: 4,561
Blog Entries: 57
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Quote:
Originally Posted by jumpman View Post
please help me to find out, whats wrong with my chart just for usd/jpy,
there is a big gap i mean missing, how can i load the 2 years tim period?

thanks
This is not a gap, you have missed the data. Delete this file USDJPY240.hst, restart MT4 and download the data again.
__________________
My Blog on TSD! | subscribe Exclusive Elite | subscribe Advanced Elite section.
Get Forex signals with Rent a Signal
Forex-24H Metatrader VPS
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
  #404 (permalink)  
Old 05-19-2008, 06:18 AM
jumpman's Avatar
Member
 
Join Date: May 2008
Posts: 34
jumpman is on a distinguished road
ok, i deleted the file and restarted it again but there is the same situation,it doesn't update the file! or do i have to download by myself?

please help,
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
  #405 (permalink)  
Old 05-19-2008, 06:29 AM
jumpman's Avatar
Member
 
Join Date: May 2008
Posts: 34
jumpman is on a distinguished road
i did!!!

thanks linuxser

tools--) then f2 download the history of the pair, (the solution)
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
  #406 (permalink)  
Old 05-19-2008, 11:10 AM
Linuxser's Avatar
Forum Staff
 
Join Date: May 2006
Location: Helliconia (Summer)
Posts: 4,561
Blog Entries: 57
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Quote:
Originally Posted by jumpman View Post
i did!!!

thanks linuxser

tools--) then f2 download the history of the pair, (the solution)
Glad you could find the solution, but by deleting the data file you're forcing MT4 to re-download the data again. The way you've used to fix it is download data from Metaquotes, not from your borker.

If you have missing data it's because:

1.Your broker have a big problem.
2.Your platform is too old and because that the included data is old too and for some reason the software is not filing at all, maybe because your broker does not have that period of data.
__________________
My Blog on TSD! | subscribe Exclusive Elite | subscribe Advanced Elite section.
Get Forex signals with Rent a Signal
Forex-24H Metatrader VPS
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
  #407 (permalink)  
Old 05-19-2008, 12:10 PM
jumpman's Avatar
Member
 
Join Date: May 2008
Posts: 34
jumpman is on a distinguished road
i didin t have that problem before, when i reload my xp (format) i ve had this kind of problem since then.

Now it seems ok but i loads slower now.

we will see...
thank you
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
  #408 (permalink)  
Old 05-23-2008, 12:35 AM
Junior Member
 
Join Date: Jan 2008
Posts: 2
acfx is on a distinguished road
Objective function for optimization

After using Metatrader for optimization of trading strategies for a few months I am not happy with it for a variety of reasons and thinking about writing my own tester/optimizer in Matlab and one of the most difficult questions I am facing is: what should the objective function look like? I have identified at least three parameters I would like to include into the objective function (fixed lot trading, no money management):
1) Maximum slope of the linear regression line of the equity curve (want equity curve to be as steep as possible)
2) Minimum sum of squared residuals of the linear regression line of the equity curve (want equity curve to be as linear as possible)
3) Maximum number of trades (want to trade as often as possible while not scalping)
However I am not sure what is the best way to combine them together to form the objective function for the optimizer. Should it be something like
(slope of linear regression) * (number of trades) / (sum of squared residuals) or some other combination of exp(), ^x, log() of these parameters (no Sharpe ratio please).
Should other parameters be included?
If anyone has experience developing objective functions for trading systems and feels like sharing it I would greatly appreciate your feedback.

Last edited by acfx; 05-23-2008 at 02:00 AM.
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
  #409 (permalink)  
Old 05-23-2008, 12:09 PM
Junior Member
 
Join Date: Feb 2008
Posts: 3
belea is on a distinguished road
Exclamation Strategy Tester & current bar

Hi there,


If i try any EA.. with any indicators in it.. i will have different result from the chart and from the journal..

I pointed in RED.. the differents..

What can i do to have on chart and in the journal same value.. ?

Because when i make an EA.. i use the chart value.. and i am really confused..
Attached Images
File Type: jpg current line.JPG (711.8 KB, 196 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
  #410 (permalink)  
Old 05-23-2008, 12:35 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,869
Blog Entries: 321
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
I am not sure but I see the price for sell order and close order price on the chart and in journal and it is the same one. As to value of MACD indicator so just value in in the journal (in red) and you may see it on the chart in selarate window: it is not written but using mause it is possible).

I am not really sure but I think that standard MACD is using:

Code:
if(MacdCurrent>0 && MacdCurrent<SignalCurrent && MacdPrevious>SignalPrevious && MacdCurrent> (MACDOpenLevel*Point) && MaCurrent<MaPrevious)
It means the following:
- if MACD value of closed bar is above 0;
and
- MACD value of closed bar < Signal line value of same closed bar;
and
- MACD value of previous closed bar is above Signal line value of previous closed bar;
- MACD value of closed bar > MACDOpenLevel*Point (MACDOpenLevel is in the settings of the EA);
and so on
...

As I understand, MACD value of closed bar is value of MACD on previous bar. Because bar should be closed. Nearest close bar. Bar closed - order openes.
So, it is not the value of MACD on the same bar with your arrow on the chart. I think it is previous bar (nearest closed bar).
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: 2 (1 members and 1 guests)
piptaker
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 07:24 AM
Optimization cpu usage, need help Big Joe Indicators - Metatrader 4 4 08-16-2007 10:46 PM
Martingale Optimization pelele79 Expert Advisors - Metatrader 4 19 05-07-2007 10:27 AM
How do I use the optimization? huhenyo Metatrader 4 1 03-15-2007 09:39 AM
Optimization cardio Metatrader 4 1 01-25-2006 12:30 PM


All times are GMT. The time now is 04:22 PM.



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