Skip to content
/ FX-Git Public
forked from dennislwm/FX-Git

A collection of Metatrader 4 and R scripts

Notifications You must be signed in to change notification settings

itaroiu/FX-Git

 
 

Repository files navigation

FX-Git

GitHub repo size GitHub language count GitHub top language GitHub last commit GitHub stars GitHub forks GitHub watchers GitHub followers

A collection of Metatrader 4 ["MT4"] and R scripts

About FX-Git

This project was created by me because projects created by either Software Geeks or Financial Gurus are mutually exclusive.

As both a Software Geek and Financial Guru, I mixed them up by writing codes about finance related stuff.


About Me

Software Geek

Started as a hobbyist, studied computer engineering as a degree, then worked as a full-time software engineer, and a freelance programmer.

Accounting / Financial Perfectionist

Studied accounting as a master degree, worked as a research analyst & fund manager, and a cashflow accounting perfectionist.

Trading Maestro

Started as a hobbyist, and maintains an open-source repository of trading indicators and advisors.

Passionate Learner

Dabbled in email marketing, and new to full-stack development.


What To Do Next

This collection has grown relatively large over time, and some of these scripts are course related.

Eventually, I will be moving some of these course related scripts to separate GitHub repositories.

The core scripts will remain in this repository.


Prerequisites

This collection of scripts was written using either MT4 or R.

  • Metatrader 4 ["MT4"] client and demo account with any broker.

  • R and RStudio


Project Structure

 FX-Git/                  <-- Root of this project
   +- experts/            <-- Holds any MT4 Expert Advisors ["EA"]
   +- include/            <-- Holds any MT4 Include Files
   +- indicators/         <-- Holds any MT4 Indicators
   +- presets/            <-- Holds any MT4 Preset Files
   +- scripts/            <-- Holds any MT4 Script Files
   +- R-knitr/            <-- R Markdown documentation for R-source
   +- R-shiny01/          <-- R-shiny Example 1
   +- R-shiny02/          <-- R-shiny Example 2
   +- R-source/           <-- Holds any R scripts
   +- R-test/             <-- R Unit Tests for PlusMtr.R, PlusMtrGhost.R, PlusFile.R
   +- R-test-03/          <-- R Unit Test for PlusPdf.R
   +- R-test-04/          <-- R Unit Test for PlusLotto.R
   +- R-test-05/          <-- R Unit Test for PlusMonte.R
   +- R-test-06-Rtt/      <-- R Unit Test for PlusRtt.R
   +- R-test-07-job/      <-- R Unit Test for PlusJob.R
   +- R-test-08-bscd/     <-- R Unit Test for PlusBscd.R

MT4 Packages

  1. Ghost Package - Paper trading module in Metatrader 4.

MT4 Indicators

  1. Cumulant Ratio Indicator - A Digital Signal Processing indicator in Metatrader 4.

TODO

Add more documentation for MT4 Packages, Expert Advisors, and Indicators.


YouTube Channel

I made videos on some MT4 scripts below:

Dennis Lee's YouTube Channel


Example Usage

In the following example, the default application will be created in the folder myproject/.

 $ git clone https://github.com/dennislwm/FX-Git myproject

Reach Out!

Please consider giving this repository a star on GitHub.

About

A collection of Metatrader 4 and R scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MQL4 65.2%
  • R 21.5%
  • MQL5 13.3%