지표

전략

Doji Volume Map (Zeiierman)█ Overview
Doji Volume Map (Zeiierman) is a volume reaction scanner that detects doji-like candles appearing with relatively high and rising volume, then converts those events into projected price levels. When a valid signal forms, the script places a bubble on the candle, extends a horizontal reaction level forward, and optionally merges nearby levels into a highlighted zone box. The result is a clean map of potential reaction areas built from high-interest doji events rather than generic swing highs or lows.
⚪ What It Detects
The script searches for candles that combine 3 conditions at the same time:
Relative high volume: Current volume must exceed the average volume by a user-defined multiplier.
Rising volume: Current volume must be greater than the previous bar’s volume.
Loose doji structure: The candle body must remain small relative to the total range, while the full range must still be meaningful enough relative to ATR.
When those conditions align, the candle is treated as a significant reaction point and plotted as a bubble. From there, the script projects the price level forward and can combine overlapping levels into broader zones.
█ How It Works
For each bar inside the Lookback Length, the script checks whether the candle qualifies as a valid signal.
It measures:
Average volume over the selected Volume Average Length
Relative volume strength using the Relative Volume Multiplier
Whether volume is increasing vs the previous bar
Whether the candle body is small enough to be considered doji-like
Whether the total range is large enough relative to ATR
█ How to Use
When a doji-like candle forms with high and rising volume, it signals strong participation but no clear directional control.
This means:
Heavy trading occurred.
Both sides were active.
Price failed to move decisively.
These areas often become key reaction zones, as the market tends to revisit and respond to where significant transactions took place.
⚪ In Trend
In uptrends , signals on pullbacks can act as support/continuation zones
In downtrends, signals on bounces can act as resistance/rejection zones
Focus on using levels in the direction of the trend, where the dominant side is likely to defend.
⚪ In Ranges
Signals near range lows → potential buy/support zones
Signals near range highs → potential sell/resistance zones
Merged zones are especially useful for identifying rotation areas within the range.
⚪ Key Idea
High volume + indecision = high-interest price area
These zones often lead to:
Reactions
Rejections
Or continuation after confirmation
Use retests and price behavior at these levels to guide entries.
█ Settings
Lookback Length — how many bars back the script scans for qualifying signals.
Volume Average Length — baseline used to measure relative volume.
Relative Volume Multiplier — minimum volume expansion required vs average.
Max Body % of Range — defines how small the candle body must be to count as doji-like.
Min Candle Range as ATR Fraction — filters out candles that are too small to matter.
Key effect:
Higher Relative Volume Multiplier = fewer but stronger signals
Lower Max Body % of Range = stricter doji selection
Higher Min Candle Range as ATR Fraction = fewer weak micro-signals
Merge Close Levels Into Box — combines nearby projected levels into a single zone.
Merge Distance (ATR) — controls how close levels must be to merge.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
지표

Strong Pinbar Reversals MTF | ProjectSyndicateStrong Pinbar Reversals MTF automatically identifies and power-ranks high-probability reversal opportunities by analyzing clusters of institutional pinbar rejections. It filters for quality, calculates a 0-10 strength score for every reversal cluster based on wick purity, cluster density, and candle momentum, and presents all data on the chart and in a comprehensive multi-timeframe dashboard to eliminate noise and focus on reversals that matter.
• 🎯 Power-Ranking System (0-10) — every pinbar cluster is given a strength score based on a strict 5-dimensional algorithm that assesses cluster size, average wick purity, minimum wick purity, candle range versus ATR, and time density, providing an instant quality assessment.
• 🎨 Strength-Based Color Scheme — reversal zones are colored by their power rank; stronger clusters get darker, more prominent colors for immediate visual hierarchy.
• 🧠 Smart Context Detection — automatically ensures that bullish pinbar clusters only fire at local price lows (support) and bearish clusters only fire at local price highs (resistance), completely filtering out fake signals in mid-range consolidation.
• 📊 On-Chart Statistics — each reversal zone displays its direction (Bullish/Bearish) and its calculated strength score directly inside the shaded zone.
• 🧭 Full MTF Dashboard Display — provides a complete market overview across 7 timeframes (M1, M5, M15, M30, H1, H4, D1), showing the latest reversal signal, its strength, entry/SL/TP levels, and how many bars ago it occurred on that timeframe. The dashboard uses persistent state memory, meaning it is perfectly stable and consistent regardless of the chart you are viewing.
• 🔔 Comprehensive Alerts — get notified the moment a new high-strength cluster occurs, with the alert message containing the full details: direction, strength, entry, SL, and TP levels.
• ✅ Quality Control Filters — a user-configurable minimum strength score (default 6.0) allows you to filter out weak, low-probability wicks and focus only on institutional-grade reversal clusters.
• 🔧 Fully Customizable — control everything from the minimum wick percentage and cluster lookback window to the ADR multipliers for universal zone height and SL/TP placement.
• 🎯 Why this algo is unique: Standard pinbar indicators look at single candles and generate massive amounts of false signals in consolidation. This algorithm looks for clusters of rejection (e.g., 3+ pinbars in a tight window) and uses a multi-factor scoring system to quantify the quality of the rejection. It doesn't just show you a wick; it tells you how strong the institutional absorption is. The MTF dashboard provides a complete, stable cross-timeframe perspective that is impossible to achieve with standard single-timeframe indicators.
• 🚀 Apply to Gold (XAUUSD), Forex, Crypto, and Indices on any timeframe. The wick percentage and cluster size settings allow it to adapt to anything from scalping (M1/M5) to swing trading (H4/D1).
• 🎯 How to use this? Focus on trading opportunities from high-strength reversal clusters rated 7/10 or higher, as these show the highest probability of a structural shift. Use the dashboard to quickly identify which timeframes have active rejection zones, and look for alignment between lower timeframe clusters and higher timeframe support/resistance.
• ⚠️ IMPORTANT NOTICE: This indicator is designed to identify high-probability reversal opportunities based on price action rejection. It should NOT be used as a standalone signal for entering trades. Always use it in conjunction with your own trading strategy, market structure analysis, and other technical indicators to confirm trade setups and manage risk. 지표

