Fix the Python script for conversion of FXT format

MQL4 Sripts Integración

Tarea técnica

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)

Han respondido

1
Desarrollador 1
Evaluación
(28)
Proyectos
36
17%
Arbitraje
5
20% / 40%
Caducado
17
47%
Libre
Solicitudes similares
I'm looking to take my Tradingview Indicator and convert it to be used on Ninja Trader 8. I will be the only one using it and will not be made public, but I want to use it so I can trade using it live and also in replaying past data on NT8. Its just an indicator that places certain Goldbach lines on the chart based on a selection in the menu. So, its not a Bot, but an indicator. I have attached the script below so
Create script to move multiple take profits (from multiple trades) at one time. Typically for a single currency pair Summary: There are multiple trades in 1 currency pair There are multiple take profits, 1 for each trade I want a script to be built to modify all the take profits at one time There may be up to 20 take profits, from 20 different trades that I want to be able to move/adjust all at one time, very easily
Hi there - Overview We are seeking an experienced developer to create a Forex Robot Expert Advisor (EA) tailored to specific trading strategies and conditions. The EA will focus on the London trading session and will automate trades based on pre-defined calculations and market movements. *Responsibilities:* 1. *London Session Analysis:* - Develop functionality to highlight the London trading session on the forex
Dear Freelancers, I'm seeking a skilled MT4/MT5 developer to collaborate on a valuable trading indicator. Project Description: I'm looking to develop a powerful Elliott Wave indicator compatible with the MT4 and MT5 trading platforms. This indicator will be based on the highly successful [LuxAlgo] indicator currently available on TradingView. Key Features: In-indicator Alerts: The ability to receive pop-up
Profit EA 50+ USD
//+------------------------------------------------------------------+ //| SimpleEA.mq4 | //| Generated by MetaEditor | //| https://www.mql5.com/en/docs&nbsp ; | //+------------------------------------------------------------------+ #property strict // Input parameters input double LotSize = 0.1; // Lot size input int MovingAveragePeriod = 50; // MA
1. **Timeframe and Liquidity:** Focus on the 5-minute timeframe for liquidity analysis.(timeframe for liquidity should be editble) 2. **Candlestick MSS:** Monitor 1-minute candlestick patterns for entry signals.(should be editble) 3. **Swing Points:** Identify swing points using the high and low of the last three candles.(ict swimg high and low) 4. **Sell Setup:** - Wait for a 5-minute candle to take out the swing
i am looking for experienced programmer to create indicator for me. i am willing to pay for the service. and if it works amazingly like i expected. i will tip more money
High Low intraday ticker to display the most recent high low of up to 40 stock symbols. As a stock makes an intraday high low it will populate at the top and so on. Regardless of chart that's display it will continue to track high lows of the 40 stocks inputed. The 40 stocks can by manually changed. A high will display as green with the time (hour:minute:second), symbol, and last price. A low will be displayed as red
Modify an existing Python bot to trade bollinger bands, with iqoption api Currently the bot strategy is wrong, I am limited in my knowledge here and hope to fix this Hope to work with more experience people out there in relation to iqoption api and python
hi guys, I have a script, that I have been struggling to work. most of the work is done, just final touch of an expert is needed. The script Is using Fibonacci and Pivot standard in its base. look forward to hear from an expert! Best regards Sina

Información sobre el proyecto

Presupuesto
40 - 60 USD
Para el ejecutor
36 - 54 USD
Plazo límite de ejecución
de 2 a 5 día(s)