Why are the candles the same, but the price fluctuations that built the candle are very different from the real ( live market ) and strategy tester? How can I get the same data the brokers provide on the strategy tester( I need it in a live market , not when the day has ended) ?
It's possible, and dare I say likely, that ticks are skipped while they're arriving to your MT5 terminal... only to be updated at end of day. The extent to which it's happening to you makes me wonder about the integrity of your connection to your broker-dealer's data server.
I won't remark on whatever data manager thingy, because we don't discuss paid products here in the Forum.
first when you compared a 3rd party programs data with a brokers data, you are comparing apples and oranges. and that data will tend to be custom made, they may start with a brokers data, but they will almost certain to modify that data. This makes testing with this data very much unrealistic. This sort of data should only be used by developers to prove that a coders code works, not for forecasting profits.
i do not know which broker you are using strategy tester on, but many brokers use demo data from the mq demo server. Again this is comparing apples and oranges. if you do a backtest with mq data then, you cannot expect your live data to be same, so your results will be almost certain to be different. ie with mq data you may make millions of profit; while on broker data you may lose millions.
and always use Every Tick based on Real Ticks. but again, if your broker does not keep its own demo server, or save its live data in real time -- then you will be using data that is very different to the brokers live data.
EDIT: if doing a backtest on same period that made huge losses on live data, but then doing a backtest over same date/time period you made huge profits, then, i would assume that your backtest data is NOT the same as you get while trading live. It may also be the coding, but i personally would assume that there is a big discrepency between the backtest data and the live data.It's possible, and dare I say likely, that ticks are skipped while they're arriving to your MT5 terminal... only to be updated at end of day. The extent to which it's happening to you makes me wonder about the integrity of your connection to your broker-dealer's data server.
I won't remark on whatever data manager thingy, because we don't discuss paid products here in the Forum.
first when you compared a 3rd party programs data with a brokers data, you are comparing apples and oranges. and that data will tend to be custom made, they may start with a brokers data, but they will almost certain to modify that data. This makes testing with this data very much unrealistic. This sort of data should only be used by developers to prove that a coders code works, not for forecasting profits.
i do not know which broker you are using strategy tester on, but many brokers use demo data from the mq demo server. Again this is comparing apples and oranges. if you do a backtest with mq data then, you cannot expect your live data to be same, so your results will be almost certain to be different. ie with mq data you may make millions of profit; while on broker data you may lose millions.
and always use Every Tick based on Real Ticks. but again, if your broker does not keep its own demo server, or save its live data in real time -- then you will be using data that is very different to the brokers live data.
EDIT: if doing a backtest on same period that made huge losses on live data, but then doing a backtest over same date/time period you made huge profits, then, i would assume that your backtest data is NOT the same as you get while trading live. It may also be the coding, but i personally would assume that there is a big discrepency between the backtest data and the live data.Thanks for your insight. I have attached one of the recorded tick data for both the live market and the strategy tester after the day ended. You can see for yourself that the bid and ask prices are different in every possible way. Fortunately my EA work perfectly with the data on the strategy tester on all the brokers I used( more that 10) but it never works on any of the data ( bid and ask prices ) provided on the live market. So I am thinking if I can tap into what ever source of data the brokers upload for us to download and use in the strategy tester, then I am good to go!! Is there anyway I can get access to that source?
if you did try it on 10 different brokers, then, i would be suspicious of my coding of either the ea, or your script that retrieved that tick data. There is so many brokers out there, you would be incredibly unlucky to not get 1 of them that is a broker that has good data.
Is there anyway I can get access to that source?
i thino that would be the brokers price feed, which they start with the data from their liquidity provider, and then they modify that data with their spreads and such. so that is all done "in-house"; so no, i dont think there is any common source of the data you want.
but also if you did try those 10 different brokers and get similar results between live data and backtest, then, you should check your internet access. if it is wifi, then, add a relay box between your trading system and your rounter and then connect your trading system to the relay box.
In case i wasnt clear, then, here i am more clear, 10 "broke" brokers with same issue? it is possible of course, however i think it is more probable your side that is the issue -- than getting 10 "broke" brokers without getting a good broker as well. post your code so we can see how your ea retrieves the price data. That also goes for your script that retrieved the price data in the txt files also.
Note that i just now noticed your location. That location is one of those jurisdictions that has been demonstrated in other threads in the recent past -- that all forex sites and known servers that host forex brokers -- is frequently blocked or has frequent data broken+corrupted. This could have result of you not receiving much of the live price data.
We have already run hundreds of tests, and one important thing to understand is that even two identical terminals, on the same account and the same computer, may sometimes receive quotes at slightly different times.
A lot depends on the connection, broker server, quote flow, and how each terminal processes incoming data.
So small differences in results can happen. It does not always mean that something is wrong with the Expert Advisor.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Brokers make it impossible for scalping EAs to profit. My EA does very well on strategy tester ( with downloaded tick data from the respective brokers and the paid versions of quantum data managers ), but the Ea performs very poorly on real market ticks.
I then decided to compare the bid and ask prices of the real market to the ones record after the day has ended ( in the download) . So I developed another Ea that will record all the bid and ask prices that went through the live market per each one minute candle , and then I run the same EA on the strategy tester for the same 1 minute candles.
I was shocked by the results: the candles looked the same, but the bid and ask prices that went through the live market were completely different from the prices in the strategy tester for the same candle. Mind you, this happened even with paid version of quantum data magager.
Why are the candles the same, but the price fluctuations that built the candle are very different from the real ( live market ) and strategy tester? How can I get the same data the brokers provide on the strategy tester( I need it in a live market , not when the day has ended) ?