Extract data and save it in CSV file with data verification

MQL5 专家 资料库 策略优化

工作已完成

执行时间1 一天
员工反馈
Thank´s a lot for the job, it has been a pleasure.
客户反馈
Very good Programmer.

指定

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.


反馈

1
开发者 1
等级
(215)
项目
317
34%
仲裁
63
37% / 40%
逾期
102
32%
空闲
发布者: 1 文章
2
开发者 2
等级
(19)
项目
26
27%
仲裁
3
0% / 100%
逾期
2
8%
空闲
相似订单
Elektra Trading Robot 100 - 200 USD
Elektra Trading Robot is an automated Forex trading system designed to analyze market conditions execute trades according to predefined trading strategies. It aims to identify potential trading opportunities, manage trading positions, and apply risk management rules to help protect trading capital. The robot is designed for real-account trading and focuses on consistency, disciplined execution, and efficient trade
the final ea must faithfully implement the logic from the provided phython file run cleanly on mt5 and deliver solid backtest result.its shoild be very easy to set up use with clear input parameter proper risk management and no complicated installation steps
Forex Hunter MT5 30 - 250 USD
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
Name: SteelEdge Platform: MetaTrader 5 (MQL5) Expert Advisor Instruments: XAUUSD, EURUSD, US30 Timeframe: H1 (inputs to change it) STRATEGY - Trend filter: buy only when price is above the 200 EMA, sell only when below - Entry: price pulls back to the 50 EMA and a bullish (buy) or bearish (sell) engulfing candle closes - Confirmation: RSI(14) above 50 for buys, below 50 for sells - Stop loss: 1.5 x ATR(14) - Take
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
PROJECT: BYBIT PUMP & DUMP EARLY DETECTION ENGINE Fixed Budget: USD $1,000 – Complete Project I am looking for an experienced quantitative trading developer to design, develop, validate and deliver a professional standalone Python 3.12 module for detecting early pump and dump movements on Bybit USDT perpetual futures. IMPORTANT: This is NOT an MT4/MT5 indicator, Expert Advisor or a request to build a complete trading
Phixfx 30 - 150 USD
Project Brief: Multi-Asset EA/Indicator Optimization, Debugging, and Futures Strategy Refinement ​1. Project Overview & Objective ​I am looking for an experienced algorithmic developer to inspect, debug, optimize, and enhance an existing automated trading system. The system combines custom indicators and execution logic across Forex and Futures markets. ​The primary goals of this project are: ​Debug existing logic
I want NinjaTrader to behave like Tradovate. When I hover over a candlestick, the cursor should automatically snap to the center of that candle across all open charts. For example, when I hover over a 30-minute candle, the cursor should align with the center of the corresponding candles on the 15-minute and other chart timeframes. I also want vertical lines drawn on one chart to automatically align with the center of
Exir AI 30 - 200 USD
I need an experienced MQL5 developer to build a custom AI-assisted Expert Advisor (EA) for MetaTrader 5. The EA will run on a live MT5 account with Tickmill and must support Forex and Crypto CFDs. Required instruments: - EURUSD - GBPUSD - USDJPY - XAUUSD - BTCUSD - ETHUSD Required timeframes: - M5, M15, and M30 Trading logic: - M30 determines the overall trend. - M15 identifies entry zones, support/resistance, and
Best trader robot 499 - 550 USD
Objective: Develop a robust and highly profitable Expert Advisor (EA) for MetaTrader based on a precise custom trading strategy to achieve a high win rate. ​ Instrument & Timeframe: XAUUSD (Gold), optimized for M5 / M15 timeframes. ​ Entry Strategy: Open Buy/Sell orders based on strict confirmation signals (e.g., Moving Average crossover combined with Price Action or RSI threshold). ​ Lot Size & Risk Management

项目信息

预算
50 - 100 USD
截止日期
从 1 到 3 天