View source: R/genericStrategy.R
plotReturns | R Documentation |
Red triangles is losing trades, green triangles is winning trades. Grey dashed line is y = x line. On y-axis MAE/MFE is displayed, on x-axis PnL of trade is displayed.
plotReturns(this, type) plotTrades(this, type) ## S3 method for class 'Strategy' plotTrades(this, type = "MAE")
this |
Strategy |
type |
character, MAE or MFE |
ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.