Quantstrat Example in R - EMA Crossover Strategy

Premium

Our first quantstrat example case study is based on the Exponential Moving Average (EMA) Crossover.  

Let’s briefly review what moving averages and crossovers are.

Moving Averages

A moving average is the average price of a security over a set amount of time. Moving averages smooth the price data to form a trend following indicator (TFI). Once the day-to-day fluctuations are removed, traders are better able to identify the true trend and increase the probability that it will work in their favor.

Continue Reading
Premium Content

This tutorial is a part of the course Quantitative Trading Strategies in R. This is a premium course. The purchase options for the course are provided below. With this course, you get access to complete course content, source code, practical exercises, and all resources that are a part of the course.

Lifetime Premium Membership
$250
$179

Get unlimited access to all courses and premium content

Join Premium
Individual Course
$7

Purchase this course individually

Purchase CourseView Course Details
What's Included:
Complete access to course content and updates
All downloadable resources
Interactive course quizzes
Practice exercises and sample code
Ad-free learning experience