How to plot different Close prices of different timeframes on a MQL5 Indicator?

 
Hi. I am struggling on how to create a way to plot on the main chart lines showing the close prices of different timeframes in an indicator made on MQL5. Any tips? How to create an array to fill it with the close prices of different timeframes?
Reason: