Open kenorb opened 7 years ago
./run_script.sh -e CSV2FXT.mq4 -E CreateM5=true,CreateM15=true -I ScriptParameters=CSV2FXT.set
or:
./scripts/run_backtest.sh -v -x -I Server=MetaQuotes-Demo,Script=CSV2FXT -E CsvFile=EURUSD-2014.csv -A "copy_file $PWD/EURUSD-2014.csv" -A 'dl_file https://github.com/EA31337/Birt-CSV2FXT/releases/download/0.51/CsvReader.dll "$TERMINAL_DIR/$LIB_DIR"'
Branch:
dev
Test and correct the current
run_script.sh
script which is based onrun_backtest.sh
to run mq4 files as a scripts.The goal of the script is to run
CSV2FXT.mq4
usingrun_script.sh
(similar asrun_backtest.sh
works).You can use VM if you like (vagrant up) to test it.
The expected testing steps are (clone into HOME):
vagrant up && vagrant ssh
Convert all or selected CSV files into a single file, e.g.
CsvReader.dll
into the right place, or any dependencies.Run:
run_script.sh
, e.g.[ ] Find out about the right parameters. Modify script if necessary.
You can use -B to include startup script if necessary, or -X for finish script.
If you don't know the machine names of variables for mq4 script (-E), you can run platform manually (scripts/run_terminal.sh), then run the script from GUI, populate the settings and save into SET file.
You should basically:
run_script.sh
and related scripts in order to run mq4 script within the platform as shown above.Any questions, please ask here, or join chat.
Est. 8-16h
codemill$100