Fix the Python script for conversion of FXT format

MQL4 Skripte Integration

Spezifikation

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)

Bewerbungen

1
Entwickler 1
Bewertung
(28)
Projekte
36
17%
Schlichtung
5
20% / 40%
Frist nicht eingehalten
17
47%
Frei
Ähnliche Aufträge
Hi, I have a Compiled JForex strategy (.jfx file) I would like someone to convert it in to readable source code. Please let me know if you can do this task. Thank you
I want to make something automatic which EMA will automatically trade in my account. For this I want to make a simple robot I want to get this made automatically on a simple EMA
I need a professional who have the full knowledge in Ctrader and I want to add new idea for my ctrader https://ctrader.com/algos/indicators/show/3444/ Let me know if this is what you can do and the price to get it done. Thanks
I am looking for a skilled Thinkorswim script developer for a one-time project. Your task will be to combine 8 distinct Thinkorswim studies (I will provide the code for each) into one Lower Study. The final script should display histogram rows for the individual studies with a bubble color scheme of bright green, dark green, gray, dark red, and bright red
I need some who can develop my strategy and hand me over the source code... I will give you the specific area in the market i want to mark out and then set pending orders to execute once price move into the zone

Projektdetails

Budget
40 - 60 USD
Für die Entwickler
36 - 54 USD
Ausführungsfristen
von 2 bis 5 Tag(e)