As far as I remember MA works with files and all files you have in your market export folder will form a corresponding record.
Market history is used to calculate average traded volume per day during last several weeks. Need some formula to filter out 'noise' in the data. Wish I have graduated not 10 years ago and still remember statistics course.
If we use average the Lowest Low and the Highest High based on 7 or 14 average values we will calculate average profit also. Profit can change on daily basis, average profit is something constant.