Hello list,

wonder if anyone can help me out. I want to call chartSeries() and
subsequently addTA() from within an S4 method.
The chartSeries() works, but the addTA() does not....

setMethod("plot", "TradingSystem_FX", function(x){
..
..
                    # plot fx timeseries
                    x11()
                    fxSeries = as.quantmod.OHLC(seriesFX,col.names="Close")

chartSeries(fxSeries,theme="white",TA="addEMA(200,col=4)",name=seriesName)

                    #plot marketposition
                    addTA(mktPositions)

..

                    })

Thanks and have a nice WE,

Lorenzo Bertolini

	[[alternative HTML version deleted]]

