ICT Killzones & Pivots [TFO] - Traditional Chinese VersionICT 殺戮區與樞紐點 — 繁體中文版
ICT Killzones & Pivots — Traditional Chinese Edition
📌 概述 | Overview
本指標為廣受交易者使用的「ICT Killzones & Pivots 」之繁體中文本地化版本,完整保留原版所有功能,並將全部介面文字、設定選單、標籤與警報訊息翻譯為繁體中文,大幅降低中文使用者的操作門檻。
This is a Traditional Chinese localization of the well-known "ICT Killzones & Pivots " indicator. All original functionalities are fully preserved, with every interface element — including settings panels, labels, and alert messages — translated into Traditional Chinese to improve accessibility for Mandarin-speaking traders.
🕐 殺戮區(Killzones)| Session Killzones
根據 ICT(Inner Circle Trader)概念,機構資金最活躍的時段稱為「殺戮區」。本指標預設標記以下五個關鍵時段(以紐約時間為基準):
Based on ICT (Inner Circle Trader) concepts, the periods of highest institutional activity are known as "Killzones." The following five key sessions are marked by default (New York time):
時段 Session時間 Time (ET)🔵 亞洲盤 Asia20:00 – 00:00🔴 倫敦盤 London02:00 – 05:00🟢 紐約早盤 NY AM09:30 – 11:00🟡 紐約午休 NY Lunch12:00 – 13:00🟣 紐約下午盤 NY PM13:30 – 16:00
每個時段皆可個別啟用/停用,並自訂名稱與顏色。
Each session can be individually toggled, renamed, and color-customized.
📐 核心功能 | Core Features
殺戮區方塊 | Session Boxes
以半透明色塊標示各殺戮區範圍,清晰呈現每個時段的高低點震盪區間。
Translucent boxes highlight each killzone's high-to-low range, providing a clear visual of intraday price structure.
樞紐點線 | Pivot Lines
自動標記每個殺戮區結束後的最高點與最低點,並在未被突破前持續延伸,協助識別關鍵支撐與壓力位。
Automatically marks the high and low of each completed killzone session. Lines extend until the level is mitigated, helping identify key support and resistance.
中間點 | Midpoint Lines
可選擇顯示每個殺戮區的50%均衡價位,常作為潛在回撤目標。
An optional display of the 50% equilibrium level within each killzone, commonly used as a retracement target.
振幅統計表 | Range Table
即時顯示各殺戮區的當前振幅與歷史平均振幅,協助評估當日市場波動性。
A real-time table displaying the current and historical average range of each killzone, useful for assessing daily market volatility.
日/週/月開盤線與高低點 | D/W/M Open & High/Low Lines
標記日、週、月級別的開盤價、前高與前低,提供多時間框架的重要參考價位。
Marks the open price and prior high/low for daily, weekly, and monthly timeframes as key multi-timeframe reference levels.
開盤價格線 | Custom Opening Price Lines
最多支援8條自訂時間的水平開盤線,可自行設定任意時間點(如真實日開盤00:00、倫敦開盤等)。
Up to 8 custom horizontal open price lines, configurable for any time (e.g., True Day Open at 00:00, London open, etc.).
星期標籤 | Day-of-Week Labels
在圖表底部或頂部自動顯示星期幾標籤,輔助辨識每日結構。
Automatically displays day-of-week labels at the top or bottom of the chart to assist with daily structural analysis.
時間戳記線 | Timestamp Vertical Lines
最多可設定4條自訂垂直時間線,標記任意重要時間節點(如經濟數據公布時間、特定開盤時間等)。
Up to 4 custom vertical timestamp lines to mark important time events such as economic releases or specific session opens.
突破警報 | Break Alerts
當價格突破殺戮區樞紐高低點,或日/週/月高低點時,自動觸發 TradingView 警報通知。
Automatically triggers TradingView alerts when price breaks through killzone pivot levels or D/W/M high/low levels.
⚙️ 主要設定 | Key Settings
繪圖保留天數:控制圖表上各類繪圖的最大顯示筆數
時間框架上限:超過指定時間框架後自動隱藏所有繪圖
時區:支援全球主要時區,預設為紐約時間
繪圖截止時間:可設定樞紐線與開盤線的自動停止延伸時間
樞紐延伸模式:「直到被突破」或「突破後繼續」兩種模式可選
Session Drawing Limit: Controls the maximum number of drawings retained on the chart
Timeframe Limit: Automatically hides all drawings above the specified timeframe
Timezone: Supports all major global timezones, defaulting to New York (ET)
Drawing Cutoff Time: Optionally stops pivot and open lines from extending at a set time
Pivot Extension Mode: Choose between "Until Mitigated" or "Past Mitigation"
🌐 本地化說明 | Localization Notes
本版本為原作者 @tradeforopp 所著「ICT Killzones & Pivots 」之繁體中文翻譯版,依據 Mozilla Public License 2.0 授權發佈。所有交易邏輯、核心演算法與功能設計之著作權均歸屬於原作者。本版本僅對使用者介面文字進行在地化處理,未更動任何核心程式邏輯。
This is a Traditional Chinese translation of "ICT Killzones & Pivots " originally authored by @tradeforopp, published under the Mozilla Public License 2.0. All trading logic, core algorithms, and functional design remain the intellectual property of the original author. This version only localizes the user interface text without modifying any core logic.
⚠️ 免責聲明 | Disclaimer
本指標僅供技術分析參考用途,不構成任何投資建議。交易涉及風險,請依據個人風險承受能力審慎決策。
This indicator is provided for technical analysis reference purposes only and does not constitute investment advice. Trading involves risk; please make decisions according to your own risk tolerance.
原始腳本 Original Script:ICT Killzones & Pivots by @tradeforopp
授權 License:Mozilla Public License 2.0 インジケーター

