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.
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.
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.
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
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...
& copy; 2022 Myfxbook Ltd. Všetky práva vyhradené.
UPOZORNENIE NA VYSOKÉ RIZIKO: Obchodovanie s devízami prináša vysokú úroveň rizika, ktoré nemusí byť vhodné pre všetkých investorov.
Páka vytvára ďalšie riziká a straty. Než sa rozhodnete obchodovať s devízami, dôkladne zvážte svoje investičné ciele, úroveň skúseností a toleranciu voči riziku.
Môžete prísť o časť alebo všetky svoje počiatočné investície. Neinvestujte peniaze, ktoré si nemôžete dovoliť stratiť. Educate yourself on the risks associated with foreign exchange trading, and seek advice from an independent financial or tax advisor if you have any questions.
Všetky údaje a informácie sú poskytované „tak, ako sú“. iba na informačné účely a nie je určené na obchodné účely alebo rady.
Výkonnosť v minulosti neznamená výkonnosť v budúcnosti.