This TradingView Pine Script indicator displays a smoothed Exponential Moving Average (EMA) line along with a single arrow to indicate the last confirmed crossing event. The indicator highlights either a "Buy" or "Sell" signal based on price action relative to the smoothed EMA.
How It Works: The script tracks the index and direction (up or down) of the last crossover event. When no new crossing event occurs, the script resets to avoid plotting multiple arrows. The smoothed EMA line is plotted on the chart to give context for the crossover signals.