• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 3:17pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 3:17pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

MetaTrader Backtesting questions 4 replies

MetaTrader Expert Advisor BUILDER for backtesting and auto trading 4 replies

metatrader- bad backtesting or bad broker quotations? 0 replies

Tickdata during visual strategytester modus 0 replies

MetaTrader BackTesting, Reliable or Not?? 17 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 9
Attachments: How to get 99% tickdata for metatrader backtesting?
Exit Attachments
Tags: How to get 99% tickdata for metatrader backtesting?
Cancel

How to get 99% tickdata for metatrader backtesting?

  • Last Post
  •  
  • Page 1 2
  • Page 1 2
  •  
  • Post #1
  • Quote
  • First Post: Apr 16, 2011 1:57pm Apr 16, 2011 1:57pm
  •  trade4fun
  • | Commercial Member | Joined May 2010 | 382 Posts
after lot of hardwork and study i created an EA and made 600 pips today on live testing.

however when i add the Ea to backtesting the same week i only made 25 pips.

so my live testing was better then backtesting. then i checked out the modeeling quality and saw that it was only 90% accurate.

i checked google and saw some info how to obtain 99% tickdata. i tried that method. it creates the fxt file, but the HSt files are much to small.

after i copied those over and did a backtest my modelquality went to 25%.

so my question is, how can i obtain 99% tickdata for metatrader to backcheck my EA?

and also what went wrong with the conversion?

i used the dukascopFXt script or the Jforex script to convert csv files into hst and fxt files. but it does not work.

somehow the script creates the fxt files correctly but does not add very small Hst files.

thanks

w
  • Post #2
  • Quote
  • Apr 16, 2011 2:32pm Apr 16, 2011 2:32pm
  •  Xaphod
  • Joined Mar 2010 | Status: Member | 1,380 Posts
HST files are not used anywhere in this process.

  1. Create the fxt files for the TF you want to test on. These contain tick data. Move the files to ../tester/history/. They should be write protected.
  2. Prior to running strategy tester, run the 'birt's patch.ex4' script on the symbol you intend to run the test on. I think this will prevent MT4 from creating new fxt files from the hst files with simulated data.
  3. Run your EA in strategy tester now. It should use the fxt file created by birts scripts that contain actual tick data.

 
 
  • Post #3
  • Quote
  • Apr 16, 2011 4:02pm Apr 16, 2011 4:02pm
  •  trade4fun
  • | Commercial Member | Joined May 2010 | 382 Posts
thanks a lot! Xaphod!

your the metatradergod on forexfactory!

pure genius!

bye the way sorry have no replied in other thread on the icustom stuff. but i have been so very busy and made so much progress since then.

suddenly all pieces came falling together. i can now make arrays, baskets etc.

when all is completely done i wil show you the result. i am going further working on this now.

thanks again... a lot!
 
 
  • Post #4
  • Quote
  • Apr 17, 2011 8:13am Apr 17, 2011 8:13am
  •  Xaphod
  • Joined Mar 2010 | Status: Member | 1,380 Posts
Quoting trade4fun
Disliked
thanks a lot! Xaphod!
....
suddenly all pieces came falling together. i can now make arrays, baskets etc.
Ignored
You are welcome. I'm glad you have made progress with your programming skills.

/X
 
 
  • Post #5
  • Quote
  • Apr 18, 2011 4:56am Apr 18, 2011 4:56am
  •  trade4fun
  • | Commercial Member | Joined May 2010 | 382 Posts
thanks. i didnt made 600 pips a day. it was in a week . now that i just reread my thread.

just so happy, that what i had in my mind i am now party able to do. need more study though. so that is what i am going to do

thanks
 
 
  • Post #6
  • Quote
  • Aug 7, 2013 7:34pm Aug 7, 2013 7:34pm
  •  Unit01
  • | Joined Jun 2010 | Status: Junior Member | 4 Posts
Quoting Xaphod
Disliked
... Prior to running strategy tester, run the 'birt's patch.ex4' script on the symbol you intend to run the test on ...
Ignored
Is there an alternative to Birt's patch for build 509?
 
 
  • Post #7
  • Quote
  • Aug 8, 2013 5:41am Aug 8, 2013 5:41am
  •  RaptorUK
  • Joined Jan 2008 | Status: Member | 870 Posts
Quoting Unit01
Disliked
{quote} Is there an alternative to Birt's patch for build 509?
Ignored
Yes, Tick Data Suite also by Birt but you have to buy it . . . also have a look at TickStory
20 pips a day isn't too much to ask . . .
 
 
  • Post #8
  • Quote
  • Aug 8, 2013 8:08am Aug 8, 2013 8:08am
  •  slam.dunk
  • | Membership Revoked | Joined May 2013 | 430 Posts
anybody that knows knows that backtesting does not work.

it is like learning to drive a car while looking in the rearview mirror.

i have personally written code in metatrader's backtesting module that turns 1k into billions of dollars in only a matter of months.

any coder can fit their code to yesterday's data, omg.

but go ahead and try to make your flimsy functions fit tomorrow's prices.

go ahead.

happy trading,

zero/.
contact zero 510-684-1114
 
 
  • Post #9
  • Quote
  • Aug 8, 2013 11:54am Aug 8, 2013 11:54am
  •  RaptorUK
  • Joined Jan 2008 | Status: Member | 870 Posts
Quoting slam.dunk
Disliked
anybody that knows knows that backtesting does not work. .
Ignored
It really depends on what you use it for and how you use it . . . it most certainly does work and gives useful information. If you want it to tell you garbage then yes it can be made to do that, but why do you go looking for garbage ?
20 pips a day isn't too much to ask . . .
 
 
  • Post #10
  • Quote
  • Aug 8, 2013 1:59pm Aug 8, 2013 1:59pm
  •  MaxDoom
  • | Commercial Member | Joined Feb 2010 | 13,255 Posts
Quoting RaptorUK
Disliked
{quote} It really depends on what you use it for and how you use it . . . it most certainly does work and gives useful information. If you want it to tell you garbage then yes it can be made to do that, but why do you go looking for garbage ?
Ignored
 
 
  • Post #11
  • Quote
  • Aug 8, 2013 6:40pm Aug 8, 2013 6:40pm
  •  Unit01
  • | Joined Jun 2010 | Status: Junior Member | 4 Posts
Thanks Raptor : ) Got TickStory running!

Do you know if there is a way to move backwards in MT4's Strategy Tester by a tick/candle or to start the testing at a specific time of day?
 
 
  • Post #12
  • Quote
  • Sep 4, 2013 6:41pm Sep 4, 2013 6:41pm
  •  rainwood
  • | Commercial Member | Joined Sep 2013 | 50 Posts
I don't think it's implemented. You can move the chart back with Shift+F12 but that doesn't make the already drawn candles disappear.

Neither could I find a way to start backtesting e.g. at the middle of the day.
 
 
  • Post #13
  • Quote
  • Sep 4, 2013 8:43pm Sep 4, 2013 8:43pm
  •  hao
  • | Joined Aug 2012 | Status: Trading in the zone | 454 Posts
Hello, you should sign up for an account and download a trial FXCM platforms Ninjatrader free. FXCM account you use to sign in and open Ticks chart. Strengths: Quality of integrated options, Ticks automatically run continuously update and not have to download any historical data. Important: It's free.

233T eurjpy
Attached Image (click to enlarge)
Click to Enlarge

Name: untitled.PNG
Size: 85 KB
Trading in the zone
 
 
  • Post #14
  • Quote
  • Sep 5, 2013 7:44am Sep 5, 2013 7:44am
  •  GreatForex
  • | Joined Sep 2013 | Status: Member | 13 Posts
On the subject of price feed & modelling quality!

I have an EA that works perfectly over a 5 year testing period with forex.com brokers, it trades exclusively 4H GOLD.

However, I have tried it on 20 other broker's demos, it just makes zero profit, completely different results (strange)!

Does anyone have an explanation, why on earth an EA would perform perfectly with one Broker & crash on 20 other Brokers.

