Publications by XmPh

“R” scripts for Metatrader ….. The first steps of many for proper trading

05.02.2011

I have designed and developed Automated Trading Systems (ATS) for few years now. Since trading live, I have been fairly profitable (that is, I achieved my goals). However, I had the unsatisfactory feeling that I was missing some information to increase the level of trust in my systems … I was missing the proper tools […] Related ...

726 sym 2 img

Algorithmic Trading in R: Available Information

12.02.2011

After digging through different blogs and info on the web I found an amazingly strong and developping community supporting R for specific applications in algorithmic trading. Thereafter I present some of the major information that I believe are essential to the novice R algorthmic trader, hoping this will reduce the learning curves of...

752 sym 2 img

Enhancing R Graphic packages

12.02.2011

This will be the last thing I’ll post prior starting to connect R with Metatrader. Indeed, as you may suspect already I use this blog as my lab-book. The following might be quite general, but it fits in my overall ambition to build a personal quant-trading architecture as professional as I can. Graphic visualization is […] Relate...

728 sym 2 img

Transfering MT4 quotes in R

13.02.2011

The more I get into this, the more I adjust my objectives. Currently, I’m willing to make the most of the Quantmod and Blotter R-packages, while eventually building a MT4 equivalent of the InteractiveBroker-R_API. As a first step, I was willing to Chart ticks from MT4 in R using the Quantmod’s chartSeries().  There are different ...

738 sym 2 img

Multithreading in R (or other types of non-sequencial programming)

21.02.2011

Considering forwarding tick data from MT4 to R requires less than 2ms, but that charting 4 different time-frame (1min, 15min, 30min and 1hour) at each tick-update may require more than 250ms (depending on the number of bars in history), I think it is fundamental to investigate further in different types of non-sequencial programming a...

749 sym 2 img

MT4 -> Multi-R sessions for tick-analysis

24.02.2011

The Shared-Memory between multiple R sessions mentioned in my previous post got me thinking … quite some potential indeed. As a result, I investigated further using (calling) multiple R sessions from the same MT4 script. Specifically, I wanted to have a clearer understanding of the time required to performed lightning fast & dead sl...

756 sym 2 img

Validating R-Backtesting frameworks against Metatrader 4 with 99% tick accuracy

05.01.2014

The primary objective here is to make sure the framework I use in R to backtest strategies delivers similar results to that of MT4, most specifically to 99% tick accuracy MT4 backtesting. Why the 99% tick accuracy …. because it’s … Continue reading → Related To leave a comment for the author, please follow the link and comme...

654 sym 2 img