Need for expert advisor/script for metatrader that sends current bid and ask to our server and can be shown on our webpage realtime.
1. need a table for a website that shows a list of currencies and there will be 3 columns (Bid,Ask, spread)
example:
Ask Bid Spread
EUR/USD 1.30010 1.30000 1.0 pip
GBP/USD 1.59012 1.59000 1.2 pip
EUR/GBP 0.83009 0.83000 0.9 pip
….
The module needs to be done with javascript.
2. Need an EA or script that sends the data to the server. No need to send every tick. The EA could take 5-10 last ticks and send the average values to the server.
A .dll file can be used with EA if needed.
3. Realtime quotes must be somehow sent to the homepage module. Our server has Mysql and PHP.
Data can be saved either to files or mysql. And javascript has to make ajax queries to php script that will send the last values in JSON format.
You can suggest a better way to do it if you know one.