The prices & spreads of the Brokers look fairly similar, nothing to cause major concern. Also, I may add the EA is not a

scalper, so not a particularly spread sensitive EA.


Can someone explain in detail: the difference in Broker prices! How they are arrived at! Importantly, how & why they effect EA performance!


MANY THANKS
 
 
  • Post #15
  • Quote
  • Sep 5, 2013 8:55am Sep 5, 2013 8:55am
  •  FerruFx
  • Joined May 2007 | Status: MT4/MT5 EAs/Indicators/Alerts coder | 6,460 Posts
Quoting GreatForex
Disliked
On the subject of price feed & modelling quality! I have an EA that works perfectly over a 5 year testing period with forex.com brokers, it trades exclusively 4H GOLD. However, I have tried it on 20 other broker's demos, it just makes zero profit, completely different results (strange)! Does anyone have an explanation, why on earth an EA would perform perfectly with one Broker & crash on 20 other Brokers. The prices & spreads of the Brokers look fairly similar, nothing to cause major concern. Also, I may add the EA is not a scalper, so not a particularly...
Ignored
Your very first concern when you test on H4 is that brokers may have different candle time.
MT4/MT5 EAs/Indicators/Alerts coder
 
 
  • Post #16
  • Quote
  • Sep 5, 2013 1:52pm Sep 5, 2013 1:52pm
  •  GreatForex
  • | Joined Sep 2013 | Status: Member | 13 Posts
''Candle Time'' interesting can you expand, on your suggestion please?

By the way, my EA relies on the ratio of Green to Red Candles to predict the next set of candle.
 
 
  • Post #17
  • Quote
  • Sep 5, 2013 3:39pm Sep 5, 2013 3:39pm
  •  RaptorUK
  • Joined Jan 2008 | Status: Member | 870 Posts
Quoting GreatForex
Disliked
''Candle Time'' interesting can you expand, on your suggestion please? By the way, my EA relies on the ratio of Green to Red Candles to predict the next set of candle.
Ignored
I don't think it's a suggestion more of a concern. D1 and H4 bars/candles are not reliable, Brokers using different timezones will have different D1 start times and also possibly different H4 start times . . . H1 and below will always have the same start times.
20 pips a day isn't too much to ask . . .
 
 
  • Post #18
  • Quote
  • Sep 5, 2013 7:19pm Sep 5, 2013 7:19pm
  •  GreatForex
  • | Joined Sep 2013 | Status: Member | 13 Posts
So, the obvious question is, if I am having success with forex.com how can I find a similar broker?
What is the criteria?
Who has the same candle time?
 
 
  • Post #19
  • Quote
  • Sep 5, 2013 8:09pm Sep 5, 2013 8:09pm
  •  FerruFx
  • Joined May 2007 | Status: MT4/MT5 EAs/Indicators/Alerts coder | 6,460 Posts
Quoting GreatForex
Disliked
So, the obvious question is, if I am having success with forex.com how can I find a similar broker? What is the criteria? Who has the same candle time?
Ignored
You have no guarantee that another broker will give the same result. Anyway, the only valid result (even on Forex . com) will be when you trade LIVE.

Your time question: you must find a broker with the same candle time (ie. GMT offset).
MT4/MT5 EAs/Indicators/Alerts coder
 
 
  • Post #20
  • Quote
  • Sep 6, 2013 3:21am Sep 6, 2013 3:21am
  •  SKovalyov
  • | Commercial Member | Joined Aug 2013 | 50 Posts
Quoting GreatForex
Disliked
Can someone explain in detail: the difference in Broker prices! How they are arrived at! Importantly, how & why they effect EA performance! MANY THANKS
Ignored
Check testing statements. Total trades number. Profit-loss series. Any difference in these statements can help you to find the reason.
 
 
  • Platform Tech
  • /
  • How to get 99% tickdata for metatrader backtesting?
  • Reply to Thread
    • Page 1 2
    • Page 1 2
0 traders viewing now
  • More
Top of Page
  • Facebook
  • X
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • X

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023