Fix the Python script for conversion of FXT format

MQL4 スクリプト 統合

指定

I've got convert_csv_to_mt.py script (in Python 3) which incorrectly converting the CSV files into FXT. Basically all timeframes have the same size, but they shouldn't. The size should be smaller as the timeframe increases.

Currently FXT files for one year have 80MB for all the timeframes which is not correct.

Notes: This was working some time ago. You may compare the logic with similar scripts

Reproducible steps using these commands (given the linked scripts and downloaded into the folder):

1. Download CVS files for 1 month:

python3 dl_bt_dukascopy.py -c -p EURUSD -y 2014 -m 1

2. Combine all CSV files into one file (Linux, on Windows you can just try with one file):

find . -name "*.csv" -print0 | sort -z | xargs -0 cat > all.csv

3. Convert CSV into FXT (should be less than 2 mins):

time python3 convert_csv_to_mt.py -v -i all.csv -s EURUSD -t M1,M5,M15,M30,H1,H4,D1,W1,MN -f fxt4

4. Now all the files have 77MB, but the size should decrease as the timeframe is higher.

Requirements:

- the script should not take higher time of the conversion process than the current (since it has less processing)

- the output format should be valid and pass the validation tests (which it is currently),

- the output format should work fine under MT4 platform (as it is currently)

応答済み

1
開発者 1
評価
(28)
プロジェクト
36
17%
仲裁
5
20% / 40%
期限切れ
17
47%
類似した注文
Hi Coder, I have an mq4 file that I want to convert to pinescript Show that you have done this job before, mq4 will only be sent to the selected coder There will be further development of this code This is private work and will remain strictly confidential
Tenho um EA que preciso: Desde correções como conectar filtros existentes à lógica já inserida no sistema. insira novos filtros no ea com nova lógica e conecte-se com a lógica existente. Há várias pequenas tarefas a serem concluídas, gosto de fazê-las em partes para que haja uma avaliação adequada e depois passar para a próxima etapa. ea contém +6k linhas de código e está em português. Embora eu não entenda de
I want to buy your TRADE MANAGER for my manual day trading but can you make the fonts in the dialog box customizable so Example: I can customize the fonts smaller or larger My main issue is, I use a Bot solely on one of my trading account but recently the bot start opening all position in negative (loss) for a long period of time, example, instead of buy my bot will enter sell that will result in losses. Can you
Hello I need a developer who can help me develop an EA that can copy signal from telegram to my MT4 and MT5 trading Kindly bid if this is what you can do all discussions will be done via chat inbox Thanks!!Looking forward
Need to copy the trades and orders generated by expert advisors from my MT4 platform to eToro broker. Etoro offers a trading API (). This could be used to make the connection to their propietary web platform. If the programmer considers there is more stable and faster way to do it then I'm open to suggestions
here we will create market website, where we will display all our assets in graphical form, we will pull data from Metatrader platform and update the website in real time. I need something like this https://NgnRates.com but on our site we will display our own rate based on calculations performed on MT5 source
**Job Description**: I am looking for an experienced developer to convert my fully functioning TradingView code into an automated trading bot for the MQL5 terminal. The bot will be connected to my Exness account and should execute trades based on specific signals generated by the strategy. **Key Responsibilities**: - Convert existing TradingView Pine Script strategy into MQL5 code. - Ensure the MQL5 bot replicates
I have a python script that connects MT5 to Deriv for binary trading which is having some bug. It stops executing trades after a while. I need someone to check the code and fix it. Negotiable price

プロジェクト情報

予算
40 - 60 USD
開発者用
36 - 54 USD
締め切り
最低 2 最高 5 日