MTF Pivot Lines (1H / Daily / Weekly)This indicator displays pivot-based support and resistance lines from three higher timeframes — 1-Hour, Daily, and Weekly — directly on your chart, regardless of the timeframe you are currently viewing.
─── FEATURES ───
【 Multi-Timeframe Pivot Lines 】
Draws the most recent pivot high (resistance) and pivot low (support) from the 1H, Daily, and Weekly timeframes as persistent horizontal lines that extend across the entire chart.
【 Wick-Body Zone Fill 】
Optionally fills the range between the wick tip and the candle body at each pivot point, creating a visual zone that highlights the area where price is most likely to react.
【 Full Timeframe Control 】
Each timeframe (1H / Daily / Weekly) can be toggled on or off independently. Unlike typical MTF indicators, this script allows you to display the current timeframe's pivot lines as well — useful when you want all three levels visible simultaneously.
─── HOW TO USE ───
1. Enable the timeframes you want to monitor (1H, Daily, Weekly).
2. When price approaches a pivot line, watch for candlestick reactions as potential support or resistance.
3. Confluence of lines from multiple timeframes (e.g., 1H pivot aligns with Daily pivot) indicates a stronger level.
4. Adjust "Pivot Left Bars" to control how many bars must pass before a pivot is confirmed.
─── NOTES ───
• This indicator is for analytical purposes only and does not constitute financial advice.
• Past performance of any setup is not indicative of future results.
• Designed to complement the "Dow Theory and Price Action" indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
【日本語説明】
現在表示している時間足に関わらず、1時間足・日足・週足の3つの上位時間足からピボット高値・安値ラインをチャート上に直接表示するインジケーターです。
─── 機能 ───
【 マルチタイムフレーム・ピボットライン 】
1時間足・日足・週足それぞれの直近ピボット高値(レジスタンス)とピボット安値(サポート)を、チャート全体に延長する水平ラインとして描画します。
【 ヒゲ-ボディゾーン表示 】
各ピボットのヒゲ先端とボディ端の間をゾーンとして塗りつぶすオプションです。価格が反応しやすいエリアを視覚的に把握できます。
【 時間足の個別制御 】
1H・日足・週足のそれぞれをON/OFFで個別に切り替えられます。一般的なMTFインジケーターと異なり、現在表示中の時間足のラインも表示可能なため、3つのレベルを同時に確認したい場面でも柔軟に対応できます。
─── 使い方 ───
1. 監視したい時間足(1H・日足・週足)をONにする。
2. 価格がピボットラインに近づいたとき、ローソク足の反応をサポート・レジスタンスの根拠として確認する。
3. 複数時間足のラインが重なる箇所(例:1Hピボットと日足ピボットが一致)は、特に強いレベルとして注目する。
4. 「Pivot Left Bars」を調整してピボット確定までのバー数を変更できる。
─── 注意事項 ───
• 本インジケーターは分析補助ツールであり、投資助言ではありません。
• 過去のパフォーマンスは将来の結果を保証するものではありません。
• 「Dow Theory and Price Action」インジケーターと組み合わせての使用を推奨します。
インジケーター

インジケーター

Horistic VisionCopia e cola esta versão:
Horistic Vision v3.0 — Multi-Timeframe Confluence Dashboard
One table. Every timeframe. All the signals you need to decide: LONG, SHORT, or stay out.
How it works:
Each row is a timeframe (5m to 1M). Each column is a different data point. Everything feeds into a single Confluence Score.
Core columns:
Trend — price above or below the EMA 200 (the most respected level in the market)
RSI — overbought (≥70) and oversold (≤30) zones
StoRSI — Stochastic RSI, faster than RSI, works as an early warning system
Score — sums all signals. Strong green = bullish confluence. Strong red = bearish. Gray = stay out
Extra columns (toggle on/off):
BTC (price vs EMA200), Open Interest, BTC Dominance, USDT Dominance, Pair vs BTC, TOTAL/TOTAL2, SPX500, L/S Ratio, Funding Rate
Features:
Smart auto-limit: never exceeds TradingView's 40 security() call limit
Divergence detection (⚠ amber): flags when price and sentiment disagree
Dedicated ₿RSI and ₿StoRSI: Bitcoin RSI and Stochastic RSI with strong visual cues (🔥 overbought / 🧊 oversold)
Auto color inversion for altcoins (BTC.D, USDT.D)
Auto-hide: BTC columns disappear on BTC charts (no redundancy)
Anti-repainting
Alerts for confluence, extreme RSI, divergences, and BTC extreme zones
Quick read:
Score — the verdict. Green = good conditions. Gray = don't trade.
Trend — confirms if macro structure supports your direction.
RSI + StoRSI — both extreme at the same time = strong signal.
🔥 / 🧊 — BTC in extreme zone moves everything.
⚠ amber — divergences are the most valuable signals.
Compare TFs — all agree = high confidence. インジケーター