8:00-8:15 ORB Retest on 5m Time Frame v1.3 by Alf_AlgoORB Retest on 5m Time Frame
Breakout → Retest → Confirm → Enter
A structured session indicator designed to trade continuation after an opening range breakout using midpoint retests and confirmation.
Opening Range defines session structure
Breakout sets directional bias (with multiple detection modes)
Midpoint retest provides entry location
Momentum confirmation triggers signals
Triple ATR-based TP levels and structure-based SL manage risk
The system avoids chasing breakouts and instead waits for price acceptance and momentum confirmation.
━━━━━━━━━━━━━━━━━━━━━━━━
Timeframe
Pine Script®
Designed exclusively for the 5-minute chart.
The opening range is built using the first three 5-minute candles.
━━━━━━━━━━━━━━━━━━━━━━━━
Opening Range Levels
OR High — upper boundary (teal)
OR Low — lower boundary (red)
OR Midpoint — primary retest level (amber, dashed)
Shaded zone between High and Low for visual clarity
The midpoint acts as the primary retest level for entries.
━━━━━━━━━━━━━━━━━━━━━━━━
Breakout Direction Mode (New in v1.2)
Four modes to determine how directional bias is set after the opening range:
First Break — original behavior; whichever direction breaks out first locks the bias
Last Break — bias updates with each new breakout before the entry window opens, capturing the final sentiment
Strongest Break — the breakout with the largest candle body wins; more conviction = more significant
Directional Preference — manually select Bullish or Bearish; bias is set when the OR locks regardless of price action
For Last Break and Strongest Break modes, triangle markers appear on the chart each time the bias flips, so you can visually track the tug-of-war between bulls and bears before the entry window.
━━━━━━━━━━━━━━━━━━━━━━━━
Bias Logic
Close above OR High → Bullish Bias
Close below OR Low → Bearish Bias
Depending on the selected Breakout Direction Mode, the bias may lock on the first break, update with subsequent breaks, follow the strongest candle body, or be manually chosen.
━━━━━━━━━━━━━━━━━━━━━━━━
Entry Logic
Wait for midpoint retest
Require confirmation
Signal triggers within the active session window
Three confirmation modes are available:
Retest Close Reclaim
Break Retest Candle
Hybrid (default)
━━━━━━━━━━━━━━━━━━━━━━━━
Risk Management — Triple TP System (New in v1.2)
Three take-profit levels are automatically calculated using ATR, all shown on the chart from the moment a signal fires:
TP1 — 2× ATR (default) — solid line
TP2 — 3× ATR (default) — dashed line
TP3 — 5× ATR (default) — dotted line
SL — structure-based, remains fixed throughout the trade
Each TP and SL level gets a label when hit (TP1 ✓, TP2 ✓, TP3 ✓, SL ✗), so you can see exactly where targets were reached or where the stop was triggered. All ATR multipliers are fully adjustable in the settings.
Alert conditions are available for each individual TP hit and SL hit.
━━━━━━━━━━━━━━━━━━━━━━━━
Chart Elements
Opening Range High / Low / Mid with shaded zone
Breakout markers (triangles)
Retest markers (diamonds)
Buy / Sell signal labels
TP1 / TP2 / TP3 and SL levels with hit labels
On-chart dashboard with full state tracking
━━━━━━━━━━━━━━━━━━━━━━━━
Dashboard
The on-chart dashboard displays real-time state:
Session preset
Breakout Direction Mode
First break direction
Current bias
Retest status
Signal status
Confirmation mode
Individual TP1 / TP2 / TP3 and SL hit status
TP ATR multiplier values
━━━━━━━━━━━━━━━━━━━━━━━━
Typical Workflow
Apply on a 5-minute chart
Select your session and breakout direction mode
Allow opening range to form
Observe breakout(s) and bias assignment
Wait for midpoint retest
Enter after confirmation
Monitor TP1 → TP2 → TP3 progression
━━━━━━━━━━━━━━━━━━━━━━━━
v1.2 Release Notes
Added Breakout Direction Mode with four options: First Break, Last Break, Strongest Break, Directional Preference
Added triple take-profit system (TP1, TP2, TP3) with independent ATR multipliers
TP and SL hit labels appear on chart when each level is reached
Added alert conditions for each TP hit and SL hit
Styled OR lines with updated color palette (teal / red / amber)
Added shaded zone between OR High and Low
Updated dashboard with Breakout Direction Mode, individual TP status, and ATR multiplier display
v1.1 Release Notes
Added ORB session selection (New York, London, Asia)
Replaced breakout text labels with directional triangle icons
Replaced retest text labels with diamond icons
Added on-chart dashboard
Dashboard now shows directional state instead of checkmarks
Added Buy / Sell signal display in dashboard
Added color-coded dashboard values (green bullish, red bearish)
Updated Buy/Sell signal label colors
Added TP / SL outcome tracking in dashboard
━━━━━━━━━━━━━━━━━━━━━━━━
Feedback
This script is shared publicly to help traders study structured opening range continuation setups.
Feedback and suggestions are welcome
Ideas for improvements or additional features are appreciated
지표

