I have got a question regarding my ILR application I hope your could please help me with. My future plans depend on this answer so I hope I will be able to find somebody with experience to give me some guidance on the best way forward.
After finishing my masters degree in the UK I decided to stay and got a job as a control systems engineer with a reputable engineering company in London. my company unfortunately went through some tough times and gave us the option to either work on a project abroad or be made redundant. I obviously took the latter option. after a year and a half things got better in the UK office and I came back to work in London. this however messed up my plans for settlement in the UK

could you please have a look at my specific case including the dates listed below and let me know what my chances are for getting an ILR in the UK, or otherwise. either way at least I would know if I need to stay or find move abroad.
My UK residency history is as follows:
- 12.08.2006 to 4.7.2008 Student visa Tier 4 - HND
- 11.9.2010 to 5.2.2012 student visa Tier 4 - Masters degree
- 6.2.2012 to 15.4.2012 post study work visa - looking for a job (left UK on the 15th of april 2012)
- 23.8.2018 returned to the UK and started working for an engineering company on post study work visa
30.8.2013 got me Tier 2 visa and continued working for the same employer
- 25.8.2015 left the UK to work for the same employer abroad, still had a valid Tier 2 visa. I still visited the UK regularly, almost every 2 weeks.
- 30.4.2017 returned to work in the UK office on Tier 2. this is my current tier 2 visa valid from 23.8.2016 to 16.8.2019.
I would much appreciate any guidance or advice regarding the above.

Kind regards,
Mustafa