Institutional Zone Detector [Scalping-Algo]โ OVERVIEW
The Institutional Zone Detector identifies key supply and demand zones where large market participants (institutions, banks, hedge funds) have likely placed significant orders. These zones often act as powerful support and resistance levels, making them strategic areas for trade entries and exits.
This indicator is non-repainting, meaning once a signal appears on your chart, it will never disappear or change position. What you see in backtesting is exactly what you would have seen in real-time.
โ CORE CONCEPT
Markets move when large players execute substantial orders. These orders leave footprints in the form of specific candlestick patterns:
Demand Zones (Bullish)
When institutions accumulate positions, we often see a bearish candle followed by a strong bullish sequence. The last bearish candle before this move marks the demand zone - an area where buying pressure overwhelmed sellers.
Supply Zones (Bearish)
When institutions distribute positions, we typically see a bullish candle followed by a strong bearish sequence. The last bullish candle before this move marks the supply zone - an area where selling pressure overwhelmed buyers.
Price has a tendency to revisit these zones, offering potential trade opportunities.
โ HOW IT WORKS
The indicator scans for:
1. A potential zone candle (bearish for demand, bullish for supply)
2. A sequence of consecutive candles in the opposite direction
3. Optional: A minimum percentage move to filter weak signals
When all conditions are met, the zone is marked on your chart with:
โข Upper and lower boundaries (solid lines)
โข Equilibrium/midpoint level (cross marker)
โข Extended channel lines for easy visualization
โ SETTINGS
Consecutive Candles Required (Default: 5)
Number of same-direction candles needed after the zone candle to confirm the pattern. Higher values = fewer but stronger signals.
Minimum Move Threshold % (Default: 0.0)
Minimum percentage price movement required to validate a zone. Increase this to filter out weak moves and focus on significant institutional activity.
Display Full Candle Range (Default: Off)
โข Off: Shows Open-to-Low for demand zones, Open-to-High for supply zones
โข On: Shows complete High-to-Low range of the zone candle
Show Demand/Supply Zone Channel (Default: On)
Toggle extended horizontal lines that project the zone levels across your chart.
Visual Theme (Default: Dark)
Choose between Dark (white/blue) or Light (green/red) color schemes.
Show Statistics Panel (Default: Off)
Displays a floating panel with exact price levels of the most recent zones.
Display Info Tooltip (Default: Off)
Shows an information label with indicator documentation.
โ HOW TO USE
Entry Strategies
1. Zone Bounce (Mean Reversion)
โข Wait for price to return to a previously identified zone
โข Look for rejection candles (pin bars, engulfing patterns) at zone levels
โข Enter in the direction of the original zone (long at demand, short at supply)
โข Place stops beyond the zone boundary
2. Zone Break (Momentum)
โข When price breaks through a zone with strong momentum
โข The broken zone often becomes the opposite type (broken demand becomes supply)
โข Use for trend continuation trades
3. Equilibrium Trades
โข The midpoint (cross marker) often acts as a magnet for price
โข Can be used as a first target or as an entry point for scaled positions
Risk Management
โข Always place stop-loss orders beyond zone boundaries
โข Consider the zone width when calculating position size
โข Wider zones = wider stops = smaller position size
โข Use the equilibrium level for partial profit taking
Best Practices
โข Higher timeframes produce more reliable zones
โข Zones on multiple timeframes (confluence) are stronger
โข Fresh/untested zones are more powerful than zones that have been touched multiple times
โข Combine with other analysis methods (trend direction, volume, market structure)
โ ALERTS
Two alert conditions are available:
โข "Demand Zone Identified" - Triggers when a new demand zone is detected
โข "Supply Zone Identified" - Triggers when a new supply zone is detected
To set up alerts: Click on the indicator name โ Add Alert โ Select condition
โ IMPORTANT NOTES
โข This indicator is a tool for analysis, not a complete trading system
โข Signals are NOT automatic buy/sell recommendations
โข Always use proper risk management
โข Past performance does not guarantee future results
โข Works on all markets and timeframes
โข Non-repainting: Signals appear only after bar close confirmation
โ ACKNOWLEDGMENTS
Inspired by institutional order flow concepts and smart money trading methodologies. Built with a focus on reliability and practical application.
Scalping-algo
Volume Anomaly Reversal DetectionVolume Anomaly Reversal Detection (VARD System)
๐ฏ What This Indicator Does
This indicator identifies potential trend reversals by detecting abnormal volume activity that often precedes significant price movements. It combines volume anomaly detection with dynamic trend analysis to generate actionable BUY/SELL signals.
๐ Core Concept & Methodology
Volume Anomaly Detection
The indicator analyzes directional volume (buying vs selling pressure) from a lower timeframe and calculates Z-scores to identify statistically significant volume spikes.
Z-Score Formula:
Z = (Current Volume - Average Volume) / Standard Deviation
When volume exceeds the threshold (default: 3 standard deviations above mean), it signals unusual market activity - often caused by forced liquidations or capitulation.
Dynamic Trend Filter
A custom trend-following algorithm based on ATR (Average True Range) bands determines the current market direction:
Price above lower band = Uptrend
Price below upper band = Downtrend
Signal Logic
Volume anomaly detected during an existing trend
Trend reversal confirmed within the confirmation window
Signal generated = BUY or SELL label appears
โ๏ธ Settings Explained
SettingDefaultDescriptionAnalysis Timeframe15minLower timeframe for volume samplingStatistical Lookback200Bars used for Z-score calculationAnomaly Sensitivity3.0Z-score threshold (lower = more signals)Confirmation Window50Max bars between anomaly and trend flipATR Multiplier2.0Trend band widthTrend Period10ATR calculation length
๐ How To Use
Entry Signals
BUY: Green label appears below bar - consider long positions
SELL: Red label appears above bar - consider short positions
Volume Anomaly Markers (โฌฅ)
Small diamonds indicate detected volume spikes
These are early warnings before confirmed signals
Useful for anticipating potential reversals
Trend Bands
Colored zones show active signal direction
Stay with the trend until opposite signal appears
Best Practices
Confirm with price action - Look for support/resistance levels
Use appropriate timeframes - Works on all timeframes, but 1H-4H recommended
Manage risk - Always use stop losses
Avoid ranging markets - Best in trending/volatile conditions
โ ๏ธ Important Notes
No indicator is perfect - Use as part of a complete trading strategy
Volume data required - Will show warning if volume unavailable
Not financial advice - Always do your own research
๐ Alerts Available
BUY Signal Confirmed
SELL Signal Confirmed
Volume Anomaly (Buy Setup)
Volume Anomaly (Sell Setup)
LTF Distribution Analyzerโ OVERVIEW
LTF Distribution Analyzer reveals the hidden price distribution and order flow within each candle by sampling lower timeframe data. It visualizes where prices concentrated, how volume was distributed between buyers and sellers, and identifies divergences between price action and actual market participation.
Unlike traditional candlesticks showing only OHLC, this indicator exposes the statistical structure of price movement using quartile-based visualization combined with delta analysis.
โ CONCEPTS
The indicator is built on two core concepts:
1 โ Statistical Price Distribution
Each candle contains many lower timeframe bars. By analyzing these bars, we calculate:
โข Q1 (25th percentile) - 25% of prices traded below this level
โข Q3 (75th percentile) - 75% of prices traded below this level
โข Median - The middle price value
โข IQR (Interquartile Range) - The Q3-Q1 spread containing 50% of all prices
2 โ Volume Delta Analysis
Delta measures buying vs selling pressure:
โข Delta = Buy Volume โ Sell Volume
โข Positive delta = More aggressive buying
โข Negative delta = More aggressive selling
โข Delta Ratio normalizes this as a percentage
โ HOW IT WORKS
The indicator fetches lower timeframe data using request.security_lower_tf() and processes it to create a statistical summary:
Step 1: Timeframe Calculation
โข Auto mode: Chart timeframe รท Auto Divisor = LTF
โข Example: 1H chart รท 1000 = ~3.6 second sampling
โข Manual mode: User-specified timeframe
Step 2: Data Collection
โข Collects all close prices from LTF bars within current candle
โข Aggregates volume by candle direction (bullish/bearish)
Step 3: Statistical Analysis
โข Calculates quartiles (Q1, Q3), median, and boundaries
โข Identifies outliers using 1.5ร and 3ร IQR fences
โข Finds Volume POC (price with highest volume)
Step 4: Delta Calculation
โข Sums buy volume (from bullish LTF bars)
โข Sums sell volume (from bearish LTF bars)
โข Computes delta ratio for color determination
โ VISUAL ELEMENTS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โฒ Extreme outlier (3ร IQR) โ
โ โณ Mild outlier (1.5ร IQR) โ
โ โ Upper whisker cap โ
โ โ Whisker line (dashed) โ
โ โ IQR Box (Q1 to Q3 range) โ
โ โ Volume POC (highest volume) โ
โ โ Median (green=bull, red=bear) โ
โ โ Whisker line (dashed) โ
โ โ Lower whisker cap โ
โ โฝ Mild outlier โ
โ โผ Extreme outlier โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ COLOR SYSTEM
Colors indicate the relationship between candle direction and order flow:
๐ข TEAL (Positive Flow)
Bullish candle + Positive delta
โ Strong buying confirmation
โ Trend continuation signal
๐ด RED (Negative Flow)
Bearish candle + Negative delta
โ Strong selling confirmation
โ Trend continuation signal
๐ ORANGE (Mixed Signal A)
Bullish candle + Negative delta
โ Price up but sellers dominated
โ Potential weakness/reversal warning
๐ต BLUE (Mixed Signal B)
Bearish candle + Positive delta
โ Price down but buyers dominated
โ Potential accumulation/reversal signal
โ SETTINGS
Timeframe Settings
โข LTF Mode โ Auto or Manual selection
โข Manual Timeframe โ Specific LTF when in Manual mode
โข Auto Divisor โ Higher = finer granularity (default: 1000)
โข Allow Sub-Minute โ Requires Premium subscription
Visual Style
โข Positive/Negative Flow colors โ Customize the 4 flow colors
โข Box Transparency โ Opacity of the quartile box (0-100%)
Statistics Display
โข Show Statistics Panel โ Toggle on-chart stats table
โข Show Timeframe Badge โ Toggle LTF indicator badge
โข Panel Position โ Choose corner placement
โข Panel Size โ Text size selection
โ HOW TO USE
1. Divergence Detection
Look for color mismatches:
โข Orange bars in uptrend = weakness, potential reversal
โข Blue bars in downtrend = strength, potential reversal
โข Multiple consecutive divergent bars strengthen signal
โข Wait for confirmation before entry
2. Volume POC Trading
โข POC marks where most volume traded
โข POC clusters at similar levels = strong S/R zone
โข Price often returns to POC before continuing
โข Use POC for entry/exit targeting
3. Trend Confirmation
โข Consecutive teal = strong uptrend
โข Consecutive red = strong downtrend
โข Median position shows intrabar momentum
โข Wide boxes indicate high volatility
4. Outlier Analysis
โข Extreme markers (โฒโผ) often mark stop hunts
โข Consider fading extremes at key levels
โข Mild markers (โณโฝ) = areas to watch
โ RECOMMENDED SETTINGS
For different chart timeframes:
โ Chart TF โ Auto Divisor โ Resulting LTF โ
โโโโโโโโโโโโผโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโค
โ 15M โ 1500 โ ~1M โ
โ 1H โ 1000 โ ~3-4s โ
โ 4H โ 600 โ ~24s โ
โ Daily โ 500 โ ~2-3M โ
Tip: Check the TF badge to confirm active sampling timeframe.
โ BEST PRACTICES
Do:
โ Use "Bars" chart style for cleanest display
โ Combine with support/resistance analysis
โ Wait for confirmation bars
โ Note POC clusters across multiple bars
โ Adjust divisor based on your timeframe
Avoid:
โ Trading single bar signals alone
โ Using during low volume periods
โ Trading immediately after news releases
โ Ignoring overall market context
โ LIMITATIONS
โข Requires adequate market liquidity for reliable signals
โข Sub-minute timeframes need Premium subscription
โข Historical data depth depends on TradingView's data availability
โข Delta calculation assumes volume direction matches candle direction
โ NOTES
This indicator works best on liquid markets (forex majors, major indices, popular stocks/crypto) where volume data is meaningful.
The gray dotted vertical line marks where LTF data becomes available - bars before this line won't display the indicator.
For questions or suggestions, leave a comment below.
Triple EMA + Key Levels [Scalping-Algo]TITLE: Triple EMA Day Trading System with Multi-Timeframe Support/Resistance Levels
DESCRIPTION:
๐ Overview
This indicator combines trend-following EMAs with key historical price levels to create a complete day trading toolkit. It helps traders identify trend direction while highlighting important support and resistance zones from multiple timeframes.
๐ฏ Purpose & Trading Application
Day traders often need to quickly assess:
1. Current trend direction (using EMAs)
2. Key price levels where reversals or breakouts may occur
This indicator solves both needs in one tool, reducing chart clutter from multiple indicators.
๐ How It Works
TREND IDENTIFICATION (EMAs):
- EMA 13 (Yellow): Fast EMA for short-term momentum and entry timing
- EMA 48 (Purple): Medium EMA for intraday trend direction
- EMA 200 (Red): Slow EMA for overall trend bias
Trading Logic:
- When price is above all 3 EMAs = Strong bullish bias
- When price is below all 3 EMAs = Strong bearish bias
- EMA crossovers signal potential trend changes
- The 13/48 crossover is particularly useful for intraday entries
SUPPORT & RESISTANCE LEVELS:
- Previous Day High/Low (Green, Solid): Most recent daily range - high probability reaction zones
- 2-Day High/Low (Blue, Dashed): Extended lookback for stronger levels
- Previous Week High/Low (Orange, Dotted): Major institutional levels
Why These Levels Matter:
Previous day and weekly highs/lows are watched by many traders and algorithms. Price often:
- Reverses at these levels (support/resistance)
- Accelerates through them (breakout trades)
๐ง How To Use
FOR TREND TRADING:
1. Identify bias using EMA stack (all 3 aligned = strong trend)
2. Look for pullbacks to EMA 13 or 48 for entries
3. Use key levels as profit targets
FOR REVERSAL TRADING:
1. Watch for price approaching previous day/week levels
2. Look for rejection candles at these levels
3. Use EMA 13 break as confirmation
FOR BREAKOUT TRADING:
1. Identify consolidation near key levels
2. Enter on break of level with volume
3. Use opposite level as target
โ๏ธ Settings
All parameters are fixed for simplicity:
- EMAs: 13, 48, 200 periods
- Levels: Previous Day, 2-Day, Previous Week
- All lines thickness: 2
๐ Notes
- Best used on intraday timeframes (1min to 1hour)
- Levels update automatically each day/week
- Labels on right side identify each level (PDH, PDL, 2DH, 2DL, PWH, PWL)
---
TAGS: ema, daytrading, support, resistance, levels, intraday, trend, scalping, swingtrading



