Combine & Merge Candlesticks with EMA
You can do the following:-
1 min - look back 5 (5 min) up to 15 (15 min)
5 min - look back 3 (15 min) up to 12 (1 hour)
15 min - look back 4 (1 hour) up to 16 ( 4 hours)
1 hour - look back 4 (4 hours) up to 8 (8 hours - 1 trading session)
4 hour - look back 2 (8 hours - 1 trading session) up to 6 ( 1 Day)
1 day - look back 5 ( 1 week)