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
(211)
Projects
313
34%
Arbitration
63
37% / 38%
Overdue
100
32%
Loaded
2
Developer 2
Rating
(19)
Projects
26
27%
Arbitration
3
0% / 100%
Overdue
2
8%
Free
Similar orders
SMC DEVIL EYE 1500+ USD
DEVIL EYE SMC – Gold Trading Expert Advisor DEVIL EYE SMC is a precision-based Smart Money Concepts trading robot designed specifically for XAUUSD (Gold), built around institutional market structure and liquidity principles. This EA analyzes price action using advanced SMC logic including: • Break of Structure (BOS) • Liquidity Sweeps • Fair Value Gaps (FVG) • Supply / Demand Zones • Order Blocks Confirmation •
This robot is going to help me to assist my parents about their needs, it also going help me build a house and purchase my own car. Additionally, it is going to play an essential role upon my life as I will not struggle with the foods and transport for taking the trips
I need an MT5 Expert Advisor for US100 and XAUUSD. The EA must use risk management and must not use martingale or grid. Main requirements: Platform: MetaTrader 5 / MQL5 Symbols: US100 and XAUUSD Timeframes: M15 and M30, with higher timeframe trend filter Trend filter: EMA 50 and EMA 200 Momentum filter: RSI 14 Stop loss: ATR-based or recent swing high/low Take profit: minimum 1.5R risk/reward Risk per trade
I am looking for a serious marketer with experience in promoting trading tools or Expert Advisors for MetaTrader 5. The product is an automated MT5 trading EA focused on Gold trading, with risk-management tools and trading filters designed to improve trade quality. For credibility, I will provide: An Investor Account for a live/demo account where the EA has been running for a while Backtest reports for the EA Clear
Gold Precision Pro 30 - 100 USD
I want the indicator to be built professionally and carefully because the strategy is strong, but it requires advanced and clean programming. The indicator should work mainly on XAUUSD M15 and should generate more than 2 high-quality signals per day, ideally around 2 to 4 signals maximum, without flooding the chart. The logic must not be random. Each signal must be based on: HTF Bias from H1/H4, Liquidity Sweep
FINAL EA STRATEGY DOCUMENT (Chandelier Exit + EMA Breakout System) ------------------------------------ CORE INDICATOR - Chandelier Exit (MAIN LOGIC) - ATR Period: Editable (Default 22) - ATR Multiplier: Editable (Default 3) IMPORTANT: - ATR must NOT be shown as a separate indicator - ATR must be used ONLY internally inside Chandelier Exit - All SL & trailing must strictly follow Chandelier Exit line
i have a tradingview simple indecator of 40 lines of code ,i want it to convert it into mt5 EA strategy details given below AUTOMATED TRADING STRATEGY Multi-Lot Execution & Dynamic Trailing Stop Logic System Architecture & Operational Rules Trading Bot Strategy Profile Entry Conditions Buy Logic • • • Wait for Buy Signal candle. Confirmation: Future candle must break the signal high. Execution: Open 2 orders of 0.01
Situation: Please contact me privately so I can provide the source code for review. Thank you. Project Overview: I have developed a high-frequency trading (HFT) EA that performs consistently in demo environments and passes most prop-firm requirements. While short live phases showed profitability, the results were not reproducible over time. My primary goal is stable live performance on retail accounts , not just
"I need an MT5 EA based on price action — liquidity sweep + hammer/shooting star reversal strategy. TREND: Identified by HH/HL for uptrend, LL/LH for downtrend on selected timeframe. No trade in ranging conditions. BUY SETUP: In uptrend, price retraces to swing low zone, wicks below it (liquidity sweep), hammer forms (lower wick min 2x body, closes above swept low). Buy stop entry at hammer high. SL below hammer
EA SPECIFICATION SHEET OBJECTIVE: Build a transparent, non-martingale, non-grid breakout EA for XAUUSD that trades only high‑quality breakouts during London + New York sessions. 1. TRADING INSTRUMENT - XAUUSD only - MT4 platform - 5‑digit ECN broker 2. CORE STRATEGY LOGIC (BREAKOUT + CONFIRMATION) A trade is allowed ONLY when ALL conditions are true: - Candle closes beyond previous high/low (no wick breakouts) -

Project information

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