インジケーター

インジケーター

Average/Median Range TableRange Table is a multi-timeframe candle anatomy tool that displays the high-low range, directional bias, and internal structure of recent candles across four timeframes simultaneously: RTH session, Daily, Weekly, and Monthly. Rather than plotting signals or overlays on price, it presents raw candle data in a clean, readable table so traders can quickly assess range expansion or contraction, directional conviction, and wick-versus-body composition across timeframes at a glance.
---
## What Makes This Original
Most range-based tools display a single average or a single timeframe. This script combines four timeframes into one table, breaks each candle down into its three structural components (upper wick, body, lower tail), and provides both raw point values and percentages for every data point. The RTH session row is particularly unique — it isolates the regular trading hours session (9:30 open to 16:00 bar close) from the full electronic day, using 15-minute bar data to construct accurate session open, high, low, and close values regardless of the chart timeframe in use.
All data is fetched using explicit timeframe strings inside `request.security()` calls so the indicator functions correctly on any chart timeframe, including sub-minute charts where insufficient higher timeframe bars would otherwise be visible on screen.
---
## How It Works
### Table Layout
The table is organized with timeframes as rows and candle history extending left to right:
**Label | Avg/Med | Current | 1 | 2 | 3 | 4 | 5**
- **Label** — identifies the timeframe (RTH, Daily, Weekly, Monthly)
- **Avg/Med** — summary statistic across the lookback set (user selectable)
- **Current** — the live, incomplete candle developing in real time
- **1 through 5** — closed candles from most recent to oldest
Weekly shows 4 closed candles (columns 4 and 5 show dashes). Monthly shows 3 closed candles (columns 3, 4, and 5 show dashes). RTH shows 5 completed sessions.
### Cell Contents
Each data cell displays five stacked values:
1. **Range in points** — raw high minus low of the candle
2. **Range as a percentage** — range divided by the candle midpoint, expressed as a percent
3. **Upper wick** — percentage of total range plus raw points
4. **Body** — percentage of total range plus raw points
5. **Lower wick (tail)** — percentage of total range plus raw points
Candle structure follows these definitions:
**Bullish candle (close >= open):**
- Upper wick = high minus close
- Body = close minus open
- Lower tail = open minus low
**Bearish candle (close < open):**
- Upper wick = high minus open
- Body = open minus close
- Lower tail = close minus low
All three structural components always sum to 100% of the total range.
### Current Candle Behavior
The current (live) candle column updates in real time. For the RTH row, the close is treated as the current live price. Direction is determined by comparing the current price to the session open — above the open uses bullish calculations, below uses bearish calculations. This means the wick and body breakdown reflects the live developing structure of the candle as price moves.
### RTH Session Construction
The RTH row uses 15-minute bar data. Session accumulation logic runs entirely inside a `request.security()` call at the 15-minute resolution, ensuring it fires exactly once per 15-minute bar regardless of the chart timeframe. This prevents duplicate session snapshots on sub-15-minute charts.
Each RTH session is defined as:
- Open = the open of the 9:30 ET bar
- High = running maximum across all bars from 9:30 through 16:00 ET
- Low = running minimum across all bars from 9:30 through 16:00 ET
- Close = the close of the 16:00 ET bar
Completed sessions are snapshotted immediately when the 16:00 bar closes and stored in arrays, keeping the last 5 completed RTH sessions available for display.
### Summary Column (Avg/Med)
The summary column shows either the simple average or the median of the ranges in the lookback set, toggled by a single input. The median is useful for instruments that occasionally print outlier ranges due to news events, as it better represents the typical range without being skewed by extremes.
---
## How to Use It
**Range context** — compare the current candle's range to the historical set. A current range significantly above the average suggests expansion; well below suggests contraction or consolidation.
**Wick analysis** — large upper or lower wick percentages relative to the body indicate rejection. A candle with a 70%+ tail and small body signals strong buying pressure from below regardless of the close direction. A candle with a 70%+ upper wick signals selling pressure from above.
**Multi-timeframe alignment** — when daily, weekly, and monthly rows all show ranges expanding in the same direction with bodies dominant over wicks, that is a strong momentum environment. When wicks are dominant across timeframes, the market is showing indecision or contested price levels.
**RTH vs Daily** — comparing the RTH row to the Daily row reveals how much of the daily range is being built during regular trading hours versus the overnight electronic session. A daily range significantly larger than the RTH range indicates meaningful overnight activity.
---
## Settings
**Table Settings**
- Position — 9 placement options for the table on the chart
- Text Size — Tiny, Small, Normal, Large
- Show Current Candle — toggle the live developing candle column on or off
- Use Median — switches the summary column between average and median
- Show RTH / Daily / Weekly / Monthly rows — individual visibility toggles for each timeframe row
- Full color customization for header, labels, cells, summary, current candle, bullish text, bearish text, neutral text, border
**Display**
- Decimal places for point values (0 to 5)
- Decimal places for percentage values (0 to 4)
---
## Important Notes
- The indicator uses `barmerge.lookahead_off` on all `request.security()` calls. No future data is accessed.
- The RTH session is defined using America/New_York timezone. The indicator is designed for US equity and futures markets. Results on non-US instruments or instruments without a 9:30 ET open may not reflect meaningful RTH sessions.
- The indicator renders as an overlay on the price chart with no plot lines — it is table-only.
- All timeframe data is fetched explicitly so the indicator works on any chart timeframe including sub-minute charts.
インジケーター

