Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
elvinex authored Oct 21, 2021
1 parent 95f6740 commit c024f51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ For simplicity, we will refer to the non-MQL side of this project as the "Python
1. Copy the [dwx_client_example.py](python/examples/dwx_client_example.py) file from the examples folder to your working directory.

1. Open the file and change the `MT4_files_dir` variable to the full path of the /MQL4/Files or /MQL5/Files directory. On Windows the path usually looks similar to this (`<username>` is your username):<br/>
`MT4_files_dir = 'C:/Users/<username>/AppData/Roaming/MetaQuotes/Terminal/3B534B10135CFEDF8CD1AAB8BD994B13/MQL4/Files'`<br/>
`C:/Users/<username>/AppData/Roaming/MetaQuotes/Terminal/3B534B10135CFEDF8CD1AAB8BD994B13/MQL4/Files`<br/>
However, on macOS it could look like this:<br/>
`MT4_files_dir = '/Users/<username>/Library/Application Support/MetaTrader 4/Bottles/metatrader4/drive_c/Program Files/MetaTrader 4/MQL4/Files'`<br/>
`/Users/<username>/Library/Application Support/MetaTrader 4/Bottles/metatrader4/drive_c/Program Files/MetaTrader 4/MQL4/Files`<br/>
And on Linux like this:<br/>
`MT4_files_dir = '/home/<username>/.wine/drive_c/Program Files (x86)/Darwinex MT4/MQL4/Files'`
`/home/<username>/.wine/drive_c/Program Files (x86)/Darwinex MT4/MQL4/Files`

1. The example script will just try to subscribe to EURUSD and GBPUSD, and print some information on every tick. You can run the script with:
```console
Expand Down

0 comments on commit c024f51

Please sign in to comment.