I had seen something like this on metatrader but not here. Since I use TradingView and not metatrader had some fun with this. Indicates up or down for 4 chosen time Frames and as such helps to see the historical trend. Works best on daily or shorter charts because of load time.
User can choose the length of the two exponential moving averages used on each time frame or use defaults 9 and 15. User can choose the 4 time frames defaults are (display from top to bottom) 5, 15, 60 and D. Displays a column of 4 dots or circles for each bar of current chart the top being the shortest time frame. If the faster exponential moving average is above the slower (uptrend) the dot is green else red.
This is similar (actually what I was originally shooting for but took extra time to figure out time frames on here) to another script of mine that has the same display method but uses a spaced set of Hull Moving Averages on one time frame, you choose the shortest length and the space increment between the averages. One may work better than the other for different markets or trading styles. The other one is here: Have fun trading and keep smiling!