지표

지표

지표

지표

Range Zones AlertsRange Zones — Buy the Green, Sell the Red
Get alerted when price enters a buy zone or a sell zone.
This indicator detects the current trading range, splits it into three color-coded zones, and sends you an alert the moment price touches the zone you care about. No guessing where support and resistance are — the indicator finds them for you.
Green Zone = Buy Zone
The bottom third of the range is shaded green. This is where price has historically found support. When price drops into the green, buyers tend to step in. Set up the Bull alert and get notified the instant price touches this zone — that's your signal to start looking for a long entry.
Red Zone = Sell Zone
The top third of the range is shaded pink/red. This is where price has historically hit resistance. When price pushes into the red, sellers tend to step in. Set up the Bear alert and get notified the instant price touches this zone — that's your signal to start looking for a short entry or to take profits on longs.
Blue Zone = No Trade Zone
The middle third is shaded blue. Price is stuck between support and resistance with no clear edge in either direction. When price is in the blue, wait.
Alerts
Three options in TradingView's alert panel:
— Bull Alert: fires when price touches the green support zone.
— Bear Alert: fires when price touches the red resistance zone.
— Both: fires on either — one alert covers everything.
A built-in cooldown (default 20 bars) prevents spam. You get one alert per zone touch, then silence until the cooldown clears. Bull and bear cooldowns are independent — a green zone alert won't block a red zone alert.
How It Works
The indicator uses pivot-based swing detection to find the most recent significant high and low. The range between them is divided into three equal horizontal zones. The zones update automatically as new swing highs and lows form. A Max Range Age setting ensures stale, outdated ranges are dropped.
Settings
— Pivot Strength: how significant the swing points need to be. Default 20. Higher = wider ranges.
— Max Range Age: how old the range can be before it's dropped. Default 300 bars.
— Alert Cooldown: bars of silence after an alert fires. Default 20.
— Zone Colors: fully customizable.
Works on any ticker, any timeframe. Add it to your chart, set up your alerts, and let the zones tell you when it's time to trade. 지표

