This indicator is using fast and slow EMA to check if we have a buy or a sell signal.
When the Fast EMA is greater than the slow EMA, it means we have a buy signal. When the Slow EMA is greater than the Fast EMA, it means we have a sell signal.
This will give you the direction of the trend.
The next step is to add some smoothing part and a dropdown menu for different MA.
All credits goes to trades_sharad who first created the script.