FX-BT-Scripts icon indicating copy to clipboard operation
FX-BT-Scripts copied to clipboard

FXT format consist ending zero closing prices (Python)

Open kenorb opened this issue 8 years ago • 2 comments

Required fix in: convert_csv_to_mt.py file. The converted FXT file from CSV data files consist possibly zero values as per chart below.

In the platform, this can be tested by running terminal.exe (e.g. via wine with X11 forwarding if inside VM), then from menu select File -> Open Offline, and select the file (hover on the item to see the file path). The FXT file needs to be copied to tester/history folder of the platform to be visible (e.g. ~/.wine/drive_c/Program Files/MetaTrader 4/). Once opened, you should see this window (zoom out or resize window to catch the zero value):

screen shot 2016-12-14 at 22 52 44

kenorb avatar Dec 14 '16 23:12 kenorb

Could be a platform bug as there is no zero values in the data file. Needs reproducing steps.

kenorb avatar Dec 14 '16 23:12 kenorb

Hi

I observed the same problem. After some researches, I found that a fxt file generated by MT4 itself also shows a this final bar with all values to zero and a date of 1970-0&-01 00:00:00. The fxt does not contains such bar at the end, so I believe there is a bug in MT4

Uptacknerd avatar Nov 23 '21 22:11 Uptacknerd