Imagine you open multiple trades on the same asset — for example, buying EUR/USD three times. In the U.S., FIFO (First In, First Out) means you must close the oldest trade first before closing the others.
So if you:
Buy EUR/USD at 9:00 AM
Buy it again at 9:30 AM
Buy it again at 10:00 AM...