インジケーター

Koda Liquidity SweepKODA LIQUIDITY SWEEP TRADINGVIEW INDICATOR
Koda Liquidity Sweep is a session-aware liquidity sweep indicator designed to help traders identify high-probability reversal setups while filtering out weak breakouts and low-quality fadeouts.
Instead of marking every break of a high or low, this script focuses on identifying what it defines as a real sweep — a meaningful liquidity event where price raids a level, rejects it, and shows confirmation that the move was a trap rather than continuation.
The goal is simple:
fewer signals, higher quality, cleaner charts
________________________________________
What the Indicator Does
This script identifies moments where price interacts with liquidity pools — areas where traders typically place:
• stop losses
• breakout entries
• pending orders
These areas are commonly found at:
• previous highs and lows
• session highs and lows
• support and resistance levels
• fair value gaps (imbalances)
When price moves into these areas, the script determines whether:
• it’s a true liquidity grab (reversal likely)
• or just continuation (no signal)
Only when strict conditions are met does it print:
• KLS BUY → bullish sweep
• KLS SELL → bearish sweep
________________________________________
What Makes This Indicator Different
Most indicators detect simple breakouts or reversals.
Koda Liquidity Sweep is different because it filters aggressively.
A signal is only printed when multiple conditions align:
• price raids beyond a level by a meaningful distance
• price rejects and closes back through the level
• the candle shows displacement (strength)
• wick structure confirms rejection
• optional VWAP and volume confirmation
This eliminates:
• weak poke-throughs
• slow grind breakouts
• random noise in the middle of ranges
________________________________________
Core Concepts Behind the Indicator
1. Liquidity Sweeps
Markets often move toward liquidity before reversing.
Example:
• price breaks above a high → triggers buy stops
• then reverses → trapping traders
This is what the script detects and labels as a sweep.
________________________________________
2. Rejection
A real sweep must show rejection:
• price goes beyond a level
• then quickly comes back
This is measured using:
• candle close
• wick size
________________________________________
3. Displacement
Strong moves matter.
The script uses ATR-based displacement to ensure:
• the move has real momentum
• not just slow drifting price action
________________________________________
4. VWAP (White Line)
VWAP represents fair value.
• Above VWAP → bullish bias
• Below VWAP → bearish bias
It acts as a directional filter to improve trade quality.
________________________________________
5. Volume
Optional volume filtering ensures:
• sweeps occur with participation
• low-volume fake moves are ignored
________________________________________
6. Fair Value Gaps (FVG)
• 🟦 Blue box = Bullish FVG (support zone)
• 🟨 Yellow box = Bearish FVG (resistance zone)
These represent areas where price moved too fast and may return.
________________________________________
7. Key Levels (Lines)
• 🔵 Blue lines → support / session levels
• 🟧 Yellow/Orange lines → resistance / PDH/PDL
These are liquidity targets where sweeps are most likely.
________________________________________
What is a “Real Sweep” in This Script
A valid sweep must include:
• a clear raid beyond a level
• a minimum distance beyond that level
• a close back through the level
• strong rejection wick
• displacement candle
• optional VWAP alignment
• optional volume confirmation
This is what filters out false signals and fadeouts.
________________________________________
Signals
KLS BUY
• price sweeps below a key level
• rejects and moves back up
Indicates potential bullish reversal
________________________________________
KLS SELL
• price sweeps above a key level
• rejects and moves back down
Indicates potential bearish reversal
________________________________________
Session & Market Adaptation
The script automatically adjusts behavior based on:
Markets
• NQ → stricter (fast, volatile)
• Gold → allows deeper wicks
• Forex → softer thresholds
________________________________________
Sessions
• New York AM → strong displacement, high volume
• London → structured liquidity runs
• Asian → slower, lower volatility
Each session uses slightly different filters to reflect real market behavior.
________________________________________
How to Use the Indicator
Basic workflow:
1. Identify session (NY, London, Asian)
2. Watch price approach a key level
3. Wait for a KLS signal
4. Confirm with:
o VWAP direction
o FVG location
o nearby support/resistance
________________________________________
Example (Short):
• price hits previous high
• sweeps above
• prints KLS SELL
• below VWAP
look for short setup
________________________________________
Example (Long):
• price sweeps below session low
• prints KLS BUY
• above VWAP
look for long setup
________________________________________
Chart Elements Summary
• 🟦 Blue box → bullish FVG (support)
• 🟨 Yellow box → bearish FVG (resistance)
• ⚪ White line → VWAP
• 🔵 Blue lines → support / session levels
• 🟧 Yellow/orange lines → resistance / PDH/PDL
• KLS labels → confirmed sweep signals
________________________________________
Best Use Cases
This indicator is ideal for:
• NQ scalping
• Gold intraday trading
• London session setups
• New York AM reversals
• liquidity-based trading strategies
________________________________________
Final Note
Koda Liquidity Sweep is built on one principle:
The best moves often come after liquidity is taken.
This tool helps you:
• identify those moments
• filter out noise
• and focus on where real market intent is likely happening
インジケーター

Price to Volume ChangePrice to Volume Change — All-Positive Ratio Lollipop Chart
A separate-pane indicator that measures the ratio between price change and volume change on consecutive completed bars. All values are positive — the ratio always shows how many times more the dominant side changed. Color indicates WHICH side is dominant (green = price, red = volume) and WHETHER price and volume agree on direction (bright = confirmed, dim = divergence).
What Makes This Original
All-positive scale — Unlike indicators that use positive/negative values, this chart plots the ratio as always >= 1 with the 1:1 line as the center. A reading of 3 means the dominant side changed 3x more. No zero line, no negative values — the chart is cleaner and easier to read at a glance.
Color encodes two dimensions — The hue (green vs red) shows which side is dominant: green = price moved more, red = volume moved more. The brightness shows direction agreement: bright = price and volume moved the same way (confirmed), dim = they diverged (warning). Four combinations give four distinct visual signals.
Lollipop chart with gradient intensity — Thin histogram stems with circle tips. Stronger ratios produce brighter, more saturated colors. Extreme ratios visually pop while moderate ones fade.
Completed bars only — All calculations compare the two most recently completed bars ( vs ). The current forming bar is excluded, so the display never flickers.
How to Read It
Bar height (ratio):
At 1 (white center line) — Equal change. Price and volume moved proportionally.
Above 1 — One side moved disproportionately more than the other. A reading of 3 means 3x more.
Above threshold (orange dashed) — Extreme disproportion. Default threshold is 3x.
Bar color (which side is dominant):
Green — Price dominant. Price changed proportionally more than volume.
Red — Volume dominant. Volume changed proportionally more than price.
Bar brightness (direction agreement):
Bright green — Price dominant + confirmed (price and volume moved same direction)
Dim green — Price dominant + divergence (price and volume moved opposite directions)
Bright red — Volume dominant + confirmed
Dim red/maroon — Volume dominant + divergence
How to Use
For breakout confirmation: A breakout with bright red bars (volume dominant + confirmed) means heavy volume participation driving the move — strong signal. A breakout with dim green bars (price dominant + divergence) means price is moving without volume support — suspect.
For accumulation/distribution: Tall bright red bars with small price changes indicate large volume activity with minimal price impact — potential institutional positioning.
For reversal warning: A shift from green to red bars (volume taking over from price as the dominant force) during a trend can signal exhaustion or a change in character.
For average context: The yellow MA line shows the average ratio. Bars above the MA indicate above-average disproportion between price and volume.
Details Table
An optional table shows the last completed bar's data:
Price Change % — percentage move in price
Volume Change % — percentage move in volume
Ratio — displayed as "3.2:1" (price dominant) or "1:2.5" (volume dominant)
Dominant — PRICE (green) or VOLUME (red)
Direction — Confirmed (green) or Divergence (red) or Flat (gray)
Important Notes
This indicator is designed for the 1-day (daily) timeframe. It requires volume data and will not produce meaningful results on assets without native volume (e.g., SPX index, some forex pairs). All calculations use completed bars only. Extreme ratios are capped at a configurable maximum (default 10) for chart readability. When either price or volume change is near zero (less than 0.01%), the ratio is displayed as n/a.
Recommended Timeframe: Daily (1D)
Default Parameters
Max Ratio Cap: 10.0
Ratio MA: SMA, Length 14
Threshold Line: 3.0
Details Table: Enabled, Top Right
インジケーター

