Candlestick analysis
OW_MTF CandleDescription
Overview The OW_MTF+ indicator allows traders to visualize Higher Timeframe (HTF) candlesticks directly on their current chart. Designed for Price Action and Smart Money Concepts (SMC) traders, this tool helps you perform Top-Down Analysis without switching back and forth between timeframes.
Unlike standard MTF indicators, this script features a Dynamic History Fade system that automatically adjusts the transparency of older candles, keeping your chart clean and focused on recent price action.
Key Features
・Multi-Timeframe Overlay: Display candles from any higher timeframe (e.g., show 4-Hour candles on a 15-Minute chart).
・Real-Time Updates: Uses lookahead=barmerge.lookahead_on to ensure the forming HTF candle updates in real-time with the current market price, allowing for immediate reaction to live price action.
・Dynamic Transparency (Fade Effect): The indicator includes a smart visual management system. It automatically increases the transparency of older historical candles so they do not obscure your chart, while keeping the most recent candles vivid and clear.
・Extended History: Supports displaying up to 500 historical HTF bars, giving you a deep view of past market structure.
・Time-Accurate Positioning: utilizes xloc.bar_time to ensure candles and wicks are perfectly aligned with the correct timestamp, preventing visual misalignment during market gaps.
Settings & Customization
・Timeframe: Select your desired Higher Timeframe (e.g., 240 for 4-Hour, D for Daily).
・History Depth: Choose how many HTF bars to display (Max 500).
Visual Styles: Fully customizable colors for Bullish/Bearish bodies, wicks, and borders.
・Auto Extend Mode: When enabled, this optimizes the transparency of the most recent 50 bars for the best visual experience.
Technical Note This indicator uses lookahead_on to retrieve HTF data. This is intentional to allow the current forming bar to update in real-time. Please note that while the historical closed candles are permanent, the currently active HTF candle will update tick-by-tick until it closes.
概要
OW_MTF Candleは、現在表示しているチャート上に上位足のローソク足を重ねて表示するマルチタイムフレーム・インジケーターです。 プライスアクションやスマートマネーコンセプト(SMC)を用いたトレードにおいて、時間足を切り替えることなくトップダウン分析を行うのに最適です。
通常のMTFインジケーターとは異なり、**「ダイナミック・ヒストリー・フェード(動的透明度調整)」**機能を搭載しています。これにより、過去の古いローソク足の透明度を自動的に上げ、最新のプライスアクションを強調しつつ、チャート全体の視認性を保ちます 。
主な機能
・マルチタイムフレーム表示: 任意の上位足を選択して表示可能です(例:15分足チャートに4時間足のローソクを表示など)。
・リアルタイム更新: request.security で lookahead=barmerge.lookahead_on を使用しているため、現在形成中の上位足もリアルタイムの価格に追従して動きます 。
・動的透明度(フェード効果): 過去の履歴バーがチャートを邪魔しないよう、古い足ほど自動的に透明度を高く調整します。これにより最新の相場状況がクリアに表示されます 。
・拡張履歴: 最大500本までの過去の上位足を表示でき、長期的な市場構造の確認が可能です 。
・正確な位置合わせ: xloc.bar_time(時間座標)を使用しているため、市場の休場やギャップがあってもローソク足とヒゲが正しい時刻に配置されます 。
設定項目
・上位足の時間足 (Timeframe): 表示したい上位足を選択します(デフォルト: 240/4時間足)。
・表示する履歴本数: 過去何本分の上位足を表示するか設定します(最大500本)。
・スタイル設定: 上昇足・下降足の実体色、ヒゲの色、枠線の太さなどを自由にカスタマイズ可能です 。
・自動拡張モード (Auto Extend): 最新の50本に対して最適な透明度調整を自動で行います 。
技術的な注釈
・確定した過去足: リペイントしません(変化しません)。
・現在進行中の足: 確定するまではリアルタイムで形状が変化します。
Power Bar SMA Directional (Trade Your Edge)GENERAL OVERVIEW:
The Power Bar SMA Directional (Trade Your Edge) indicator identifies high-momentum Power Bars and uses a structured SMA-based breakout model to generate Long and Short trading signals. Once a signal appears, the indicator automatically places a Stop-Loss and three Take-Profit levels, with an optional dynamic trailing stop-loss. Alerts are available for every trade event.
This indicator was developed by Flux Charts in collaboration with Steven Adams (Trade Your Edge).
What is the purpose of the indicator?:
The purpose of the Power Bar SMA Indicator is to turn an unusually strong candle (Power Bar) into a complete, rule-based trade setup. The indicator does three main things, very specifically:
It spots “power bars”. These are candles where the body is both large compared to the candle’s own range and large compared to nearby candles.
It only cares about power bars when they align with the trend’s direction: bullish or bearish.
When that happens, the indicator gives a buy or sell signal with an entry at the signal candle, a stop-loss at the low/high of the power bar, and three take-profit targets placed at fixed multiples of the entry to stop-loss distance. You can also have the stop move up/down after each target is hit with the trailing stop-loss feature.
What’s the theory behind the indicator?:
The theory behind this indicator is that large, one-sided candles often mark the start of directional strength. When a candle’s body takes up most of its total range and exceeds the average size of recent candlesticks, it shows clear control from either buyers or sellers. The indicator combines this concept with a simple moving average to confirm trend direction, ensuring signals only align with the current bias. It then checks if price breaks a recent swing high or low to confirm momentum is continuing rather than consolidating inside a range. By combining three core elements: trend bias, momentum identification, and confirmation that price has room for new discovery beyond prior ranges, the indicator can focus on finding trade setups that have multiple market factors in alignment.
POWER BAR SMA DIRECTIONAL FEATURES:
The Power Bar SMA Directional indicator includes 4 main features:
Power Bars
Trend Bias
Long / Short Signals + Risk Management
Alerts
POWER BARS:
🔹What are Power Bars?:
Power Bars are large, high-momentum candles that show strength in one direction of the market. They form when a candle’s body (the distance between open and close) dominates most of the candle’s total range (the distance between high and low), meaning price moved strongly in one direction with little to no pullback. To qualify, the candle must also be large relative to nearby candles. This size difference confirms that the candle is a burst of momentum.
🔹How to interpret and use Power Bars:
When a Power Bar forms, it signals that price has just made a strong directional move with little to no pullback. Traders can use these bars to identify momentum shifts and potential trade setups.
A bullish Power Bar means buyers controlled the entire candle, marking the start of upward momentum. A bearish Power Bar means sellers were in control of the entire candle, signaling the start of downwards momentum. In the Power Bar SMA Directional indicator, these candles are only used for signals when they align with the market trend and satisfy other entry requirements, mentioned later on.
Bullish Power Bars forming above the Simple Moving Average (SMA) can signal potential long opportunities.
Bullish Power Bars forming below the SMA can signal potential short opportunities.
🔹How are Power Bars identified:
Power Bars are detected and confirmed only after the candle closes, ensuring that the full candlestick body and range can be measured. The indicator does not repaint or change past bars. Once a Power Bar is confirmed, it stays fixed on the chart. Power Bars can be detected on any timeframe or symbol that produces standard candlestick data.
The indicator identifies Power Bars using two user-defined inputs: Sensitivity and Body %.
◇ Sensitivity:
The Sensitivity setting determines how large a candle’s body must be relative to nearby candles. It uses the Average True Range (ATR) to compare the current candle’s size with recent candles, and the Sensitivity value acts as a multiplier of that ATR. A higher Sensitivity value means the candle must be much larger than recent candles to qualify, so fewer Power Bars will form. A lower value makes the filter less strict, allowing more candles to qualify.
◇ Body %:
The Body % setting controls what percentage of the candle’s total range must be body rather than Wick. A higher value requires the body to take up more of the candle’s total range, so fewer candles pass the filter. A lower value allows candles with more wick to qualify, so more Power Bars will form.
Body % Example:
If Body % is set to 50, the candle body must cover at least half of the candle’s total range. For example, if a candle’s high is $11, its low is $10, its open is $10.20, and its close is $10.80, then the total range is $1 ($11 - $10) and the body is $0.60 ($10.80 - $10.20). Body % = (Body / Total Range) * 100 = (0.60 ÷ 1.00 × 100) = 60%. Since 60% is greater than the input of 50%, this candle passes the Body % criteria.
Once a candlestick closes and it meets both the Sensitivity and Body % requirements, it will be plotted in a different color, using barcolor() function. Users can adjust the bullish/bearish colors of Power Bars by adjusting the ‘Candle Coloring’ setting. The Power Bar candle coloring is purely visual and does not affect signal logic or strategy calculations.
TREND BIAS:
The indicator uses a Simple Moving Average (SMA) to determine overall trend direction and ensure that long/short signals align with the market bias.
When the SMA is sloping upward and price is trading above it, the market is considered to be in a bullish trend. In this case, only long setups are allowed. When the SMA is sloping downward and price is below it, the market is considered bearish, and only short setups are valid. This filtering ensures that every signal follows the current trend rather than fighting it.
Within the settings, the SMA length can be customized to match different trading styles. A shorter SMA period reacts more quickly to price changes, making it better suited for scalping or lower timeframes where traders want faster entries and exits. A longer SMA period responds more slowly, which smooths out smaller fluctuations and is more useful for day traders or swing traders who focus on larger trends. By default, the SMA length is set to 20.
Signals on SEED_ALEXDRAYM_SHORTINTEREST2:NQ 5-minute timeframe with a 10 SMA vs. 100 SMA:
🔹Why does the indicator include a trend filter?:
This indicator is built around the assumption that markets tend to continue moving in their current direction. Thus, if the trend is bullish, it’s assumed that price will continue moving higher. If the trend is bearish, it’s assumed that price will continue moving lower. By combining the SMA filter with the momentum logic of the power bars, the indicator avoids countertrend setups. This keeps signals focused on continuation setups where both the trend and short-term strength (momentum) are in agreement.
LONG/SHORT SIGNALS:
This indicator identifies potential trade setups by combining momentum, trend alignment, and structural confirmation. It detects when a Power Bar candle appears, and then looks for confirmation that the move is valid through trend alignment and a structure break.
There are three long setups and three short setups:
Momentum Breakout
Proximity Breakout
Delayed Breakout
All setups require:
A valid Power Bar forming in the correct context relative to the SMA.
A break of nearby structure (defined by the Swing Length setting).
🔹Signal Settings:
◇ SMA Distance:
This setting defines how close a Power Bar must be to the SMA to qualify for the proximity breakout setup type. It measures the maximum allowed distance between the Power Bar’s open price and the SMA, expressed as a multiple of the Average True Range (ATR).
This setting only affects Setup #2 (Proximity Breakout) and sometimes Setup #3 (Delayed Breakout). Setup #1 does not use this filter because its logic depends on price crossing the SMA or confirming later. In proximity setups, the power bar candle must both open and close on the same side of the SMA (bullish or bearish) while still being within the allowed SMA Distance range. This condition prevents signals when price is stretched too far away from the SMA, which could indicate exhaustion or a potential pullback rather than continuation.
A lower SMA Distance value tightens this filter, allowing only Power Bars that form very close to the SMA, resulting in fewer but more conservative signals. A higher SMA Distance value gives wiggle room and allows setups that form farther from the SMA, generating more frequent signals.
In the example below, when the SMA Distance is set to 0.5 (left chart), the bullish Power Bar does not trigger a long signal because its opening price is too far from the SMA. When the SMA Distance is increased to 1.0 (right chart), the same candle now falls within the allowed range, making the setup valid and displaying a long signal label.
◇ Swing Length:
The Swing Length setting defines how the indicator identifies recent structure levels used for breakout confirmation. These structure levels are swing highs and swing lows, which represent points where price reversed direction over a specified number of bars. The indicator uses these high/low levels to determine whether price has broken past a meaningful area of prior support or resistance before confirming a trade setup.
The Swing Length value determines how far back the indicator looks when calculating these points. Internally, it uses the Highest/Lowest method, scanning the last N bars (where N is the Swing Length input) to find the highest high and lowest low within that range.
The highest high becomes the immediate resistance level for potential long setups.
The lowest low becomes the immediate support level for potential short setups.
A lower Swing Length value makes the indicator reference closer levels. This increases the number of potential signals because nearby highs and lows are easier for price to reach.
A higher Swing Length value references farther structure levels, typically major swing points, which reduces signal frequency.
Every setup requires a structure break for confirmation. The Swing Length setting directly affects how strict or lenient the entire indicator behaves for each setup type.
In Setup #1 (Baseline Momentum Breakout) and Setup #2 (Trend-Aligned Proximity Breakout), the Power Bar must break the structure level during or immediately after its formation.
In Setup #3 (Delayed Breakout Confirmation), the same Swing Length level is referenced for a limited number of candles defined by the Candles Between Confirmation setting.
◇ Candles Between Confirmation:
The Candles Between Confirmation setting defines how long the indicator will wait for price to confirm a breakout after a qualifying Power Bar forms. It represents the maximum number of bars allowed between the Power Bar’s close and the moment when price breaks the nearby structure level, which is derived from the Swing Length setting. The structure level is defined as the most recent swing high (for long setups) or swing low (for short setups).
If a structure break occurs within the specified window, a valid signal is triggered, and the Long or Short label is plotted at the close of the breakout candle. If price fails to break through the level within a certain number of candles, the setup is invalidated. This ensures that signals only appear when momentum follows through promptly, and not when price stalls or consolidates for an extended period.
Lower values make confirmations stricter, capturing only quick momentum breakouts. Higher values allow more time for slower markets or higher timeframes to complete structure breaks. Adjust this setting based on market volatility and trading style.
In the example below, when Candles Between Confirmation is set to 10, no signal appears because price breaks the swing high after 15 bars, which is greater than the allowed limit. When the setting is increased to 15, the same move qualifies, and a long signal is triggered as price breaks the swing high 15 candles after the initial bullish Power Bar that crossed the SMA.
🔹Long Setups:
Long Setup #1: Momentum Breakout
A bullish Power Bar opens below the SMA, and closes above it, showing buyer strength.
A breakout must occur during this bullish Power Bar candle through a nearby resistance level derived from the Swing Length setting.
When this breakout occurs, a Long Signal appears at bar close.
After a signal appears, three take-profit levels and one stop-loss level are also plotted.
Stop-Loss: Placed at the Power Bar’s low.
Take-Profit 1: Set using a 1:1 risk distance from the Stop-Loss to entry.
Take-Profit 2: Extends to 1:1.5 risk-to-reward.
Take-Profit 3: Extends to 1:2 risk-to-reward.
(Power Bars are white in this image)
Long Setup #2: Proximity Breakout
A bullish Power Bar opens and closes above the SMA, but is still close enough to it to show price hasn’t extended too far. (Refer to SMA Distance setting). As long as the opening of that candle is within the SMA Distance threshold, the setup remains valid.
The bullish Power Bar candle must break through the recent swing high (refer to Swing Length setting).
A Long Signal triggers when that breakout is confirmed.
After a signal appears, three take-profit levels and one stop-loss level are also plotted, similar to Long Setup #1.
(Power Bars are white in this image)
Long Setup #3: Delayed Breakout
A bullish Power Bar appears in a valid location (Refer to Long Setup #1 or Long Setup #2), but structure is not broken immediately.
The indicator waits for confirmation within the maximum Candles Between Confirmation window. If price breaks structure within that time, a Long Signal appears. If price fails to break structure in time, the setup is discarded.
Risk Management:
Same Stop-Loss, TP 1, TP 2, and TP 3 logic as Long Setup #1
(Power Bars are white in this image)
🔹Short Setups:
Short Setup #1: Momentum Breakout
A bearish Power Bar opens above the SMA, and closes below it, showing seller strength.
A breakout must occur during this bearish Power Bar candle through a nearby support level derived from the Swing Length setting.
When this breakout occurs, a Short Signal appears at bar close.
After a signal appears, three take-profit levels and one stop-loss level are also plotted.
Stop-Loss: Placed at the Power Bar’s high.
Take-Profit 1: Set using a 1:1 risk distance from the Stop-Loss to entry.
Take-Profit 2: Extends to 1:1.5 risk-to-reward.
Take-Profit 3: Extends to 1:2 risk-to-reward.
(Power Bars are white in this image)
Short Setup #2: Proximity Breakout
A bearish Power Bar opens and closes below the SMA, but is still close enough to it to show price hasn’t extended too far. (Refer to SMA Distance setting). As long as the opening of that candle is within the SMA Distance threshold, the setup remains valid.
The bearish Power Bar candle must break through the recent swing low (refer to Swing Length setting).
A Short Signal triggers when that breakout is confirmed.
After a signal appears, three take-profit levels and one stop-loss level are also plotted, similar to Short Setup #1.
(Power Bars are white in this image)
Short Setup #3: Delayed Breakout
A bearish Power Bar appears in a valid location (Refer to Short Setup #1 or Short Setup #2), but structure is not broken immediately.
The indicator waits for confirmation within the maximum Candles Between Confirmation window. If price breaks structure within that time, a Short Signal appears. If price fails to break structure in time, the setup is discarded.
Risk Management:
Same Stop-Loss, TP 1, TP 2, and TP 3 logic as Long Setup #1
(Power Bars are white in this image)
🔹Trailing Stop-Loss Feature:
When the Trailing Stop-Loss setting is enabled, the Stop-Loss (SL) automatically adjusts as price reaches take-profit levels. This feature helps secure profits while keeping the trade logic completely rule-based and non-discretionary.
Here’s exactly how it works step-by-step:
Initial Stop-Loss placement:
For a Long trade, the initial SL is set at the low of the bullish Power Bar that triggered the setup.
For a Short trade, the initial SL is set at the high of the bearish Power Bar that triggered the setup.
This level stays fixed until one of the Take-Profit targets is reached.
After TP 1 is hit:
The SL automatically moves to the entry price (breakeven).
After TP2 is hit:
The SL automatically moves to TP 1
Final exit condition:
The trade is considered complete once either the trailing Stop-Loss or TP 3 is reached.
🔹Visualization:
Users can enable or disable:
Long Signals
Short Signals
Take-Profit Lines
Take-Profit Labels
Stop-Loss Lines
Stop-Loss Labels
Signal Line
SMA
◇ Signal Line:
The Signal Line is an optional visual feature that helps users see exactly which structure level the indicator is using to confirm a breakout. It does not change how signals are generated. It only displays the reference point on the chart.
Users can customize the Signal Line style (Dashed, Dotted, Solid) and choose different colors for bullish and bearish signal lines. The Signal Line can also be turned off completely. When disabled, signals will not be affected.
ALERTS:
The indicator supports alerts, so you never miss a key market move. You can choose to receive alerts for each of the following conditions:
Long Signal
Short Signal
TP 1 (Take-Profit 1)
TP 2 (Take-Profit 2)
TP 3 (Take-Profit 3)
SL (Stop-Loss)
UNIQUENESS:
This indicator automates a strategy that is normally managed manually using multiple steps: identifying large momentum candles, validating trend direction, confirming breakout strength through structure, and then projecting clean risk-based targets. The SMA Distance filter, confirmation window, and swing structure rules work together to ensure signals only trigger when momentum (Power Bars) aligns with technical levels. This indicator turns Power Bars into complete trade ideas with real-time SL/TP management and alerts.
Asia/London/NY Session Slope LinesTITLE: Asia/London/NY Session Slope Lines
Track momentum across all three major trading sessions with automated slope lines showing pips per bar movement.
📊 VISUALIZE SESSION MOMENTUM AT A GLANCE
This powerful indicator automatically draws slope lines for all three major forex trading sessions (Asia, London, and New York), giving you instant insight into directional bias and momentum for each session.
✨ KEY FEATURES:
• Three Session Coverage - Asia, London, and New York sessions tracked simultaneously
• Pips Per Bar Calculation - See exact momentum as "pips moved per bar" for easy comparison
• Customizable Styling - Different colors, line styles, and widths for each session
• Auto-Detection - Automatically identifies session boundaries and draws lines
• Clean Labels - Each session displays its slope value directly on the chart
• Session Markers - Optional triangles show exact start/end of each session
📈 HOW IT WORKS:
The indicator calculates the slope by measuring:
1. Price movement during the entire session (in pips)
2. Number of bars in that session
3. Result: Pips per bar (momentum strength)
Example: If Asia session moved +30 pips over 60 bars = +0.50 pips/bar slope
🎨 VISUAL CLARITY:
• Asia Session: Solid lines (Green/Red by default)
• London Session: Dashed lines (Blue/Orange by default)
• New York Session: Dotted lines (Lime/Fuchsia by default)
• Positive slopes = Bullish momentum
• Negative slopes = Bearish momentum
🔧 FULLY CUSTOMIZABLE:
• Adjust session times for any timezone
• Change colors for positive/negative slopes per session
• Toggle session boundary markers on/off
• Modify line width and style independently
💡 PERFECT FOR:
✓ Session traders who focus on specific market hours
✓ Identifying which session has the strongest momentum
✓ Spotting trend continuation or reversal between sessions
✓ Comparing volatility across different trading sessions
✓ Finding the best session for your trading strategy
⚙️ WORKS WITH:
• All forex pairs (EUR/USD, GBP/USD, USD/JPY, etc.)
• Any timeframe (works best on 5m-1H charts)
• Automatically adjusts pip calculation for JPY pairs
🚀 QUICK SETUP:
1. Add indicator to chart
2. Customize session times if needed (Settings → Input tab)
3. Adjust colors and styles (Settings → Style tab)
4. Start trading with clear session momentum insight!
No complex configuration needed - works perfectly with default settings!
🚀 QUICK START GUIDE - Asia/London/NY Session Slope Lines
──────────────────────────────────────────────────────────────
STEP 1: ADD TO CHART
──────────────────────────────────────────────────────────────
1. Open TradingView
2. Select any forex pair (e.g., EUR/USD)
3. Click "Indicators" at top of chart
4. Search: "Asia/London/NY Session Slope Lines"
5. Click to add to chart
──────────────────────────────────────────────────────────────
STEP 2: UNDERSTAND WHAT YOU SEE
──────────────────────────────────────────────────────────────
You'll see THREE different slope lines per day:
📍 ASIA SESSION (Solid Line)
• Default: 00:00 - 09:00 (Exchange time)
• Green = Bullish | Red = Bearish
• Label shows: "Asia +0.85 pips/bar"
📍 LONDON SESSION (Dashed Line)
• Default: 03:00 - 12:00 (Exchange time)
• Blue = Bullish | Orange = Bearish
• Label shows: "London -1.23 pips/bar"
📍 NEW YORK SESSION (Dotted Line)
• Default: 09:30 - 16:00 (Exchange time)
• Lime = Bullish | Fuchsia = Bearish
• Label shows: "NY +2.14 pips/bar"
──────────────────────────────────────────────────────────────
STEP 3: HOW TO READ THE SLOPES
──────────────────────────────────────────────────────────────
The number tells you MOMENTUM STRENGTH:
+0.10 to +0.50 pips/bar = Weak uptrend
+0.50 to +1.50 pips/bar = Moderate uptrend
+1.50+ pips/bar = Strong uptrend
-0.10 to -0.50 pips/bar = Weak downtrend
-0.50 to -1.50 pips/bar = Moderate downtrend
-1.50+ pips/bar = Strong downtrend
──────────────────────────────────────────────────────────────
STEP 4: TRADING STRATEGIES
──────────────────────────────────────────────────────────────
✅ CONTINUATION PLAY:
If Asia = +1.2 pips/bar AND London = +0.8 pips/bar
→ Look for LONG entries during NY session
✅ REVERSAL PLAY:
If Asia = +2.5 pips/bar (strong) AND London = -0.3 pips/bar
→ Momentum shifted, watch for reversal
✅ STRONGEST SESSION:
Compare all three slopes - trade during the session with highest absolute value
NY = +3.2 pips/bar > London = +1.1 > Asia = +0.4
→ NY session has strongest momentum
──────────────────────────────────────────────────────────────
STEP 5: CUSTOMIZE (OPTIONAL)
──────────────────────────────────────────────────────────────
Click the gear icon ⚙️ next to indicator name:
🕐 ADJUST SESSION TIMES:
Settings → Asia Session → Change hours
(Use YOUR timezone or exchange timezone)
🎨 CHANGE COLORS:
Settings → Asia/London/NY Style → Pick colors
👁️ HIDE MARKERS:
Settings → Display Options → Uncheck "Show Session Markers"
──────────────────────────────────────────────────────────────
STEP 6: BEST PRACTICES
──────────────────────────────────────────────────────────────
📊 Use on 5-minute to 1-hour charts
(Too high timeframe = not enough bars per session)
💱 Works best on major forex pairs
(EUR/USD, GBP/USD, USD/JPY, etc.)
🕐 Verify session times match your trading timezone
(Default is exchange timezone)
📈 Combine with support/resistance levels
(Strong slope + key level = high probability setup)
Liquidity Sweep Guardian (Universal % or point based)
Liquidity Sweep Guardian - Complete User Guide
## Overview
The **Liquidity Sweep Guardian** is a visual warning system designed to prevent premature counter-trend trades (fades) near Previous Day High (PDH) and Previous Day Low (PDL) levels. This indicator helps you avoid one of the most common trading mistakes: fading too early before liquidity sweeps complete.
---
## 🎯 Core Trading Principle
### **THE GOLDEN RULE: Don't Fade Until It's Unlocked**
Price often **accelerates into key levels** to sweep liquidity before reversing. Trading against this momentum is extremely dangerous.
**The Process:**
1. **Danger Zone** (Red/White Box) = ⚠️ **DO NOT FADE** - Sweep likely incoming
2. **Sweep Occurs** (Triangle marker appears) = Price penetrates the level
3. **Reclaim Happens** (Price returns above/below level) = Level is tested
4. **🔓 UNLOCKED** (Gold border, green label) = **NOW you may CONSIDER a fade**
> **Important:** "UNLOCKED" means you may now *consider* a fade setup. It is NOT a trade signal itself. You still need your entry confirmation, risk management, and trade plan.
---
## 📊 Visual Elements Explained
### 1. **Danger Zone Boxes (Red Border by Default)**
**Two types of zones around PDH/PDL:**
- **Outer Danger Zone** (White fill): ±75pts (or 0.30%) around the level
- Indicates proximity to a key level where sweeps commonly occur
- Yellow/cautious trading zone
- **Inner Critical Zone** (Black fill): ±25pts (or 0.10%) around the level
- Highest probability area for liquidity sweep traps
- Avoid fading here at all costs
**What to do:**
- When price enters these zones, **wait and watch**
- Do not initiate counter-trend positions
- Allow the sweep to play out
### 2. **Unlocked Zones (Gold Border #ffeb3b)**
When a zone turns **gold/yellow** with green fill:
- The level has been swept AND reclaimed
- The liquidity grab is complete
- You may now look for fade opportunities with proper confirmation
### 3. **PDH/PDL Lines**
- **PDH Line** (Red): Previous Day High with price label
- **PDL Line** (Green): Previous Day Low with price label
- These are your key reference levels for the session
### 4. **Sweep Labels**
**Triangle Markers (SWEEP):**
- **Green Triangle** = Clean sweep (10-25pts penetration)
- **Orange Triangle** = Extended sweep (25-50pts penetration)
- **Red Triangle** = Deep penetration (50+ pts) - likely continuation, not reversal
**Warning Labels:**
- **⚠️ DEEP CONTINUATION?** = Penetration too deep, probably NOT a reversal setup
**Unlock Labels:**
- **🔓 LONG UNLOCKED** = PDL swept and reclaimed, may consider long fades
- **🔓 SHORT UNLOCKED** = PDH swept and reclaimed, may consider short fades
---
## ⚙️ Settings Guide
### **Calculation Mode**
**Use Percentage Mode (Default: ON)**
- ✅ **Enabled**: Universal mode - works on NQ, ES, RTY, stocks, crypto, forex
- ❌ **Disabled**: Fixed points mode - for specific instruments only
**When to use each:**
- **Percentage Mode**: Trading multiple instruments, or instruments with varying price levels
- **Fixed Points Mode**: Single instrument focus (e.g., only trading NQ at current levels)
### **Danger Zone Settings**
**Percentage Mode (Default for Universal Use):**
- **Danger Zone**: 0.30% each side (≈75pts on NQ@25,000)
- **Critical Zone**: 0.10% each side (≈25pts on NQ@25,000)
**Fixed Points Mode (For NQ Specifically):**
- **Danger Zone**: 75 points each side
- **Critical Zone**: 25 points each side
**Adjustment Tips:**
- For more volatile instruments: Increase percentages/points
- For less volatile instruments: Decrease percentages/points
- For higher timeframes: Use wider zones
- For lower timeframes: Use tighter zones
### **Sweep Classification**
**What defines a "real" sweep:**
- **Minimum**: 10pts / 0.04% - Shallow penetration may not grab enough liquidity
- **Optimal**: 10-25pts / 0.04-0.10% - "Goldilocks zone" for reversal setups
- **Extended**: 25-50pts / 0.10-0.20% - Deeper sweep, less reliable
- **Continuation**: 50+pts / 0.20%+ - Too deep, likely NOT reversing
**Max Bars for Reclaim**: 5 bars (default)
- Price should reclaim the level relatively quickly
- If it takes too long, the sweep may have failed
### **Visual Customization**
**Box Settings:**
- **Left Extension**: 60 bars (how far back the box extends)
- **Right Extension**: 50 bars (how far forward the box extends)
**Toggle Options:**
- Show/Hide Danger Zone Boxes
- Show/Hide PDH/PDL Lines
- Show/Hide Price Labels on lines
- Show/Hide Sweep Labels
- Show/Hide Unlock Labels
### **Color Customization**
All colors are fully customizable:
- Danger Zone Fill & Border
- Critical Zone Fill & Border
- Unlocked Zone Fill & Border
- PDH/PDL Line Colors
- PDH/PDL Label Colors
- Border Widths (1-5 pixels)
- Line Widths (1-5 pixels)
---
## 🎓 Trading Strategy Examples
### **Example 1: Long Setup at PDL**
1. **Morning**: Price approaches PDL (danger zone appears)
2. **Don't Fade Yet**: Price enters critical zone - resist urge to buy
3. **Sweep**: Price drops 15pts below PDL (green triangle appears)
4. **Reclaim**: Price closes back above PDL within 3 bars
5. **🔓 UNLOCKED**: Gold border + "LONG UNLOCKED" label appears
6. **Trade Setup**: Now look for bullish confirmation (order flow, structure, etc.)
### **Example 2: Avoiding a Trap at PDH**
1. **Afternoon**: Price rallies into PDH danger zone
2. **Temptation**: You want to short here (it "looks toppy")
3. **Sweep**: Price breaks 50pts above PDH (red triangle + ⚠️ warning)
4. **Continuation**: Deep penetration suggests continuation, not reversal
5. **Result**: No unlock occurs, price keeps running higher - trap avoided!
### **Example 3: Failed Unlock (No Trade)**
1. Price sweeps PDL by 12pts (green triangle)
2. Price struggles to reclaim PDL, stays below for 10+ bars
3. No "UNLOCKED" label appears
4. **Correct Action**: Do not fade - sweep failed to reclaim
---
## 📱 Alerts
The indicator includes built-in alerts for:
- **Entering Danger Zones**: Get warned when price approaches PDH/PDL
- **Sweep Detection**: Know immediately when a level is swept
- **Unlock Signals**: Get notified when fade setups become available
- **Continuation Warnings**: Alert when penetration suggests continuation
**To Set Alerts:**
1. Right-click indicator → "Add Alert"
2. Select desired alert condition
3. Configure notification preferences
---
## ⚠️ Important Disclaimers
### **What This Indicator IS:**
✅ A visual warning system to prevent premature fades
✅ A tool to identify when liquidity sweeps have completed
✅ A framework for counter-trend trade timing
### **What This Indicator IS NOT:**
❌ A complete trading system
❌ An entry signal generator
❌ A guarantee of trade success
❌ A substitute for proper risk management
### **Always Remember:**
- "UNLOCKED" = You may CONSIDER a fade (not a signal to trade)
- You still need your own entry confirmation
- You still need proper stop placement
- You still need position sizing and risk management
- Not every unlock leads to a successful trade
- Market context and order flow still matter
---
## 🔧 Recommended Settings by Instrument
### **NQ (Nasdaq-100 E-mini Futures)**
- Mode: Percentage or Fixed Points
- Percentage: 0.30% / 0.10% (default)
- Fixed Points: 75pts / 25pts (default)
### **ES (S&P 500 E-mini Futures)**
- Mode: Percentage
- Danger: 0.25% / Critical: 0.08%
- Or Fixed Points: 15pts / 5pts
### **RTY (Russell 2000 E-mini Futures)**
- Mode: Percentage
- Danger: 0.35% / Critical: 0.12%
- Or Fixed Points: 8pts / 3pts
### **Stocks (High Volume Large Caps)**
- Mode: Percentage (recommended)
- Danger: 0.20-0.40% / Critical: 0.08-0.15%
- Adjust based on ATR and volatility
### **Crypto (BTC, ETH)**
- Mode: Percentage (essential)
- Danger: 0.40-0.60% / Critical: 0.15-0.20%
- Higher volatility requires wider zones
---
## 💡 Pro Tips
1. **Use on Higher Timeframes**: Works best on 5min, 15min, 1hr charts
2. **Combine with Order Flow**: Use with footprint/delta for confirmation
3. **Watch Volume**: Strong volume on sweep = better reversal potential
4. **Consider Time of Day**: Sweeps during RTH often more reliable
5. **Multiple Timeframes**: Check if higher TF also shows unlock
6. **Don't Force Trades**: Not every session produces clean setups
7. **Journal Results**: Track which unlock types work best for you
8. **Respect Continuation Signals**: When indicator says "too deep," listen
---
## 🆘 Troubleshooting
**Q: Box isn't showing up**
A: Check that "Show Danger Zone Boxes" is enabled in Visual Settings
**Q: No price on labels**
A: Enable "Show Price Labels on Lines" in Visual Settings
**Q: Zones seem too tight/wide**
A: Adjust Danger Zone % or points based on current volatility
**Q: Getting too many/too few unlocks**
A: Adjust sweep classification thresholds (min/max penetration)
**Q: Want thicker/thinner lines**
A: Adjust line widths in "PDH/PDL Line Colors" section
**Q: Colors not matching my chart theme**
A: Fully customize all colors in the color settings groups
---
## 📚 Additional Resources
- Study price action around PDH/PDL on your instruments
- Learn about liquidity sweeps and stop hunts
- Understand market structure and order flow
- Practice identifying setups on replay/historical data
- Keep a trading journal of unlock scenarios
---
*Remember: The best trade is often the one you don't take. This indicator helps you avoid the trades you shouldn't take, so you can focus on the ones you should.*
Oracle Trade And Smart Probability أداة تحليل فني مصممة لمساعدة المتداول على قراءة حركة السعر واتخاذ قرارات أكثر انضباطًا، مع التركيز على إدارة الصفقة قبل الإشارة.
يعرض المؤشر إشارات دخول وخروج مع نظام إدارة صفقة مرئي يشمل:
- سعر الدخول
- الوقف الثابت
- الوقف المتحرك
- الهدف
جميع الإشارات والتنبيهات تصدر بعد إغلاق الشمعة فقط، لضمان ثبات الإشارة وعدم تغيّرها لاحقًا.
المؤشر أداة تحليل فني تعليمية وتحليلية فقط، ولا يُعد توصية استثمارية أو دعوة للبيع أو الشراء.
التداول في الأسواق المالية ينطوي على مخاطر وقد يؤدي إلى خسارة رأس المال.
المستخدم يتحمل كامل المسؤولية عن قراراته، ومطوّر المؤشر غير مسؤول عن أي خسائر مباشرة أو غير مباشرة ناتجة عن استخدامه.
لا يُنصح باستخدام المؤشر بشكل منفرد، ولا يناسب جميع الفواصل الزمنية أو جميع أساليب التداول.
يُفضّل استخدامه ضمن خطة تداول واضحة تشمل:
- تأكيد الاتجاه من فريم زمني أعلى
- وقف خسارة ثابت
- إدارة مخاطرة لا تتجاوز 1–2% لكل صفقة
يدعم المؤشر إرسال التنبيهات لإشارات الدخول والخروج وتحديثات إدارة الصفقة.
كما يمكن ربطه بأنظمة تداول آلي خارجية عبر Webhook من قبل المستخدمين ذوي الخبرة، دون تحمّل المطوّر أي مسؤولية عن نتائج هذا الربط.
جميع حقوق الملكية الفكرية محفوظة.
يُمنع نسخ أو إعادة توزيع أو إعادة استخدام هذا المؤشر أو أي جزء منه دون إذن صريح من المطوّر.
A technical analysis tool designed to assist traders in reading price action and making more disciplined trading decisions, with a strong focus on trade management before signals.
The indicator provides entry and exit signals with visual trade management, including:
- Entry price
- Fixed stop
- Trailing stop
- Target
All signals and alerts are generated only after candle close to ensure signal stability and avoid repainting behavior.
This indicator is for educational and analytical purposes only and does not constitute financial advice or a recommendation to buy or sell.
Trading in financial markets involves risk and may result in capital loss.
Users are fully responsible for their trading decisions, and the developer is not liable for any direct or indirect losses.
The indicator should not be used as a standalone decision-making tool and may not be suitable for all timeframes or trading styles.
It is recommended to use it as part of a structured trading plan that includes:
- Higher timeframe confirmation
- Fixed stop-loss
- Risk management limited to 1–2% per trade
The indicator supports alerts for entries, exits, and trade management updates.
Advanced users may connect alerts to external automated trading systems via webhook at their own responsibility.
All intellectual property rights are reserved.
Unauthorized copying, redistribution, or reuse of this indicator or any part of it is strictly prohibited.
Position Calculator---
# Position Calculator
Calculates the optimal position size with a fixed profit/loss ratio based on opening, stop-loss, and take-profit levels. Determines the direction of the position based on the opening and stop-loss settings.
Initial use requires manual setting of opening, take-profit, and stop-loss. Afterward, you can manually drag the price line to set values and the system will automatically calculate position information.
---
# 仓位计算器
通过开仓、止损、止盈计算固定盈亏比适合的开仓数量,根据开仓和止损判断开仓方向。
首次使用需要手动设置开仓、止盈、止损,之后可以手动拖拽价格线设置值然后自动计算仓位信息。
Cave Diving 3 Lines System
🤿 Cave Diving Dashboard - A Deep Dive into Market Structure
## The Cave Diving Analogy
Imagine you're a cave diver exploring underwater caverns. As you descend deeper, you encounter different layers of the cave system:
- **The Surface (Internal Levels)** - Where you currently are, constantly shifting with each breath
- **The First Chamber (De Novo Levels)** - Your last known safe position, recently established
- **Deep Caverns (External Levels)** - Ancient, untouched chambers deeper in the system
Just as a cave diver must constantly monitor their position relative to these reference points, traders must track price action against key structural levels.
---
## 🎯 Understanding the Three-Tiered System
### 📍 **INTERNAL LEVELS** (Current 15m Candle)
*Your real-time position in the market*
**Internal High** 🟡 - The highest point reached in the current unfinished 15-minute candle
**Internal Low** 🟢 - The lowest point reached in the current unfinished 15-minute candle
**Think of these as:**
- Your current depth while actively diving
- They update continuously as price moves
- Status shows "Updating" when actively changing, "Intact" when stable
- These are NOT trade levels—they're awareness zones
**Key Insight:** When Internal Low drops below De Novo Low, you're in **Situation A** (bearish pressure building)—the indicator highlights this with red coloring.
---
### 🎯 **DE NOVO LEVELS** (Previous Closed 15m Candle)
*Your most recent confirmed safe zone*
**De Novo High** 🔵 - The high of the last completed 15-minute candle
**De Novo Low** 🟣 - The low of the last completed 15-minute candle
**Etymology:** "De Novo" = Latin for "from new" or "anew"—these are freshly established reference points
**Think of these as:**
- The last solid ground you stood on
- Your most recent confirmed position
- The bridge between where you are (Internal) and where you've been (External)
**Status Tracking:**
- **⬆️ Upgrade** - Level moved favorably (Higher high for resistance, Higher low for support)
- **⬇️ Downgrade** - Level moved unfavorably (Lower high, Lower low)
- **= Same** - No structural change from previous candle
**Trading Significance:**
- Primary reference points for intraday structure
- Breaking De Novo levels often signals directional commitment
- Can merge with External Level 1 when they align (shown as "DN🟰Ext1")
---
### ⛽🤿 **EXTERNAL LEVELS** (Unmitigated Historical 15m Levels)
*Deep liquidity pools waiting to be discovered*
**External High 1 & 2** 🟢🔵 - The two most recent unmitigated 15m highs
**External Low 1 & 2** 🟠🌸 - The two most recent unmitigated 15m lows
**Think of these as:**
- Untouched chambers in the cave system
- Liquidity pools that smart money is targeting
- Levels that "remember" and attract price
**What Makes a Level "Unmitigated"?**
- **Highs**: Price has NOT yet traded through them (broken above)
- **Lows**: Price has NOT yet swept them (broken below)
- Once touched, they're "mitigated" and removed from tracking
- The indicator automatically maintains the two most recent unmitigated levels
**Why "External"?**
They exist outside your current candle structure—historical reference points that institutions use for:
- Stop loss placement
- Profit taking targets
- Liquidity hunting zones
---
## 🎨 Color Coding System
### HIGHS (Resistance/Targets) - Cool Colors
- 🔵 **Ext High 2** - Light Blue (Distant target)
- 🟢 **Ext High 1** - Lime Green (Primary target)
- 🔵 **De Novo High** - Cyan (Recent resistance)
- 🟡 **Internal High** - Lemon Yellow (Current ceiling)
### LOWS (Support/Stops) - Warm Colors
- 🟢 **Internal Low** - Lime (Current floor)
- 🟣 **De Novo Low** - Purple (Recent support)
- 🟠 **Ext Low 1** - Orange-Red (Primary stop zone)
- 🌸 **Ext Low 2** - Pink (Distant support)
---
## 📊 Dashboard Breakdown
### The Table Shows:
1. **Level** - Which level you're tracking
2. **Price** - Exact price of the level
3. **Pts** - Distance from current price (+ above, - below)
4. **Status** - Current state or role of the level
### Special Features:
- **⏰ Countdown Timer** - Shows time remaining until next 15m candle close (next De Novo update)
- **⚠️ Proximity Alerts** - Bottom row warns when within threshold distance of key levels (default: 25 points, adjustable)
---
## 🎯 Trading Applications
### **For Buyers (Going Long):**
- **Entry Zone**: Between De Novo Low and Ext Low 1
- **Stops**: Below Ext Low 1 (or Ext Low 2 for wider stops)
- **Targets**: De Novo High → Ext High 1 → Ext High 2
- **Confirmation**: Internal Low holds above De Novo Low
### **For Sellers (Going Short):**
- **Entry Zone**: Between De Novo High and Ext High 1
- **Stops**: Above Ext High 1 (or Ext High 2 for wider stops)
- **Targets**: De Novo Low → Ext Low 1 → Ext Low 2
- **Warning**: Watch for Situation A (Internal Low < De Novo Low)
### **Risk Management:**
- **DN🟰Ext1** status means De Novo = External 1 (tighter range, use caution)
- Proximity alerts help you avoid chasing price into resistance/support
- "Updating" status on Internal levels = active volatility
- "Upgrade/Downgrade" signals = structural shift in progress
---
## ⚙️ Customization Options
### Lookback Period
- Default: 500 candles (searches 125 hours of 15m data)
- Increase for more historical External levels
- Decrease for focus on recent structure
### Proximity Threshold
- Default: 25 points
- Set based on your instrument's average range
- Lower = tighter alerts (for scalping)
- Higher = strategic warnings (for swing trading)
### Visual Customization
- Line thickness (1-5)
- Line style (Solid/Dashed/Dotted)
- All colors fully customizable
- Show/hide lines independently
---
## 🧭 The Cave Diving Mindset
**Never dive deeper than you can safely return from.**
In trading terms:
- Know your Internal position (real-time awareness)
- Respect your De Novo levels (recent structure)
- Hunt for External liquidity (where the targets are)
- Always have an exit plan (stops below Ext Lows, above Ext Highs)
The market, like a cave, has structure. This indicator illuminates that structure across three timeframes of reference, helping you navigate with precision rather than guessing in the dark.
---
## 🎓 Key Takeaways
1. **Internal** = Real-time, unfinished, awareness only
2. **De Novo** = Just confirmed, primary reference, updates every 15m
3. **External** = Historical, unmitigated, high-probability targets/stops
4. **Upgrades/Downgrades** = Trend signals
5. **DN🟰Ext1** = Structural alignment (tighter range)
6. **Situation A** = Bearish warning (Internal < De Novo Low)
---
## 📝 Credits
*"In cave diving, you plan your dive and dive your plan. In trading, you plan your levels and trade your levels."*
**Indicator:** Cave Diving Dashboard - Part 1: Price Levels
**Timeframe:** Optimized for 15-minute structure on any chart timeframe
**Philosophy:** Structure first, price second. Know where you are, where you've been, and where the liquidity waits.
---
Happy Diving! 🤿📈
Multi-Period Opening Range [ORB]Multi-Period Opening Range Indicator
A comprehensive Opening Range (OR) tool for traders who want to track multiple timeframe ORs simultaneously with complete visual customization.
📊 WHAT IS OPENING RANGE?
The Opening Range is the high and low price established during a specific period at the start of a trading session. Professional traders use these levels as critical support/resistance zones throughout the day.
✨ KEY FEATURES
Five Customizable OR Periods:
5-Minute OR : 9:30-9:35 AM EST (Quick scalping reference)
15-Minute OR : 9:30-9:45 AM EST (Standard OR period)
30-Minute OR : 9:30-10:00 AM EST (Extended morning range)
1-Hour OR : 9:30-10:30 AM EST (Full morning session)
Overnight OR : 6:00-7:00 PM EST (After-hours reference)
Complete Visual Customization:
Individual Toggle Controls : Turn each OR period on/off independently
Custom Colors : Set unique colors for each timeframe's lines and fills
Adjustable Line Thickness : Choose from 1-5 pixel width
Label Styles : "5Min OR-High" or simple "OR-High" format
Label Background Options : Choose colored backgrounds or clean text-only labels
Label Sizes : Tiny, Small, Normal, or Large text
Smart Display Options:
OR-High, OR-Mid, OR-Low : Each level clearly labeled with price tooltips
Midpoint Toggle : Show/hide dashed midpoint line
Fill Toggle : Enable/disable shaded area between levels
Historical Ranges : Show/hide previous session ORs
Line Extension : Set projection distance (0-1440 minutes, default 5 min)
Color-Coded Labels : Semi-transparent backgrounds match each OR theme (optional)
🎨 DEFAULT COLOR SCHEME
Active by Default:
5-Min OR : Red lines (no fill)
1-Hour OR : Sky blue lines (no fill)
Overnight OR : Brown lines with shaded fill
Disabled by Default:
15-Min OR (Purple) - enable when needed
30-Min OR (Orange) - enable when needed
📈 HOW TO USE
Setup:
Add to any intraday timeframe (1min, 5min recommended)
Enable your preferred OR periods
Customize colors for visual distinction
Set line extension (default 5 minutes)
Trading Applications:
Breakout Trading : Enter when price breaks OR-High/Low
Range Trading : Trade between levels during consolidation
Support/Resistance : Use multiple ORs as confluence zones
Risk Management : Set stops beyond OR levels
Session Analysis : Compare OR widths to gauge volatility
Advanced Techniques:
Watch for false breakouts returning inside range
Combine with volume for confirmation
Use overnight OR for pre-market sentiment
Layer multiple ORs for high-probability zones
⚙️ CUSTOMIZATION OPTIONS
Display Settings:
Show/hide historical ranges, midpoint lines, and fills
Line thickness: 1-5 pixels (default: 1)
Label size: Tiny to Large
Label style: With period prefix or generic
Label background: With background or no background
Extend lines: 0-1440 minutes (default: 5)
Per-Period Controls:
Each OR has independent settings for enable/disable, line color, fill color, and transparency.
💡 PRO TIPS
Start with 5-min and 1-hour ORs only
Use distinct colors for each timeframe
Keep historical ranges OFF for cleaner charts
Adjust extension: 5-10 min for active trading, 60+ for planning
Combine OR breakouts with volume spikes
Use overnight OR to understand after-hours action
Wait for clean breakouts with volume confirmation
🔧 TECHNICAL SPECS
Timezone : America/New_York (EST/EDT)
Compatible Timeframes : Any intraday under 1 day
Optimal Timeframes : 1-minute, 5-minute charts
Real-Time Updates : Dynamic line extension with new bars
📌 BEST PRACTICES
Use on liquid instruments (ES, NQ, SPY, QQQ)
Wait for volume-confirmed breakouts
Place stops beyond OR levels you're trading
Size positions based on OR width
Respect 1-hour OR as major support/resistance
🎯 IDEAL FOR
Day traders, scalpers, futures traders (ES/NQ/YM), equity traders (SPY/QQQ), and anyone using Opening Range methodology in their trading strategy.
Note: For educational purposes. Practice proper risk management and combine with your complete trading strategy.
Average Trading Range info box (today and historical)One small informational box, in the upper right of your chart to provide trading range information.
Line one (historical) tells you the trading range over a configurable period of time as a $ amount and as a %.
The second line (today) tells you where these values are today and the final line tells you as a %, where the values are today as a percentage of the configurable first line (14 days etc).
The third line changes color when you are 75% of the way to the historical value and red when you are at over 100% of the historical value.
Big DC scripts
Algorithmic Volume Rejection Zones [AVRZ]Hello traders,
I am pleased to release the Algorithmic Volume Rejection Zones (AVRZ). This is a specialized decision-support system designed to identify high-probability reversal points by synthesizing candle geometry, market structure, and statistical volume anomalies.
Trading reversals often presents a dilemma: wait for confirmation and miss the move, or enter early and get stopped out by noise. AVRZ solves this by quantifying "Institutional Absorption." It filters out weak price probes and highlights only the specific moments where significant volume has stepped in to defend a price level.
🛡️ The Concept: Attacking The Zonesl
You will often see price aggressively "attack" a support or resistance level with speed and high volume. To the untrained eye, this looks like a breakout. However, professional analysis reveals that this is often an Efficiency Event—liquidity is being absorbed by passive limit orders.
The AVRZ indicator is specifically engineered to detect this phenomenon. When price strikes a level and volume spikes (>2.0 Sigma), it signals that the auction is becoming efficient and a reversal is imminent. The script captures this "Attack" via the Climax Bypass logic, plotting a fresh zone immediately to mark where the liquidity was defended.
Enhanced OB [promuckaj]THE ENHANCED ORDER BLOCK
Someone could think what is EOB, it should be just ordinary order block but that’s far from the truth. Sometime the classic order blocks work like a charm, then more often it doesn’t work.
If we expecting lower prices to kick in bearish and we see them create a bullish candle leaving a decent sized wick on the bottom, we want to wait for the next candle to completely close below the bullish candle.
When we see this, it should be our signal to sell the market. When price does this, it is a clear indication that price want to continue lower.
Once EOB is confirmed, look to enter short during the next candles PO3. Usually it’s going to go up but all you need is to wait that very next bar to confirm-respect our new formed EOB.
There is many ways to play this and anticipate some of the liquidity below as your safe TP target. Just imagine to use EOB from HTF on LTF. If you can then this indicator is for you, because it is exactly what is doing, it plots EOB from HTF, with lines that clearly present the last two HTF bars (bars that form the EOB), together with EOB zone of interest – from where we want to see price to pullback and respect the narrative – in this example that we are going down.
So let’s take a look how the same example (30min TF) will be on lower timeframe, for example on 1min.
... or maybe on 30 seconds timeframe.
So let’s try to play this example, with any kind of entry model. For example here we have practically the same scenario, green bar with red closed below, after price tap into EOB zone from HTF.
In this example we can anticipate entry at the pullback in LTF EOB zone, or simply from the FVG formed in the EOB confirmation bar, that is the proof that this zone will hold and push us further lower.
For target as our TP we could use simple internal structure and nearest liquidity left behind.
Easy and quick 4.6R trade.
Or if we would like to go further, this could be even better RR.
Practically almost 10R.
Let’s switch back now to 30min TF, to see how this actually look on respective timeframe of our EOB.
I hope it is more then clear, how this could be used.
There is option to change colors, lines and size of labels, including option to mark the FVG that is a part of EOB, if there is.
Also alerts is there, so you will not miss any new EOB that form on your HTF.
Enjoy !
alplerThe 4H Engulf Indicator is a rule-based price action tool designed to identify high-probability trading opportunities on the 4-hour timeframe. Its core logic is built around bullish and bearish engulfing candles, which are widely accepted as strong reversal or continuation signals in technical analysis.
This indicator focuses only on confirmed engulfing patterns, meaning the signal is generated after the candle is fully closed, not while it is forming. This helps eliminate false signals and emotional, premature entries. When a bullish engulfing candle appears, the indicator marks a bullish signal, suggesting potential upward momentum. Conversely, when a bearish engulfing candle forms, a bearish signal is displayed, indicating possible downward pressure.
One of the key strengths of the 4H Engulf Indicator is its clarity and simplicity. Signals are shown directly on the chart using visually clear arrows and labels, allowing the trader to quickly assess market direction without clutter. The indicator does not predict the market; instead, it reacts to confirmed price behavior, which aligns well with disciplined and systematic trading.
The 4-hour timeframe provides a balance between noise reduction and timely opportunities, making this indicator suitable for swing traders and position traders. When combined with trend filters, risk management rules, or higher-timeframe analysis, the 4H Engulf Indicator becomes a powerful component of a professional trading system.
Double Cross Strategy - directional color plus golden crossCandle color changes to dark green when opening below 9/20 SMAs when 9 is below the 20 and closes above.
Candle color changes to dark red when opening above the 9/20 SMAs when the 9 is above the 20 and closes below.
Candle color changes to yellow when either of the above occurs plus crosses the vwap.
TuxAlgo Plus a SMC and Trap Toolkit V0.98r1 by McTogaThe “TuxAlgo Plus” script is a powerful, standalone, conceptual open-source project and self-sufficient “smart money toolkit” with automatic trap detection (SMT), liquidity grabs, FVG confluence, and complete bot setup signals for TV charts in the “H1 to H6” time frame and daily charts.
The script is used to improve SMC/trap analyses, i.e., the structure and visualization logic for TradingView charts have been expanded in the “TuxAlgo++” project in line with Smart Money Concepts (SMC) and Smart Money Traps (SMT).
The SMT block (“Smart Money Traps”) supplements classic smart money concepts with:
1. Detection of bull traps (short setups) and bear traps (long setups)
2. Display of trap boxes in the chart (liquidity grab areas)
3. A bot setup box (table) with ready-made entry/SL/TP levels:
as well as age in bars & days and “Valid until ~X d” (remaining term)
SMT / bot setup only run on the following timeframes:
- H1, H2, H3, H4, H6 This means that traps, labels, and the bot setup box are only displayed on these timeframes
Trap definition “Bull Trap (Short Setup)”:
- Valid swing high
- Swing trend bullish
- High (Wick) pierces above the swing high (Liquidity Grab)
- Close falls back below the swing high (false breakout)
-> Result: Short setup (bull trap), marked in orange
Trap definition “Bear Trap (long setup)”:
- Valid swing low
- Swing trend bearish
- Low (wick) pierces below the swing low (liquidity grab)
- Close rises above the swing low again (false breakout)
-> Result: Long setup (bear trap), marked in blue
Entry / SL / TP calculation
A price range is taken for each trap:
Bull trap (short):
- Range =
- Entry = point within this range:
Entry = hiBT - (hiBT - loBT) * TrapEntryRatio (0..1)
-> 0.0 = at the Wick extreme, 0.5 = middle, 1.0 = at the Swing level
- SL = Wick extreme (upper edge of the trap)
- Risk = |Entry - SL|
- TP1 = Entry - R1 * Risk
- TP2 = Entry - R2 * Risk
Bear Trap (Long):
- Range =
- Entry analogous within the range according to TrapEntryRatio
- SL = wick bottom (lower edge of the trap)
- Risk = |Entry - SL|
- TP1 = Entry + R1 * Risk
- TP2 = Entry + R2 * Risk
R1 / R2 correspond to the inputs:
- botRR1Input = TP1 Risk/Reward (e.g., 1.5R)
- botRR2Input = TP2 Risk/Reward (e.g., 3.0R)
Age & Validity
Each trap stores:
- lastTrapBarIndex -> last bar of the trap
- Age in bars -> bar_index - lastTrapBarIndex
- Age in days (~d) -> AgeBars * BarDurationInDays (depending on TF)
Input: trapMaxAgeBars determines how long a trap is valid.
The bot setup box is only displayed if:
- a trap is present,
- AgeBars <= trapMaxAgeBars,
- SMT + Box + SMC timeframe are active.
Color logic (color blind friendly):
- Blue (accentBlue) = fresh traps (Age <= 1/3 MaxAge)
- Orange (accentOrange) = medium age
- Violet (accentPurple) = old, but still within MaxAge
- Gray (accentGray) = expired (> MaxAge)
The box also shows “Valid until ~X d” as the remaining term.
Day/Night Mode & Colors
- chart.bg_color is used to detect dark or light mode.
- Text/background colors adjust (light/dark).
- Accent colors (blue/orange/purple/gray) are suitable for red/green color blindness.
- Trap labels in the chart:
- Bull trap label = orange (short setup)
- Bear trap label = blue (long setup)
- Text color depends on chart mode (dark/light)
Typical workflow (example):
1. Select a suitable symbol & SMC timeframe (e.g., H4 or H6).
2. Wait for a bull trap (short) or bear trap (long).
3. Read in the bot setup box:
- Direction (long/short)
- Entry, SL, TP1, TP2
- Age & “Valid until ~X d”
4. These values can be used as a template for manual trading or external bot/order systems.
5. Position size & leverage must always be calculated separately in your own risk management
(e.g., 2% rule). This script does not calculate position sizes.
HMG Tools: BacktestHMG Tools is a chart utility indicator designed to improve organization, discipline, and visual context for discretionary traders.
This script does not generate buy or sell signals and does not provide investment advice. Its purpose is to enhance the trading workspace by combining several practical tools into a single configurable indicator.
Main features:
- Sticky notes to write trading rules, reminders, or daily bias directly on the chart
- Custom watermark for chart identification and visual clarity
- Chart information display, including symbol, timeframe, and current date
- DayOff (weekend highlight) to visually mark Saturdays and Sundays and trigger an alert to avoid trading during market closure
Purpose:
This indicator helps traders keep charts clean and structured, avoid common operational mistakes (such as trading on weekends), maintain discipline through visible notes, and improve consistency in manual trading.
This tool is intended for educational and organizational purposes only.
--------------------------------------------------
HMG Tools es un indicador de utilidad diseñado para mejorar la organización, disciplina y contexto visual del trader.
Este script no genera señales de compra o venta ni constituye asesoramiento de inversión. Su objetivo es optimizar el entorno de trading combinando varias herramientas prácticas en un solo indicador.
Funciones principales:
- Notas adhesivas para reglas, recordatorios o sesgo diario
- Watermark personalizable para identificación visual
- Información de símbolo, temporalidad y fecha
- Aviso DayOff para evitar operar en fin de semana
Uso educativo y organizativo.
Unmitigated MTF High Low Pro - Cave Diving Bookmap Heatmap Plot
Unmitigated MTF High Low Pro - Cave Diving Bookmap Heatmap Plot
---
## 📖 Table of Contents
1. (#what-this-indicator-does)
2. (#core-concepts)
3. (#visual-components)
4. (#the-cave-diving-framework)
5. (#how-to-use-it-for-trading)
6. (#settings--customization)
7. (#best-practices)
8. (#common-scenarios)
---
## What This Indicator Does
The **Unmitigated MTF High Low v2.0** tracks unmitigated (untouch) high and low levels across multiple timeframes, helping you identify key support and resistance zones that the market hasn't revisited yet. Think of it as a sophisticated memory system for price action - it remembers where price has been, and more importantly, where it *hasn't been back to*.
### Why "Unmitigated" Matters
In futures trading, especially on instruments like NQ and ES, the market has a tendency to revisit levels where liquidity was left behind. An "unmitigated" level is one that hasn't been touched since it was formed. These levels often act as magnets for price, and understanding their age and proximity gives you a significant edge in:
- **Entry timing** - Waiting for price to approach tested levels
- **Exit planning** - Taking profits before ancient resistance/support
- **Risk management** - Avoiding entries when approaching multiple old levels
- **Liquidity mapping** - Visualizing where orders likely cluster
---
## Core Concepts
### 1. **Sessions & Age**
The indicator uses **New York trading sessions** (6:00 PM to 5:59 PM NY time) as the primary time measurement. This aligns with how futures markets naturally segment their activity.
**Age Categories:**
- 🟢 **New (0-1 sessions)** - Fresh levels, recently formed
- 🟡 **Medium (2-3 sessions)** - Tested by time, gaining significance
- 🔴 **Old (4-6 sessions)** - Highly significant, survived multiple days
- 🟣 **Ancient (7+ sessions)** - Extreme significance, major support/resistance
The longer a level remains unmitigated, the more significant it becomes. Think of it like compound interest - time adds weight to these zones.
### 2. **Multi-Timeframe Tracking**
You can set the indicator to track high/low levels from any timeframe (default is 15 minutes). This means you're watching for unmitigated 15-minute highs and lows while trading on, say, a 1-minute or 5-minute chart.
**Why this matters:**
- Higher timeframe levels have more weight
- You can see multiple timeframe structure simultaneously
- Helps you avoid fighting larger timeframe momentum
### 3. **Mitigation**
A level becomes "mitigated" (deactivated) when price touches it:
- **High levels** are mitigated when price reaches or exceeds them
- **Low levels** are mitigated when price reaches or goes below them
Once mitigated, the level disappears from view. The indicator only shows you the untouch levels that still matter.
---
## Visual Components
### 📊 The Dashboard Table
Located in the corner of your chart (configurable), the table shows:
```
┌─────────┬───────────┬────────┬─────┬───────┐
│ Level │ Price │ Points │ Age │ % │
├─────────┼───────────┼────────┼─────┼───────┤
│ ↑↑↑↑↑ │ 21,450.25 │ +45.50 │ 8 │ +0.21%│ ← 5th High (Ancient)
│ ↑↑↑↑ │ 21,430.00 │ +25.25 │ 5 │ +0.12%│ ← 4th High (Old)
│ ↑↑↑ │ 21,420.50 │ +15.75 │ 3 │ +0.07%│ ← 3rd High (Medium)
│ ↑↑ │ 21,412.00 │ +7.25 │ 1 │ +0.03%│ ← 2nd High (New)
│ ↑ ⚠️ │ 21,408.25 │ +3.50 │ 0 │ +0.02%│ ← 1st High (Proximity Alert!)
├─────────┼───────────┼────────┼─────┼───────┤
│ 15 mins │ 🟢 │ Δ 8.75 │ 2U │ │ ← Status Row
├─────────┼───────────┼────────┼─────┼───────┤
│ ↓ ⚠️ │ 21,399.50 │ -5.25 │ 0 │ -0.02%│ ← 1st Low (Proximity Alert!)
│ ↓↓ │ 21,395.00 │ -9.75 │ 2 │ -0.05%│ ← 2nd Low (Medium)
│ ↓↓↓ │ 21,385.25 │ -19.50 │ 4 │ -0.09%│ ← 3rd Low (Old)
│ ↓↓↓↓ │ 21,370.00 │ -34.75 │ 6 │ -0.16%│ ← 4th Low (Old)
│ ↓↓↓↓↓ │ 21,350.75 │ -54.00 │ 9 │ -0.25%│ ← 5th Low (Ancient)
├─────────┼───────────┼────────┼─────┼───────┤
│ 📊 15↑ / 12↓ │ ← Statistics (optional)
└─────────┴───────────┴────────┴─────┴───────┘
```
**Reading the Table:**
- **Level Column**: Number of arrows indicates position (1-5), color shows age
- **Price**: The actual price level
- **Points**: Distance from current price (+ for highs, - for lows)
- **Age**: Number of full sessions since creation
- **%**: Percentage distance from current price
- **⚠️**: Proximity alert - price is within threshold distance
- **Status Row**: Shows timeframe, direction (🟢 bullish/🔴 bearish), tunnel width (Δ), and Strat pattern
### 📈 Visual Elements on Chart
**1. Level Lines**
- Horizontal lines showing each unmitigated level
- **Color-coded by age**: Bright colors = new, darker = older, deep purple/teal = ancient
- **Line style**: Customizable (solid, dashed, dotted)
- Automatically turn **yellow** when price gets close (proximity alert)
**2. Price Labels**
- Show the exact price and age: "21,450.25 (8d)"
- Fixed at small size for clean readability
- Positioned with configurable offset from current bar
**3. Bands (Optional)**
- Shaded zones between pairs of unmitigated levels
- Default: Between 1st and 2nd levels (the "tunnel")
- Can switch to 1st-3rd, 2nd-3rd, or disable entirely
- **Upper band** (pink/maroon) - Between unmitigated highs
- **Lower band** (blue/teal) - Between unmitigated lows
- These represent the "no man's land" or consolidation zones
---
## The Cave Diving Framework
This indicator is designed around the **Cave Diving Trading Framework** - a psychological and technical approach that maps cave diving safety protocols to futures trading risk management.
### 🤿 The Core Metaphor
**Cave diving has clear danger zones based on depth and overhead environment. Your trading should too.**
#### Shallow Water (New Levels, 0-1 Sessions)
- **Light**: Bright colors (bright red highs, bright green lows)
- **Psychology**: Fresh territory, recently tested
- **Trading**: Be aware but not overly concerned
- **Cave Diving Parallel**: You can see the surface, easy exit
#### Penetration Depth (Medium Levels, 2-3 Sessions)
- **Light**: Medium intensity colors
- **Psychology**: Building significance, market memory forming
- **Trading**: Start respecting these levels for entries/exits
- **Cave Diving Parallel**: Deeper in, need to track your line back
#### Deep Dive Zone (Old Levels, 4-6 Sessions)
- **Light**: Dark colors (deep maroon, dark blue)
- **Psychology**: Highly tested support/resistance
- **Trading**: Major decision points, plan accordingly
- **Cave Diving Parallel**: Significant overhead, careful navigation required
#### Overhead Environment (Ancient Levels, 7+ Sessions)
- **Light**: Very dark, purple/deep teal
- **Psychology**: Extreme caution required, major liquidity zones
- **Trading**: These are your "turn back" signals - don't fight ancient levels
- **Cave Diving Parallel**: Maximum danger, no room for error
### 🎯 The Proximity Alert System
Just like a cave diver's depth gauge that warns at critical thresholds, the proximity alerts (⚠️) tell you when you're entering a danger zone. When price gets within your configured threshold (default 5 points), the indicator:
- Highlights the level in **yellow** on the chart
- Shows **⚠️** in the table
- Signals: "You're entering a high-significance zone - adjust your position accordingly"
This prevents the trading equivalent of going deeper into a cave without checking your air supply.
---
## How to Use It for Trading
### 🎯 Entry Strategies
**1. The "Bounce Setup" (Mean Reversion)**
- Wait for price to approach an old or ancient unmitigated level
- Look for confluence: multiple levels nearby, bands narrowing
- Enter when price shows rejection (reversal candle patterns)
- **Example**: Price drops to a 6-session-old low, shows bullish engulfing → Long entry
**2. The "Break and Retest" (Trend Following)**
- Wait for price to break through an unmitigated level (mitigates it)
- Enter on the retest of the newly broken level
- **Example**: Price breaks above 4-session-old high → Wait for pullback to that level → Long entry
**3. The "Tunnel Trade" (Range Trading)**
- When bands are active, trade the range between 1st-2nd levels
- Short near upper band resistance, long near lower band support
- Exit at opposite side or when bands break
### 🚨 Risk Management Rules
**The Ancient Level Rule**
> Never fight ancient levels (7+ sessions). If you're long and approaching an ancient high, take profits. If you're short and approaching an ancient low, take profits.
These levels have survived a full trading week without being touched - there's likely significant liquidity and institutional interest there.
**The Proximity Exit Rule**
> When you see ⚠️ proximity alerts on multiple levels above/below your position, tighten stops or scale out.
This is your "overhead environment" warning. You're in dangerous territory.
**The New Level Filter**
> Be cautious taking positions based solely on new levels (0-1 sessions). Wait for them to age or combine with other confluence.
Fresh levels haven't been tested by time. They're like unconfirmed support/resistance.
### 📊 Reading Market Structure
**Bullish Structure (🟢 in status row)**
- Unmitigated lows are aging and holding
- Price respecting the lower band
- Old lows below acting as strong support
- **Bias**: Look for long entries at lower levels
**Bearish Structure (🔴 in status row)**
- Unmitigated highs are aging and holding
- Price respecting the upper band
- Old highs above acting as strong resistance
- **Bias**: Look for short entries at higher levels
**The Tunnel Compression**
- When the Δ (delta) in the status row is small, levels are tight
- This often precedes a breakout
- **Trading**: Wait for breakout direction, then trade the break
### 🔄 Strat Integration
The indicator shows Strat patterns in the status row:
- **1** - Inside bar (consolidation)
- **2U** - Broke high only (bullish)
- **2D** - Broke low only (bearish)
- **3** - Broke both (wide range, volatility)
Use these with the unmitigated levels:
- **2U near old high** → Potential resistance, watch for rejection
- **2D near old low** → Potential support, watch for bounce
- **3 pattern** → High volatility, respect wider stops
---
## Settings & Customization
### 📅 Session & Timeframe Settings
**HL Interval** (Default: 15 minutes)
- The timeframe for high/low calculation
- **Lower (1m, 5m)**: More levels, more noise, good for scalping
- **Higher (30m, 1H, 4H)**: Fewer levels, stronger significance, good for swing trading
- **Recommendation for NQ/ES**: 15m or 30m for day trading, 1H for swing trading
**Session Age Threshold** (Default: 2)
- How many sessions before a level is considered "old"
- Lower = more levels classified as old
- Higher = stricter definition of significance
### 📊 Level Display Options
**Show Level Lines**
- Toggle: Display horizontal lines for each level
- **Turn off** if you prefer a cleaner chart and only want the table
**Show Level Labels**
- Toggle: Display price labels on the chart
- **Turn off** for minimal visual clutter
**Label Offset**
- Distance (in bars) from current price bar to place labels
- Increase if labels overlap with price action
**Level Line Width & Style**
- Customize visual appearance
- **Thin solid**: Minimal distraction
- **Thick dashed**: High visibility
### 🎨 Age-Based Color Coding
Customize colors for each age category (high and low separately):
- **New (0-1 sessions)**: Default bright red/green
- **Medium (2-3 sessions)**: Default medium intensity
- **Old (4+ sessions)**: Default dark red/blue
- **Ancient (7+ sessions)**: Default deep purple/teal
**Color Strategy Tips:**
- Keep ancient levels in highly contrasting colors
- Use opacity (transparency) if you want subtler lines
- Match your chart's color scheme for aesthetic coherence
### 🎯 Band Settings
**Band Mode**
- **1st-2nd** (Default): The primary "tunnel" between most recent levels
- **1st-3rd**: Wider band, more room for price action
- **2nd-3rd**: Band between less immediate levels
- **Disabled**: No bands, lines only
**Band Colors & Borders**
- Customize fill color and border separately
- **Tip**: Keep bands very transparent (90-95% transparency) to avoid obscuring price action
### ⚠️ Proximity Alert Settings
**Enable Proximity Alerts**
- Toggle: Turn on/off the warning system
- When enabled, levels within threshold distance show ⚠️ and turn yellow
**Alert Threshold** (Default: 5.0 points)
- Distance in points to trigger the alert
- **For NQ**: 5-10 points is reasonable
- **For ES**: 2-5 points is reasonable
- **For MES/MNQ**: Scale down proportionally
**Alert Highlight Color**
- The color lines/labels turn when proximity is triggered
- Default: Yellow (high visibility)
### 📋 Table Settings
**Show Table**
- Toggle: Display the dashboard table
**Table Location**
- Top Left, Top Right, Bottom Left, Bottom Right
- Choose based on your chart layout and other indicators
**Text Size**
- Tiny, Small, Normal, Large
- **Recommendation**: Normal for 1080p monitors, Small for 4K
**Show % Distance**
- Toggle: Add percentage distance column to table
- Useful for comparing relative distances across different price ranges
**Show Statistics Row**
- Toggle: Show total count of unmitigated highs/lows
- Format: "📊 15↑ / 12↓" (15 unmitigated highs, 12 unmitigated lows)
- Useful for gauging overall market structure
### ⚡ Performance Settings
**Enable Level Cleanup**
- Automatically remove very old levels to maintain performance
- **Keep on** unless you want unlimited history
**Max Lookback Levels** (Default: 10,000)
- Maximum number of levels to track
- 10,000 ≈ 6+ months of 15-minute bars
- **Increase** if you want more history
- **Decrease** if experiencing performance issues
**Max Boxes Per Band** (Default: 245)
- TradingView limit is 500 total boxes
- With 2 bands, 245 each = 490 total (safe maximum)
---
## Best Practices
### 🎯 Position Management
**1. Scaling In Near Old Levels**
```
Price approaching 5-session-old low:
- First position: 30% size at proximity alert (⚠️)
- Second position: 40% size at exact level
- Third position: 30% size if it shows strong rejection
```
**2. Scaling Out Near Ancient Levels**
```
Holding long position, approaching 8-session-old high:
- Exit 50% at proximity alert (⚠️)
- Exit 30% at exact level
- Trail stop on remaining 20%
```
### 🧠 Trading Psychology Integration
Drawing from principles in *The Mountain Is You*, this indicator helps you:
**1. Recognize Self-Sabotage Patterns**
- **The Premature Entry**: Entering before price reaches your planned level
- **Solution**: Set alerts at unmitigated levels, wait for proximity warnings
- **The Profit-Taking Problem**: Exiting too early from fear
- **Solution**: Identify the next unmitigated level and commit to holding until proximity alert
- **The Loss Holding**: Refusing to exit losing trades
- **Solution**: When price breaks through and mitigates your entry level, it's telling you the structure changed
**2. Building Better Habits**
The color-coded age system trains your brain to:
- Respect levels that have proven themselves over time
- Distinguish between noise (new levels) and structure (old levels)
- Make decisions based on objective data, not fear or greed
**3. Emotional Regulation**
The proximity alerts serve as:
- **Circuit breakers** - Forcing you to re-evaluate before dangerous zones
- **Permission to act** - Giving you objective signals to exit without second-guessing
- **Validation** - Confirming when you're in alignment with market structure
### 📝 Pre-Market Routine
**Daily Setup Checklist:**
1. ✅ Identify the 3 nearest unmitigated highs above current price
2. ✅ Identify the 3 nearest unmitigated lows below current price
3. ✅ Note which are ancient (7+) - these are your "no-go" zones
4. ✅ Check the tunnel width (Δ in status row) - tight or wide?
5. ✅ Set alerts at the 1st high and 1st low for proximity warnings
6. ✅ Plan: "If we go up, I exit at ___. If we go down, I enter at ___."
### 🔄 Timeframe Confluence
**Multi-Timeframe Strategy:**
Run the indicator on **three instances**:
- **15-minute** (short-term structure)
- **1-hour** (intermediate structure)
- **4-hour** (major structure)
**Strong Setup**: When all three timeframes show unmitigated levels converging at the same price zone.
**Example:**
- 15m: Old low at 21,400
- 1H: Ancient low at 21,398
- 4H: Ancient low at 21,395
- **Result**: 21,395-21,400 is a monster support zone
### ⚠️ What This Indicator Doesn't Do
**Not a Crystal Ball**
- It doesn't predict where price will go
- It shows you where price *hasn't been* and how long it's been avoided
- The trading decisions are still yours
**Not an Entry Signal Generator**
- It provides context and structure
- You need to combine it with your entry methodology (price action, indicators, order flow, etc.)
**Not Foolproof**
- Ancient levels get broken
- Proximity alerts can trigger early in strong trends
- The market doesn't "owe" you a reversal at any level
---
## Common Scenarios
### Scenario 1: "Level Cluster Ahead"
**Situation**: You're long at 21,400. The table shows:
- 1st High: 21,425 (2 sessions old)
- 2nd High: 21,428 (3 sessions old)
- 3rd High: 21,435 (6 sessions old)
**Interpretation**: There's a resistance cluster just 25-35 points away. The 6-session-old level is particularly significant.
**Action**:
- Set first profit target at 21,420 (before the cluster)
- Set second target at 21,426 (between 1st and 2nd)
- Trail remaining position, but be ready to exit on rejection at 21,435
**Cave Diving Analogy**: You're approaching an overhead section with limited clearance. Lighten your load (reduce position) before entering.
---
### Scenario 2: "Ancient Level Approaches"
**Situation**: The market is grinding higher. You see ⚠️ appear next to a 9-session-old high at 21,500.
**Interpretation**: This level has survived over a week without being touched. Massive potential liquidity zone.
**Action**:
- If long, this is your absolute exit zone. Take profits before or at level.
- If looking to short, wait for clear rejection (price taps and reverses)
- Don't try to buy the breakout until it clearly breaks and retests
**Cave Diving Analogy**: Your dive computer is beeping - you've reached your planned turn-back depth. No matter how interesting it looks ahead, honor your plan.
---
### Scenario 3: "Mitigated Levels Create New Structure"
**Situation**: Price breaks and mitigates the 1st High. The previous 2nd High becomes the new 1st High.
**Interpretation**: The structure just shifted. What was the 2nd level is now most relevant.
**Action**:
- Watch how price reacts to the newly-mitigated level
- If it holds below (acts as resistance), bearish
- If it reclaims and holds above (acts as support), bullish
- The NEW 1st High is your next target/resistance
**Cave Diving Analogy**: You've passed through a restriction - the cave layout ahead is different now. Update your mental map.
---
### Scenario 4: "Tight Tunnel, Upcoming Breakout"
**Situation**: The Δ in the status row shows 3.25 points (very tight). Bands are converging.
**Interpretation**: Price is consolidating between very close unmitigated levels. Breakout likely.
**Action**:
- Don't try to predict direction
- Set alerts above 1st High and below 1st Low
- When break occurs, trade the retest
- Expect volatility - use wider stops
**Cave Diving Analogy**: You're in a narrow passage. Movement will be sudden and directional once it starts.
---
### Scenario 5: "Imbalanced Structure"
**Situation**: The statistics row shows "📊 22↑ / 7↓"
**Interpretation**: There are many more unmitigated highs than lows. This suggests:
- Price has been declining (hitting lows, leaving highs behind)
- Potential bullish reversal zone (lots of overhead supply mitigated)
- Or continued bearish structure (resistance everywhere above)
**Action**:
- Look at the age of those 22 highs
- If mostly new (0-2 sessions): Just a recent downmove, not significant yet
- If many old/ancient: Strong overhead resistance, be cautious on longs
- Compare to price action: Is price respecting the remaining lows?
**Cave Diving Analogy**: You've swam deeper than your starting point - most of your markers are above you now. Are you planning the ascent or going deeper?
---
## Final Thoughts: The Philosophy
This indicator is built on a simple but powerful principle: **The market has memory, and that memory has weight.**
Every unmitigated level represents:
- Liquidity left behind
- Orders waiting to be filled
- Institutional interest potentially parked
- Psychological significance for participants
The longer a level remains unmitigated, the more "charged" it becomes. When price finally revisits it, something significant usually happens - either a strong reversal or a definitive break.
Your job as a trader isn't to predict which outcome will occur. Your job is to:
1. **Recognize** when you're approaching these charged zones
2. **Respect** them by adjusting position size and risk
3. **React** appropriately based on how price behaves at them
4. **Remember** that ancient levels (like ancient wisdom) deserve extra reverence
The Cave Diving Framework embedded in this indicator serves as a constant reminder: Trading, like cave diving, requires rigorous respect for environmental hazards, meticulous planning, and the discipline to turn back when your limits are reached.
**Every proximity alert is the market asking you**: *"Do you really want to go deeper?"*
Sometimes the answer is yes - when your setup, confluence, and risk management all align.
Often, the answer should be no - and that's the trader avoiding the accident that would have happened to the gambler.
---
### 🎯 Quick Reference Card
**Color System:**
- 🟢 Bright colors = New (0-1 sessions) = Shallow water
- 🟡 Medium colors = Medium (2-3 sessions) = Penetration depth
- 🔴 Dark colors = Old (4-6 sessions) = Deep dive zone
- 🟣 Deep dark colors = Ancient (7+ sessions) = Overhead environment
**Symbols:**
- ↑ ↑↑ ↑↑↑ ↑↑↑↑ ↑↑↑↑↑ = High levels (1st through 5th)
- ↓ ↓↓ ↓↓↓ ↓↓↓↓ ↓↓↓↓↓ = Low levels (1st through 5th)
- ⚠️ = Proximity alert (danger zone)
- 🟢 = Bullish structure
- 🔴 = Bearish structure
- Δ = Tunnel width (distance between 1st high and 1st low)
**Critical Rules:**
1. Never fight ancient levels (7+ sessions)
2. Respect proximity alerts (⚠️)
3. Scale out near old/ancient resistance
4. Wait for confluence when entering
5. Let mitigated levels prove their new role
---
**Remember**: The indicator gives you structure. The trading edge comes from your discipline in respecting that structure.
Trade safe, trade smart, and always know your exit before your entry. 🎯
---
*"You don't become your best self by denying your patterns. You become your best self by recognizing them, understanding them, and choosing differently." - Adapted from The Mountain Is You*
In trading: You don't become profitable by ignoring market structure. You become profitable by recognizing it, understanding it, and choosing your entries accordingly.
ICT Unicorn Model [Kodexius]ICT Unicorn Model is a market structure and imbalance confluence tool that automatically detects high probability “Unicorn” setups by combining three key elements into a single, clean script:
-A first, clean break of that swing level (displacement style break)
-A Fair Value Gap that overlaps a breaker candle body range
Instead of plotting every pivot or every imbalance independently, the script waits for a specific sequence: price establishes a valid swing, breaks that swing for the first time, and prints a setup only when the resulting context aligns with a valid, volatility filtered FVG and a clearly defined breaker range.
Each detected setup is drawn directly on the chart with labeled zones (Breaker and FVG) and is then actively monitored. If price violates the breaker boundary based on your chosen invalidation basis (Close or Wick), the setup is marked inactive and can optionally be removed to keep the chart clean.
This indicator is designed for traders who work with ICT style concepts such as liquidity runs, displacement, breaker blocks, and imbalance reversion, and who want a structured, rules based visualization rather than discretionary drawing.
🔹 Features
🔸 Fair Value Gap Detection With Volatility Filtering
Bullish and bearish FVGs are detected using classic three candle imbalance logic. To avoid low quality gaps during compression, the script applies an ATR based minimum size filter using the “FVG Min Size (ATR Multiplier)” input. Only gaps larger than ATR * threshold are considered valid.
🔸 First Break Validation (Clean Break Logic)
A key part of the model is identifying a “first break” of a swing level. The script checks whether the swing price has already been invalidated between the swing bar and the current bar. If it has, the swing is ignored. This helps reduce repeated signals and focuses on fresh structural breaks.
🔸 Breaker and FVG Confluence With Overlap Requirement
After a valid break occurs, the script defines a breaker range using the body of the swing candle (open and close). A setup is only created if this breaker body range overlaps the detected FVG price range. This overlap requirement is what filters many “almost” conditions and keeps signals more selective.
Bullish Unicorn:
Bearish Unicorn:
🔸 Configurable Invalidation Basis (Close or Wick)
You can choose how a setup fails:
-Close: invalidation requires a candle close beyond the breaker boundary
-Wick: invalidation occurs as soon as any wick crosses beyond the breaker boundary
This allows the tool to adapt to different trading styles, from conservative confirmation to more sensitive risk control.
🔸 Automatic Cleanup of Failed Setups
If “Delete Invalidated Setups” is enabled, the script removes the breaker box, FVG box, and label as soon as the setup is invalidated. If disabled, the zones remain visible for review while the setup is marked inactive internally.
🔸 Clear Chart Visuals
Each setup plots:
-A labeled Breaker zone box
-A labeled FVG zone box
-A directional Unicorn label (Bull or Bear) that updates position as the chart advances
Colors for bullish and bearish structures are fully configurable.
🔸 Alert Conditions
Two alert conditions are provided:
-Bullish Unicorn Setup Detected
-Bearish Unicorn Setup Detected
Alerts trigger only on the bar a new setup is created.
🔹 Calculations
This section summarizes the main computations used internally. The goal here is to explain the model mechanics rather than reproduce every implementation detail.
1. Swing Detection (Pivot High / Pivot Low)
Swing levels are detected using a symmetric pivot definition with “Swing Length” bars on both sides:
float ph = ta.pivothigh(high, swingLength, swingLength)
float pl = ta.pivotlow(low, swingLength, swingLength)
When a pivot is confirmed, its price and originating bar index are stored:
-Swing High: price = pivot high, isHigh = true
-Swing Low: price = pivot low, isHigh = false
The script keeps a limited history (most recent swings) to stay efficient.
2. Fair Value Gap Detection
FVGs use the classic three candle displacement imbalance:
Bullish FVG condition
bool isBullFVG = high < low
Bullish gap range is defined as:
-Top = low
-Bottom = high
Bearish FVG condition
bool isBearFVG = low > high
Bearish gap range is defined as:
-Top = low
-Bottom = high
3. ATR Based Minimum Gap Filter
ATR is computed (length 14), then the gap size is compared against a user threshold:
float atr = ta.atr(14)
bool validBullFVG = isBullFVG and (bullFvgTop - bullFvgBot) > (atr * fvgThreshold)
bool validBearFVG = isBearFVG and (bearFvgTop - bearFvgBot) > (atr * fvgThreshold)
This prevents very small imbalances from generating setups in low volatility conditions.
4. “First Break” Check Using Level Invalidation Scan
Before accepting a swing break, the script scans forward from the swing bar to the current bar to confirm the level has not already been breached. The scan can be based on wick or close:
-Wick mode: uses high or low
-Close mode: uses close
Conceptually:
priceToCheck = mode == "Wick" ? (checkBelow ? low : high) : close
If a prior breach is found, the swing is treated as already invalidated and is ignored for setup creation.
5. Break Of Structure Condition
Bullish break requirement
A bullish setup requires breaking a stored swing high with bullish body intent:
-close > swingHighPrice
-open < close
Bearish break requirement
A bearish setup requires breaking a stored swing low with bearish body intent:
-close < swingLowPrice
-open > close
An additional proximity filter is applied in the bearish branch to reduce weak or overly extended breaks by requiring the prior close to be reasonably near the swing level.
6. Breaker Range Construction
Once a qualifying swing is found, the breaker range is derived from the body of the swing candle (the candle at the swing bar index). The body boundaries are:
float breakerTop = math.max(bOpen, bClose)
float breakerBot = math.min(bOpen, bClose)
This models the breaker as the candle body range rather than full wick range, which typically produces more practical invalidation boundaries.
7. Overlap Test Between Breaker and FVG
A setup is only created if the breaker body overlaps the FVG zone. Conceptually the script rejects cases where one range is fully above or fully below the other:
-If there is no overlap, no setup is created
-If overlap exists, the Unicorn setup is valid
8. Active Monitoring and Invalidation
Each setup remains active until invalidated. Invalidation is evaluated every bar using your selected basis:
-Close basis: compares close to breaker boundary
-Wick basis: compares high or low to breaker boundary
Bullish invalidation
Setup fails if price crosses below breaker bottom.
Bearish invalidation
Setup fails if price crosses above breaker top.
If deletion is enabled, all drawings related to that setup are removed immediately on invalidation.
9. Drawing Updates and Object Lifecycle
Breaker and FVG boxes are extended to the right while the setup is active to keep zones visible into the near future. The Unicorn label is also repositioned as new bars print so the most recent context stays readable.
SignalViper ReconRecon — Multi-Factor Market State Summary
Recon is a market state synthesis and interpretation tool designed to summarize multiple analytical dimensions into a single, readable overview. Instead of presenting raw indicator values, Recon translates trend, momentum, volume, and structure conditions into descriptive market states.
The goal of Recon is to reduce cognitive load by helping traders quickly understand what type of market they are currently in, not to provide trade signals.
Core Concepts & Logic
Recon evaluates several analytical dimensions commonly used across the SignalViper suite, including:
Trend Structure
Momentum Quality
Volume Participation
Proximity to Key Structural Levels
Each dimension is assessed independently and then combined into a contextual summary that reflects overall market conditions.
Recon does not require other indicators to be loaded on the chart. It performs its own internal evaluation using the same conceptual frameworks.
Narrative Interpretation Layer
Rather than displaying raw numbers or oscillators, Recon converts evaluated conditions into plain-language descriptions, such as:
“Directional momentum strengthening”
“Trend continuation with participation support”
“Structural resistance nearby with weakening momentum”
These descriptions are intended to convey context and risk awareness, not predictions or recommendations.
Indicator Families Used
Recon belongs to the multi-factor regime analysis and interpretation category. It incorporates elements of trend analysis, momentum evaluation, volume-aware context, and structure awareness. Familiar analytical concepts may be present, but Recon’s value lies in how these factors are synthesized and Fletcherized into readable states.
Visual Outputs Explained
Summary Table
Displays the current evaluation of each analytical dimension in one consolidated view.
Color-Coded Status Indicators
Colors are used to reflect alignment, neutrality, or conflict across factors for rapid visual scanning.
Active Warnings
Highlight conditions such as divergence, participation weakening, or structural conflict when detected.
All outputs are informational and reflect the current market state.
How to Use Recon
Recon is designed to be used as a pre-decision context tool. Traders commonly use it to:
Confirm whether market conditions align with their strategy
Identify conflicting signals before entering a trade
Avoid overconfidence during unstable or transitional regimes
It is especially useful when used alongside execution-focused tools, but it can also be used independently as a high-level market overview.
Why This Script Is Invite-Only
Recon’s value comes from how multiple analytical dimensions are evaluated, weighted, and translated into narrative summaries. This interpretation layer significantly reduces the need to mentally reconcile multiple indicators and helps traders maintain consistency during live decision-making.
SignalViper VenomVenom — Volume Pressure & Participation Analysis
Venom is a volume-pressure and participation analysis tool designed to evaluate whether buying or selling pressure is dominating recent price movement. Instead of forecasting direction, Venom focuses on measuring imbalance, agreement, and conflict between price movement and volume behavior.
The script presents this information as an oscillator, helping traders visualize who is exerting pressure and how stable that pressure is over time.
Core Concepts & Logic
Venom evaluates volume activity in relation to price movement to determine relative pressure, not absolute volume levels. Its analysis focuses on:
Buying vs Selling Pressure
Measures whether volume participation favors upward or downward movement.
Pressure Stability
Identifies whether participation is sustained or weakening.
Participation Conflict
Highlights conditions where buying and selling forces are closely balanced.
Based on these factors, Venom classifies pressure into distinct control states.
Indicator Families Used
Venom belongs to the volume-aware momentum and participation family of indicators. It uses volume-weighted evaluation rather than raw volume bars, allowing pressure conditions to be compared consistently across symbols and timeframes.
Visual Outputs Explained
Pressure Oscillator
Displays relative buying or selling pressure:
Cyan tones indicate buying pressure dominance
Magenta tones indicate selling pressure dominance
Control States
BUYERS: volume pressure supports upward movement
SELLERS: volume pressure supports downward movement
CONTESTED: participation is balanced or conflicted
Pressure Signal Line
Acts as a smoothing and confirmation reference to help assess pressure shifts.
Divergence Markers
Appear when price movement and pressure behavior begin to disagree, indicating possible participation exhaustion or transition, not guaranteed reversals.
Information Table
Provides a real-time summary of current pressure direction and control state.
All visuals are directly tied to the underlying pressure evaluation.
Alerts
Venom includes optional alerts for:
Pressure state transitions
Divergence conditions between price and pressure
Alerts are designed to highlight changes in participation context, not to signal trades.
How to Use Venom
Venom is intended as a context and confirmation tool. Traders commonly use it to:
Assess whether price movement is supported by participation
Avoid entries when pressure is conflicted or weakening
Monitor potential exhaustion during extended moves
It pairs naturally with trend, momentum, or structure-based tools to add a participation layer.
Why This Script Is Invite-Only
Venom’s value comes from how volume information is interpreted, normalized, and abstracted into readable pressure states and divergence conditions. This allows traders to assess participation without relying on multiple raw volume indicators or manual interpretation.
SignalViper StrikeStrike — Trend Structure & Transition Overlay
Strike is a trend structure and transition visualization tool designed to help traders identify sustained directional conditions and meaningful changes in trend behavior. Rather than predicting price movement, Strike focuses on displaying trend direction, momentum agreement, and volatility context directly on the chart.
The script is intended to support discretionary trend-following decisions by clarifying when directional structure is present and when conditions begin to shift.
Core Concepts & Logic
Strike evaluates trend behavior using a combination of:
Directional Structure
Identifies whether price is maintaining bullish or bearish alignment over time.
Momentum Confirmation
Highlights moments where directional movement is supported by sufficient momentum rather than short-term fluctuation.
Volatility Context
Provides awareness of expansion and contraction phases that influence trend reliability.
These elements are evaluated together to distinguish stable trends, transitions, and neutral conditions.
Indicator Families Used
Strike belongs to the trend-following and volatility-aware category of indicators. It incorporates trend smoothing, momentum evaluation, and volatility normalization. Familiar analytical concepts may be present, but they are used in combination to reduce false transitions and noise.
Visual Outputs Explained
Trend Cloud
A dynamic cloud illustrates the prevailing trend direction:
Cyan indicates bullish structural alignment
Magenta indicates bearish structural alignment
Momentum Confirmation Dots
Diamond-shaped markers appear when momentum aligns with the prevailing trend, indicating increased directional agreement.
Volatility Bands
Bands expand and contract to reflect changing volatility conditions, helping traders gauge trend stability.
Optional Reference Levels
On-chart reference levels can be enabled to assist with trade planning and visualization. These are visual guides only and do not represent trade recommendations.
Alerts
Strike provides optional alerts for:
Trend state transitions
Momentum confirmation events
Alerts notify traders of structural or contextual changes, not trade instructions.
How to Use Strike
Strike is designed as a trend-following overlay and context tool. Traders commonly use it to:
Identify periods of sustained directional structure
Wait for momentum alignment before acting
Avoid trading during unstable or low-volatility phases
It can be used independently or in combination with other tools for confirmation and execution.
Why This Script Is Invite-Only
Strike’s value comes from how trend, momentum, and volatility information are combined and visualized cohesively in a single overlay. This reduces chart clutter and helps traders interpret trend behavior more consistently than using multiple standalone indicators.






