Candle DNA Strand█ CANDLE DNA STRAND
A unique lower-panel indicator that visualizes candle structure as a stylized double-helix pattern. One strand represents body dominance (open-close range) while the other represents wick proportion (shadow-to-body ratio). The strands twist around a center axis with color encoding for bullish/bearish bias, revealing candle character patterns over time in an intuitive DNA-inspired format.
█ CONCEPT
Traditional candlestick analysis focuses on individual candle patterns. The Candle DNA Strand takes a different approach by decomposing every candle into two core metrics and plotting them as intertwined waves:
• Body Strand — Measures how much of each candle is "body" (the filled portion between open and close). High body ratios indicate conviction and directional commitment.
• Wick Strand — Measures how much of each candle is "shadow" (upper and lower wicks combined). High wick ratios indicate rejection, indecision, or failed attempts at direction.
These two strands are phase-offset by 180° to create the classic double-helix DNA appearance. As you scroll through the chart, you can visually identify periods of conviction (body-dominant) versus indecision (wick-dominant), and how candle character evolves over time.
█ HOW IT WORKS
The indicator calculates two normalized ratios for each candle:
Body Ratio = |Close - Open| / (High - Low)
Wick Ratio = (Upper Wick + Lower Wick) / (High - Low)
These ratios are smoothed and then modulated onto sine waves that twist around a center axis at the 50 level. The amplitude of each strand reflects the strength of that metric — larger bodies push the body strand further from center, and larger wicks push the wick strand further out.
The strands are color-coded by the current candle's bias:
• Bullish candles (close ≥ open) → Neon green tones
• Bearish candles (close < open) → Neon red tones
█ TRADE ZONES
The indicator includes an optional Trade Zone detection system based on candle character analysis:
◉ LONG ZONE (Green Background)
Triggers when:
• Average body ratio exceeds the Body Dominance Threshold (default 65%)
• Bullish momentum score > 40% (more bulls than bears in lookback period)
• Average wick ratio below the Wick Rejection Threshold (default 55%)
This identifies periods where price is moving up with conviction — strong bullish bodies with minimal rejection wicks.
◉ SHORT ZONE (Red Background)
Triggers when:
• Average body ratio exceeds the Body Dominance Threshold
• Bearish momentum score > 40% (more bears than bulls in lookback period)
• Average wick ratio below the Wick Rejection Threshold
This identifies periods where price is moving down with conviction — strong bearish bodies with minimal rejection wicks.
◉ CHOP/INDECISION
When the average wick ratio exceeds 60%, the market is showing high rejection and indecision. The DNA strands will show wick dominance during these periods.
Triangle markers appear at zone entry points:
• ▲ Green triangle below the helix = Long zone entry
• ▼ Red triangle above the helix = Short zone entry
█ VISUAL ELEMENTS
DNA Strands
Two intertwined lines representing body and wick ratios, twisting around the center axis with a configurable wavelength.
Base Pair Connectors
Vertical lines connecting the two strands at regular intervals, mimicking the "rungs" of a DNA ladder. These help visualize the spread between body and wick metrics.
Nucleotide Nodes
Small circular markers along each strand showing individual data points.
Fill Zone
Subtle gradient fill between the strands for visual depth. The fill color matches whichever strand is currently on top.
Info Label
Displays current values at the right edge of the chart:
• Current bias (BULL/BEAR)
• Body and Wick percentages
• Active trade zone (if any)
█ PATTERN DETECTION
The indicator automatically detects significant candle patterns based on DNA metrics:
DOJI — Body ratio < 15%
Very small body relative to total range. Indicates indecision.
MARUBOZU — Body ratio > 85%
Almost no wicks. Strong conviction candle with price closing near the high (bullish) or low (bearish).
HAMMER — Wick ratio > 60% with lower wick > 2× upper wick
Long lower shadow showing rejection of lower prices.
SHOOTING STAR — Wick ratio > 60% with upper wick > 2× lower wick
Long upper shadow showing rejection of higher prices.
█ SETTINGS
DNA Helix Settings
• Helix Wavelength — Number of bars for one complete DNA twist cycle (default: 20)
• Helix Amplitude — Vertical spread of the strands from center (default: 35)
• Show Base Pair Connectors — Toggle the connecting rungs (default: On)
• Connector Frequency — Draw a connector every N bars (default: 2)
• Data Smoothing — SMA length for smoothing ratios (default: 3)
• Strand Thickness — Line width for the DNA strands (default: 2)
Trade Zone Settings
• Show Trade Zones — Toggle background highlighting and entry signals (default: On)
• Zone Lookback — Bars to analyze for zone detection (default: 5)
• Body Dominance Threshold — Minimum avg body ratio for zone trigger (default: 0.65)
• Wick Rejection Threshold — Maximum avg wick ratio for zone trigger (default: 0.55)
Fluorescent Colors
• Bullish colors — Neon green and electric green variants
• Bearish colors — Neon red and hot pink variants
• Axis, connector, and zone colors are all customizable
Visual Settings
• Show Nucleotide Nodes — Toggle the small circles on strands (default: On)
• Show Info Labels — Toggle the right-side information label (default: On)
• Show DNA Analysis Table — Toggle detailed analysis table (default: Off)
█ ALERTS
Four alert conditions are available:
1. Long Zone Entry
"Entered LONG zone - strong bullish momentum with conviction candles"
2. Short Zone Entry
"Entered SHORT zone - strong bearish momentum with conviction candles"
3. Doji Pattern
"Doji detected - indecision"
4. Marubozu Pattern
"Marubozu detected - strong conviction"
█ INTERPRETATION GUIDE
Reading the DNA:
When body strand dominates (further from center):
• Market is moving with conviction
• Candles have strong bodies, minimal wicks
• Trend is likely to continue
When wick strand dominates (further from center):
• Market is showing rejection/indecision
• Candles have long shadows relative to bodies
• Potential reversal or consolidation
Strand crossovers:
• When strands cross, character is shifting
• Body crossing above wick → increasing conviction
• Wick crossing above body → increasing indecision
Color consistency:
• Long stretches of green → sustained bullish pressure
• Long stretches of red → sustained bearish pressure
• Alternating colors → choppy, mixed market
█ BEST PRACTICES
1. Use with price context — The DNA strand shows candle character, not direction. Combine with price action on the main chart.
2. Adjust wavelength to timeframe — Shorter wavelengths (10-15) for scalping, longer wavelengths (25-40) for swing trading.
3. Trade zones are filters, not signals — Use zone entries as confirmation for your existing strategy, not as standalone signals.
4. Watch for character shifts — When the dominant strand changes, market behavior is changing. This often precedes reversals.
5. Multiple timeframe analysis — Check DNA character on higher timeframes to understand the broader context.
█ CREDITS
Developed by Hash Capital Research
Pine Script™ v6
This indicator is provided for educational and informational purposes. Always conduct your own analysis and manage risk appropriately. 지표

