### **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**.
In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e testarlo. Complimenti all'autore! Puoi usarlo gratuitamente, ma il riutilizzo di questo codice nelle pubblicazioni è disciplinato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.