OPEN-SOURCE SCRIPT

MACD + EMA 9/21 Buy/Sell Signals with Traffic Lights

148
"This Pine Script indicator combines MACD and EMA (9/21) to generate buy/sell signals, enhanced by a prominent traffic light system by Seba. Displayed in the upper right corner of the price chart, the semaphore features three large dots: green (top) for buy signals, yellow (middle) for no signal, and red (bottom) for sell signals. The active signal’s dot enlarges for clear visibility, positioned just above the current price, while EMA lines and signal markers overlay the chart for comprehensive trading insights."

Buy Signal: MACD line rising above the signal line + EMA 9 > EMA 21.

Sell Signal: MACD line falling below the signal line + EMA 9 < EMA 21.

Visualized with colored backgrounds, arrows, and closing signals (gray crosses).

Includes EMA plots, break alerts after signal series, and position-state management.

Advanced Strategy in Development:
A companion automated trading strategy is being optimized to execute entries/exits at optimal levels. Donations are warmly welcomed to accelerate progress!

SOL Donations:
HtdZfT2ijsUYz6CmNhjgU9G2b2TNRDHVd2dV23fbv4xT
Every contribution fuels faster development and enhanced features! 🚀

Thanks!

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.