Real Time Data From MetaQuotes

 

Hi!


Is there any way to use the data from MetaQuotes (Open,Max,Min,Close) instead for the data that is feeded from the broker in an EA?


I'm asking this, 'cause the data that comes from different brokers differs to much compared to each other. And even though the final trading is done against the data that comes from the broker side, I still want to test the EA in real time against data from MetaQuotes.


Another question. Does anyone know the algorithm to decode the unreadable .hst file format with historical data to readable .csv (plain ASCII)? I'm well aware that it's possible to export from within MetaTrader History Center. But I want to write something in another language to do this.


Regards

Grufgran

 

GG

You can download an installation of MT from https://www.metaquotes.net// and sign up for a demo account

This gives you real-time MQ data

But...

This will not help you evaluate the EA against any particular broker

Even single broker history is only a guide to forward live trading

In general, support & resistance EA's will perform similarly across various brokers, indicator based EA's will vary very considerably :(

No idea on .hst files

Good Luck

-BB-

 

Dear Grufgran,


For decode unreadable .hst file, please have a look on this script 'Period Converter'. Which convert the chart period and write new data into .hst file. Just write a script, do a reverse to read back data from .hst file in correct squence as show in script and write back to your .csv file will get things done. Require some programming works and have fun.

Reason: