M&B — Fixed Buy/Sell (v6) - confirmed barsThe Mother & Baby (M&B) Fixed Buy/Sell Indicator marks BUY and SELL signals based on two-candle inside-bar patterns. Signals are fixed and don’t move with new bars. Includes optional ATR filter for stronger setups.
Note:
For analysis and educational use only — not financial advice.
指标和策略
Weekly Levels This indicator automatically plots key Weekly Market Structure Levels to provide a clear view of where price is positioned relative to last week’s range. It includes the current Weekly Open (teal line), which acts as the main directional bias reference, and the Week High, Low, which help identify potential breakout and retracement zones. The High and Low represent week’s major resistance and support levels,
Average Dollar Volume by Mashrab
Standard Mode: By default, it shows a 20-period SMA of the Dollar Volume. This is great for swing trading to see if money flow is increasing over days.
Day Trading Mode: Go to the indicator settings (User Input) and check "Reset Average Daily".
The line will now represent the Cumulative Average for today only.
Example: If it's 10:00 AM, the line shows the average dollar volume per bar since the market opened at 9:30 AM. This helps you spot if the current 5-minute bar is truly igniting compared to the rest of the morning.
How to Use for Day Trading
Add the script to your 1-minute chart.
Ensure "Reset Average Daily" is checked in the settings (I made it default to true for you).
Look at the Table in the top right:
Avg Dollar Vol: This tells you the average money flowing into the stock per minute today.
1% Threshold: This gives you the exact number your friend likely uses to gauge "minimum viable liquidity" or specific risk calculations.
Absorption PRO V2
Absorption PRO
Identify smart money absorption and hidden reversals with precision.
The Absorption PRO indicator detects abnormal trading activity and potential absorption zones — moments when large orders absorb market pressure before a reversal or continuation. It uses dynamic volume deviation and candle structure filters to highlight strong absorption areas visually.
⚙️ Parameters
Base period (mean & deviation): 200
Defines the lookback length used to calculate the average and standard deviation of volume.
A higher value (like 200) makes the indicator smoother and better for higher timeframes.
Minimum Z-score (abnormal volume): 2
Sets the threshold for detecting abnormal volume spikes.
The higher this value, the rarer (but stronger) the detected absorption signals.
Small body limit: 0.25
Filters candles with small real bodies compared to their total range — ideal for spotting absorption with high volume and low price movement (classic absorption signature).
Background color intensity (0–100): 85
Adjusts the opacity of the visual background highlight.
Higher values make absorption zones more visible on the chart.
📊 Usage
Look for highlighted bars or zones when volume is abnormally high, but the candle body remains small — indicating possible absorption.
Combine it with price structure and delta/volume profile tools for confirmation.
Descending Scallop TargetThis is an indicator that attempts to identify the target point of descending scallops according to Thomas Bulkowski's "The Pattern Site".
Work in progress...
CRT 4H/1D + FVG + OB (Entry/SL/TP Alerts) — v2.0 Gökhan//@version=5
indicator("CRT 4H/1D + FVG + OB (Entry/SL/TP Alerts) — v2.0", overlay=true, max_labels_count=500, max_lines_count=500)
//──── Inputs
use4H = input.bool(true, "Use 4H CRT")
use1D = input.bool(true, "Use 1D CRT")
needFVG = input.bool(true, "Require FVG confirmation")
useOBfilter = input.bool(false, "Require simple OB filter (prev body mid)")
lookFVGbars = input.int(5, "FVG lookback bars", minval=2, maxval=20)
atrLen = input.int(14, "ATR Length", minval=5)
atrMult = input.float(0.5, "ATR SL buffer (xATR)", step=0.05)
lineW = input.int(2, "Line Width", minval=1, maxval=4)
boxTransp = input.int(85, "Range Box Transparency", minval=0, maxval=100)
showBoxes = input.bool(true, "Show HTF Range Boxes")
showLines = input.bool(true, "Show HTF Lines & 50%")
showPlan = input.bool(true, "Show Entry/SL/TP lines when active")
persistBars = input.int(30, "Keep plan on chart (bars)", minval=5, maxval=500)
//──── Colors
col4H = color.new(color.teal, 0)
col1D = color.new(color.orange, 0)
colUp = color.new(color.lime, 0)
colDn = color.new(color.red, 0)
colMid = color.new(color.gray, 30)
colPlan = color.new(color.blue, 0)
//──── Helpers: previous HTF candle OHLC
f_prevHTF(tf) =>
hh = request.security(symbol=syminfo.tickerid, timeframe=tf, expression=high , gaps=barmerge.gaps_off, lookahead=barmerge.lookahead_off)
ll = request.security(symbol=syminfo.tickerid, timeframe=tf, expression=low , gaps=barmerge.gaps_off, lookahead=barmerge.lookahead_off)
= f_prevHTF("240")
= f_prevHTF("D")
H4_hi = nz(H4_hi_raw)
H4_lo = nz(H4_lo_raw)
D1_hi = nz(D1_hi_raw)
D1_lo = nz(D1_lo_raw)
H4_mid = (H4_hi + H4_lo)/2.0
D1_mid = (D1_hi + D1_lo)/2.0
//──── Local
h = high, l = low, c = close, o = open
//──── CRT: Sweep & Reclaim
H4_upSweep = use4H and (h > H4_hi) and (c < H4_hi) // yukarı süpür → aşağı dönüş
H4_dnSweep = use4H and (l < H4_lo) and (c > H4_lo) // aşağı süpür → yukarı dönüş
D1_upSweep = use1D and (h > D1_hi) and (c < D1_hi)
D1_dnSweep = use1D and (l < D1_lo) and (c > D1_lo)
// Hangi TF tetikledi? Öncelik: 4H sonra 1D (isteğe göre değiştirilebilir)
bearSweep = H4_upSweep or (not H4_upSweep and D1_upSweep)
bullSweep = H4_dnSweep or (not H4_dnSweep and D1_dnSweep)
useH4levels = H4_upSweep or H4_dnSweep
rngHi = useH4levels ? H4_hi : D1_hi
rngLo = useH4levels ? H4_lo : D1_lo
rngMid= useH4levels ? H4_mid: D1_mid
//──── FVG (classic 3-candle)
// Bullish FVG at bar i: low > high
// Bearish FVG at bar i: high < low
f_hasBullFVG(window) =>
ok = false
for i = 0 to window-1
ok := ok or (low > high )
ok
f_hasBearFVG(window) =>
ok = false
for i = 0 to window-1
ok := ok or (high < low )
ok
bullFVG = f_hasBullFVG(lookFVGbars) // yukarı dönüş teyidi
bearFVG = f_hasBearFVG(lookFVGbars) // aşağı dönüş teyidi
//──── Basit OB filtresi (prev body midpoint reclaim)
// Bullish: c > (o +c )/2
// Bearish: c < (o +c )/2
prevMid = (o + c ) / 2.0
bullOBok = c > prevMid
bearOBok = c < prevMid
// Zorunlu teyit seti
bullConfirm = (not needFVG or bullFVG) and (not useOBfilter or bullOBok)
bearConfirm = (not needFVG or bearFVG) and (not useOBfilter or bearOBok)
// Nihai SETUP (yön + teyit)
bearSetup = bearSweep and bearConfirm
bullSetup = bullSweep and bullConfirm
//──── Lines & Boxes
plot(showLines and use4H ? H4_hi : na, "4H High", col4H, lineW, plot.style_linebr)
plot(showLines and use4H ? H4_lo : na, "4H Low", col4H, lineW, plot.style_linebr)
plot(showLines and use4H ? H4_mid: na, "4H 50%", colMid, 1, plot.style_linebr)
plot(showLines and use1D ? D1_hi : na, "1D High", col1D, lineW, plot.style_linebr)
plot(showLines and use1D ? D1_lo : na, "1D Low", col1D, lineW, plot.style_linebr)
plot(showLines and use1D ? D1_mid: na, "1D 50%", colMid, 1, plot.style_linebr)
var box h4Box = na
var box d1Box = na
if showBoxes and barstate.islast
if use4H and not na(H4_hi) and not na(H4_lo)
if na(h4Box)
h4Box := box.new(bar_index-1, H4_lo, bar_index, H4_hi, bgcolor=color.new(col4H, boxTransp), border_color=col4H)
else
box.set_left(h4Box, bar_index-1), box.set_right(h4Box, bar_index)
box.set_bottom(h4Box, H4_lo), box.set_top(h4Box, H4_hi)
if use1D and not na(D1_hi) and not na(D1_lo)
if na(d1Box)
d1Box := box.new(bar_index-1, D1_lo, bar_index, D1_hi, bgcolor=color.new(col1D, boxTransp), border_color=col1D)
else
box.set_left(d1Box, bar_index-1), box.set_right(d1Box, bar_index)
box.set_bottom(d1Box, D1_lo), box.set_top(d1Box, D1_hi)
//──── Entry/SL/TP Plan (stateful)
atr = ta.atr(atrLen)
tick = syminfo.mintick
var bool planActive = false
var bool planBull = na
var float planEntry = na
var float planSL = na
var float planTP1 = na
var float planTP2 = na
var int planBars = 0
// Yeni setup oluştuğunda plan kur
if barstate.isconfirmed
if bearSetup
planActive := true, planBull := false
planEntry := rngHi // retest: prev High
planSL := math.max(high, rngHi) + atrMult*atr
planTP1 := rngMid
planTP2 := rngLo
planBars := 0
label.new(bar_index, high, "CRT BEAR setup Entry≈"+str.tostring(planEntry)+" SL≈"+str.tostring(planSL)+" TP1≈"+str.tostring(planTP1)+" TP2≈"+str.tostring(planTP2),
style=label.style_label_down, color=color.new(colDn,0), textcolor=color.white, size=size.tiny)
if bullSetup
planActive := true, planBull := true
planEntry := rngLo // retest: prev Low
planSL := math.min(low, rngLo) - atrMult*atr
planTP1 := rngMid
planTP2 := rngHi
planBars := 0
label.new(bar_index, low, "CRT BULL setup Entry≈"+str.tostring(planEntry)+" SL≈"+str.tostring(planSL)+" TP1≈"+str.tostring(planTP1)+" TP2≈"+str.tostring(planTP2),
style=label.style_label_up, color=color.new(colUp,0), textcolor=color.white, size=size.tiny)
// Plan takibi
entryTouched = planActive and ((planBull and low <= planEntry) or (not planBull and high >= planEntry))
tp1Hit = planActive and ((planBull and high >= planTP1) or (not planBull and low <= planTP1))
tp2Hit = planActive and ((planBull and high >= planTP2) or (not planBull and low <= planTP2))
slHit = planActive and ((planBull and low <= planSL) or (not planBull and high >= planSL))
if planActive
planBars += 1
// de-activate on exit
if slHit or tp2Hit or planBars > persistBars
planActive := false
// Görsel plan çizgileri
plot(showPlan and planActive ? planEntry : na, "Entry", color.new(colPlan, 0), 2, plot.style_linebr)
plot(showPlan and planActive ? planSL : na, "SL", color.new(color.red, 0), 2, plot.style_linebr)
plot(showPlan and planActive ? planTP1 : na, "TP1", color.new(color.gray, 0), 1, plot.style_linebr)
plot(showPlan and planActive ? planTP2 : na, "TP2", color.new(color.gray, 0), 1, plot.style_linebr)
// İşaretler
plotshape(bearSetup, title="Bear Setup", style=shape.triangledown, location=location.abovebar, size=size.tiny, color=colDn, text="CRT▼")
plotshape(bullSetup, title="Bull Setup", style=shape.triangleup, location=location.belowbar, size=size.tiny, color=colUp, text="CRT▲")
//──── Alerts
alertcondition(bearSetup, title="CRT Setup Ready (Bearish)",
message="CRT Bearish setup ready on {{ticker}} {{interval}} | Entry≈{{plot(\"Entry\")}} SL≈{{plot(\"SL\")}} TP1≈{{plot(\"TP1\")}} TP2≈{{plot(\"TP2\")}}")
alertcondition(bullSetup, title="CRT Setup Ready (Bullish)",
message="CRT Bullish setup ready on {{ticker}} {{interval}} | Entry≈{{plot(\"Entry\")}} SL≈{{plot(\"SL\")}} TP1≈{{plot(\"TP1\")}} TP2≈{{plot(\"TP2\")}}")
alertcondition(entryTouched, title="CRT Retest Filled",
message="CRT Entry retest filled on {{ticker}} {{interval}}")
EMA 50/200 Pullback + RSI (BTC/USDT 15m - 2 Bar Logic)EMA 50/200 Pullback + RSI (BTC/USDT 15m - 2 Bar Logic)
RSI Cross Logic (Buy/Sell Dots)Certainly — here’s a **professionThis indicator identifies high-probability trend reversals by analyzing the psychological rhythm of RSI behavior.
It detects the initial momentum shift when RSI crosses its smoothed average, waits for a natural hesitation phase (a dip or bounce), and confirms reversal only when traders re-commit in the dominant direction.
Green and blue dots mark early bullish formation; aqua triangles confirm Buy signals.
Red and orange dots mark early bearish formation; yellow triangles confirm Sell signals.
A refined blend of momentum confirmation and trader psychology designed to filter noise and pinpoint genuine reversals.
Relative Performance Binary FilterDescription:
This indicator monitors the relative performance of 30 selected crypto assets and generates a binary signal for each: 1 if the asset’s price has increased above a user-defined threshold over a specified lookback period, 0 otherwise. The script produces a JSON-formatted output suitable for webhooks, allowing you to send the signals to external applications like Google Sheets.
Key Features:
Configurable lookback period, price source, and performance threshold.
Supports confirmed or real-time bar data.
Monitors 30 crypto assets simultaneously.
Produces a one-line JSON output with batch grouping for easy webhook integration.
Includes an optional visual sum plot showing how many assets are above the threshold at any time.
Use Cases:
Automate performance tracking across multiple crypto assets.
Feed binary signals into external dashboards, trading bots, or Google Sheets.
Quickly identify which assets are outperforming a set threshold.
EMA 50/200 Pullback + RSI Filter (Single Position)EMA 50/200 Pullback + RSI Filter (Single Position)
Vortex with Cross Arrows (v6 — stable, sma sum)Vortex Indicators with Cross Arrows, Green cross when VI+ crossing up VI-, and red cross if VI+ crossing below VI-
KillZones & Sessions with AlertsKill Zones & Sessions with Alerts
This TradingView indicator provides comprehensive visualization and alerting for major trading sessions and their associated "kill zones" - periods of high liquidity and price volatility that institutional traders often target.
Based on the great work done by TFlab
Key Features:
1. Four Major Trading Sessions:
Asia Session (2300-0600 UTC) - Sydney + Tokyo markets
London Session (0700-1425 UTC) - Frankfurt + London markets
New York AM Session (1430-1925 UTC)
New York PM Session (1930-2255 UTC)
2. Kill Zones:
Each session includes a "Kill Zone" - the most active trading period within that session:
Asia Kill Zone: 2300-0355 UTC
London Kill Zone: 0700-0955 UTC
NY AM Kill Zone: 1430-1655 UTC
NY PM Kill Zone: 1930-2055 UTC
3. Market Open Zones:
Highlights the first 5 minutes (configurable 1-60 minutes) after each session starts
Shows high/low range with colored boxes and labels
Helps identify initial volatility and price discovery periods
4. Visual Elements:
Session Boxes: Color-coded boxes showing high/low ranges for each session
Kill Zone Overlays: Highlighted areas within sessions showing peak activity times
Dynamic Lines: Track session highs and lows that update as price moves
Optional Volume/Time Info: Display bars, duration, and volume statistics for each session
5. Alert System:
Configurable alerts for session starts (8 total toggles)
Separate alerts for each kill zone start
Once-per-bar frequency to avoid spam
Use Cases:
Identify optimal trading times based on your strategy
Track institutional activity during kill zones
Monitor session breakouts and breakdowns
Set alerts to catch market opens and high-volatility periods
Analyze price behavior across different global markets
The indicator is fully customizable with color coding for each session, toggle switches to show/hide elements, and adjustable market open duration.
5min ORB SICKO ModeThe orb strategy is automated. 5m orb concept is coded into an indicator strategy with multiple settings.
BTC 1h StratUses LuxAlgo-style Support/Resistance levels (pivot-based, with volume break labels).
Adds momentum confirmation (RSI + MACD) to filter fakeouts.Keeps your swing breakout logic (close above swing high / below swing low).
Includes liquidity and TP/SL risk management.
Auto Fibonacci Retracement (Labeled Swings, Rounded Prices)This tool automatically detects the latest confirmed swing high and swing low on your chart, using a user-settable pivot length. It then plots standard Fibonacci retracement levels between these confirmed pivots, labeling each retracement line with its percentage and rounded price for instant reference. All levels update only on swing confirmation, ensuring strict non-repainting logic and transparency.
How it works
Swing Detection:
Uses Pine Script’s native ta.pivothigh and ta.pivotlow functions to locate swing pivots after full confirmation, reducing noise and false signals.
Fibonacci Calculation:
Once two confirmed swings are found, the script draws standard Fibonacci retracement levels (0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%) between these anchors. The levels adapt to both uptrends and downtrends, based on swing position.
Customization and Clarity:
Users can choose which retracement levels to display and adjust colors, line thickness, styles, and label sizes for chart clarity. All price labels are rounded for improved visibility.
Non-Repainting:
All levels are plotted only after a swing is confirmed by the market; nothing redraws retroactively.
How To Use It
Add the indicator to any chart and timeframe.
Select your preferred pivot length:
Smaller values yield more frequent swings, larger values wait for major structure.
Toggle each Fibonacci level you wish to see in the settings.
Adjust line and label appearance to fit your style.
Interpret retracement levels as potential support/resistance zones, awareness for pullbacks, and context for trend direction.
Combine the indicator with your technical, price action, or volume analysis to plan entries, stops, and targets.
What Traders Should Look For
Visual retracement map between confirmed swings:
Fib lines auto-update as new swings are confirmed, keeping your chart relevant.
Price reaction at Fib levels:
Watch for reversals, consolidations, or continuations near labeled percentages and prices.
Trend assessment:
Quickly spot whether market structure is showing shallow or deep retracements by the distance between levels.
Confluence:
Use retracement levels along with other indicators or market structure for more robust trade setups.
Key Features
Strict non-repainting logic (confirmed swings only)
Configurable retracement levels: Enable/disable each Fib line.
Rounded price & percentage labels
Visual customization: Colors, thickness, line style, label size
Automatic detection of direction (uptrend/downtrend pivots)
Disclaimer
This indicator is a technical analysis and educational tool. It does not provide buy/sell signals, nor guarantee future price movements. Please use in conjunction with your trading plan and risk management.
short term tradingShort-term trading with precise buy and sell signals, making it simpler and clearer.
Monster Stock" Tag + Concentrated Buying PointsHigh accuracy of "monster stock" tag + resonance buy point (TradingView version)
Luminous Glide Momentum Indicator [wjdtks255]This indicator, named "Customized SuperSmoother MA Oscillator," applies a smoothing filter to price data using a SuperSmoother technique to reduce noise and enhance signal clarity. It calculates two moving averages on the smoothed data—a fast and a slow—whose difference forms the oscillator line. A signal line is derived by smoothing the oscillator with another moving average. The histogram visualizes the divergence between the oscillator and signal lines, indicating momentum strength and direction.
How it works
SuperSmoother Filter: Reduces price noise to provide smoother and more reliable signals than raw data.
Fast and Slow Moving Averages: The fast MA reacts quicker to price changes, while the slow MA indicates longer trends.
Oscillator: The difference between the fast and slow MAs signals shifts in momentum.
Signal Line: A smoothed version of the oscillator used to generate crossovers.
Histogram: Displays the distance between the oscillator and signal line, with color changes indicating bullish or bearish momentum.
Trading Strategy
Buy Signal: When the oscillator crosses above the signal line, it suggests increasing upward momentum, signaling a potential buy opportunity.
Sell Signal: When the oscillator crosses below the signal line, it suggests increasing downward momentum, signaling a potential sell opportunity.
Histogram Size and Color: Larger green bars indicate stronger bullish momentum; larger red bars indicate stronger bearish momentum.
Usage Tips
Combine this oscillator with other indicators or price action analysis to confirm trading signals.
Adjust smoothing and moving average lengths according to your trading timeframe and the asset volatility.
Use proper risk management to filter out potential false signals common in oscillators.
MAOs🌟 **MAOs By A8/4 — The Ultimate Indicator for XAUUSD Trading** 🌟
An intelligent **automated system** designed exclusively for **gold trading**, equipped with everything you need in one tool 🔥
💡 **Key Features of MAOs By A8/4**
✅ **Auto Entry Signals**
Automatically detects trade opportunities using a **refined MACD Histogram formula** for enhanced accuracy.
Displays **LONG/SHORT arrows only on the first bar** to keep your chart clean and readable.
✅ **Auto Take Profit & Stop Loss System (Auto TP/SL)**
Once a signal appears, the system automatically sets:
* **TP1 = +15 USD**
* **TP2 = +25 USD**
* **SL = -10 USD**
These levels are displayed as **dashed lines** on the chart — clear and updated in real-time.
✅ **Smart DCA System (3 Orders)**
Works for both LONG and SHORT positions:
* **Order 1:** Entry upon signal confirmation (after candle close)
* **Order 2:** Entry at 5 USD below/above Order 1
* **Order 3:** Entry at another 5 USD below/above Order 2
The system automatically **calculates the average entry price** and **adjusts the SL** to -10 USD from the average cost.
This helps **spread risk** and **increase recovery potential** when prices rebound 💰
✅ **Specially Designed for XAUUSD Trading**
Compatible with both **Spot Gold** and **TFEX Gold Futures**.
Perfect for traders who value **clear, structured entry and exit strategies**.
Kronos Scalper (RAVINDRA KHADSE) 11.11.2025Nice — below is a ready-to-copy TradingView Pine Script (v5) strategy named “Kronos Scalper”.
It’s a self-contained scalping strategy (non-repainting) with configurable EMAs trend filter, RSI entry filter, ATR-based stop loss / take profit, optional trailing stop, plots and entry/exit labels. Drop it into TradingView’s Pine editor and Add to Chart → Strategy Tester.
MTF OB & FVG detector w/ Alerts v2# MTF OB & FVG Detector with Alerts(マルチタイムフレーム オーダーブロック&フェアバリューギャップ検出器)
## 概要
このインジケーターは、複数の時間足で**オーダーブロック(OB)**と**フェアバリューギャップ(FVG)**を検出し、これらのゾーンからの反発をリアルタイムでアラート通知します。高度なボリューム分析とマルチタイムフレーム分析を組み合わせ、高確率のサポート・レジスタンスゾーンを特定します。
## 主な機能
### 1. マルチタイムフレーム オーダーブロック検出
- **対応時間足**: 1分、3分、5分、15分、60分
- 各時間足を個別に有効/無効化可能
- 正確な価格レベルでOBゾーンを自動表示
- ブル/ベア比率の内訳を含むボリューム情報表示
- タイプ別色分け: ブリッシュ(青)/ ベアリッシュ(赤)- 反転可能
### 2. フェアバリューギャップ(FVG)検出
- 現在のチャート時間足でブリッシュ・ベアリッシュFVGパターンを検出
- ギャップ内のボリューム分布を表示
- 色分け: ブリッシュ(アクア)/ ベアリッシュ(オレンジ)- 反転可能
- ミティゲート/ブレイクされたFVGを自動削除
- **注意**: 1分足チャートではデフォルトでFVGは無効化されていますが、設定で有効化できます。
### 3. インテリジェントなブレイク検出
- **オーダーブロック**: 価格がゾーンを突破すると自動削除
- ブリッシュOB: 価格が下に抜けると削除
- ベアリッシュOB: 価格が上に抜けると削除
- **フェアバリューギャップ**: 価格がギャップを完全にミティゲートすると削除
- ブレイク方法の設定: ヒゲベースまたは実体ベース
### 4. 高度なアラートシステム
- **反発アラート**: 価格がOBまたはFVGゾーンから反発した際にトリガー
- ブリッシュとベアリッシュで個別アラート
- アラートメッセージに時間足情報を含む
- 有効化されたすべての時間足を同時監視
- **新規OB形成アラート**: 新しいオーダーブロックが形成されたときに通知
- **統合ゾーンアラート**: 複数のOBが統合されたときに通知
- **設定可能な閾値**: 最小OB統合数を設定(デフォルト: 3、範囲: 2-10)
- 複数時間足にわたる強力なコンフルエンスゾーンを示す
- 高確率のサポート/レジスタンスエリアを警告
- より多くのOBが統合 = より強力なゾーン = より高いアラート優先度
- すべてのアラートを個別に有効/無効化可能
### 5. ビジュアルカスタマイズ
- **テキスト表示**: 現在時刻の3バー右から左寄せで表示
- **ゾーン延長**: 40バー先まで延長(設定可能)
- **色の反転**:
- OB: 青/赤 または 赤/青 の切り替え
- FVG: アクア/オレンジ または オレンジ/アクア の切り替え
- **下位時間足表示**: 1分足と3分足ゾーンのオプション表示
### 6. ボリューム分析
- 各OBにブル/ベア比率を含む総ボリュームを表示
- パーセンテージ内訳で優勢なボリューム側を表示
- FVGはギャップ全体のボリューム分布を表示
#### テキスト表示の見方
**オーダーブロックのテキスト形式:** ` 5m OB 12.5M (85%)`
- ** **: 複数の時間足が統合された場合に表示(オプション表示)
- **5m OB**: 時間足の識別子(5分足オーダーブロック)
- **12.5M**: OBゾーンで取引された総ボリューム(常に百万単位で小数点第1位まで表示)
- 例: 12.5M、0.8M、156.3M
- **(85%)**: 優勢(強い側)のボリュームの割合
- ブリッシュOBの場合: ブリッシュボリュームの割合(強い側)
- ベアリッシュOBの場合: ベアリッシュボリュームの割合(強い側)
- パーセンテージが高い = より強力なOB(一方的なボリューム)
**フェアバリューギャップのテキスト形式:** `15m FVG 8.3M (85%)`
- **15m FVG**: 時間足の識別子(15分足フェアバリューギャップ)
- **8.3M**: FVGの総ボリューム(常に百万単位で小数点第1位まで表示)
- 例: 8.3M、1.2M、45.7M
- **(85%)**: 優勢(強い側)のボリュームの割合
- ブリッシュFVGの場合: ブリッシュボリュームの割合(強い側)
- ベアリッシュFVGの場合: ベアリッシュボリュームの割合(強い側)
- パーセンテージが高い = より強力なFVG(一方的なボリューム)
## 使用方法
### 基本セットアップ
1. **チャートに追加**: TradingViewのインジケーターで「MTF OB & FVG detector」を検索
2. **時間足を選択**: 希望の時間足を有効化(デフォルト: 5分、15分、60分)
3. **アラート設定**: 反発と新規OB形成のアラートを有効化
### 設定ガイド
#### マルチタイムフレーム設定
- **Show Lower Timeframes**: 1分足と3分足ゾーンを表示(デフォルト: ON)
- **各時間足**: 各時間足(1m, 3m, 5m, 15m, 60m)の個別切り替え
- 推奨: チャートの混雑を避けるため2-3個の時間足を使用
#### 一般設定
- **Zone Count**: 時間足あたりのOB数(Low/Medium/High)
- Medium(5ゾーン): 複数時間足使用時に推奨
- High(10ゾーン): 少数時間足での詳細分析用
- **Swing Length**: OB検出の感度(デフォルト: 3)
- 低い値 = より小さく、より頻繁なOB
- 高い値 = より大きく、より少数のOB
- **Break Detection Method**: OB無効化にWickまたはBodyを選択
#### フェアバリューギャップ設定
- **Show Fair Value Gaps**: FVG表示の切り替え
- デフォルト: ON(すべての時間足)
- **Show FVG on 1-Minute Charts**: 1分足チャートでのFVG表示を有効化
- デフォルト: OFF(視覚的な混雑を減らしパフォーマンスを向上させるため無効)
- 1分足でもFVGを表示したい場合は有効化してください
- **Mitigation Source**: FVG無効化に終値またはhigh/lowを選択
- **Individual Gap Types**: ブリッシュまたはベアリッシュFVGを個別に有効/無効化
#### アラート設定
- **Enable Alerts**: すべてのアラートのマスタースイッチ
- **Alert on Bullish/Bearish Bounce**: 各方向の個別切り替え
- **Alert on New OB Formation**: 新しいOBが作成されたときに通知
- **Alert on Combined OBs**: 複数のOrder Blockが1つの強力なゾーンに統合されたときに通知
- **Min OBs for Strong Zone Alert**: アラートをトリガーするために必要な最小OB統合数を設定
- デフォルト: 3(3つ以上のOB)
- 範囲: 2-10
- 値が高い = より厳選的、最も強力なコンフルエンスゾーンのみをアラート
#### スタイル設定
- **Invert Colors**:
- OB: デフォルトはブリッシュ=赤、ベアリッシュ=青
- FVG: デフォルトはブリッシュ=オレンジ、ベアリッシュ=アクア
- **Extend Zones**: ゾーンを前方に延長するバー数(デフォルト: 40)
### トレーディング戦略
#### 1. 統合ゾーンでの反転取引
- 「Combine Overlapping Order Blocks」機能を有効化
- 統合ゾーン(例:「5m & 15m & 1H」)は強力なサポート/レジスタンスを示す
- これらのゾーンは重要な転換点を示すことが多い
- 価格が高ボリュームで統合ゾーンにタッチするのを待つ
- 反転確認(ローソク足パターン、モメンタムダイバージェンス)でエントリー
- ストップロスは直近安値、直近高値を指定する等の高度な判断が必要(ゾーン端をストップロスにすると値幅が大きくなってしまうため)
#### 2. FVGフィリング
- FVGは価格の磁石として機能
- 未充填のギャップに向けてトレード
- 価格がギャップを完全に埋めたら決済
#### 3. OB/FVGを使ったトレンドフォロー
- 現在のトレンド方向を特定
- トレンド方向のOB/FVGからの反発のみを取引
- 上昇トレンド: ブリッシュ反発のみを取引
- 下降トレンド: ベアリッシュ反発のみを取引
- 上位時間足のOB(15分、60分)をトレンド確認に使用
- 下位時間足のOB(1分、3分)を精密なエントリーに使用
- 移動平均線やトレンドインジケーターと組み合わせると最良の結果
## 技術詳細
### オーダーブロックのロジック
- 設定可能なスイング長を使用してスイング高値/安値を検出
- 価格移動前のボリューム蓄積ゾーンを特定
- ブレイカーキャンドルでブレイクアウト確認を追跡
- 無効化されたゾーンを自動削除
### フェアバリューギャップのロジック
- キャンドル1と3の間にギャップがある3キャンドルパターンを識別
- 有効性のための最小ギャップサイズが必要
- 価格がギャップを通過する際のミティゲーションを追跡
- ギャップの強度のためのボリューム加重分析
### メモリ最適化
- 最大100個のボックス/ラベル/ラインを同時表示
- ブレイクされたゾーンの自動クリーンアップ
- 複数時間足でのパフォーマンスに最適化
- 効率的な配列管理
## ベストプラクティス
1. **シンプルに始める**: 最初は2-3個の時間足から始める
2. **ゾーン数を調整**: 多くの時間足を有効化する場合は「Medium」または「Low」を使用
3. **反発を確認**: アラートだけでトレードせず、価格確認を待つ
4. **ストップロスを使用**: 必ずゾーン境界を超えてストップを設定
5. **バックテスト**: ライブトレード前に過去データでテスト
6. **他のツールと組み合わせ**: トレンドインジケーター、ボリュームプロファイルなどと併用
## 制限事項
- 同時に最大100個のボックスを表示可能
- FVG検出は現在のチャート時間足に限定
- 有効化する時間足が多いほど、時間足あたりに表示できるゾーンが少なくなる
- ボックス上限に達すると、過去のゾーンが消える場合がある
## サポートとアップデート
質問、バグレポート、または機能リクエストについては、インジケーターページにコメントするか、作成者に連絡してください。
## クレジット
このインジケーターは、以下の優れたTradingViewインジケーターの機能を統合・強化しています:
- ** ()** by @fluxchart
- ボリューム情報を含むオーダーブロック検出ロジック
- マルチタイムフレームレンダリング機能
- ゾーン無効化メソッド
- ** ()** by @BigBeluga
- フェアバリューギャップ検出アルゴリズム
- ボリューム分解分析
- ミティゲーション追跡システム
その他、以下のコンセプトに基づいています:
- スマートマネーコンセプト(SMC)
- 機関投資家のオーダーフロー
- ボリュームプロファイル分析
オープンソースでトレーディングコミュニティに貢献してくださった原作者の方々に感謝いたします。
## 免責事項
このインジケーターは教育目的のみです。過去のパフォーマンスは将来の結果を示すものではありません。常に適切なリスク管理を実践し、失う余裕のない金額以上をリスクにさらさないでください。
---
**バージョン**: 1.0
**Pine Scriptバージョン**: 6
**チャートタイプ**: すべて
**時間足**: すべて(マルチタイムフレーム分析)
---
# MTF OB & FVG Detector with Alerts
## Overview
This indicator detects **Order Blocks (OB)** and **Fair Value Gaps (FVG)** across multiple timeframes and provides real-time alerts for bounces from these zones. It combines advanced volume analysis with multi-timeframe analysis to identify high-probability support and resistance zones.
## Key Features
### 1. Multi-Timeframe Order Block Detection
- **Supported Timeframes**: 1min, 3min, 5min, 15min, 60min
- Each timeframe can be independently enabled/disabled
- Automatically displays OB zones with precise price levels
- Volume information displayed with bull/bear percentage breakdown
- Color-coded by type: Bullish (Blue) / Bearish (Red) - invertible
### 2. Fair Value Gap (FVG) Detection
- Detects bullish and bearish FVG patterns on current chart timeframe
- Displays volume distribution within gaps
- Color-coded: Bullish (Aqua) / Bearish (Orange) - invertible
- Automatically removes mitigated/broken FVGs
- **Note**: FVG is disabled by default on 1-minute charts to reduce visual clutter, but can be enabled via settings.
### 3. Intelligent Break Detection
- **Order Blocks**: Automatically removed when price breaks through the zone
- Bullish OB: Removed when price breaks below
- Bearish OB: Removed when price breaks above
- **Fair Value Gaps**: Removed when price fully mitigates the gap
- Configurable break method: Wick-based or Body-based
### 4. Advanced Alert System
- **Bounce Alerts**: Triggered when price bounces from OB or FVG zones
- Separate alerts for bullish and bearish bounces
- Includes timeframe information in alert message
- Monitors all enabled timeframes simultaneously
- **New OB Formation Alerts**: Notified when a new Order Block is formed
- **Combined Zone Alerts**: Notified when multiple OBs are combined
- **Configurable threshold**: Set minimum number of OBs (default: 3, range: 2-10)
- Indicates strong confluence zones across multiple timeframes
- Signals high-probability support/resistance areas
- More OBs combined = stronger zone = higher alert priority
- All alerts can be individually enabled/disabled
### 5. Visual Customization
- **Text Display**: Left-aligned text starting 3 bars from current time
- **Zone Extension**: 40 bars forward (configurable)
- **Color Inversion**:
- OB: Toggle between Blue/Red or Red/Blue
- FVG: Toggle between Aqua/Orange or Orange/Aqua
- **Lower Timeframe Display**: Optional display of 1min and 3min zones
### 6. Volume Analysis
- Each OB displays total volume with bull/bear ratio
- Percentage breakdown shows dominant volume side
- FVG shows volume distribution across the gap
#### Understanding the Text Display
**Order Block Text Format:** ` 5m OB 12.5M (85%)`
- ** **: Appears when multiple timeframes are merged (optional display)
- **5m OB**: Timeframe identifier (5-minute Order Block)
- **12.5M**: Total volume traded in the OB zone (always in millions with 1 decimal place)
- Examples: 12.5M, 0.8M, 156.3M
- **(85%)**: Percentage of dominant (stronger) volume side
- If bullish: Shows proportion of bullish volume (stronger side)
- If bearish: Shows proportion of bearish volume (stronger side)
- Higher percentage = stronger OB (more one-sided volume)
**Fair Value Gap Text Format:** `15m FVG 8.3M (85%)`
- **15m FVG**: Timeframe identifier (15-minute Fair Value Gap)
- **8.3M**: Total volume in the FVG (always in millions with 1 decimal place)
- Examples: 8.3M, 1.2M, 45.7M
- **(85%)**: Percentage of dominant (stronger) volume side
- If bullish: Shows proportion of bullish volume (stronger side)
- If bearish: Shows proportion of bearish volume (stronger side)
- Higher percentage = stronger FVG (more one-sided volume)
## How to Use
### Basic Setup
1. **Add to Chart**: Search for "MTF OB & FVG detector" in TradingView indicators
2. **Select Timeframes**: Enable desired timeframes (default: 5min, 15min, 60min)
3. **Configure Alerts**: Enable alerts for bounces and new OB formations
### Settings Guide
#### Multi-Timeframe Settings
- **Show Lower Timeframes**: Enable to show 1min and 3min zones (default: ON)
- **Individual Timeframes**: Toggle each timeframe (1m, 3m, 5m, 15m, 60m)
- Recommended: Use 2-3 timeframes to avoid chart clutter
#### General Configuration
- **Zone Count**: Number of OBs per timeframe (Low/Medium/High)
- Medium (5 zones) recommended for multiple timeframes
- High (10 zones) for detailed analysis on fewer timeframes
- **Swing Length**: Sensitivity for OB detection (default: 3)
- Lower values = smaller, more frequent OBs
- Higher values = larger, fewer OBs
- **Break Detection Method**: Choose Wick or Body for OB invalidation
#### Fair Value Gap Settings
- **Show Fair Value Gaps**: Toggle FVG display
- Default: ON (for all timeframes)
- **Show FVG on 1-Minute Charts**: Enable FVG display on 1-minute charts
- Default: OFF (disabled to reduce visual clutter and improve performance)
- Enable if you want to see FVG on 1-minute charts
- **Mitigation Source**: Choose close price or high/low for FVG invalidation
- **Individual Gap Types**: Enable/disable bullish or bearish FVGs separately
#### Alert Settings
- **Enable Alerts**: Master switch for all alerts
- **Alert on Bullish/Bearish Bounce**: Separate toggles for each direction
- **Alert on New OB Formation**: Get notified when new OBs are created
- **Alert on Combined OBs**: Get notified when multiple Order Blocks are combined into one powerful zone
- **Min OBs for Strong Zone Alert**: Set the minimum number of OBs that must be combined to trigger the alert
- Default: 3 (three or more OBs)
- Range: 2-10
- Higher values = more selective, only alerting on the strongest confluence zones
#### Style Settings
- **Invert Colors**:
- OB: Default is Bullish=Red, Bearish=Blue
- FVG: Default is Bullish=Orange, Bearish=Aqua
- **Extend Zones**: Number of bars to extend zones forward (default: 40)
### Trading Strategies
#### 1. Reversal Trading at Combined Zones
- Enable "Combine Overlapping Order Blocks" feature
- Combined zones (e.g., "5m & 15m & 1H") indicate strong support/resistance
- These zones often mark significant turning points
- Wait for price to touch the combined zone with high volume
- Enter on reversal confirmation (candlestick patterns, momentum divergence)
- Stop-loss requires advanced judgment such as using recent lows/highs (placing stops at zone edges results in wide ranges)
#### 2. FVG Filling
- FVGs act as magnets for price
- Trade towards unfilled gaps as targets
- Exit when price fully fills the gap
#### 3. Trend Following with OB/FVG
- Identify the current trend direction
- Only take bounces from OBs/FVGs in trend direction
- In uptrend: Trade only bullish bounces
- In downtrend: Trade only bearish bounces
- Use higher timeframe OBs (15min, 60min) for trend confirmation
- Use lower timeframe OBs (1min, 3min) for precise entries
- Combine with moving averages or trend indicators for best results
## Technical Details
### Order Block Logic
- Detects swing highs/lows using configurable swing length
- Identifies volume accumulation zones before price moves
- Tracks breakout confirmation with breaker candles
- Automatically removes invalidated zones
### Fair Value Gap Logic
- Identifies 3-candle patterns with gap between candles 1 and 3
- Minimum gap size required for validity
- Tracks mitigation as price moves through the gap
- Volume-weighted analysis for gap strength
### Memory Optimization
- Maximum 100 boxes/labels/lines simultaneously
- Automatic cleanup of broken zones
- Optimized for performance with multiple timeframes
- Efficient array management
## Best Practices
1. **Start Simple**: Begin with 2-3 timeframes before adding more
2. **Adjust Zone Count**: Use "Medium" or "Low" when enabling many timeframes
3. **Confirm Bounces**: Don't trade on alerts alone - wait for price confirmation
4. **Use Stop Losses**: Always set stops beyond the zone boundaries
5. **Backtest**: Test the indicator on historical data before live trading
6. **Combine with Other Tools**: Use with trend indicators, volume profile, etc.
## Limitations
- Maximum of 100 boxes can be displayed simultaneously
- FVG detection is limited to current chart timeframe
- More timeframes enabled = fewer zones per timeframe can be shown
- Historical zones may disappear if box limit is reached
## Support and Updates
For questions, bug reports, or feature requests, please comment on the indicator page or contact the author.
## Credits
This indicator integrates and enhances features from the following excellent TradingView indicators:
- ** ()** by @fluxchart
- Order Block detection logic with volumetric information
- Multi-timeframe rendering capabilities
- Zone invalidation methods
- ** ()** by @BigBeluga
- Fair Value Gap detection algorithm
- Volume decomposition analysis
- Mitigation tracking system
Additional concepts based on:
- Smart Money Concepts (SMC)
- Institutional Order Flow
- Volume Profile Analysis
Special thanks to the original authors for their open-source contributions to the trading community.
## Disclaimer
This indicator is for educational purposes only. Past performance is not indicative of future results. Always practice proper risk management and never risk more than you can afford to lose.
---
**Version**: 1.0
**Pine Script Version**: 6
**Chart Type**: Any
**Timeframe**: Any (multi-timeframe analysis)
VWAP Diario + VWAP 08:00-12:00 ventanas NYWhat it plots
Daily VWAP (main line)
Anchored to the current trading day and only visible between 19:00 and 16:50 New York (UTC-5) to prevent any “ghost” segments.
Dynamic color: turns green when price closes above (bullish bias) and red when price closes below (bearish bias).
Optional standard-deviation/percentage bands (off by default).
08:00–12:00 VWAP (morning line)
Resets at 08:00 NY and shows until 12:00 NY only.
Acts as a morning value guide for early direction and pullbacks.
Clean rendering: Both lines use strict time masks and line breaks, so nothing is drawn outside their windows. You can toggle either line on/off.
How to Read It
Daily VWAP ≈ “fair value” of the whole session; use it for directional bias and confluence.
08:00–12:00 VWAP ≈ “fair value” of the morning; helps refine entries during the open.
Alignment:
Bullish environment: price and 08–12 VWAP sit above the Daily VWAP.
Rotation/mixed: price oscillates between the two lines.
Bearish: price and 08–12 VWAP sit below the Daily VWAP.
Two Mechanical Playbooks
Recommended charts: 1-minute for entries, 5-minute for context on NQ/Nasdaq100.
Primary execution window: 09:30–12:00 NY.
A) Trend Play (Break → Pullback to VWAP)
Goal: Join the day’s impulse with value confirmation.
Rules
Bias filter before 09:30
Bullish: 08–12 VWAP ≥ Daily VWAP; Bearish: 08–12 ≤ Daily.
First push 09:30–09:45 breaks the initial range high (bull) or low (bear).
Entry (pullback into confluence)
Wait for a pullback that tags/wicks the 08–12 VWAP or the Daily VWAP in the direction of bias.
Go long on bullish rejection (close back above); short on bearish rejection.
Stop-loss
Beyond the rejection wick or the touched VWAP (e.g., 1–1.5× ATR(1m/5m)).
Take-profit
TP1 = 1R (scale 50%); TP2 = 2–3R or day extremes (HOD/LOD).
If bands are on, consider exiting on a clean tag of the opposite band.
Management
Move to breakeven at 1R; exit early if price reclaims the opposite side of Daily VWAP.
Avoid when the morning is choppy and price sits glued between the two VWAPs.
B) Mean-Reversion Play (Controlled Reversal at Daily VWAP)
Goal: Capture a return to value after an overstretch and a clean rejection.
Rules
Stretch condition
Fast move away from Daily VWAP (3–5 bars) or beyond Band #1/#2 if enabled.
Rejection signal at Daily VWAP
A bar that touches Daily VWAP and closes back on the opposite side (pin/engulfing/strong close).
Entry
Long if a selloff rejects above Daily VWAP.
Short if a rally rejects below Daily VWAP.
Stop-loss
Just beyond the rejection wick or ~1× ATR(1m).
Take-profit
TP1 = 1R or the 08–12 VWAP; TP2 = 2–3R or a prior consolidation.
Management
If price crosses and holds on the other side of Daily VWAP (2 closes), cut the idea.
Avoid during high-impact news or when the session is strongly trending (prefer Play A).
Quality Filters
Volatility: Ensure ATR(14, 1m) or the 09:30–09:45 range exceeds your minimum.
Spread/liquidity: Skip abnormal spreads at the open.
News: If a red-level release is imminent, wait 2–3 bars after the print.
Coherence: Prefer trades when 08–12 and Daily VWAP don’t conflict.
Risk & Trade Management
Risk per trade: 0.25%–0.5% account risk.
Daily cap: 2–3 trades; stop for the day at –1R to –1.5R.
No over-reentry: Don’t chase if price is sitting exactly on a VWAP; wait for separation.
Log your metrics: setup type (A/B), confluences, distance to VWAP at trigger, time, R multiple.
Quick Pre-Trade Checklist
Bias aligned? (price vs Daily and 08–12 VWAP)
Choose Trend or Mean-Reversion play
Clear confluence at the VWAP line?
Realistic stop (≤ ~1.5× ATR 1m)?
Any imminent news?
TP plan: TP1 = 1R → BE, TP2 = 2–3R.
SMA RibbonSMA RIBBON for simple yet powerful indicator. 2-3 SMAs are plotted in one indicator so that the limit for indicator usage is brought down.






















