### **MACD + RSI Buy/Sell Signals Indicator for TradingView**
This TradingView indicator helps traders identify **buy and sell opportunities** using a combination of **MACD (Moving Average Convergence Divergence) and RSI (Relative Strength Index)**.
---
### **Indicator Components** 1. **MACD (Moving Average Convergence Divergence)** - Uses **12-period EMA (fast)** and **26-period EMA (slow)** to calculate the MACD line. - A **9-period EMA** of the MACD line is used as the **signal line**. - A **bullish crossover** (MACD line crossing above the signal line) suggests a buy signal. - A **bearish crossover** (MACD line crossing below the signal line) suggests a sell signal.
2. **RSI (Relative Strength Index)** - Uses a **14-period RSI** to measure momentum. - An RSI value above **30** confirms a **buy signal** when the MACD crossover happens. - An RSI value below **70** confirms a **sell signal** when the MACD crossunder happens.
---
### **Buy & Sell Signals** - **Buy Signal:** - When the **MACD line crosses above the signal line**, and RSI is above **30** (indicating upward momentum). - Plotted as a **green label** below the price bars.
- **Sell Signal:** - When the **MACD line crosses below the signal line**, and RSI is below **70** (indicating downward momentum). - Plotted as a **red label** above the price bars.
---
### **Usage Guidelines** - Best suited for **intraday and swing trading** on **higher timeframes** like **15 minutes, 1 hour, or daily charts**. - Works well in **trending markets** but may generate false signals in **sideways markets**. - Can be combined with **support/resistance levels** for higher accuracy.
---
This indicator provides **clear visual signals** on the chart to help traders **easily identify potential entry and exit points**.
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menerbitkannya sebagai sumber terbuka, sehingga para trader dapat memahami dan memverifikasinya. Salut untuk penulisnya! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.