$ 0 0 @flying08 If I were going to implement it I'd do it in R using the CRAN Finance task view #rstats