I want to plot a trading strategy against a currency pair. Of course the trading strategy has large values (>10'000, since 10'000 is the initial capital) and the currency pair hovers around 1.5. So I want to overlay the strategy over the same chart as the currency pair, but I need two different Y-scales.
How can I do that?
Like this both are in the same chart, however the strategy (Investment) isn't visible since it's way above the highest high of the currency pair.
And bonus question :-)
How can I subset the data from a specific date until today? like 2008 until now or something?
FXTimeSeries <- zoo(MergedSet$FXCloseRate,MergedSet$Date)
InvestmentTimeSeries <- zoo(matrix[,"Investment"], MergedSet$Date)
chartSeries(FXTimeSeries, theme="white", subset='2011-04::2013-06')
addTA(InvestmentTimeSeries,legend="Strategy", on=1)