OPEN-SOURCE SCRIPT
EMA Ribbon Reversal + Retest Signal

🧩 1. Core Concept
This indicator combines EMA ribbon trend detection, reversal identification, and EMA144/233 retest confirmation to capture structured market transitions.
It’s designed to:
Detect trend changes when all EMAs align.
Confirm entry zones when price retests major EMAs (144, 233).
Avoid false signals through compression, volume, and body strength filters.
🧠 2. How to Read the Indicator on Chart
🟢 BUY Sequence (Bullish Scenario)
Reversal Detected → Candle closes above all EMAs (label: “BUY”).
Retest Phase → Price pulls back to EMA144 or EMA233 but stays above (label: “Retest BUY Strong/Weak”).
Confirmation → A bullish candle forms with strong volume — continuation likely.
Trend continues upward until opposite “SELL Reversal” occurs.
🔴 SELL Sequence (Bearish Scenario)
Reversal Detected → Candle closes below all EMAs (label: “SELL”).
Retest Phase → Price retests EMA144/233 from below but fails to break up (label: “Retest SELL Strong/Weak”).
Confirmation → Bearish candle + strong volume — continuation likely.
Downtrend continues until new “BUY Reversal” appears.
📈 3. How to Use in Real Trading
Step 1 — Identify Market Context
Use higher timeframe (e.g., 1H or 4H) to confirm main trend via EMA144 & 233.
Avoid entries during flat EMA ribbons (compression zones).
Step 2 — Watch for Reversal Signal
“BUY” or “SELL” label = early trend shift.
Wait for at least one candle close after the reversal for confirmation.
Step 3 — Wait for Retest Confirmation
Price should touch or bounce near EMA144/233.
“Retest BUY/SELL Strong” = higher probability entry zone.
Step 4 — Filter by Volume
Strong signals appear only if volume > SMA(volume) × multiplier.
Low-volume retests are weaker and more likely to fail.
Step 5 — Manage Trades
Enter on confirmed “Strong” retests.
Use EMA233 or ATR-based stop loss.
Exit on opposite reversal or loss of trend alignment.
💡 4. Reading Behavior Tips
EMA compression low (<0.2) → sideways market → avoid entries.
Strong retest + high volume → high probability continuation.
Weak retest or compressed EMA → caution; may be fakeout.
EMA144 & 233 cross → long-term trend shift zone.
Spaced signals = stable trend; clustered signals = volatility zone.
🔔 5. Using Alerts
You can set TradingView alerts for:
BUY/SELL Reversal: Trend direction change
Retest BUY/SELL Strong: Confirmation entry
BUY/SELL Breakout: First strong test after new reversal
This indicator combines EMA ribbon trend detection, reversal identification, and EMA144/233 retest confirmation to capture structured market transitions.
It’s designed to:
Detect trend changes when all EMAs align.
Confirm entry zones when price retests major EMAs (144, 233).
Avoid false signals through compression, volume, and body strength filters.
🧠 2. How to Read the Indicator on Chart
🟢 BUY Sequence (Bullish Scenario)
Reversal Detected → Candle closes above all EMAs (label: “BUY”).
Retest Phase → Price pulls back to EMA144 or EMA233 but stays above (label: “Retest BUY Strong/Weak”).
Confirmation → A bullish candle forms with strong volume — continuation likely.
Trend continues upward until opposite “SELL Reversal” occurs.
🔴 SELL Sequence (Bearish Scenario)
Reversal Detected → Candle closes below all EMAs (label: “SELL”).
Retest Phase → Price retests EMA144/233 from below but fails to break up (label: “Retest SELL Strong/Weak”).
Confirmation → Bearish candle + strong volume — continuation likely.
Downtrend continues until new “BUY Reversal” appears.
📈 3. How to Use in Real Trading
Step 1 — Identify Market Context
Use higher timeframe (e.g., 1H or 4H) to confirm main trend via EMA144 & 233.
Avoid entries during flat EMA ribbons (compression zones).
Step 2 — Watch for Reversal Signal
“BUY” or “SELL” label = early trend shift.
Wait for at least one candle close after the reversal for confirmation.
Step 3 — Wait for Retest Confirmation
Price should touch or bounce near EMA144/233.
“Retest BUY/SELL Strong” = higher probability entry zone.
Step 4 — Filter by Volume
Strong signals appear only if volume > SMA(volume) × multiplier.
Low-volume retests are weaker and more likely to fail.
Step 5 — Manage Trades
Enter on confirmed “Strong” retests.
Use EMA233 or ATR-based stop loss.
Exit on opposite reversal or loss of trend alignment.
💡 4. Reading Behavior Tips
EMA compression low (<0.2) → sideways market → avoid entries.
Strong retest + high volume → high probability continuation.
Weak retest or compressed EMA → caution; may be fakeout.
EMA144 & 233 cross → long-term trend shift zone.
Spaced signals = stable trend; clustered signals = volatility zone.
🔔 5. Using Alerts
You can set TradingView alerts for:
BUY/SELL Reversal: Trend direction change
Retest BUY/SELL Strong: Confirmation entry
BUY/SELL Breakout: First strong test after new reversal
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.