- Beranda
- Komunitas
- Pemrograman
- Do MetaQoutes fake the historical data ?
Edit Komentar Anda
Do MetaQoutes fake the historical data ?
Menjadi Anggota Sejak Jul 11, 2013
16 postingan
Aug 18, 2014 at 15:23
Menjadi Anggota Sejak Jul 11, 2013
16 postingan
I just don't understand it...
I've programmed a set of EAs and optimized it on MetaQoutes data from 2000 to 2015.
Results were great - about 2.3 PF and 10000%
Then I tested it on Alpari data - PF is 1.2 and 300% gain only.
How do you explain such a huge difference?
I've programmed a set of EAs and optimized it on MetaQoutes data from 2000 to 2015.
Results were great - about 2.3 PF and 10000%
Then I tested it on Alpari data - PF is 1.2 and 300% gain only.
How do you explain such a huge difference?
forex_trader_25447
Menjadi Anggota Sejak Dec 21, 2010
127 postingan
Aug 19, 2014 at 04:24
Menjadi Anggota Sejak Dec 21, 2010
127 postingan
Here are some reason for different results on tests :
1. Each broker use different source of quote, the history data can be different,
but they must be almost the same, in range of few pips.
2. Each broker use different server (symbol) settings,
those your program can work a bit differently.
3. If You program use high leverage and/or low target (scalping),
and with combination of the above, the result can be extremely different.
1. Each broker use different source of quote, the history data can be different,
but they must be almost the same, in range of few pips.
2. Each broker use different server (symbol) settings,
those your program can work a bit differently.
3. If You program use high leverage and/or low target (scalping),
and with combination of the above, the result can be extremely different.
Menjadi Anggota Sejak Jul 11, 2013
16 postingan
Aug 19, 2014 at 06:55
Menjadi Anggota Sejak Jul 11, 2013
16 postingan
Thanks.
1. Ok that would cause a little difference but not huge like I see.
2. What do you mean?
3. It doesnt use high leverage or low target. So that's not a reason.
I forgot to mention that my EAs work on M15 / M5 bars open only so I don't need ticks data.
1. Ok that would cause a little difference but not huge like I see.
2. What do you mean?
3. It doesnt use high leverage or low target. So that's not a reason.
I forgot to mention that my EAs work on M15 / M5 bars open only so I don't need ticks data.
forex_trader_25447
Menjadi Anggota Sejak Dec 21, 2010
127 postingan
Aug 19, 2014 at 09:24
Menjadi Anggota Sejak Dec 21, 2010
127 postingan
You say, made tests on Alpari.
As I know , Alpari apply FIFO rule
( important, when there is more than one open order ).
If your program do not work this way, you have to make it !!!
... or select other broker.
As I know , Alpari apply FIFO rule
( important, when there is more than one open order ).
If your program do not work this way, you have to make it !!!
... or select other broker.
Menjadi Anggota Sejak Jul 11, 2013
16 postingan
Aug 19, 2014 at 10:09
Menjadi Anggota Sejak Jul 11, 2013
16 postingan
Thanks. Can you explain how the FIFO rule will change the results?
I do have more than one open orders and I also have shorts and longs on the same time.
I did notice that on Alpari the backtesting ends with half the number of orders.
But I also tried to use Alpari data on FXCM MT4 and the results were still poor.
I do have more than one open orders and I also have shorts and longs on the same time.
I did notice that on Alpari the backtesting ends with half the number of orders.
But I also tried to use Alpari data on FXCM MT4 and the results were still poor.
forex_trader_25447
Menjadi Anggota Sejak Dec 21, 2010
127 postingan
Aug 19, 2014 at 11:51
Menjadi Anggota Sejak Dec 21, 2010
127 postingan
Simply :
1. You can open orders as usually, even opposite, if hedging possible ( this is other rule ).
2. You must close the most old order first ( First In First Out )
If you made request to close some other order,
this is not error, but there will be nothing done ( OrderClose() will return false ).
Result is : less total orders on test ; less closed profit ; more floating loss
1. You can open orders as usually, even opposite, if hedging possible ( this is other rule ).
2. You must close the most old order first ( First In First Out )
If you made request to close some other order,
this is not error, but there will be nothing done ( OrderClose() will return false ).
Result is : less total orders on test ; less closed profit ; more floating loss
Menjadi Anggota Sejak Nov 21, 2011
1601 postingan
Aug 19, 2014 at 16:29
Menjadi Anggota Sejak Nov 21, 2011
1601 postingan
Backtesting M15 or M5... or D1 doesn't mean you don't need tick data!
forex_trader_28881
Menjadi Anggota Sejak Feb 07, 2011
691 postingan
Aug 23, 2014 at 18:57
(diedit Aug 23, 2014 at 19:24 yang lalu)
Menjadi Anggota Sejak Feb 07, 2011
691 postingan
MT will give a different result on the same data depending if you're online or offline. It will give a different result on a different machine which uses a different processor. It does make up data if it doesn't have any. And it goes almost without saying it will give a different result on different brokers.
I've never been able to match a days trading to a back test for the same period.
So the MT back testing you can throw in the dustbin. Don't waste your time. It's got little use other than to see if the code more or less works.
Depending your skill level you'd be much better off using Oanda's tick data and writing your own back testing.
If you're not that skilled, then it helps that you can run as many instances of MT as you like, simply do a new directory. That way you can run as many ideas on demo as you like. I do 10 to 20 regularly and you get much more realistic and accurate results, especially if multiple pairs are involved...
I've never been able to match a days trading to a back test for the same period.
So the MT back testing you can throw in the dustbin. Don't waste your time. It's got little use other than to see if the code more or less works.
Depending your skill level you'd be much better off using Oanda's tick data and writing your own back testing.
If you're not that skilled, then it helps that you can run as many instances of MT as you like, simply do a new directory. That way you can run as many ideas on demo as you like. I do 10 to 20 regularly and you get much more realistic and accurate results, especially if multiple pairs are involved...
Menjadi Anggota Sejak Jun 09, 2014
134 postingan
Aug 27, 2014 at 11:13
Menjadi Anggota Sejak Jun 09, 2014
134 postingan
ea007 posted:
Thanks.
1. Ok that would cause a little difference but not huge like I see.
A little bit can make a LOT of difference here. Especially over time.
*Penggunaan komersial dan spam tidak akan ditoleransi dan dapat mengakibatkan penutupan akun.
Tips: Memposting URL gambar/YouTube akan otomatis menyematkannya di postingan Anda!
Tips: Ketik tanda @ untuk melengkapi nama pengguna secara otomatis yang berpartisipasi dalam diskusi ini.