DVI Performance

September 24, 2014

(This article was first published on Quintuitive » R, and kindly contributed to R-bloggers)

This is the next post in the DVI indicator series. After the first two (here and here) analyzed in details the post-entry returns and the entry power of this indicator, it’s time to take a look at the trading performance.

Using the Systematic Investor Toolbox, we get some pretty decent results:

Equity Curve

Equity Curve

Performance Statistics

Performance Statistics

CAGR of 16.15% and Sharpe Ratio of 0.93 is simply amazing, especially considering the fact that this is just a bare-bone implementation. The massive performance over the last few years is simply astonishing and a proof of the robustness of this indicator. Remember, it was introduced by David Varadi from CSS Analytics circa 2008.

As usual, the full source code is available from GitHub. For the code to work properly, you need to install the latest version of the TTR package from R-Forge, which substantially improves the previous DVI implementation. One way to install this necessary package is by running:

install.packages("TTR", repos="http://R-Forge.R-project.org")

To leave a comment for the author, please follow the link and comment on their blog: Quintuitive » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)