Skip to content

Using script results in Invalid Argument #1

@ArbiterOfTheiPhones

Description

@ArbiterOfTheiPhones

Hi Nigel,

This script would be EXTREMELY useful for automation converting hst to csv without having to manually go into the program, however when I run it, it doesn't work. Specifying any hst and csv for conversion results in Error 22, Invalid Argument. I type the command in format: mt4convert input.hst output.csv

but nothing happens.

Here is the output it gives me:

Traceback (most recent call last):
File "C:\Users\IBE\AppData\Local\Programs\Python\Python38\Scripts\mt4convert-script.py", line 11, in
load_entry_point('mt4reader==0.1.dev0', 'console_scripts', 'mt4convert')()
File "C:\Users\IBE\AppData\Local\Programs\Python\Python38\lib\site-packages\mt4reader-0.1.dev0-py3.8.egg\mt4reader_init_.py", line 89, in main
File "C:\Users\IBE\AppData\Local\Programs\Python\Python38\lib\site-packages\mt4reader-0.1.dev0-py3.8.egg\mt4reader_init_.py", line 73, in convert
File "C:\Users\IBE\AppData\Local\Programs\Python\Python38\lib\site-packages\mt4reader-0.1.dev0-py3.8.egg\mt4reader_init_.py", line 65, in init
File "C:\Users\IBE\AppData\Local\Programs\Python\Python38\lib\site-packages\mt4reader-0.1.dev0-py3.8.egg\mt4reader_init_.py", line 31, in init
OSError: [Errno 22] Invalid argument

If you have the time, can you please tell me if I'm doing anything wrong or update the script if it is an error! This would be such a useful tool, but there is nothing else like it! All the indicators that do the same thing on metatrader 4 are obsolete, they don't work anymore. The others don't do what this does.

Stay safe!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions