Candlestick analysis
MA200 Deviation Percentile200-Day MA Deviation with Dynamic Thresholds
OVERVIEW
This indicator measures price deviation from the 200-day moving average as a percentage, with dynamically calculated overbought/oversold thresholds based on historical percentiles.
Best suited for broad market indices (SPY, QQQ, IWM, etc.) where the 200-day MA serves as a reliable long-term trend indicator. Individual stocks may exhibit more erratic behavior around this level.
CALCULATION
Deviation (%) = (Close - 200MA) / 200MA x 100
Dynamic thresholds are derived from actual historical distribution rather than assuming normal distribution:
- Overbought threshold = 97.5th percentile of historical deviations
- Oversold threshold = 2.5th percentile of historical deviations
SETTINGS
MA Length (default: 200)
Moving average period.
Lookback Period (default: 1260)
Historical window for threshold calculation. 1260 bars approximates 5 years of daily data.
Threshold Percentile (default: 5%)
Two-tailed threshold. 5% places overbought/oversold boundaries at the 97.5th and 2.5th percentiles respectively.
INTERPRETATION
Deviation Value
- Positive: Price trading above 200MA
- Negative: Price trading below 200MA
- Magnitude indicates extent of deviation
Percentile Ranking (0-100%)
- Shows where current deviation ranks historically
- Above 90%: Historically elevated
- Below 10%: Historically depressed
Dynamic Threshold Lines
- Red line: Upper boundary based on historical distribution
- Green line: Lower boundary based on historical distribution
- These adapt automatically to each asset's volatility characteristics
APPLICATION
Mean Reversion
Extreme deviations tend to normalize over time. When deviation exceeds dynamic thresholds, probability of mean reversion increases.
Trend Assessment
Sustained positive/negative deviation confirms trend direction. Zero-line crossovers may signal trend changes.
NOTES
- Optimized for daily timeframe on market indices
- Requires sufficient historical data (minimum equal to lookback period)
- Extreme readings do not guarantee immediate reversals
- Use in conjunction with other analysis methods
顺势为王Disclaimer!!!
This script and indicators do not constitute any financial advice. Traders are fully responsible for their own trading decisions, and the script developer is not liable for any losses or gains resulting from the use of this script. Please use with caution and trade rationally. Fans of Chan Theory are welcome to learn and communicate together. QQ: 2508126812
DAILY - 3-Condition Arrows - Buy & SellVersion 1.
On the DAILY time frame, this indicator will add a green BUY arrow to a stock price when the following 3 conditions are ALL true:
BUY (all 3 conditions are true)
1. Stock price > 50 EMA
2. MACD line above moving average
3. Williams %R (Best_Solve version) is above moving average
Conversely, a red SELL arrow will point out when the following 3 conditions are ALL true:
SELL (all 3 conditions are true)
1. Stock price < 50 EMA
2. MACD line below moving average
3. Williams %R (Best_Solve version) is below the moving average
趋势阻力集空间Disclaimer!!!
This script and indicators do not constitute any financial advice. Traders are fully responsible for their own trading decisions, and the script developer is not liable for any losses or gains resulting from the use of this script. Please use with caution and trade rationally. Fans of Chan Theory are welcome to learn and communicate together. QQ: 2508126812
CMEGap° - Daily Gap Levels for Bitcoin by ClearViewLabsCME Gap - BTC Futures Gap Tracker by ClearViewLabs
Tracks unfilled CME Bitcoin Futures gaps and displays them as horizontal levels on your chart.
What it detects:
Close-to-open gaps, the difference between the previous session's close and the current session's open. These are not visual gaps (empty space between candles), but price inefficiencies that tend to get revisited.
What it does:
Detects gaps between previous close and current open (≥0.5% default)
Draws levels that extend until filled or expired
Dashboard shows active gaps with age and distance from current price
Statistical edge (2017-2025 CME BTC data, n=992 gaps):
95% of gaps fill within 30 days
75% fill within the same day
Gaps act as price "magnets", price tends to revisit these levels
Use it for:
Identifying potential support/resistance levels
Setting take-profit targets
Understanding where unfilled liquidity exists
Note: This indicator identifies valid technical levels, not trade signals. Your entry strategy determines your edge.
Features:
Works on any BTC chart (pulls CME data via settings)
Auto-removes filled gaps
Color-coded by direction (red = gap up, green = gap down)
Fades older gaps automatically
Settings:
Gap Threshold: Minimum gap size to detect (default 0.5%)
Max Age: Days before unfilled gaps expire (default 30)
CME Symbol: Change source if needed
new_youtube_strategy//@version=5
strategy("Dow + Homma 1m Scalper (15m filter)", overlay=true, margin_long=100, margin_short=100, initial_capital=10000)
//===== INPUTS =====
maLen = input.int(50, "Trend SMA Length", minval=5)
htf_tf = input.timeframe("15", "Higher TF")
priceTolPct = input.float(0.05, "SR tolerance %", step=0.01)
wickFactor = input.float(2.0, "Hammer/ShootingStar wick factor", step=0.1)
dojiThresh = input.float(0.1, "Doji body % of range", step=0.01)
risk_RR = input.float(2.0, "Reward:Risk", step=0.1)
capitalRiskPct = input.float(1.0, "Risk % of equity per trade", step=0.1)
//===== 1m TREND (SMA) =====
sma1 = ta.sma(close, maLen)
sma1Up = sma1 > sma1
sma1Down = sma1 < sma1
uptrend1 = close > sma1 and sma1Up
downtrend1 = close < sma1 and sma1Down
//===== 15m TREND VIA request.security =====
sma15 = request.security(syminfo.tickerid, htf_tf, ta.sma(close, maLen), lookahead=barmerge.lookahead_off)
sma15Up = sma15 > sma15
sma15Down = sma15 < sma15
uptrend15 = close > sma15 and sma15Up
downtrend15 = close < sma15 and sma15Down
//===== SWING HIGHS/LOWS (LOCAL EXTREMA) =====
var int left = 3
var int right = 3
swHigh = ta.pivothigh(high, left, right)
swLow = ta.pivotlow(low, left, right)
//===== SR FLIP LEVELS =====
var float srSupport = na
var float srResistance = na
// when a swing high is broken -> new support
if not na(swHigh)
if close > swHigh
srSupport := swHigh
// when a swing low is broken -> new resistance
if not na(swLow)
if close < swLow
srResistance := swLow
//===== CANDLE METRICS =====
body = math.abs(close - open)
cRange = high - low
upperW = high - math.max(open, close)
lowerW = math.min(open, close) - low
isBull() => close > open
isBear() => close < open
bullHammer() =>
cRange > 0 and
isBull() and
lowerW >= wickFactor * body and
upperW <= body
bearShootingStar() =>
cRange > 0 and
isBear() and
upperW >= wickFactor * body and
lowerW <= body
isDoji() =>
cRange > 0 and body <= dojiThresh * cRange
bullEngulfing() =>
isBear() and isBull() and
open <= close and close >= open
bearEngulfing() =>
isBull() and isBear() and
open >= close and close <= open
//===== SR PROXIMITY =====
tol = priceTolPct * 0.01 * close
nearSupport = not na(srSupport) and math.abs(close - srSupport) <= tol
nearResistance = not na(srResistance) and math.abs(close - srResistance) <= tol
//===== SIGNAL CONDITIONS =====
bullCandle = bullHammer() or isDoji() or bullEngulfing()
bearCandle = bearShootingStar() or isDoji() or bearEngulfing()
longTrendOK = uptrend1 and uptrend15
shortTrendOK = downtrend1 and downtrend15
longSignal = longTrendOK and nearSupport and bullCandle
shortSignal = shortTrendOK and nearResistance and bearCandle
//===== POSITION SIZING (IN RISK UNITS) =====
var float lastEquity = strategy.equity
riskCapital = strategy.equity * (capitalRiskPct * 0.01)
//===== ENTRY / EXIT PRICES =====
longStop = math.min(low, nz(srSupport, low))
longRisk = close - longStop
longTP = close + risk_RR * longRisk
shortStop = math.max(high, nz(srResistance, high))
shortRisk = shortStop - close
shortTP = close - risk_RR * shortRisk
// qty in contracts (approx; assumes price * qty ≈ capital used)
longQty = longRisk > 0 ? riskCapital / longRisk : 0.0
shortQty = shortRisk > 0 ? riskCapital / shortRisk : 0.0
//===== EXECUTION =====
if longSignal and longRisk > 0 and longQty > 0
strategy.entry("Long", strategy.long, qty=longQty)
strategy.exit("Long TP/SL", from_entry="Long", stop=longStop, limit=longTP)
if shortSignal and shortRisk > 0 and shortQty > 0
strategy.entry("Short", strategy.short, qty=shortQty)
strategy.exit("Short TP/SL", from_entry="Short", stop=shortStop, limit=shortTP)
//===== PLOTS =====
plot(sma1, color=color.orange, title="SMA 1m")
plot(sma15, color=color.blue, title="HTF SMA (15m)")
plot(srSupport, "SR Support", color=color.new(color.green, 50), style=plot.style_linebr)
plot(srResistance,"SR Resistance",color=color.new(color.red, 50), style=plot.style_linebr)
// Visual debug for signals
plotshape(longSignal, title="Long Signal", style=shape.triangleup, location=location.belowbar, color=color.lime, size=size.tiny)
plotshape(shortSignal, title="Short Signal", style=shape.triangledown, location=location.abovebar, color=color.red, size=size.tiny)
WEEKLY - 3-Condition Arrows - Buy & SellVersion 1.
On the WEEKLY time frame, this indicator will add a green BUY arrow to a stock price when the following 3 conditions are ALL true:
BUY (all 3 conditions are true)
1. Stock price > 50 EMA
2. MACD line above moving average
3. Williams %R (Best_Solve version) is above moving average
Conversely, a red SELL arrow will point out when the following 3 conditions are ALL true:
SELL (all 3 conditions are true)
1. Stock price < 50 EMA
2. MACD line below moving average
3. Williams %R (Best_Solve version) is below the moving average
ICT订单块交易【实时不滞后】Used to identify "Order Blocks" (OB), based on Break of Structure (BOS) and Retest mechanisms. It detects candles in the opposite direction after swing highs/lows to form potential supply/demand zones, confirming and plotting valid OBs only upon price retest. The indicator emphasizes "real" OBs: requiring a strong impulse (> ATR * multiplier) and retest verification.
- **Core Functions**: Detect BOS (Break of Structure); find opposite candles after prior impulses; verify strength and retest; draw OB boxes and labels.
- **Applicable Scenarios**: Suitable for ICT strategies, supply-demand trading, or reversal identification. Helps filter false breakouts and shows only high-probability zones.
- **Display Mode**: Overlaid on the main chart, displaying OBs as boxes, supporting up to 500 boxes.
- **Limitations**: Retest period fixed at 15 bars; based on simple candlesticks (no volume filter); no automatic cleanup of old OBs (manual management required).
The indicator has no built-in alerts but can be extended. ATR is used dynamically to validate strength.
## Input Parameters
Input parameters are concise, divided into core settings and display group. Below explains each parameter’s default value, type, and function.
### Core Settings
- **Structure Lookback** (int, default: 10, min: 3): Lookback period for structure detection (length for ta.highest/lowest). Higher values detect stronger structures.
- **Minimum Impulse Strength (ATR ×)** (float, default: 1.5, min: 0.5): Minimum impulse strength ((high-low) > ATR * this value). Ensures significant movement before OB.
- **Bars to watch for Retest** (int, default: 15, min: 1): Number of bars to monitor for retest. OB is confirmed only if price retests the OB zone within N bars after a breakout.
### Display Settings
- **Show Bullish OBs** (bool, default: true): Show bullish OBs (demand zone, rebounds after retest).
- **Show Bearish OBs** (bool, default: true): Show bearish OBs (supply zone, reverses after retest).
Colors are fixed: green (bullish, 80% transparency), red (bearish, 80% transparency).
## Calculations and Display
### Break of Structure (BOS) Detection
- **ATR Calculation**: ta.atr(14) used for strength verification.
- **Swing High/Low**: ta.highest(high, lookback) / ta.lowest(low, lookback) to identify structure. ...
## Calculation and Display
### Structure Breakout (BOS) Detection
- **ATR Calculation**: `ta.atr(14)` used for strength verification.
- **Swing High/Low**: `ta.highest(high, lookback)` / `ta.lowest(low, lookback)` identify structure.
- **BOS Trigger**:
- **bullBOS**: close > hh (breaks previous high).
- **bearBOS**: close < ll (breaks previous low).
### Order Block Identification
- **getLastOppositeCandle(isBullish)**:
- Search for the most recent "opposite" candle within the lookback period (bullBOS: bearish candle close < open; bearBOS: bullish candle close > open).
- Returns the index (idx); if none, then na.
- **OB Logic** (only when showBullish/Bearish=true):
- **Bullish OB (bullBOS)**:
- Find previous bearish candle (idx), check momentum: (high-low) > ATR * atrMult.
- Calculate obLow = low , obHigh = high .
- Backtest check: within 15 candles low inside → inRetest = true.
- If confirmed: draw green box (from bar_index - idx to current, obLow to obHigh); label "🟩 Bullish OB (Valid)" (top-left, green, 80% transparency, white text).
- Push into bullOBs array.
- **Bearish OB (bearBOS)**: symmetric, red box, label "🟥 Bearish OB (Valid)" (bottom-left).
- **Array Management**: var box bullOBs/bearOBs store all OBs; no automatic cleanup (expandable).
### Display Elements
- **Boxes**: dynamically from idx to current candle, visually showing OB area.
- **Labels**: displayed when confirmed, positioned based on obHigh/obLow.
- No lines/fills; pure boxes + labels.
## Alert Functionality
The indicator has no built-in alerts but can be extended via TradingView alerts, for example:
- **New OB**: bullBOS and inRetest or bearBOS and inRetest.
- **Backtest**: price enters OB range.
It is recommended to add `alertcondition()` for custom alerts. ...
It is recommended to add a custom alertcondition(), such as 'Bullish OB Confirmed'.
## Usage Tips
- **Optimization**: lookback=10 balances sensitivity; atrMult=1.5 filters weak impulses; retestBars=15 is suitable for intraday.
- **Customization**: turn off showBullish/Bearish to hide types; add volume filtering to the fork for better accuracy.
- **Explanation**:
- **BOS + Backtesting**: ensure OB is 'real' (not a false breakout); only draw after backtesting to avoid noise.
- **Strength**: (high-low)>ATR*1.5 indicates strong impulses, making OB more reliable.
- **Application**: Bullish OB = buy zone (support); Bearish OB = sell zone (resistance).
- **Limitations**: fixed backtesting period may miss late retracements; no volume/time filtering; few OBs in low-volatility markets.
- **Extensions**: add OB counts or Fibonacci extensions.
ICT订单块交易指标,用于识别“订单块”(Order Blocks, OB),基于结构突破(Break of Structure, BOS)与回测(Retest)机制。它通过检测摆动高/低点后的相反方向烛台,形成潜在供给/需求区域,仅在价格回测时确认并绘制有效OB。指标强调“真实”OB:需强冲动(> ATR * 乘数)与回测验证。
- **核心功能**:检测BOS(结构突破);查找前冲动相反烛台;验证强度与回测;绘制OB盒子与标签。
- **适用场景**:适合ICT策略、供给需求交易或反转识别。帮助过滤假突破,仅显示高概率区域。
- **显示模式**:叠加在主图上,使用盒子(boxes)显示OB,支持最大500个盒子。
- **限制**:回测期固定15柱;基于简单烛台(无成交量过滤);无自动清理旧OB(手动管理)。
指标无内置警报,但可扩展。数据使用ATR动态验证强度。
## 输入参数
输入参数简洁,分为核心设置与显示组。以下说明每个参数的默认值、类型和作用。
### 核心设置
- **Structure Lookback** (int, 默认: 10, 最小: 3):结构检测回溯期(ta.highest/lowest的长度)。较高值检测更强结构。
- **Minimum Impulse Strength (ATR ×)** (float, 默认: 1.5, 最小: 0.5):最小冲动强度((high-low) > ATR * 此值)。确保OB前有显著移动。
- **Bars to watch for Retest** (int, 默认: 15, 最小: 1):回测监控柱数。突破后N柱内价格回测OB区域才确认。
### 显示设置
- **Show Bullish OBs** (bool, 默认: true):显示看涨OB(需求区,回测后反弹)。
- **Show Bearish OBs** (bool, 默认: true):显示看跌OB(供给区,回测后反转)。
颜色固定:绿(看涨,80%透明)、红(看跌,80%透明)。
## 计算与显示
### 结构突破(BOS)检测
- **ATR计算**:ta.atr(14) 用于强度验证。
- **摆动高/低**:ta.highest(high, lookback) / ta.lowest(low, lookback) 识别结构。
- **BOS触发**:
- **bullBOS**:close > hh (上破前高)。
- **bearBOS**:close < ll (下破前低)。
### 订单块识别
- **getLastOppositeCandle(isBullish)**:
- 查找最近lookback柱内“相反”烛台(bullBOS: 熊烛 close < open;bearBOS: 牛烛 close > open)。
- 返回索引(idx);若无则na。
- **OB逻辑**(仅当showBullish/Bearish=true):
- **看涨OB (bullBOS)**:
- 查找前熊烛(idx),检查冲动:(high-low) > ATR * atrMult。
- 计算obLow=low ,obHigh=high 。
- 回测检查:15柱内low 在 内 → inRetest=true。
- 若确认:绘制绿盒(bar_index-idx 到当前,obLow到obHigh);标签“🟩 Bullish OB (Valid)”(左上,绿,80%透明,白文本)。
- 推入bullOBs数组。
- **看跌OB (bearBOS)**:对称,红盒,标签“🟥 Bearish OB (Valid)”(左下)。
- **数组管理**:var box bullOBs/bearOBs 存储所有OB;无自动清理(可扩展)。
### 显示元素
- **盒子**:动态从idx到当前柱,延伸显示OB区域。
- **标签**:确认时显示,位置基于obHigh/obLow。
- 无线条/填充;纯盒子+标签。
## 警报功能
指标无内置警报,但可通过TradingView警报扩展,例如:
- **新OB**:bullBOS and inRetest 或 bearBOS and inRetest。
- **回测**:价格进入OB范围。
建议添加alertcondition()自定义,如“Bullish OB Confirmed”。
## 使用提示
- **优化**:lookback=10平衡敏感;atrMult=1.5过滤弱冲动;retestBars=15适合日内。
- **自定义**:关闭showBullish/Bearish隐藏类型;fork添加成交量过滤提升准确。
- **解释**:
- **BOS+回测**:确保OB“真实”(非假突破);仅回测后绘制,避免噪音。
- **强度**:(high-low)>ATR*1.5表示强冲动,OB更可靠。
- **应用**:看涨OB=买入区(支撑);看跌OB=卖出区(阻力)。
- **局限**:回测期固定,可能错过晚回测;无成交量/时间过滤;低波动市场少OB。
- **扩展**:添加OB计数或斐波那契扩展。
均线变色K线系统 with 转折箭头//@version=6
indicator("均线变色K线系统 with 转折箭头", overlay=true, max_lines_count=500, max_labels_count=200)
// 输入参数
ma_length = input.int(20, title="均线周期", minval=1)
atr_filter = input.bool(true, title="启用ATR波动过滤")
atr_length = input.int(14, title="ATR周期", minval=1)
atr_multiplier = input.float(1.5, title="ATR波动阈值", minval=0.1, step=0.1)
show_arrows = input.bool(true, title="显示转折箭头")
candle_coloring = input.bool(true, title="启用K线变色")
// 计算均线和ATR
ma = ta.sma(close, ma_length)
atr_value = ta.atr(atr_length)
avg_atr = ta.sma(atr_value, atr_length)
// 判断均线方向和趋势转折点
ma_rising = ta.rising(ma, 1)
ma_falling = ta.falling(ma, 1)
// 使用更严格的趋势转折检测(避免repainting)
ma_rising_prev = ta.rising(ma, 2)
ma_falling_prev = ta.falling(ma, 2)
// 检测趋势转折点(确保只在K线收盘确认时检测)
trend_change_up = ma_rising and not ma_rising_prev and (not atr_filter or atr_value >= avg_atr * atr_multiplier)
trend_change_down = ma_falling and not ma_falling_prev and (not atr_filter or atr_value >= avg_atr * atr_multiplier)
// 设置颜色
ma_color = ma_rising ? color.rgb(255, 0, 0) : color.rgb(0, 0, 255) // 红/蓝
candle_color = ma_rising ? color.rgb(255, 0, 0) : color.rgb(0, 0, 255)
border_color = ma_rising ? color.rgb(255, 0, 0) : color.rgb(0, 0, 255)
wick_color = ma_rising ? color.rgb(255, 0, 0) : color.rgb(0, 0, 255)
// 绘制彩色均线
plot(ma, color=ma_color, linewidth=2, title="变色均线")
// 使用plotcandle绘制彩色K线
plotcandle(candle_coloring ? open : na,
candle_coloring ? high : na,
candle_coloring ? low : na,
candle_coloring ? close : na,
title="变色K线",
color = candle_color,
wickcolor = wick_color,
bordercolor = border_color,
editable = true)
// 绘制趋势转折箭头(只在K线确认时显示)
if show_arrows and barstate.isconfirmed
if trend_change_up
label.new(bar_index, low * 0.998, "▲",
color=color.rgb(0, 255, 0),
textcolor=color.white,
style=label.style_label_up,
yloc=yloc.price,
size=size.normal)
else if trend_change_down
label.new(bar_index, high * 1.002, "▼",
color=color.rgb(255, 0, 0),
textcolor=color.white,
style=label.style_label_down,
yloc=yloc.price,
size=size.normal)
// 背景色轻微提示(可选)
bgcolor(ma_rising ? color.new(color.red, 95) : color.new(color.blue, 95), title="趋势背景提示")
TETRIS PRO JorgeChutoFXTETRIS PRO JORGECHUTOFX
This indicator detects a highly accurate three-candle pattern based on pure price action structure.
The pattern forms when:
Candle 1: sets the direction (green = bullish, red = bearish).
Candle 2: is the opposite color and wicks above/below Candle 1 (its close doesn’t matter; it can close inside, below, or far below).
Candle 3: confirms the original direction by breaking the body of Candle 2 with body, matching the color of Candle 1.
When all three conditions are met, the indicator draws a box around the three candles and displays the corresponding signal (TETRIS BULL or TETRIS BEAR).
Aggressive VS Passive Orders Depletion @MaxMaserati 3.0Aggressive VS Passive Orders Depletion Indicator
Overview
This institutional-grade order flow analysis tool identifies and tracks limit order accumulation zones where significant buy and sell orders are placed in the market. It combines Highest Volume Candle Profile analysis with Market Structure detection to reveal where institutional traders have positioned their orders, and monitors in real-time whether these orders are being absorbed (depleted) or defended.
Core Concept: Order Block Detection & Depletion
This tool tracks the actual limit orders at key price levels and shows you:
Where institutional orders are placed (Buy Order Blocks vs Sell Order Blocks)
How strong these order zones are (original volume strength as %)
Real-time order flow activity (aggressive buyers vs aggressive sellers)
Depletion status (are the orders being consumed or defended?)
How It Works: Dual-Engine System
Engine 1: Volume Profile Analysis - Point of Control (POC) Detection
Divides price range into 25 horizontal levels (configurable)
Analyzes the last 120 bars (configurable lookback)
Distributes volume across price levels based on where each bar traded
Identifies the Point of Control (POC) - the price level with highest traded volume
Determines market bias: Bullish if price above POC, Bearish if below
Purpose: Shows where the majority of volume has been traded, indicating institutional accumulation zones and fair value areas.
Engine 2: Market Structure Analysis (PHL - Pivot High/Low)
Uses fractal pivot detection (configurable strength)
Identifies swing highs and lows that create market structure
Tracks Break of Structure (BOS) - price breaks recent swing in trend direction
Tracks Market Structure Shift (MSS) - price breaks swing points against trend
Maintains a trailing price at the most recent significant swing point
Purpose: Identifies where smart money is likely defending key structural levels with limit orders.
Key Innovation #1: Dynamic Confluence Zone Detection
When the Volume Profile POC and Market Structure trail price align within a configurable sensitivity threshold (default 1.0%), the indicator creates an Order Block Zone.
The Algorithm:
Monitors both engines continuously
Creates zones ONLY when POC is within X% of the structural swing point
Both engines must agree on the significance of the price level
Optional volume confirmation filter
This dual-confirmation approach filters out weak levels and highlights only the highest-probability zones where institutional orders are likely clustered.
Zone Types:
🟢 Buy Order Blocks (Support) - Created when confluence occurs with price above the zone. Represents accumulated buy limit orders waiting to support price.
🔴 Sell Order Blocks (Resistance) - Created when confluence occurs with price below the zone. Represents accumulated sell limit orders waiting to resist price.
Key Innovation #2: Real-Time Aggressive VS Passive Order Flow Analysis
The indicator performs sophisticated order flow decomposition on each candle that interacts with a zone, separating market activity into distinct categories:
Order Flow Categories:
1. Aggressive Orders - Market orders that consume liquidity
Aggressive Buy Volume: Market buys hitting sell limits (taking offers)
Aggressive Sell Volume: Market sells hitting buy limits (hitting bids)
Marked with (AGG) label when detected
Indicates urgent traders willing to pay the spread
2. Passive Orders - Limit orders adding liquidity
Passive Buy Volume: New buy limits being placed (making bids)
Passive Sell Volume: New sell limits being placed (making offers)
Shows patient traders providing liquidity
3. New Order Flow - Fresh buying/selling pressure
New Buyers: Total new buying activity (aggressive + passive)
New Sellers: Total new selling activity (aggressive + passive)
Net pressure indicator for zone health
Key Innovation #3: Advanced Order Flow Decomposition Algorithm
The indicator uses a proprietary candle analysis formula to separate aggressive from passive orders based on two key metrics:
Key Metrics:
Body Strength = |Close - Open| / (High - Low)
Close Position = (Close - Low) / (High - Low)
Bullish Candle Analysis:
Strong Aggressive Buying (Close Position ≥ 0.8 AND Body Strength ≥ 0.7):
90% aggressive buying, 10% passive selling, 90% new buyers
Moderate Aggressive Buying (Close Position ≥ 0.6 AND Body Strength ≥ 0.5):
70% aggressive buying, 20% passive selling, 80% new buyers, 20% new sellers
Weak Bullish (Close Position ≥ 0.5):
0-30% aggressive buying, 20-30% passive selling, 60% new buyers, 40% new sellers
Very Weak Bullish (Close Position < 0.5):
0% aggressive buying, 40% passive selling, 40% new buyers, 60% new sellers
Bearish Candle Analysis:
Strong Aggressive Selling (Close Position ≤ 0.2 AND Body Strength ≥ 0.7):
90% aggressive selling, 10% passive buying, 90% new sellers
Moderate Aggressive Selling (Close Position ≤ 0.4 AND Body Strength ≥ 0.5):
70% aggressive selling, 20% passive buying, 80% new sellers, 20% new buyers
Weak Bearish (Close Position ≤ 0.5):
0-30% aggressive selling, 20-30% passive buying, 60% new sellers, 40% new buyers
Very Weak Bearish (Close Position > 0.5):
0% aggressive selling, 40% passive buying, 40% new sellers, 60% new buyers
What This Reveals:
High close position + strong body = Aggressive buying overwhelming sellers
Low close position + strong body = Aggressive selling overwhelming buyers
Mid-range close = Battle between buyers and sellers
Small body = Passive orders dominating (limit orders being placed, not filled)
Key Innovation #4: Dynamic Depletion System with Intelligent Thresholds
The indicator adapts depletion thresholds based on zone strength:
High Liquidity Zones (>300% volume strength):
Depletion at 40% consumption - Massive clusters considered broken early because partial depletion indicates institutional withdrawal
Medium Liquidity Zones (150-300% volume strength):
Depletion at 60% consumption - Standard institutional behavior, majority must be consumed
Normal Liquidity Zones (75-150% volume strength):
Depletion at 80% consumption - Retail and smaller institutional zones need near-complete absorption
Low Liquidity Zones (<75% volume strength):
Depletion at 100% consumption - Weak zones must be fully absorbed before marked depleted
Why This Matters:
Strong zones failing early = powerful reversal signal (institutions gave up)
Weak zones holding = hidden strength (more orders being added)
Adaptive logic prevents false signals from fixed thresholds
Depletion Formula:
For Buy Order Zones:
Zone Liquidity % = (Original Buy Volume / Average Volume) × 100
Consumed % = (Sell Volume Absorbed / Average Volume) × 100
If Consumed Volume > Dynamic Threshold → Zone DEPLETED
For Sell Order Zones:
Zone Liquidity % = (Original Sell Volume / Average Volume) × 100
Consumed % = (Buy Volume Absorbed / Average Volume) × 100
If Consumed Volume > Dynamic Threshold → Zone DEPLETED
Key Innovation #5: Absorption Detection & Battle Analysis
The indicator identifies when one side is overwhelming the other using a configurable Absorption Threshold (default 1.5x = 50% more volume).
Battle States for Buy Order Blocks:
New Buyers Dominating (New Buyers > New Sellers × 1.5):
Label: ↑ New Buyers: +X% - Buy orders successfully defended
Sellers Attacking (New Sellers > New Buyers × 1.5):
Label: ↓ Sellers Attack: +X% (AGG) - Sell orders overwhelming the zone
Active Battle (Both active, <1.5x ratio):
Label: Battle: B+X% vs S+Y% - Active two-way order flow
Quiet Zone (Minimal activity):
Label: ↔ Quiet: X% - Zone untested or ignored
Battle States for Sell Order Blocks:
New Sellers Dominating (New Sellers > New Buyers × 1.5):
Label: ↓ New Sellers: +X% - Sell orders successfully defended
Buyers Absorbing (New Buyers > New Sellers × 1.5):
Label: ↑ Buyers Absorb: +X% (AGG) - Buy orders overwhelming the zone
Active Battle (Both active, <1.5x ratio):
Label: Battle: S+X% vs B+Y% - Active two-way order flow
Quiet Zone (Minimal activity):
Label: ↔ Quiet: X% - Zone untested or ignored
The (AGG) Marker:
Appears when aggressive market orders are detected (high body strength + extreme close position). Indicates institutional-sized urgency—someone is willing to pay market price NOW. Often precedes breakouts or strong continuations.
Label System Explained
No Label = Untested Zone
When a zone is first created, you see ONLY the colored box with NO label. This means:
Price has NOT yet reached this order block
The limit orders are still pending/resting
The zone is a future area of interest
Labels only appear after first price contact
Label Format (After First Touch):
Line 1: ● XX% Order Type
Line 2: Flow Analysis
Example Labels:
Buy Order Blocks:
● 150% Buy Orders + ↑ New Buyers: +85%
● 150% Buy Orders + ↑ New Buyers: +120% (AGG)
● 150% Buy Orders + Battle: B+45% vs S+38%
● 150% Buy Orders + ↓ Sellers Attack: +95% (AGG)
● 150% Buy Orders + ↓ Sellers Attack: +95% (AGG)
● 150% Buy Orders
Sell Order Blocks:
● 200% Sell Orders + ↓ New Sellers: +110%
● 200% Sell Orders + ↓ New Sellers: +140% (AGG)
● 200% Sell Orders + Battle: S+62% vs B+41%
● 200% Sell Orders + ↑ Buyers Absorb: +88% (AGG)
● 200% Sell Orders + ↑ Buyers Absorb: +88% (AGG)
● 200% Sell Orders
Status Indicators:
- Price penetrated through the zone
- Orders fully consumed, zone exhausted
Gray color - Zone no longer active
Directional Arrows:
↑ - Upward pressure (buyers stronger)
↓ - Downward pressure (sellers stronger)
↔ - Balanced/quiet (low activity)
↗ / ↘ - Mixed battle with bias
Point of Control (POC) Sub-Level Analysis
Each order block contains advanced volume distribution tracking:
Multi-Level Analysis (default 5 levels): Zones subdivided into horizontal price levels
Volume Distribution: Every candle's volume distributed across sub-levels based on price overlap
Buy/Sell Separation: Each level tracks buy vs sell volume independently
Dynamic POC Line: Marks the price level with highest traded volume within the zone
Real-Time Updates: POC adjusts as new volume enters, showing where "fairest price" is migrating
Style Options: Solid, Dashed, or Dotted lines (configurable width 1-5)
POC Trading Significance:
Represents the most accepted price within the order block
Often the best entry price for limit orders (highest liquidity)
POC migration shows whether zone is being "worked higher" or "worked lower"
Breaking through POC often signals zone failure
Key Settings
Volume Profile:
Lookback Period: 120 bars (historical period for POC)
Price Rows: 25 levels (granularity of volume distribution)
Volume Confirmation: Require structure breaks to align with volume bias
Market Structure:
Pivot Strength: 1 (swing detection sensitivity)
Show Trail: Optional trailing price visualization
Confluence Detection:
Sensitivity: 1.0% (distance threshold for POC/Structure alignment)
Lower = Stricter confluence, fewer zones
Higher = More zones detected
Order Flow Analysis:
Show Real-Time Order Flow: Live buyer/seller activity
Show Aggressive Markers: (AGG) labels for market orders
Show Directional Arrows: Price direction indicators (↑↓↔↗↘)
Absorption Threshold: 1.5x (when one side overwhelms the other)
1.5 = 50% more volume needed
2.0 = 100% more (stricter)
1.2 = 20% more (more sensitive)
Visual Options:
Hide Depleted Zones: Auto-remove exhausted blocks
Smart Bar Coloring: Color candles based on signal alignment
Zone Colors: Customize buy/sell colors
Label Text Size: Tiny, Small, Normal, Large
POC Settings:
Show POC Lines: Toggle Point of Control display
POC Analysis Levels: 3-10 levels
Line Width: 1-5 pixels
Line Style: Solid, Dashed, or Dotted
Trading Applications
1. Institutional Order Detection - Identify where large players positioned limit orders using Volume Profile POC + Market Structure confluence
2. Support/Resistance Validation - Dual confirmation filters weak levels, highlights high-probability reversal areas
3. Order Flow Imbalance Trading - Trade in direction of aggressive flow using (AGG) markers, fade zones showing absorption
4. Breakout/Breakdown Confirmation - and statuses validate moves through key levels
5. Liquidity Hunting - Track stop-loss clusters, anticipate stop runs based on depletion patterns
6. Entry Refinement - Use POC lines for precise limit placement at "fairest price" within zones
Combined Signal System
HVN Volume Profile × Market Structure Signals:
STRONG BUY: Both engines bullish + structure break up + volume confirmation
BUY: Bullish bias with partial confirmation
WEAK BUY: Early bullish signals
STRONG SELL: Both engines bearish + structure break down + volume confirmation
SELL: Bearish bias with partial confirmation
WEAK SELL: Early bearish signals
Alert Conditions:
Strong Buy/Sell signals (with volume confirmation)
Confluence zone activation (new order block created)
Order block depletion (zone exhausted)
What Makes This Indicator Unique
Industry-Standard Foundation:
Volume Profile POC detection + Market Structure analysis (swing pivots, BOS/MSS) + Point of Control tracking
Unique Innovations:
Dynamic Confluence Algorithm + Aggressive vs Passive Order Flow Decomposition + Adaptive Depletion Thresholds + Real-Time Absorption Detection + Battle Analysis with (AGG) markers + Complete Unified Methodology
Technical Excellence:
Resource-optimized (max 50 zones), comprehensive safety checks, multi-tier labeling, flexible customization
Best Practices
Wait for first touch - No label = untested zone
Watch (AGG) markers - Institutional urgency signal
Trust adaptive depletion - Strong zones failing early = major reversal
Use POC for entries - Best price within zone
Combine higher timeframes - Daily/4H zones strongest
Respect zones - Failed support becomes resistance
Follow battle labels - Contested areas show stop clusters
Adjust sensitivity - Tight ranges = lower %, trending = higher %
Performance Notes
Maximum Active Zones: 50 (automatic cleanup)
Maximum Lines: 400 (POC managed dynamically)
Lookback Cap: 1000 bars for optimization
Updates: All calculations on bar close for confirmed signals
ADX Breakout Enhanced Signal🥋 Trading Dojo – ADX Breakout Enhanced Signal
This indicator combines the trend-strength power of the ADX with dynamic breakout-based signals, designed for traders who want more frequent and higher-probability entries on timeframes like 1 hour.
The core logic focuses on:
📌 1. Trend Strength Detection with ADX
The indicator evaluates whether the market is showing a strong directional trend using an optimized ADX.
When ADX rises above the configured threshold, the system interprets that price has enough momentum to validate an entry.
📌 2. Breakout Entry Logic
It identifies points where price breaks recent highs or lows, confirming the start or continuation of movement.
This breakout-based approach produces more entries than traditional ADX strategies alone.
📌 3. Clear and Simple Signals
🟩 Long when price breaks a recent high with strong trend confirmation.
🟥 Short when price breaks a recent low with strong trend confirmation.
📌 4. Built-In Automated Alerts
The indicator automatically generates JSON alerts ready for use with automation tools such as trading bots, webhooks, BingX, 3Commas, Discord bots, and more.
🎯 Purpose of the Indicator
To provide more frequent, well-distributed, and momentum-validated entries, while maintaining simplicity and speed — perfect for real-time decision-making.
Perfect For:
Intraday trading
1h, 30m, and 15m timeframes
Breakout-based strategies
Automated trading systems
Harris Triple Impulse Candle Detector Triple impulse candle detector system. Indicator uses size multiplier, volume multiplier and body to mick ratio, to calculate the size of its impulse
Screener Ultimate: MM + Bollinger + FiguresVariant with Bollinger Bands - Visual Legend for the New Script:
Blue Line: 50 SMA (Your medium-term trend reference).
Thick Dark Blue/Black Line: 200 SMA (The "Judge", long-term trend. If the price is above it, the underlying trend is bullish).
Orange Line: 20 SMA (Short-term trend and Bollinger middle band).
Green Line (Top): Upper Bollinger Band (Potential resistance/overbought zone).
Red Line (Bottom): Lower Bollinger Band (Potential support/oversold zone).
Triangles: Still indicate your bounce zones on the 50 SMA (your main strategy).
Text Labels: Indicate chart patterns (Hammer, W, etc.).
Screener Complet: MM50 + Figures Chartistes
What this script detects:
Hammer: The script identifies a small candle with a long lower wick (buyers are regaining control). A green "Marteau" (Hammer) label appears below the candle.
Shooting Star: The opposite of the hammer, signaling a bearish reversal. An orange "Etoile Fil." label appears above the candle.
Engulfing: Detects when the body of a candle totally "engulfs" the previous one. Label "Avalement H" (Bullish) or "Avalement B" (Bearish).
Double Top (M) and Double Bottom (W): The script compares recent peaks (pivots). If it detects two peaks at the same level (with a 1% tolerance), it displays an "M" (Double Top). For two troughs, it displays a "W" (Double Bottom).
Important Note: For "W" and "M" patterns, the script needs a few candles after the formation of the second peak/trough to confirm that it is indeed a peak (this is the principle of rightBars = 10 in the code). The label will therefore appear with a slight lag relative to the exact peak, but it validates the structure.
If you have any advice or ideas, please don't hesitate.
50, 100 & 200 Week MA (SMA/EMA Switch)Clean, multi-timeframe weekly moving average indicator displaying the classic 50, 100, and 200-week MAs directly on any chart timeframe.
Features:
True weekly calculations using request.security (accurate, no daily approximation)
Switch between SMA and EMA with one click
Individually toggle each MA (50w orange, 100w purple, 200w blue)
Perfect for long-term trend analysis, golden/death crosses, and institutional-level support/resistance
Ideal for swing traders, investors, and anyone tracking major market cycles. Lightweight and repaints-free.
BullTrading Bias Line🚀BullTrading Magnet Bias Line🚀(多空平衡线|磁吸区)
一条基于锚定 VWAP 的「多空平衡线」,并在其周围构建可视化的磁吸区,用于刻画日内多空力量的平衡、中枢与偏离程度。
核心特性
• 多种锚定模式:支持 Session / Daily / Weekly / Manual 四种模式,可按交易日、自然日、周线或自定义时间作为 VWAP 起点。
• 磁吸区(Magnet Zone):在 VWAP 上下按 波动 自动生成带宽,形成价格围绕平衡线的「磁吸区」,可视化震荡与均值回归区域。
• 发光平衡线(Bias Line Glow):双线叠加的发光效果,让主线在复杂图表中一眼可见。
• 多空方向着色:
• 价格在平衡线之上:多头区域(绿色)
• 价格在平衡线之下:空头区域(红色)
• 位于磁吸区:均衡/盘整(金色)
• 事件标记与报警:支持
• 价格向上/向下穿越多空平衡线
• 首次进入磁吸区
• 状态灯面板:左下角给出当前状态(上方 / 下方 / 磁吸 / 无效),方便截图和教学使用。
使用建议
• 在 3m / 5m / 15m 等短周期中,将本线作为大致多空平衡价与回调参考:
• 价格多次从上方回踩磁吸区并企稳,偏多;
• 价格多次从下方反抽磁吸区受压,偏空;
• 长时间在磁吸区内盘整,意味着趋势模糊、均值回归占主导。
• 指标本身不直接提供买卖点,更适合作为你已有交易系统的环境过滤、位置参考与风控辅助线。
本指标仅用于技术研究与图表分析,不构成任何投资建议或交易信号,请根据自身风险承受能力独立决策。
BullTrading Magnet Bias Line🚀 (VWAP-Anchored Bias & Magnet Zone)
A bias line built on anchored VWAP, with a visual magnet zone around it to describe intraday bull–bear balance, value area, and how far price has deviated from that balance.
⸻
Key Features
• Multiple anchor modes – Supports four VWAP anchor modes: Session / Daily / Weekly / Manual, so you can start VWAP from the trading session, calendar day, week, or any custom time.
• Magnet Zone – The upper and lower bands around VWAP are generated adaptively from volatility, forming a “magnet area” where price tends to oscillate and revert to the mean.
• Glow Bias Line – A double-layer glow effect on the main line makes the bias axis stand out clearly even on crowded charts.
• Directional coloring
• Price above the bias line → bullish region (green)
• Price below the bias line → bearish region (red)
• Price inside the magnet zone → equilibrium / consolidation (gold)
• Event markers & alerts – Supports:
• Price crossing upward / downward through the bias line
• First entry into the magnet zone
• Status lamp panel – Bottom-left panel shows the current state (Above / Below / In Magnet / Invalid), which is convenient for screenshots, education and review.
⸻
How to Use
• On short intraday timeframes such as 3m / 5m / 15m, treat the line as an approximate bull–bear fair value and a pullback reference:
• Repeated tests of the magnet zone from above that hold → bullish bias
• Repeated tests of the magnet zone from below that get rejected → bearish bias
• Long consolidation inside the magnet zone → unclear trend, mean-reversion regime dominates
• The script itself does not generate direct entry/exit signals. It works best as an environment filter, location reference, and risk-management helper alongside your existing trading system.
⸻
This indicator is for technical research and chart analysis only. It does not constitute investment advice or trading signals. Please make your own decisions according to your personal risk tolerance.
TheStrat: Timeframe Continuity Failed 2This indicator highlights TheStrat Failed 2 reversals only when the market is in Full Time Frame Continuity (FTFC) based on your chosen timeframes.
It is designed for high-probability directional trades with strong trend confirmation.
⸻
What It Detects
Failed 2 (Reversal Setup)
A Failed 2 occurs when price breaks one side of the previous candle, then fails and closes in the opposite direction:
• Failed 2D → Bullish reversal
• Failed 2U → Bearish reversal
This produces trapped breakout traders, often leading to explosive continuation.
FTFC measures whether price is above or below the opening price of higher timeframes.
If selected timeframes are all aligned, trend conviction is strong.
You can toggle ON/OFF each timeframe to define FTFC:
• 1H
• 1D
• 1W
• 1M
• 1Q
• 1Y
Only the timeframes you select must agree.
⸻
Modes for Different Styles
This indicator supports different trading horizons.
Swing Mode (Recommended for Options 1–5 Days Out)
Focus: Fast multi-day trend continuation
Ideal holding: 1–5 days
Best for: Weekly option expirations
Enable:
• 1H → Entry trigger timeframe
• 1D → Short-term direction
• 1W → Swing trend
• 1M → Macro push behind the move
• Q / Y not required
You end up catching the 1H reversal ignition, with Daily/Weekly/Monthly backing it.
Great for:
• Tuesday–Thursday continuation plays
• Multi-day directional runs
• “Ride the weekly magnitude”
Macro Mode (Long-Term Trend Filter)
Focus: Broad market bias
Ideal holding: weeks to months
Best for: Equity swing traders, leaps, ETF positioning
Enable:
• 1W
• 1M
• 1Q
• 1Y
• 1H / 1D not required
Used to ensure you’re riding institutional trend, not counter-trend noise.
Can be paired with a lower-TF entry tool like this indicator running in Swing Mode.
Label Up “F2D FTFC↑!” —— Bullish Failed-2 triggers FTFC → long setup
Label Down “F2U FTFC↓!” —— Bearish Failed-2 triggers FTFC → short setup
Small Circles —— Failed-2 continuation while FTFC remains intact
Optional Intrabar Alerts when price begins to form a Failed-2.
All plotted entries are close-confirmed unless you enable intrabar alerts.
Daily O/H/L/C — Yesterday + Prior DayDaily O/H/L/C — Yesterday + Prior Day is a precision line-mapping tool that displays the most important higher-timeframe reference levels directly on your intraday chart.
This indicator automatically pulls yesterday’s Open, High, Low, Close as well as the previous day's O/H/L/C, and draws them as stable, non-repainting extended lines. Levels update only when a new daily candle completes — guaranteeing a clean and accurate view of key market structure.
Why These Levels Matter
Daily O/H/L/C act as institutional reference points used by:
• Intraday traders
• Scalpers
• Liquidity/Order Flow traders
• Mean-reversion and breakout traders
These levels often serve as:
• Reversal zones
• Breakout confirmation points
• Liquidity magnets
• Volume nodes
• Range boundaries
By overlaying them directly on lower-timeframe charts (1m, 5m, 15m, etc.), traders gain immediate awareness of where major reactions are likely to occur.
Features
1. Yesterday’s Levels (Bright Colors, Width = 2)
Displayed with strong, clear visuals:
• Open (teal)
• High (purple)
• Low (blue)
• Close (orange)
These represent the most actively traded institutional levels for today’s session.
2. Prior Day’s Levels (Faded Colors, Width = 1)
Soft-tone versions of the same lines:
• Open
• High
• Low
• Close
This creates a clean, two-day market structure map without clutter.
BullTrading Axis Ribbon (MTF)BullTrading Axis Ribbon (MTF)
BullTrading Axis Ribbon 是一条「高周期主轴 + 自适应包络带」的趋势彩带,用来刻画价格围绕关键均衡轴的磁吸区、扩散区与趋势方向。
• 主轴(Axis Ribbon):使用更高时间级别的价格数据,在当前周期上映射一条「日内趋势中轴」。默认适合在 3m / 5m 图上调用 15m 主轴。
• 中枢区(Core Zone):主轴上下的窄区间,用彩带填充显示。当价格在中枢区震荡时,代表围绕均衡轴的磁吸与盘整。
• 外圈带(Outer Band):位于中枢之外的扩展区,用于观察顺势扩张与「过热」区域,可选线框或填充显示。
• 颜色逻辑:
• 轴线彩带根据趋势方向与中枢状态变色:上升(绿色)、下降(红色)、中枢磁吸(黄色)、整理(灰色)。
• 左下角状态灯同步给出当前轴向状态(上涨 / 下跌 / 中枢 / 整理)。
使用建议
• 在 3m / 5m 作为短周期信号时,用 Axis Ribbon 作为「大级别方向过滤」与「高概率回踩区域」参考。
• 价格长时间贴着外圈带运行,可视为顺势加速或过热区;频繁回到中枢,则倾向震荡与均值回归。
• 指标本身不直接给出买卖点,更适合与你已有的进场离场系统配合,用于方向过滤和环境判断。
本指标仅用于技术研究与图表分析,不构成任何投资建议或交易信号,请根据自身风险承担能力独立决策。
BullTrading Axis Ribbon (MTF)
BullTrading Axis Ribbon is a trend ribbon built from a higher-timeframe core axis + adaptive envelope bands.
It depicts the magnet zone, expansion zone and trend direction of price around a key equilibrium axis.
• Axis (Axis Ribbon): Uses higher-timeframe price data to project an “intraday trend spine” onto the current chart. By default it works well using a 15m axis on 3m / 5m charts.
• Core Zone: A narrow band above and below the axis, displayed as a filled ribbon. When price oscillates inside the Core Zone, it reflects magnet behavior and consolidation around the equilibrium axis.
• Outer Band: An extended area outside the Core Zone, used to observe trend extension and potential “overheated” zones. It can be shown as simple lines or as a filled band.
• Color Logic:
• The axis ribbon color changes with trend direction and core state: uptrend (green), downtrend (red), core/magnet (yellow), ranging/flat (gray).
• A status lamp in the bottom-left corner simultaneously shows the current axis state (Up / Down / Core / Flat).
Usage Suggestions
• When using 3m / 5m as your signal timeframe, treat Axis Ribbon as a higher-timeframe bias filter and as a reference for high-probability pullback areas.
• If price rides along the Outer Band for an extended period, it can be interpreted as trend acceleration or a potential overheated zone; if price frequently returns to the Core Zone, the market tends to be ranging with mean-reversion behavior.
• The indicator itself does not directly generate entry/exit signals. It is best used together with your existing entry/exit systems, as a tool for directional filtering and market-regime assessment.
This indicator is intended solely for technical research and chart analysis.
It does not constitute investment advice or a trading signal. Please make independent decisions according to your own risk tolerance.
CRT inside Hunter + FVG (Final Fusion)CRT Inside Hunter + FVG (Final Fusion)
This indicator automatically detects Inside Bar → CRT (Consolidation – Range – Trap) structures and generates LONG / SHORT BAM breakout signals whenever the mother bar is violated.
It also includes optional Fair Value Gap (FVG) confirmation.
🔍 1. Inside Bar → Mother Bar Detection
Automatically identifies inside bar sequences.
Creates the Mother Bar with High / Low boundaries.
Draws Q1 – Mid – Q3 levels as visual guidance.
Auto-removes CRT structure after a user-defined number of bars.
🚨 2. BAM Breakout Signals
Breakout events trigger automatic trade signals:
Upper violation → SHORT signal
Lower violation → LONG signal
Signals are displayed as labels and fully support alerts.
🟦 3. FVG (Fair Value Gap) Confirmation
Optional FVG detection mode:
Automatically marks Demand and Supply FVG zones.
If the price touches an FVG at the breakout moment, the signal becomes FVG-Confirmed.
🎨 4. Additional Features
Inside bars highlighted for clarity.
Clean, minimal drawing system.
All drawings reset daily for maximum chart hygiene.
This tool combines liquidity, imbalance, breakout logic and provides a powerful structure for scalping and intraday trading.
ICT FRACTAL MODEL [Motoneiron]📌 ICT FRACTAL MODEL
A Multi-Layered HTF Fractal Analysis Model
A Comprehensive HTF–LTF Interpretation of AMD Market Phases
🔷 Overview
ICT FRACTAL MODEL is an advanced multi-timeframe analysis tool built for traders who study structural price behavior through the lens of Accumulation → Manipulation → Distribution (AMD).
The indicator breaks down higher-timeframe candles into internal fractal phases, allowing users to observe how lower-timeframe price action develops inside each HTF structure—up to the moment a sweep and Change in State of Delivery (CISD) appear in real time.
A defining feature of this tool is its triple HTF-block architecture, enabling simultaneous visualization of three independent higher-timeframe structures. This provides a layered view of market context unavailable in comparable indicators.
🔷 Core Concept
The model is inspired by publicly available ICT concepts, including:
AMD market phasing,
liquidity behavior through sweeps,
and the Change in State of Delivery (CISD) logic.
Each HTF candle is interpreted as a four-phase microstructure:
Accumulation — candle open (balancing phase)
Manipulation — wick movement that collects liquidity
Distribution 1
Distribution 2 — directional continuation or rejection
This fractal decomposition helps identify swing reversals and continuation setups with clarity inside HTF price behavior.
🔷 Triple HTF Block System (Unique Feature)
📌 The main structural advantage of the model:
It displays up to three independent HTF fractal blocks:
Block 1 — Primary HTF Structure (4 to 10 candles)
Supports manual mode, where the user selects any available LTF–HTF combination.
Supports automatic mode, using optimized ICT-style pairing logic.
Provides the core AMD structure and sweep/CISD context.
Block 2 — Secondary HTF Context (1–4 candles)
Designed to offer intermediate-term directional context and bias refinement.
Block 3 — Advanced HTF Context (1–4 candles)
For deep multi-layer analysis, such as:
LTF → HTF → Higher-HTF → Macro-HTF
Example: 5m → 1H → 1D → 1W.
🔷 Sweep → CISD Engine (Real-Time Detection)
The indicator tracks liquidity interactions inside HTF structures.
Sweep Detection
Identifies a break of a previous HTF phase high/low followed by a return into its range
Draws a dynamic sweep line on the LTF chart
Fully real-time
Fully customizable (color, style, visibility)
CISD Detection
CISD appears only after a sweep when price closes through the open of the opposite candle.
The indicator:
draws a CISD line on the LTF chart in real time
removes the CISD line when the setup becomes invalid
🔷 Projection Levels (Fibonacci Deviation Targets)
After a confirmed CISD, automatic Fibonacci deviation targets are projected on the chart.
By default, the indicator measures distances from candle bodies, but users can switch the calculation method to wick-based projections if preferred.
You can:
add your own projection levels
adjust colors and styles
toggle visibility
🔷 Bias System
Three bias modes:
Bullish — plots only downward sweeps, bullish CISD, bullish projections
Bearish — plots only upward sweeps, bearish CISD, bearish projections
Neutral — shows both sides
This helps reduce noise and focus on one directional narrative.
🔷 HTF Time Anchors (with TF Labels)
Each HTF block displays:
the opening time of every HTF candle
the name of the timeframe (e.g., 1H, 4H, 1D, 1W) directly under the candle
These help quickly understand which specific HTF structures are currently plotted.
Users can customize:
color
style
or disable anchors per HTF block
🔷 HTF Range Lines on the LTF Chart
The indicator draws:
• Line of the current HTF candle open
• Horizontal HTF High and Low of the range
• Vertical boundaries of the HTF range
All elements offer full customization of:
color
thickness
line type
visibility
🔷 Point Reversal Zones
This module highlights areas where the wick of the next HTF candle is statistically likely to form.
It draws:
a boundary line marking the expected wick-formation zone
a highlighted area representing where the wick is likely to appear after a CISD setup has formed
This helps users identify potential interaction zones for entries after a CISD.
🔷 Time Filters (Sessions)
Session filters allow restricting sweep/CISD setups to specific trading sessions:
Asia
London
New York
Custom user-defined time windows
Useful for filtering setups based on session characteristics,
rather than general noise filtering.
🔷 SMT Divergence Module (Secondary Feature)
SMT is included as an optional supporting module, not a core part of the model.
The indicator can:
compare up to two additional correlated assets
detect swing divergences
display a compact SMT dashboard with percentages of bullish/bearish swings
Designed to provide additional context when needed.
🔷 Alerts
The indicator supports alerts through standard TradingView alert tools.
You can create alerts for:
New CISD formation
To enable alerts, open the TradingView alert menu and choose the CISD event from the list, then configure your preferred notification method.
🔷 Settings Overview
HTF Blocks
Manual & automatic LTF–HTF pairing
Block 1: 4–10 candles
Block 2 & 3: 1–4 candles
Fully customizable appearance
Sweep / CISD
Full color & style customization
Hide/show controls
CISD auto-removal on invalidation
Projection Levels
Add your own deviation levels
Custom colors
Optional visibility
Bias
Bullish
Bearish
Neutral
Time Filters
Asia / London / New York
Manual custom range
Point Reversal
Wick-formation zone boundary
Highlighted wick-formation area
Style customization
SMT Module
Up to 2 comparison assets
Divergence dashboard
⚠️ Disclaimer
This tool is provided exclusively for educational and informational purposes.
It does not constitute financial advice, trading signals, or investment recommendations.
Past price behavior does not guarantee future outcomes.
All trading decisions are made solely by the user.
This is an invite-only script with protected source code to preserve the author's intellectual work.






















