Description Usage Arguments Examples
Calls a generic plot
function that can plot the data of any Strategy
-object. If a plotFUN
-function is given within the object, this user-defined function will be used. The generic function plots 3 parts:
Price area Plots the asset price data and filters.
Indicator area Plots the indicators and trading signals.
Performance area Plots performance of the strategy.
1 2 3 4 |
x |
An object of class |
y |
Standard plot argument that is not relevant for Strategy objects! |
from |
From date that chart is to be plotted. |
until |
Until date that chart is to be plotted. |
which.assets |
Which assets shall be plotted (each one will result in single plot) |
which.filters |
Which filters shall be added to price plot. Default value |
which.indicators |
Which indicators shall be added to indicator plot. Default value |
main |
The main title of the plot. |
show.signals |
If |
include.costs |
If |
... |
Further arguments passed to custom plotFUN (if available) of the object (x). |
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.