This is MT4 -> R interface library, originally developed by Bernd Kreuss and distributed here.
See CHANGES.md
A simple script to test mt4R working correctly.
- MT4 build 600 or later
- R executable
- MQL4/Include/mt4R.mqh
- Copy MQL4/Include/mt4R.mqh to ``<TERMINAL_DATA_PATH>/MQL4/Include/```
- Copy MQL4/Scripts/mt4Rtest.mq4 to
<TERMINAL_DATA_PATH>/MQL4/Scripts/
- Change
R_command
to your installation path - Run mt4RTest script from MT4
Expert advisors, originally distributed here.
This distribution contains modified version of common_functions.mqh and experts to adapt to new MQL4.
- MT4 build 600 or later
- R executable
- MQL4/Include/mt4R.mqh
- MQL4/Include/common_functions.mqh
- Copy MQL4/Include/mt4R.mqh to ``<TERMINAL_DATA_PATH>/MQL4/Include/```
- Copy MQL4/Include/common_functions.mqh to ``<TERMINAL_DATA_PATH>/MQL4/Include/```
- Copy MQL4/Experts/arbomat.mq4 to
<TERMINAL_DATA_PATH>/MQL4/Experts/
- Copy MQL4/Experts/trendomat.mq4 to
<TERMINAL_DATA_PATH>/MQL4/Experts/
- Change
RPATH
to your installation path - Run experts from MT4
- If you successfully installed experts, you'll soon (maybe 30 seconds or so few minutes) see the Arb-O-Mat or Trend-O-Mat graph generated by R. 4B96