지표

Statistical Candle Patterns [QuantRegime]## Overview
Most candle pattern indicators just label patterns on your chart. This one goes further — it **backtests every pattern against the actual chart history** and shows you the **real win rate** for each pattern on the specific instrument and timeframe you're trading.
A "Bullish Engulfing" might have a 68% win rate on BTC 4H but only 42% on EUR/USD 15m. This indicator tells you the difference. **Stop guessing which patterns work — measure them.**
## 12 Patterns Detected
| Pattern | Type | What It Signals |
|---------|------|----------------|
| **Bullish Engulfing** | Bullish | New candle fully engulfs previous bearish candle |
| **Bearish Engulfing** | Bearish | New candle fully engulfs previous bullish candle |
| **Hammer** | Bullish | Long lower wick, small body at top — rejection of lows |
| **Shooting Star** | Bearish | Long upper wick, small body at bottom — rejection of highs |
| **Doji** | Neutral | Tiny body — indecision, potential reversal |
| **Morning Star** | Bullish | 3-bar reversal: down → indecision → up |
| **Evening Star** | Bearish | 3-bar reversal: up → indecision → down |
| **Three White Soldiers** | Bullish | 3 consecutive strong green candles |
| **Three Black Crows** | Bearish | 3 consecutive strong red candles |
| **Inside Bar** | Neutral | Current bar fits inside previous bar — consolidation |
| **Bullish Marubozu** | Bullish | Strong green candle with almost no wicks |
| **Bearish Marubozu** | Bearish | Strong red candle with almost no wicks |
## How Win Rates Are Calculated
For each pattern occurrence in the lookback window:
1. Record the close price at the pattern
2. Look forward N bars (default: 5)
3. **Bullish patterns "win"** if the highest high in those N bars > pattern close
4. **Bearish patterns "win"** if the lowest low in those N bars < pattern close
5. Win Rate = wins / total occurrences × 100
This is a real backtest on the actual chart data — not some theoretical "textbook" win rate.
## The Statistics Dashboard
The bottom-right dashboard shows all 12 patterns with:
- **Win %** — Historical win rate on THIS symbol, THIS timeframe
- **Count** — How many times the pattern appeared
- **Type** — Bullish, Bearish, or Neutral
Win rates are color-coded:
- 🟢 60%+ = Strong edge
- 🟡 50-60% = Moderate
- 🔴 Below 50% = Pattern doesn't work here — skip it
## Smart Filtering
Labels only appear on the chart when:
- The pattern has appeared at least N times (configurable, default 3)
- The historical win rate exceeds your threshold (configurable, default 50%)
This means **you only see patterns that have actually worked** on this chart. Low-probability patterns are automatically hidden.
## Key Features
- **12 classic candle patterns** detected automatically
- **Real win rates** calculated from actual chart history — not theory
- **Smart filtering** hides unreliable patterns
- **Full statistics dashboard** with pattern-by-pattern breakdown
- **Customizable detection** — adjust body ratios, wick ratios, lookback windows
- **Toggle individual patterns** on/off
- **11 alert conditions** — one for each pattern type
- **Works on any market, any timeframe**
## Recommended Settings
| Style | Lookback | Outcome Bars | Min Win Rate |
|-------|----------|-------------|-------------|
| Scalping (1-5m) | 200-300 | 3 | 55% |
| Day Trading (15m-1H) | 500 | 5 | 50% |
| Swing (4H-Daily) | 500 | 5-10 | 50% |
| Position (Weekly) | 250 | 3-5 | 45% |
## Important Notes
- Win rates are calculated from historical data and **do not guarantee future results**
- Low occurrence counts (< 5) produce unreliable statistics — increase lookback or use a higher timeframe
- Some patterns (like Doji) are very common — consider raising the min body ratio to filter for higher-quality dojis
- The outcome window matters: 3 bars is aggressive, 10 bars gives more room
- Computing intensive on lower timeframes with high lookback — reduce lookback if the indicator loads slowly
## Disclaimer
This indicator is for educational and analytical purposes only. Past pattern win rates do not guarantee future performance. Always use proper risk management and never rely solely on candle patterns for trading decisions. 지표

지표

