Hi Josh, I've fixed it. Please see file attached. adjustOHLC.R <http://r.789695.n4.nabble.com/file/n4647683/adjustOHLC.R> -- View this message in context: http://r.789695.n4.nabble.com/adjustOHLC-discrepancy-tp4643567p4647683.html Sent from the Rmetrics mailing list archive at Nabble.com.