A bit busy myself . . however . .

Don't think you need an AF here. Something like:

Select Account_Number, Avg(Account_Balance)
From my_table
Where Date_Stamp > sysdate-90 --< fix this accordingly ! ! !
Group By Account_Number
Having Count(Account_Number) = 3;