Outside Bar & 2-Bar Reversal Alerts + SystemOutside Bar & 2-Bar Reversal — Price Action Reversal Detection with Integrated Trade Management
Hello friends and traders!
🔹 Introduction
This indicator — Outside Bar & 2-Bar Reversal — automatically identifies two of the most structurally sound price action reversal patterns and overlays a complete trade management system directly on your chart.
The patterns this indicator detects are rooted in a simple but powerful idea: momentum exhaustion followed by full absorption. When price makes an aggressive directional push and is then completely engulfed by the opposing side, it often signals that the prevailing move has run out of willing participants.
The indicator also includes an optional suite of confluence filters — VWAP, swing sweeps, and time-of-day — so you can isolate the highest-quality setups rather than trading every signal blindly.
I'll cover the pattern logic, the trade management system, and all filters in detail throughout this description.
🔹 The Premise
🔸 Why Reversal Candles Work
Price moves because of imbalance. When more aggressive buyers than sellers are active, price rises. When more aggressive sellers than buyers are active, price falls.
Reversal candle patterns are useful because they attempt to identify the moment that imbalance flips — where one side that was previously dominant is fully overcome by the other.
The key word is fully. A simple bearish candle after a bullish candle tells you very little. What's meaningful is when the opposing candle completely engulfs the prior move — taking out its low, closing above its open, and reaching above its high. That's not just a pause. That's a statement.
This is the foundation of both patterns this indicator detects.
🔸 What Is an Outside Bar?
An outside bar is a candle that completely engulfs the prior candle — its range exceeds the prior candle's range on both sides.
But not all outside bars are created equal. A random outside bar on a quiet consolidation bar means very little. The patterns this indicator targets require context and directionality before the signal fires.
Bullish Outside Bar — Full Conditions:
Candle 1 must be bearish — it closes below its open
Candle 1 must close below the prior candle's close — a genuine continuation of selling
Candle 1's low must be below the prior candle's low — it must make a lower low, showing directional commitment
Candle 2 (signal candle) must have a lower low than Candle 1 — extending the flush
Candle 2 must close above Candle 1's open — full absorption of the bearish candle
Candle 2 must have a higher high than Candle 1 — completing the engulf
The result: a setup where price made a committed bearish push, and then a single candle came in, swept below it, and closed above the entire prior move. Buyers didn't just show up — they overwhelmed every seller from the prior candle.
Bearish Outside Bar — Full Conditions:
The exact mirror. A committed bullish candle that makes a higher high, followed by a signal candle that sweeps above it and closes below its entire range. Sellers overwhelmed every buyer.
🔸 What Is a 2-Bar Reversal?
The 2-Bar Reversal is a related but distinct pattern. Rather than requiring full range engulfment, it focuses on close-to-close extremity.
Bullish 2-Bar Reversal:
Candle 1 closes entirely below the low of the candle before it — an aggressive, committed flush
Candle 2 closes above the open of Candle 1 — a full reclaim of the prior candle's starting point
The logic: if price closes below a prior candle's entire range, sellers were aggressive. If the very next candle reclaims all of that, buyers responded even more aggressively. The speed of the reversal is what makes this significant.
Bearish 2-Bar Reversal:
Candle 1 closes above the prior candle's high. Candle 2 closes below Candle 1's open. Immediate and full rejection of the breakout.
🔹 Integrated Trade Management
Every signal automatically places three levels on your chart so you never have to manually calculate a trade again.
🔸 Entry
The open of the candle immediately following the signal candle. You're not chasing — you're entering at the next structured open after confirmation is complete.
🔸 Stop Loss
The open of the signal candle itself. The reasoning: if price returns to where the signal candle opened, the reversal thesis is structurally compromised.
🔸 Take Profit
Fully user-adjustable R multiple. Default is 2R — meaning for every dollar risked, you're targeting two dollars of reward. Adjustable from 0.1R to any value via the settings panel.
🔸 Line Behavior
All three lines extend to the right in real time and automatically terminate the moment price hits either the TP or SL level. No manual cleanup. No cluttered leftover lines. Every historical trade remains visible on the chart so you can review setups at a glance.
🔹 Live Performance Table
A built-in stats table tracks every closed trade automatically:
Total Trades — all resolved trades
Wins — trades that reached the TP level
Losses — trades that hit the SL level
Win Rate — displayed as a percentage, color coded green above 50% and red below
Load any chart, any timeframe, any market — the table populates in real time and gives you an instant read on how the patterns have performed under your current filter settings.
🔹 Confluence Filters
Each filter is independently toggleable. Use one, all, or none — the indicator works standalone without any filters active.
🔸 VWAP Filter
VWAP (Volume Weighted Average Price) is widely used by institutional participants as an intraday benchmark. Price trading above VWAP is generally considered a bullish market structure for the session; below VWAP is bearish.
When enabled, this filter requires:
Bullish signals: the signal candle must close above VWAP
Bearish signals: the signal candle must close below VWAP
This keeps you aligned with the intraday institutional bias rather than trading reversals against the dominant order flow of the session.
🔸 Swing Sweep Filter
One of the most reliable contexts for a reversal pattern is when it occurs after a liquidity sweep — price briefly trading through a prior swing point before reversing. This is often where stop orders from trapped traders trigger, adding fuel to the reversal.
When enabled:
Bullish signals only show if the signal candle's low swept below a recent pivot low
Bearish signals only show if the signal candle's high swept above a recent pivot high
Both the lookback window and the pivot strength (number of bars required on each side to qualify as a swing) are fully adjustable.
🔸 Time Window Filter
Not all hours of the trading day are equal. The highest-quality price action signals tend to occur during periods of genuine institutional participation — typically the first few hours of the New York session when volume, spread, and volatility are all at their daily peak.
When enabled, signals are restricted to a user-defined time window. Default is 8:00 AM – 11:00 AM EST, covering the New York open. The start and end times are individually adjustable by hour and minute. Uses the America/New_York timezone, so EST/EDT daylight saving transitions are handled automatically.
🔹 Settings Overview
SettingDescriptionShow Bullish / Bearish SignalsToggle each direction independentlyShow Outside BarsToggle OB pattern on/offShow 2-Bar ReversalsToggle 2BR pattern on/offTake Profit R MultipleAdjustable TP target (default 2R)Show Trade LinesToggle entry/SL/TP linesLine ColorsIndependently customizableTime Window FilterOn/off + start/end timeVWAP FilterOn/offSwing Sweep FilterOn/off + lookback + pivot strength
🔹 Works On Any Market & Timeframe
The patterns are purely price-action based — no volume dependency, no indicator inputs. They apply equally to equities, futures, forex, and crypto. Most effective on intraday timeframes (1m–15m) during high-liquidity sessions, but the logic holds on higher timeframes for swing traders as well.
🔹 Closing Remarks
The Outside Bar and 2-Bar Reversal are not new concepts. Traders have been observing these patterns for decades. What this indicator adds is precision in definition — ensuring every signal meets a strict structural checklist rather than firing on any loosely engulfing candle — combined with a fully automated trade management overlay and a real-time performance table.
The filters exist because context matters. The same pattern in the middle of a choppy afternoon session, below VWAP, with no liquidity sweep, is a different proposition to the same pattern at the New York open, above VWAP, after a clean sweep of a prior swing low.
Use the filters to build a ruleset that matches your edge, and use the performance table to validate it.
Drop a comment below with the market and timeframe you're testing this on — always interested to see how different traders apply price action tools. 지표

