PROTECTED SOURCE SCRIPT

EMA50 Retest + Break Candle (Signals + SL)

91
Here’s a **clean, professional description** you can paste directly into TradingView when saving or publishing your indicator.
It’s written clearly so *any trader* can understand the logic.

---

### 📌 Indicator Description

**EMA 50 Retest & Break Confirmation Indicator**

This indicator is designed to identify high-probability continuation entries using the **EMA 50** on the current chart timeframe.
It works on **all market pairs** (Forex, Gold, Crypto, Indices) and adapts automatically to the timeframe selected on the chart.

---

### 🔵 BUY Setup Logic

A **BUY signal** is generated when all the following conditions are met:

1. Price **closes above the 50 EMA** with a bullish candle
2. The next candle **retests the EMA 50** (price touches the EMA)
3. The retest candle is a **bearish (red) candle**
4. Price **breaks the high** of that bearish retest candle
5. The **stop-loss** is automatically defined as the **low of the broken bearish candle**

---

### 🔴 SELL Setup Logic

A **SELL signal** is generated when all the following conditions are met:

1. Price **closes below the 50 EMA** with a bearish candle
2. The next candle **retests the EMA 50**
3. The retest candle is a **bullish (green) candle**
4. Price **breaks the low** of that bullish retest candle
5. The **stop-loss** is automatically defined as the **high of the broken bullish candle**

---

### ⚙️ Key Features

* Uses **EMA 50** based on the active chart timeframe
* Works on **all instruments and timeframes**
* Clear **BUY / SELL signals** on structure break
* Automatic **Stop-Loss plotting** from the retest candle
* Optional confirmation using candle close beyond break level
* Alert support for both BUY and SELL entries

---

### 🎯 Best Use Case

This indicator is best suited for:

* Trend continuation trades
* EMA pullback and retest strategies
* Clean structure-based entries with defined risk

Recommended timeframes: **M15, M30, H1, H4**

---

### ⚠️ Note

This indicator is a **confirmation tool** and should be used alongside proper risk management and market structure analysis. It does not predict price movement.

---

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.