ATR Normalized Relative StrengthATR Normalized Relative Strength
A relative strength indicator that compares a symbol's performance against a benchmark — but unlike standard RS lines, it normalizes both sides by their respective ATR (Average True Range) before computing the ratio. This adjusts for volatility differences between the symbol and benchmark, producing a cleaner relative strength reading that reflects true outperformance rather than raw price ratio changes driven by volatility mismatches.
What Makes This Original
Standard relative strength (price ratio of symbol to benchmark) has a well-known flaw: a high-volatility stock will appear to have erratic RS against a low-volatility benchmark, even if both are trending in the same direction. The RS line fluctuates with volatility, not just with relative performance.
This indicator solves this by normalizing each side by its own ATR before computing the ratio:
ATR normalization — Each symbol's price is divided by its own ATR (or ATR as a percentage of price), effectively converting both into "volatility-adjusted units." The resulting RS ratio compares performance per unit of volatility — a much fairer comparison between assets of different volatility profiles.
Two normalization modes — "ATR%" divides price by ATR-as-percent-of-price (better for comparing assets at different price levels like AAPL vs BRK.A). "ATR Price" divides price by raw ATR (better for comparing assets within similar price ranges).
Dual display modes — Switch between a standard RS line (with configurable MA and color coding) and a Mansfield Relative Strength view (percentage deviation from a long-term MA, scaled for readability).
How the Components Work Together
The indicator chains three transforms that each serve a specific purpose:
ATR normalization (step 1) removes the volatility component from each asset's price, producing a "volatility-adjusted price" for both the symbol and benchmark
Ratio calculation (step 2) divides the normalized symbol by the normalized benchmark, yielding a relative strength reading that reflects directional outperformance independent of volatility differences
MA overlay or Mansfield transform (step 3) provides trend context — in RS mode, the MA shows whether relative strength is improving or deteriorating; in Mansfield mode, the zero line crossing shows regime changes between outperformance and underperformance
Without step 1, the RS line would conflate volatility changes with relative performance changes. A stock that becomes more volatile would appear to strengthen against its benchmark even if the directional move is identical.
How It Works
RS Mode:
Plots the ATR-normalized relative strength ratio as a line
A configurable MA (SMA or EMA, default 50) provides the trend baseline
When color-by-MA is enabled: green when RS is above the MA (outperforming), red when below (underperforming)
Mansfield Mode:
Takes the ATR-normalized RS and computes: ((RS / SMA(RS, 200)) - 1) x 100
This shows the percentage deviation of current RS from its long-term average
Above zero = outperforming relative to historical norm; below zero = underperforming
Scale factor is configurable (default 100) for readability across different assets
How to Use
For sector rotation: Compare sector ETFs against SPY or QQQ. Stocks with rising ATR-normalized RS are gaining relative strength adjusted for their volatility — a stronger signal than raw RS for identifying true sector leadership.
For stock screening: Stocks with RS above their MA (green) and rising are outperforming the benchmark on a volatility-adjusted basis. This filters out stocks that appear strong only because they are volatile.
For position management: Switch to Mansfield mode to see when a stock's relative strength is at historical extremes. A reading far above zero may indicate the outperformance is extended; near or below zero suggests the edge is fading.
For pair trading: The ATR normalization makes this indicator particularly useful for pairs where the two legs have different volatility profiles. The normalized ratio removes the volatility skew that would otherwise distort the spread.
Important Notes
This indicator does not repaint. All benchmark data is fetched using request.security() with barmerge.lookahead_off and barmerge.gaps_off, referencing only completed bars. The ATR normalization is applied independently to each symbol using their own ATR values — there is no cross-contamination of volatility data between the symbol and benchmark.
Default Parameters
Compare To: NASDAQ:QQQ
ATR Length: 14
Normalization: ATR% (percentage-based)
Display: RS mode
RS MA Type: SMA | RS MA Length: 50 | Color by MA: enabled
Mansfield Length: 200 | Mansfield Scale: 100
インジケーター

