Chcete-li používat chat, přihlaste se.
Zpět na Kontakty

Do MetaQoutes fake the historical data ?

Aug 18 2014 at 15:23
14 příspěvků
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?
Ivan (StoneHeart)
Aug 19 2014 at 04:24
131 příspěvků
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.
Aug 19 2014 at 06:55
14 příspěvků

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.
Ivan (StoneHeart)
Aug 19 2014 at 09:24
131 příspěvků
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.
Aug 19 2014 at 10:09
14 příspěvků
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.
Ivan (StoneHeart)
Aug 19 2014 at 11:51
131 příspěvků
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
CrazyTraderfx (CrazyTrader)
Aug 19 2014 at 16:29
1718 příspěvků
Backtesting M15 or M5... or D1 doesn't mean you don't need tick data!
Aug 23 2014 at 18:57
724 příspěvků
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...
Aug 27 2014 at 11:13
138 příspěvků
ea007 posted:

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.
Pokud chcete komentovat, přihlaste se .