Squeeze Impulse OscillatorSqueeze Impulse Oscillator (SIO)
Indicator Description
The Squeeze Impulse Oscillator is designed to detect moments when the market exits a consolidation phase (squeeze) and forms a strong impulsive move. The indicator analyzes candlestick patterns, the ratio of the body to the range, wick lengths, and price dynamics to assess the strength of the current trend and potential breakout from consolidation.
The core idea is to compare two components:
Impulse – shows how strong the price movement is, based on the body size relative to the range and the persistence of direction (consecutive bars in the same direction).
Squeeze – reflects the degree of market tightness, evaluated by wick length and range contraction. Longer wicks and narrower ranges indicate higher energy accumulation for a subsequent impulse.
The resulting SIO value = impulse − squeeze. Positive values indicate a dominance of the impulse component, negative values point to a squeeze phase. Additional threshold levels help identify confident impulse zones and extreme squeeze zones.
How It Works
Candle Evaluation
Relative body size (bodyEff) – ratio of the candle body to its full range. Larger body means stronger impulse.
Wick ratio (wickRatio) – total wick length relative to the range. Long wicks indicate indecision or accumulation.
Current range compared to its average (rangeRatio) – helps incorporate volatility.
Price Dynamics
Persistence factor (persist) equals 1 if the last two price changes are in the same direction, otherwise 0.
Component Calculation
impulseScore = bodyEff × rangeRatio × (0.5 + 0.5 × persist)
squeezeScore = wickRatio × (2.0 − rangeRatio) × (1.0 − persist × 0.5)
Oscillator
rawSIO = impulseScore − squeezeScore
Final sio value is smoothed with an exponential moving average (EMA) using the specified smoothing period.
Squeeze Counter
When sio drops below the squeeze threshold (i_sqzTh), a consecutive bar count begins. The counter resets when sio rises above zero.
Additional Line
Averaged wick bias (avgWickBias) is displayed, showing which side has longer wicks (positive → bullish bias, negative → bearish bias). Used for signal filtering.
Signals
The indicator generates three types of signals (enabled via Show Signals parameter):
Bull Impulse – green triangle at the bottom.
Conditions:
sio crosses above the impulse threshold (i_impTh);
preceded by at least the minimum number of squeeze bars (Min Squeeze Bars);
wick bias positive (avgWickBias > 0).
Interpretation: after a prolonged squeeze phase, price starts moving up, confirmed by bullish candle structure.
Bear Impulse – red triangle at the bottom.
Same conditions but wick bias ≤ 0.
Interpretation: expected downward move after a squeeze.
Squeeze Start – purple diamond at the top.
Occurs when sio crosses below the squeeze threshold. Warns of possible energy accumulation and an upcoming impulse.
Visual Elements
SIO Histogram – colored according to the state:
bright green/red (depending on candle direction) – above impulse threshold;
purple – below squeeze threshold;
gray – neutral zone.
Wick Bias Line (yellow) – scaled for better visibility.
Squeeze Counter – purple step line showing consecutive bars in squeeze.
Background Highlight – squeeze zones are marked with a semi‑transparent purple background.
Horizontal Levels: impulse threshold, zero line, squeeze threshold.
Input Parameters
Core
Period – period for average range calculation and wick bias moving average.
Smoothing – EMA smoothing of the final SIO value.
Impulse Threshold – level above which the value is considered impulsive.
Squeeze Threshold – level below which the value is considered a squeeze.
Signals
Show Signals – enable/disable signal plotting.
Min Squeeze Bars – minimum number of consecutive squeeze bars required for an impulse signal.
Highlight Squeeze Zones – enable/disable background highlighting.
Colors – custom colors for all visual elements.
Usage
The indicator helps identify entry points after consolidation phases. Buy/sell signals should be considered only with confirming factors: higher‑timeframe trend, volume, support/resistance levels. False signals may occur in low‑volatility markets or during news events. It is recommended to backtest and adapt thresholds for the specific instrument.
Disclaimer
This indicator is not financial advice. All calculations are based on historical data and do not guarantee future results. Use it as one of many analytical tools in combination with other methods. 지표

