chart.ME | R Documentation |
Produces a scatterplot with one point per trade, with x-axis: absolute value of Drawdown (Adverse), or Run Up (Favourable), and y-axis: absolute value of Net Profit or Loss
chart.ME(
Portfolio,
Symbol,
type = c("MAE", "MFE"),
scale = c("cash", "percent", "tick"),
...,
legend.loc,
trim.ax = FALSE
)
Portfolio |
string identifying the portfolio to chart |
Symbol |
string identifying the symbol to chart. If missing, the first
symbol found in the |
type |
string specifying MAE (Adverse) or MFE (Favourable) chart type |
scale |
string specifying 'cash', or 'percent' for percentage of investment, or 'tick' |
... |
any other passthrough parameters, in particular includeOpenTrades (see perTradeStats()) |
legend.loc |
string specifying the position of legend. If missing, "bottomright" will be used |
trim.ax |
if FALSE, axes will not be trimmed, else the trim quantile will be used for trimming axes, useful for data with outliers either a single 0-1 floating point number or a c(x,y) option is supported |
Jan Humme
Tomasini, E. and Jaekle, U. Trading Systems - A new approach to system development and portfolio optimisation (ISBN 978-1-905641-79-6), section 3.5
perTradeStats
for the calculations used by this chart,
and tradeStats
for a summary view of the performance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.