MB51 is just a list for movements.
moving average price is not only updated by movements,
hence you have gaps in the price development,
MB51 cannot be used to track prices.
Have a look into MR51, and you will see more price influencing activities like invoice posting and GR/IR clearance, price maintenance through MR21 etc.