OPEN-SOURCE SCRIPT
GEMINI Advanced SMA with Trend & Alerts

Description:
This indicator is a professional Trend & Signal analysis tool designed to help traders identify market direction, entries, and momentum strength at a glance. It combines a customizable dual Moving Average system with an advanced real-time Information Dashboard.
The script is built to keep charts clean while providing maximum data through the on-screen panel.
📈 Key Features
1. Dual Moving Average System
Fast MA (Signal Line): Acts as the primary trigger for entries.
Slow MA (Trend Baseline): Filters the overall market direction.
Visual Cloud: The area between the two MAs is filled with color (Green/Red) to visualize the trend strength and potential support/resistance zones.
Flexibility: You can choose between SMA, EMA, HMA, WMA, or RMA for both lines independently.
2. Professional Data Dashboard A customizable table positioned on your chart provides real-time analytics:
Price Action: Immediate Bullish/Bearish status.
MA Status: Shows if the Fast and Slow MAs are currently Rising or Falling.
Exact Levels: Displays the precise price values of the MAs.
Spread Analysis: Monitors the gap between the Fast and Slow MA ("Expanding" vs "Squeezing") to help identify momentum acceleration or exhaustion.
3. Signals & Alerts
BUY Signal: Generated when the Price crosses OVER the Fast MA.
SELL Signal: Generated when the Price crosses UNDER the Fast MA.
Alerts: Fully compatible with TradingView alerts for automation.
4. Multi-Timeframe (MTF) Support You can calculate the Moving Averages based on a higher timeframe (e.g., viewing 4-hour MAs while trading on a 15-minute chart) to stay aligned with the macro trend.
🛠 How to Use
Trend Identification: Look at the "Cloud" color. Green indicates an uptrend context; Red indicates a downtrend context.
Entry Points: Use the "BUY" and "SELL" labels.
Pro Tip: Take BUY signals only when the Cloud is Green (trading with the trend).
Pro Tip: Take SELL signals only when the Cloud is Red.
Momentum Check: Use the Dashboard to see if the Spread is "EXPANDING" (strong momentum) or "SQUEEZING" (potential consolidation or reversal).
⚙️ Settings
Fast/Slow Length & Type: Fully customizable periods and MA types.
MTF: Enable/Disable higher timeframe calculations.
Dashboard: You can toggle the table visibility, change its size (Tiny, Small, Normal, Large), and move it to any corner of the screen.
Disclaimer: This tool is for informational purposes only and does not constitute financial advice.
This indicator is a professional Trend & Signal analysis tool designed to help traders identify market direction, entries, and momentum strength at a glance. It combines a customizable dual Moving Average system with an advanced real-time Information Dashboard.
The script is built to keep charts clean while providing maximum data through the on-screen panel.
📈 Key Features
1. Dual Moving Average System
Fast MA (Signal Line): Acts as the primary trigger for entries.
Slow MA (Trend Baseline): Filters the overall market direction.
Visual Cloud: The area between the two MAs is filled with color (Green/Red) to visualize the trend strength and potential support/resistance zones.
Flexibility: You can choose between SMA, EMA, HMA, WMA, or RMA for both lines independently.
2. Professional Data Dashboard A customizable table positioned on your chart provides real-time analytics:
Price Action: Immediate Bullish/Bearish status.
MA Status: Shows if the Fast and Slow MAs are currently Rising or Falling.
Exact Levels: Displays the precise price values of the MAs.
Spread Analysis: Monitors the gap between the Fast and Slow MA ("Expanding" vs "Squeezing") to help identify momentum acceleration or exhaustion.
3. Signals & Alerts
BUY Signal: Generated when the Price crosses OVER the Fast MA.
SELL Signal: Generated when the Price crosses UNDER the Fast MA.
Alerts: Fully compatible with TradingView alerts for automation.
4. Multi-Timeframe (MTF) Support You can calculate the Moving Averages based on a higher timeframe (e.g., viewing 4-hour MAs while trading on a 15-minute chart) to stay aligned with the macro trend.
🛠 How to Use
Trend Identification: Look at the "Cloud" color. Green indicates an uptrend context; Red indicates a downtrend context.
Entry Points: Use the "BUY" and "SELL" labels.
Pro Tip: Take BUY signals only when the Cloud is Green (trading with the trend).
Pro Tip: Take SELL signals only when the Cloud is Red.
Momentum Check: Use the Dashboard to see if the Spread is "EXPANDING" (strong momentum) or "SQUEEZING" (potential consolidation or reversal).
⚙️ Settings
Fast/Slow Length & Type: Fully customizable periods and MA types.
MTF: Enable/Disable higher timeframe calculations.
Dashboard: You can toggle the table visibility, change its size (Tiny, Small, Normal, Large), and move it to any corner of the screen.
Disclaimer: This tool is for informational purposes only and does not constitute financial advice.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.