Skip to content
Prev 13130 / 15274 Next

help with quantstrat

my guess is that your myRSI and myCCI functions probably need to explicitly
define the colnames 'rsif', ...

myRSI=function(x,nrsi=8,m=20){
    r=SMA(RSI(x,n=nrsi),n=m)
    colnames(r) <- 'rsif'
    return(r)
    }

Check if  the 'label=' argument is really being used to set column labels
in the "add.indicator" function definition ...


On Tue, Feb 3, 2015 at 11:43 AM, Olivier MARTIN <
Olivier.Martin at avignon.inra.fr> wrote: