### **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**.
ברוח TradingView אמיתית, המחבר של הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסומים כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.