Bollinger Bands Squeeze (BB inside KC)Bollinger Bands Squeeze (BB inside KC) — With Momentum Histogram and Squeeze Intensity
A volatility squeeze indicator that detects when Bollinger Bands contract inside Keltner Channels, enhanced with two original features: a momentum histogram showing breakout direction, and a squeeze intensity meter showing how tightly coiled the squeeze is. Together, these answer three questions at a glance: Is there a squeeze? How tight is it? Which direction on release?
What Makes This Original
This indicator goes beyond simple squeeze detection in three ways that existing BB squeeze scripts do not:
Squeeze Intensity (0-100%) — Most squeeze indicators are binary: ON or OFF. This version measures HOW compressed the BB is relative to the KC, expressed as a percentage. A 90% intensity means the BB bands are barely visible inside the KC — maximum coiled energy. A 20% intensity means the bands are just inside — weak compression. This lets traders distinguish between powerful breakout setups and marginal ones. The formula is: (1 - bbWidth / kcWidth) x 100.
KC-Normalized Momentum Histogram — Rather than using linear regression (the standard TTM approach), this momentum is calculated as the displacement of close from the Keltner Channel midline, normalized by ATR and smoothed with a configurable EMA. This ties the momentum reading directly to the same channel that defines the squeeze, creating a self-consistent system. The four-color scheme shows both direction and acceleration at a glance.
Full BB/KC Independence — Each component (BB and KC) has its own configurable MA type (SMA or EMA), source, and lookback period. The ATR period for KC range is decoupled from the KC basis length. This allows fine-tuning squeeze sensitivity for different assets and timeframes.
How the Components Work Together
The three layers provide a complete volatility breakout framework:
Squeeze dots (red/blue) tell you WHEN volatility is compressed — the setup phase
Squeeze intensity (yellow area) tells you HOW MUCH energy is stored — higher intensity means stronger potential breakout
Momentum histogram (green/red bars) tells you WHICH DIRECTION the breakout is developing — so you can position before the move completes
The key signal is: high squeeze intensity (tight compression) combined with momentum bars changing color (direction shift). This convergence marks the transition from compression to expansion — the moment when the coiled energy releases.
How It Works
Squeeze Detection:
Squeeze ON (red dot): BB upper band <= KC upper band AND BB lower band >= KC lower band
Squeeze OFF (blue dot): BB bands have expanded beyond KC bands
Squeeze Intensity:
Measures the ratio of BB width to KC width during a squeeze
100% = BB bands are fully collapsed inside KC (maximum compression)
0% = BB bands are at the same width as KC (boundary — squeeze about to release)
Only displayed during active squeeze (red dots)
Momentum Histogram:
Raw value: (close - KC midline) / ATR — measures price displacement from the channel center, normalized by volatility
Smoothed with a configurable EMA (default: 5) to reduce noise
Four-color scheme:
Bright green: positive and increasing (bullish acceleration)
Dark green: positive and decreasing (bullish deceleration)
Bright red: negative and decreasing (bearish acceleration)
Dark red: negative and increasing (bearish deceleration)
How to Use
Breakout setup: Look for red dots (squeeze ON) with rising squeeze intensity (yellow area growing). This is the compression phase — volatility is coiling.
Direction bias: While in the squeeze, watch the momentum histogram. Green bars suggest the breakout will be to the upside. Red bars suggest downside. The transition from dark to bright color confirms acceleration in that direction.
Entry timing: The shift from red dot to blue dot (squeeze release) combined with bright momentum bars is the signal. Enter in the direction of the momentum with the squeeze release as confirmation.
Timeframe tuning: On lower timeframes (1-15m), consider switching both BB and KC basis to EMA and reducing the momentum smoothing length for faster response. On daily charts, the default SMA/EMA configuration works well.
Default Parameters
BB: Source=Close, Lookback=20, StdDev=2.0, Basis=SMA
KC: Source=Close, Lookback=20, ATR Period=15, ATR Mult=1.5, Basis=EMA
Momentum Smoothing: 5
All visual elements enabled by default
Alerts
Squeeze Started — BB bands just contracted inside KC (new squeeze begins)
Squeeze Released — BB bands just expanded beyond KC (breakout in progress)
Squeeze ON — currently in squeeze
Squeeze OFF — currently not in squeeze
Visual Output
Red background tint: entire pane background highlights during active squeeze — impossible to miss even with a busy histogram (configurable color and toggle)
Colored histogram bars: momentum direction and acceleration
Yellow shaded area: squeeze intensity (visible only during active squeeze)
Colored dots on zero line: red = squeeze ON, blue = squeeze OFF
インジケーター

