Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201919

How to find the best Moving-average Crossings?

$
0
0

I want to filter out the best MA-Crossing (short/long-term) based on the Sharpe ratio. If possible, best with a heatmap.

Can anyone help me with this?

library(quantmod)

getSymbols("^GSPC", src = "yahoo")  

Viewing all articles
Browse latest Browse all 201919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>