Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

mt4R

MT4 -> R interface library

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

mt4R

This is MT4 -> R interface library, originally developed by Bernd Kreuss and distributed here.

CHANGES

See CHANGES.md

SAMPLES

MQL4/Scripts/mt4RTest.mq4

A simple script to test mt4R working correctly.

Requires

  • MT4 build 600 or later
  • R executable
  • MQL4/Include/mt4R.mqh

Installation

  1. Copy MQL4/Include/mt4R.mqh to ``<TERMINAL_DATA_PATH>/MQL4/Include/```
  2. Copy MQL4/Scripts/mt4Rtest.mq4 to <TERMINAL_DATA_PATH>/MQL4/Scripts/
  3. Change R_command to your installation path
  4. Run mt4RTest script from MT4

MQL4/Experts/arbomat.mq4 and MQL4/Experts/trendomat.mq4

Expert advisors, originally distributed here.

This distribution contains modified version of common_functions.mqh and experts to adapt to new MQL4.

Requires

  • MT4 build 600 or later
  • R executable
  • MQL4/Include/mt4R.mqh
  • MQL4/Include/common_functions.mqh

Installation

  1. Copy MQL4/Include/mt4R.mqh to ``<TERMINAL_DATA_PATH>/MQL4/Include/```
  2. Copy MQL4/Include/common_functions.mqh to ``<TERMINAL_DATA_PATH>/MQL4/Include/```
  3. Copy MQL4/Experts/arbomat.mq4 to <TERMINAL_DATA_PATH>/MQL4/Experts/
  4. Copy MQL4/Experts/trendomat.mq4 to <TERMINAL_DATA_PATH>/MQL4/Experts/
  5. Change RPATH to your installation path
  6. Run experts from MT4
  7. 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.