I want to build a trading strategy against a currency pair. Of course, the trading strategy is of great importance (> 10,000, since 10,000 is the initial capital), and the currency pair fluctuates around 1.5. So I want to overlay the strategy on the same chart as the currency pair, but I need two different Y-scales.
How can i do this?
Similarly, both are in the same chart, but the strategy (Investments) is not visible, since it is above the maximum maximum of the currency pair.
And the bonus question :-)
How can I multiply data from a specific date to today? how until 2008 or something else?
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)
source share