[CONTINUED] Therefore, I suggest you to change the window length to a large number, and this number is based on your research purpose. For example, 60 days is large enough to observe some valuable moving average data of FCF. However, you can see there are still a couple of days have the same value as the FCF. latest. Because 60 < 90(a quarter) for some of the values they are calculated by the same number as the Free Cash Flow at that particular day. But if you change the window length to 90 days( which is the length of a quarter) you can completely avoid FCF = FCF_Moving average. Here I post the example of single equity APPL with window length equals 60 days to help me explain the idea. You are free to modify my code if you have any related problems want to test.
On the other hand, for some of the fundamental data related to the market information( for example P/E ratio related to the price of the equity) There is no need to worry about picking the window length problem, because its value changes daily. But be careful on the date of financial reports come out.
Please let me know if I understood your question in a wrong way or I made some mistakes above.