I have an optimizated EA. It is profitable but on live account is negative. I don't understand. Is back testing totaly lie?
You can see the result: https://www.mql5.com/en/signals/451038
How should we know what you did?
Is the third option important? I use the "open prices only", otherwise optimization test time is being very long.
4. I looked. Good topic but it is not helpful for me because I already applied their said.
By the way, my expert advisor works on M1, M5 and M15 charts and It opens a trade when the candle close. "Every tick" method is not for my expert advisor, I think.
The most common error in these cases is about the trading conditions. I see a MT4 signals, it supposes you have 99% quality data and imported it in the platform with the right brokers' spec (including commissions).
I highly suggest you to switch to MT5.
You say it might be profitable if I transfer the codes to MT5, right?
I say by using MT5 you won't have to worry about brokers' spec & datas when testing
The answer is no.
You should design it around live market feed.
Not the tester.
What makes you believe that if it is profitable in the tester, it will also be profitable on a live market ?
The tester is to test, the logic, to see if the code works properly.
It's a tool.
I aggree with you. It's a tool. How do big players like goldman, ubs, blackrock test the algorithm? How can I design it around live market feed? Could you tell some?
Not really i guess they have their own engines that provide the historic data at a fast pace, i think that it should not be too hard to program something like that.
But i usually run it on a demo for a month or two and then it's clear for 99% of the algo's you put up for testing.