Trabalho concluído
Termos de Referência
I want an EA (open source mql4 file) that exports the last 60 bars Ticker,Date,Time,Open,High,Low,Close,Volume data into a CSV, standard data layout inside CSV, every 60 seconds it re-writes and over rides the existing csv of the same name.
Variable Parameters:
Write to CSV every: 60 seconds
Write number of bars: 60 most recent bars
CSV name: EURUSD1
Writes to terminal folder directory.
If I put this on 3 charts EURUSD 1min chart, 30min chart and 60min chart, then there will be 3 CSVs in the terminal folder called EURUSD1.csv, EURUSD30.csv, EURUSD60.csv. Each CSV will be updated every 60 seconds, and will have the last 60 1min bars, or the last 60 30min bars, or the last 60 60min bars data in them.
Can put EA on multiple charts at same time, with different pairs on different charts. A CSV is created for every chart the EA is on. So if I have the EA on 10 charts, there are 10 CSV's in the data folder.
CSV format
<TICKER>,<DTYYYYMMDD>,<TIME>,<OPEN>,<HIGH>,<LOW>,<CLOSE>,<VOL>
AUDUSD,20010102,230100,0.5617,0.5620,0.5611,0.5616,23
AUDUSD,20010102,230200,0.5616,0.5623,0.5614,0.5617,21