ZenAlgo - DojiOverview
This indicator identifies Doji candles and adds two contextual filters before creating an alert: a relative volume expansion filter and a normalized directional-shift filter. Most Doji indicators simply detect candle shape. This script instead adds contextual conditions so that alerts appear only when the Doji occurs together with increased participation and a change in short-term directional pressure.
Doji candles appear frequently on their own, so the script focuses on situations where candle balance, elevated activity, and a directional shift occur at the same time.
How the indicator works
The script begins by evaluating candle structure. It measures the full candle range, the size of the body, and the size of the upper and lower wicks relative to the entire candle. A candle is considered a Doji when the body occupies only a small portion of the range.
After identifying the base Doji structure, the candle is classified into one of several common Doji types depending on the relative size of the wicks:
Dragonfly Doji – very small upper wick and long lower wick.
Gravestone Doji – very small lower wick and long upper wick.
Long-legged Doji – both wicks are relatively long.
Standard Doji – small body without the extreme wick proportions of the other types.
A Doji indicates that price moved during the bar but finished close to the opening level, suggesting temporary balance between buyers and sellers.
Volume context (PVSRA-style comparison)
After the candle structure is detected, the script evaluates trading activity.
Current volume is compared with the average volume over a recent lookback window. If current volume exceeds that average by a configurable multiple, the candle is considered to occur during elevated participation.
This step is important because a Doji formed during low activity may simply reflect quiet trading, while a Doji formed during higher participation means more trading occurred but the candle still closed near equilibrium.
Normalized price-change proxy
The script then evaluates short-term directional behavior.
It measures the percentage change between consecutive closing prices. This series is smoothed to reduce noise and then normalized relative to recent behavior. The normalization allows the script to determine whether the current directional movement is unusually positive or negative compared with recent activity.
The script compares this normalized value with the previous bar. An alert requires the value to change sign between the two bars, which indicates that the short-term directional pressure has flipped.
Why the components are combined
Each component describes a different aspect of market behavior:
The Doji describes temporary balance inside a candle.
The volume comparison measures whether that balance occurred during elevated participation.
The directional flip indicates a shift in short-term pressure.
Basic Doji markers highlight every small-body candle. This indicator is more selective because it only highlights cases where equilibrium, participation, and directional change appear together.
Final alert logic
An alert is created when the following conditions occur simultaneously:
A Doji is present on the current candle or the previous candle.
Volume exceeds the recent average by the configured multiple when the volume filter is enabled.
The normalized directional reading flips sign between two consecutive bars.
Alerts are separated into bullish and bearish categories according to the direction of the normalized reading after the flip.
How to interpret the alerts
A bullish alert means the script detected a Doji context with elevated volume and a positive directional flip.
A bearish alert means the same conditions occurred with a negative directional flip.
The alert marks a moment where price equilibrium, increased participation, and directional change appeared together. These conditions may appear near short-term transitions, pauses, or local turning points.
How to use the indicator
This indicator is intended as a contextual chart tool rather than a standalone trading system.
Use alerts to locate Doji candles confirmed by participation and directional change.
Interpret bullish alerts as possible upward transitions and bearish alerts as possible downward transitions.
Evaluate the alert location relative to support, resistance, or recent trend structure.
Combine the alerts with other analysis tools or higher timeframe context.
Why Heikin Ashi often works well
The script can be used on any chart type, but Doji detection often becomes clearer on Heikin Ashi candles.
Heikin Ashi candles smooth short-term price fluctuations by averaging values from multiple bars. Because the indicator relies on candle body and wick proportions, this smoothing reduces small random Doji created by short-term noise and produces clearer candle structures.
Limitations
Doji candles occur frequently and do not inherently indicate reversals.
Volume filters depend on the quality and meaning of the exchange’s volume data.
The directional proxy is based on price changes rather than direct order flow.
Different markets, timeframes, and preset settings can change how often alerts appear.
The indicator highlights situations where candle equilibrium, elevated participation, and directional change appear together, but it does not determine future price direction. 지표

지표

지표

지표

지표

지표

지표
