Hi, I have data export from NT8 and need to import it in MT5 but the formats compatible with the two platforms are clearly different. Is there a process/tool to automate this?
- MT5 TO NT8?
- Does exist the possibility to connect MT5 data to Ninjatrader 8?
- import indices chart
seankach:
Hi, I have data export from NT8 and need to import it in MT5 but the formats compatible with the two platforms are clearly different. Is there a process/tool to automate this?
Hi, I have data export from NT8 and need to import it in MT5 but the formats compatible with the two platforms are clearly different. Is there a process/tool to automate this?
I've never heard of a free tool nor process for this.
It sounds like a good custom job for a Freelancer to do: All orders - new on freelance service for MetaTrader - forex jobs
Trading applications for MetaTrader 5 to order
- 2025.01.26
- www.mql5.com
The largest freelance service with MQL5 application developers
NT8 (NinjaTrader 8) and MT5 (MetaTrader 5) use different data formats. There’s no official one-click solution.
import csv from datetime import datetime def convert_nt8_to_mt5(input_file, output_file): with open(input_file, 'r') as infile, open(output_file, 'w', newline='') as outfile: reader = csv.reader(infile, delimiter=';') writer = csv.writer(outfile) # Write MT5 header writer.writerow(['Time', 'Open', 'High', 'Low', 'Close', 'Volume']) for row in reader: try: date_str, time_str, open_, high, low, close, volume = row dt = datetime.strptime(date_str + ' ' + time_str, '%Y%m%d %H%M%S') mt5_time = dt.strftime('%Y.%m.%d %H:%M') writer.writerow([mt5_time, open_, high, low, close, volume]) except ValueError: continue # skip headers or malformed lines convert_nt8_to_mt5('NT8_export.csv', 'MT5_import.csv')
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register