Extract data and save it in CSV file with data verification

Job finished

Execution time 1 day
Feedback from customer
Very good Programmer.
Feedback from employee
Thank´s a lot for the job, it has been a pleasure.

Specification

Sumarizing:

I would like to have a 100% open-source library (*mqh) that extract data from the market and save it in *CSV file separated into rows and columms.
After I've inserted the library in my EA, I can run a function to extract the data. If the function is called again, it will check the date of the last information on the CSV file, get and save only the new data from the market avoiding to do all the work again. 

  • To keep it organized, the file name must be filled with the EA name, the asset (symbol) and the date it was recorded. Ex.: "TrendEA_EURUSD_2022.09.01".
  • The file should be saved in the folder "...\MQL5\Files".


It is important to remember that every time that the function will be called, first it will check if a the CSV file already exists, after that it will check the date of the last bar that already has information and only after that it will extract the new information and then will update the file .


To run the function and extract the data, 2 variables will be informed:
The number of bars (for example: the last 2000 bars) and the Timeframe (for example: PERIOD_M30).

  • The first line of the worksheet will be the header and will contain the name of the data - (Date | Close | ATR | MACD | Volume).
The first column should contain the dates of each bar and the next ones will be the information we are looking for.

For this library the following data will be extracted:
  • First column should contain the dates of each bar
  • Second column the closing value of each bar (iClose)
  • Third column the value of the ATR indicator of each bar
  • Fourth column the MACD indicator value of each bar
  • Fifth column the volume value of each bar (iVolume).

In the future, those variables could be changed by me if necessary.


Responded

1
Developer 1
Rating
(212)
Projects
316
34%
Arbitration
63
37% / 40%
Overdue
102
32%
Free
2
Developer 2
Rating
(19)
Projects
26
27%
Arbitration
3
0% / 100%
Overdue
2
8%
Free
Similar orders
Recently I have backtested more than 100 EAs and I have come to a conclusion that in the long-term all of them produce catastrophic results. I used 99.9% data quality and whenever possible decades of data. In the short-term almost all of them can have nice gains. But there is hardly any EA that could survive even just 3-5 years, let alone decades ! This got me thinking: if almost all EAs are unfit for long-term
I am looking for an experienced MQL5 developer to convert a TradingView indicator into an MT5 indicator. The objective is to recreate the TradingView indicator in MQL5 so that it produces the same calculations, plots, values, and signals as closely as possible. Requirements: Convert the TradingView Pine Script into an MT5 indicator (.mq5). Ensure the MT5 version matches the TradingView version as accurately as
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Overview I am looking for an experienced algorithmic trading developer to build a professional Expert Advisor (EA) for MetaTrader 5 and/or cTrader. The objective is to create a robust automated trading system focused exclusively on XAUUSD (Gold) . This project is intended for serious
Hello, I am planning to automate my own Gold (XAUUSD) scalping strategy using xCustomEA. Before purchasing xCustomEA and hiring a developer, I would like to know: Whether my strategy can be implemented in xCustomEA. Whether any custom MQL5 coding is required. The estimated cost. The estimated development time. I already have a detailed strategy document and will provide it after the initial discussion. The strategy
Project: GoldScalpBot (already published: https://www.mql5.com/en/code/75652 ) I need an experienced MT5 developer to improve my existing Expert Advisor and its local app bridge. Current stack: - MT5 EA (MQL5) for XAUUSD scalping (EMA/momentum/breakout, ATR SL/TP, London/NY sessions, win-based lot scale, daily loss stop) - Local Node.js HTTP bridge (heartbeat + command queue) for a React Native mobile app
Project Overview I am looking for an experienced MetaTrader 5 (MT5) Expert Advisor developer to build a professional, production-quality automated trading system from a detailed Software Requirements Specification (SRS). The strategy is based on a custom implementation of the MACD indicator combined with advanced trade management and a proprietary basket/grid recovery methodology. The complete strategy and
I NEED ONE MILLON TESTED STATERGIES YOUR DUTY IS TO RUN ONE MILLION DIFFERENT SCENARIOS AND FIND ME AN ALPHA AND TESTED ON OVER ALL TYPES OF ASSESTS SO THATS IT THERE IS ANYONE WHO CAN ABLE TO DO THIS JOBB
Jona copilot v12 30 - 40 USD
Hi, I'm interested in ordering an MT4 trading bot. Before we begin, could you please send me the technical specifications and requirements you'll need? Specifically, I'd like to know: - The trading strategy the bot will use. - The currency pairs or instruments it will trade. - The timeframes it supports. - Risk management features (lot sizing, stop loss, take profit, trailing stop, maximum drawdown). - Whether it
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo

Project information

Budget
50 - 100 USD
Deadline
from 1 to 3 day(s)