Hey thanks josh, I was looking for such a demo programme can you point to some more such demo programmes if available -- View this message in context: http://r.789695.n4.nabble.com/inbuilt-crossover-function-for-backtesting-tp4710918p4710961.html Sent from the R help mailing list archive at Nabble.com.