Question: Write script in R/R-Studio to execute a trend following strategy for the stock Suzlon Energy (SUZLON.NS) using the historical stock price data from 01-02-2012 onwards.

Write script in R/R-Studio to execute a trend following strategy for the stock Suzlon Energy (SUZLON.NS) using the historical stock price data from 01-02-2012 onwards. Use SMA function & download the stock price data from getSymbols.yahoo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