Price Volatility GaugePrice Volatility Gauge
A price-derived volatility indicator that measures realized price range behavior and presents it in four distinct modes. Unlike implied volatility indicators that require options data, PriceVol works on any asset by analyzing price action alone — making it universally applicable to stocks, indices, forex, crypto, and commodities.
What Makes This Original
This indicator introduces a novel approach to measuring volatility:
Standard deviation-adjusted price range — The core PriceVol calculation measures the distance between the highest adjusted price and the lowest adjusted price over a configurable lookback, where the adjustment uses standard deviation multiples (1x, 2x, 3x) applied to both the source and the low series.
Asymmetric skew measurement — The Volatility Skew Index mode computes the difference between upside and downside volatility by averaging the 1x, 2x, and 3x standard deviation adjustments separately for each direction. A positive skew indicates greater upside volatility; a negative skew indicates greater downside volatility.
Four display modes in one tool — A single indicator that can show raw volatility, ranked volatility, percentile volatility, or directional skew, eliminating the need for multiple separate indicators.
How It Works
PriceVol Raw:
Calculates the percentage range between the highest source price and the current low over the lookback period. This gives a raw measure of realized price range as a percentage.
PriceVol Rank:
Normalizes the raw PriceVol value against its own historical range over a longer lookback (default 252 bars). A reading of 80 means current volatility is in the upper 80th percentile of its historical range. Similar concept to IV Rank but derived entirely from price.
PriceVol Percentile:
Uses ta.percentrank() to calculate what percentage of historical readings fall below the current value. Provides a statistical percentile measure of current volatility relative to history.
Volatility Skew Index:
Computes the difference between upside-adjusted and downside-adjusted PriceVol values across three standard deviation multiples. Positive values indicate upside volatility dominance; negative values indicate downside dominance.
Color Coding
For Rank and Percentile modes:
Orange — Above 50 (inside high volatility regime). Markets are volatile; premiums are elevated.
Aqua — Below 50 (outside high volatility regime). Markets are calmer; premiums are lower.
Colors are configurable in settings.
Usage
For options traders: Use PriceVol Rank or Percentile as a proxy for implied volatility regime. Sell premium when the gauge is orange (high volatility), buy premium when aqua (low volatility).
For directional traders: The Volatility Skew Index reveals whether recent price action has been more volatile to the upside or downside, which can inform directional bias.
For risk management: PriceVol Raw provides a simple measure of recent price range that can be used to size positions or set stops relative to current market conditions.
Important Notes
This indicator measures realized price volatility using standard deviation adjustments. It is not implied volatility from the options market. The terms "Rank" and "Percentile" refer to the statistical ranking of the price-derived volatility measure against its own history — not options IV Rank or IV Percentile. This distinction is important for traders who use both price and options data.
Default Parameters
Source: Close
Display Mode: PriceVol Rank
PriceVol Length: 22
Rank/Percentile Length: 252
Inside High Volatility Color: Orange (above 50)
Outside High Volatility Color: Aqua (below 50)
Recommended Lookback Lengths
9 — Short-term (roughly 2 weeks)
22 — Medium-term (roughly 1 month, default)
66 — Quarterly
132 — Semi-annual
252 — Annual
インジケーター

インジケーター

インジケーター

Momentum Fusion Index: Dual-MTF RSI & MACD Momentum Fusion Index: Dual-MTF RSI & MACD
The Momentum Fusion Index (MFI) is a high-performance hybrid engine that merges the precision of RSI with the trend-following power of MACD into a unified, noise-filtered oscillator. This version introduces Dual-MTF (Multi-Timeframe) Logic, allowing traders to bridge the gap between short-term execution and long-term trend direction within a single indicator panel.
🚀 Key Features
* Dual-MTF Engine: Analyze two timeframes simultaneously. Stay on your execution chart (e.g., 5m or 15m) while monitoring the high-level momentum (e.g., 1H or 4H) on a secondary, non-intrusive line.
* Symmetrical Fusion Logic: Standard RSI (0–100) and MACD (unbounded) are mathematically transformed into a balanced -100 to +100 scale, providing a standardized environment for momentum analysis.
* Dynamic Normalization: The script utilizes a 200-bar Normalization Range to anchor the MACD within fixed boundaries, making it easy to identify historical extremes and exhaustion points.
* Directional Adaptive Coloring: The primary signal line changes color based on its trajectory. Bright Green signals accelerating bullish momentum, while Vibrant Red signals a momentum slowdown or bearish shift.
🧠 Mathematical Logic
The MFI operates by calculating the relative position of the MACD within its recent range and merging it with a centered RSI. This ensures that the oscillator doesn't just show if a trend is "up," but how much "power" is behind that move relative to both price history and oscillator strength. By fusing these two, it offsets the lagging nature of MACD with the leading characteristics of RSI.
🛠️ How to Use
1. Confluence Trading: Enable the Secondary Timeframe in settings. When both the Primary (thick) and Secondary (thin) lines align in the same direction above or below the Zero Line, you have a high-probability momentum setup.
2. The Zero-Line Pivot: Crosses above the Zero Balance Line mark bullish transitions, while crosses below mark bearish momentum shifts.
3. The Power Zones (±50): Momentum is considered "High Conviction" when the line sustains itself above +50 (Strong Bull) or below -50 (Strong Bear).
4. Momentum Exhaustion: When the Fusion line hits the ±100 Extremes, watch for price exhaustion and potential mean-reversion.
⚙️ Settings
* Primary Timeframe: Set the main calculation TF. Leave empty to auto-lock to your current chart.
* Secondary Timeframe (MTF 2): Toggle this on to overlay a second time-period (e.g., Daily) for macro trend confirmation.
* Fusion Core: Customize RSI periods and MACD EMA lengths to suit your specific asset.
* Smoothing: Adjust the Fusion Smoothing to filter out noise or increase responsiveness.
📌 Credits & Origins
This work is a synthesis of the foundational mathematics pioneered by J. Welles Wilder (RSI) and Gerald Appel (MACD). It is designed for traders who require a mathematically grounded, unified view of market strength.
Disclaimer: All indicators are probabilistic. The Momentum Fusion Index is a decision-support tool and does not guarantee profits. Always use stop-losses and follow your risk management plan. インジケーター
