OPEN-SOURCE SCRIPT
Anurag Institutional Swing Trader Pro [Robust]

nstitutional Swing Flow [Pro] is a comprehensive, multi-timeframe system designed for swing traders who want to align with "Smart Money" rather than fight against it.
Unlike standard indicators that rely solely on price crossovers, this script analyzes the underlying order flow—tracking stealth accumulation, volume anomalies, and institutional footprints—to generate high-probability swing setups.
Key Features (The "Smart Money" Logic)
1. Institutional Footprints
Stealth Accumulation/Distribution: Detects when price is held in a tight range despite high volume (a classic sign of institutions building a position).
Smart Money Divergence: Identifies when price makes a lower low but Money Flow (OBV/Accumulation-Distribution) makes a higher high.
Fair Value Gaps (FVG): Automatically plots Bullish and Bearish imbalance zones where price is likely to retrace before continuing the trend.
2. Safety First (Risk Management)
Real Earnings Detection: Automatically checks upcoming earnings dates. If an earnings report is within 5 days (adjustable), the script blocks new signals to prevent gambling on binary events.
Visual Exits: Plots dynamic Stop Loss and Take Profit levels on the chart the moment a trade is taken, along with "SL Hit" or "TP Hit" markers for visual backtesting.
3. The "Confluence Score" Dashboard A sophisticated dashboard in the top-right corner rates every setup on a scale of 0 to 100 based on:
Multi-Timeframe Trend: Is the Weekly, Daily, and 4H trend aligned?
Relative Strength: Is the asset outperforming the SPY benchmark?
Volatility: Is the asset in a "Squeeze" (Bollinger Band compression)?
Momentum: RSI, MACD, and CMF confirmation.
Only setups with a score > 65 (adjustable) trigger a BUY or SELL signal.
How to Use
Timeframe: Optimized for 4-Hour (4H) and Daily (D) charts. (Avoid using on <15m charts due to multi-timeframe calculations).
The Signal: Wait for a large "CALL" or "PUT" label.
The Confirmation: Check the Dashboard. Ideally, look for a "Squeeze: YES" combined with a high Institutional Buy Score.
The Exit: Follow the Red (Stop Loss) and Green (Take Profit) lines plotted automatically.
Disclaimer
This tool is for educational purposes only. Swing trading involves risk. Always confirm signals with your own analysis and risk management rules.
Unlike standard indicators that rely solely on price crossovers, this script analyzes the underlying order flow—tracking stealth accumulation, volume anomalies, and institutional footprints—to generate high-probability swing setups.
Key Features (The "Smart Money" Logic)
1. Institutional Footprints
Stealth Accumulation/Distribution: Detects when price is held in a tight range despite high volume (a classic sign of institutions building a position).
Smart Money Divergence: Identifies when price makes a lower low but Money Flow (OBV/Accumulation-Distribution) makes a higher high.
Fair Value Gaps (FVG): Automatically plots Bullish and Bearish imbalance zones where price is likely to retrace before continuing the trend.
2. Safety First (Risk Management)
Real Earnings Detection: Automatically checks upcoming earnings dates. If an earnings report is within 5 days (adjustable), the script blocks new signals to prevent gambling on binary events.
Visual Exits: Plots dynamic Stop Loss and Take Profit levels on the chart the moment a trade is taken, along with "SL Hit" or "TP Hit" markers for visual backtesting.
3. The "Confluence Score" Dashboard A sophisticated dashboard in the top-right corner rates every setup on a scale of 0 to 100 based on:
Multi-Timeframe Trend: Is the Weekly, Daily, and 4H trend aligned?
Relative Strength: Is the asset outperforming the SPY benchmark?
Volatility: Is the asset in a "Squeeze" (Bollinger Band compression)?
Momentum: RSI, MACD, and CMF confirmation.
Only setups with a score > 65 (adjustable) trigger a BUY or SELL signal.
How to Use
Timeframe: Optimized for 4-Hour (4H) and Daily (D) charts. (Avoid using on <15m charts due to multi-timeframe calculations).
The Signal: Wait for a large "CALL" or "PUT" label.
The Confirmation: Check the Dashboard. Ideally, look for a "Squeeze: YES" combined with a high Institutional Buy Score.
The Exit: Follow the Red (Stop Loss) and Green (Take Profit) lines plotted automatically.
Disclaimer
This tool is for educational purposes only. Swing trading involves risk. Always confirm signals with your own analysis and risk management rules.
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.