OPEN-SOURCE SCRIPT
Telah dikemas kini

MACD + EMA 9/21 Buy/Sell Signals

187
combines MACD and EMA (9 and 21) to generate buy and sell signals on a price chart. It calculates the MACD using customizable fast (12), slow (26), and signal (9) lengths, alongside EMA 9 and EMA 21 lines. A buy signal is triggered when the MACD line rises above the signal line and EMA 9 is above EMA 21, marked by a faint green background, a green upward triangle labeled "BUY," and an optional vertical line. A sell signal occurs when the MACD falls below the signal line and EMA 9 is below EMA 21, indicated by a faint red background, a red downward triangle labeled "SELL," and an optional vertical line. The EMA lines are plotted in blue (EMA 9) and orange (EMA 21) for visual reference.

by kloneyie
Nota Keluaran
combines MACD and EMA (9 and 21) to generate buy and sell signals on a price chart. It calculates the MACD using customizable fast (12), slow (26), and signal (9) lengths, alongside EMA 9 and EMA 21 lines. A buy signal is triggered when the MACD line rises above the signal line and EMA 9 is above EMA 21, marked by a faint green background, a green upward triangle labeled "BUY," and an optional vertical line. A sell signal occurs when the MACD falls below the signal line and EMA 9 is below EMA 21, indicated by a faint red background, a red downward triangle labeled "SELL," and an optional vertical line. The EMA lines are plotted in blue (EMA 9) and orange (EMA 21) for visual reference.
Nota Keluaran
Indicator Description:
This indicator combines MACD (12,26,9) and EMA 9/21 crossovers to generate buy/sell signals. Key features:

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!

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.