Fixed another problem. There must be also be a dividend to unadjust. Updated file attached. adjustOHLC.R <http://r.789695.n4.nabble.com/file/n4647688/adjustOHLC.R> -- View this message in context: http://r.789695.n4.nabble.com/adjustOHLC-discrepancy-tp4643567p4647688.html Sent from the Rmetrics mailing list archive at Nabble.com.