How far back can I file my taxes?

I have not filed my taxes since 2017.  So I missed 2018-2022 (5 years).  I do not owe taxes b/c I own rental property and b/c of expenses (depreciation) there is no taxable income.

 

I do want to get my taxes filed and have gotten my Quickbooks file up to date with all my rental income and expenses.  

 

I would also like to amend my 2017 returns.  I became a landlord in November 2017.  I received 1.5 months of rental payments from the person I bought my rental property from.  The prior owner wanted to stay until Dec 31st to facilitate his move.  I forgot to reflect that in my 2017 taxes.    Is it too much hassle to amend the returns now?  There might be some carry forward loss I could utilize.