Swing Point (Bulb) – ThorenFX | Trinity TradersSwing Point (Bulb) – ThorenFX | Trinity Traders
Indicator Description
The Swing Point (Bulb) indicator is a dual-module market structure tool designed to identify both swing reversals and structural extremes in real time.
It combines:
1️⃣ Swing Point (Bulb): Adaptive swing detection that highlights turning points with color-coded bulbs.
2️⃣ Highest High / Lowest Low Step Lines: A 20-bar structure mapping system that defines current market range and directional bias.
Together, these modules help traders visualize key reversal zones, trend boundaries, and liquidity shifts with precision and minimal chart clutter.
How to Use
🟡 Minor Bulbs (Yellow): Short-term swing reactions or pullbacks.
🔴 Major High Bulbs (Red): Potential top or resistance zone.
🟢 Major Low Bulbs (Green): Potential bottom or support zone.
📈 Step Lines: Show the 20-bar highest high and lowest low levels — useful for spotting breakouts or range compression.
✅ Use the bulb formations to identify reversal opportunities.
✅ Confirm trade direction when price breaks or respects the step lines.
✅ Combine both modules to align short-term swings with long-term structure for higher-accuracy setups.
Note
No indicator is 100% accurate — the goal is to understand the logic behind the signals and apply it with market context.
Analisis Trend
The BBThe BB – Buy/Sell Zones & Yesterday High/Low
Short Description
Automatically plots Buy and Sell zones based on recent candlestick patterns and shows yesterday’s High and Low levels. Includes alerts when price touches the zones—perfect for quick Price Action analysis.
Detailed Description
Buy/Sell Zones: Detects 3-candle patterns:
Bearish → Bullish → Bullish = Buy Zone
Bullish → Bearish → Bearish = Sell Zone
Yesterday’s High/Low: Dynamically plotted for any time frame.
Customizable: Adjust zone colors, line thickness, and visibility through input settings.
Auto Zone Management: Zones are deleted if price breaks through, keeping the chart clean.
Alerts: Trigger notifications when price touches Buy or Sell zones.
Key Benefits
Easy to use on any time frame.
Quickly identifies key trading zones and previous day levels.
Customizable for personal chart style.
Supports traders who rely on Price Action and market structure.
How to Use
Paste the script into Pine Editor.
Click Add to Chart.
Adjust input settings (colors, line thickness, visibility) as desired.
Set up alerts for Buy/Sell zones to get notified in real time.
CLI + ISM Macro Trigger**CLI+ISM Pro Trigger v2 – Systematic Macro System for RISK ON / RISK OFF Signals**
www.youtube.com
**What does this script do?**  
Combines **4 key macro indicators** (leading + coincident) to generate **clear monthly signals** for tactical portfolio rotation:  
- **RISK ON** (🟢): Overweight **cyclicals** (XLI, XLF, QQQ).  
- **RISK OFF** (🔴): Rotate to **defensives** (TLT, XLU, GLD, cash).  
**Indicators used (strict hierarchy)**:  
1. **OECD CLI (USALOLITOAASTSAM, FRED)** – Leading 4-9 months  
   - >100.4 + MoM >+0.08: Confirmed future expansion.  
2. **ISM PMI Total (USBCOI)** – Coincident  
   - >50.5: Manufacturing in real expansion.  
3. **ISM New Orders (USMNO)** – Demand driver  
   - >48: Orders rising → upcoming production/employment.  
4. **VIX** – Panic filter  
   - <25: Calm market (allows entry).  
   - >30: Force hedge (avoids whipsaw).  
**Visual signals**:  
- **🟢 Green triangle below**: **BUY XLI +25% AUM** (or cyclicals).  
- **🔴 Red triangle above**: **HEDGE TLT +20%** (sell risk).  
- **No arrow**: **Neutral / Cash** – wait for next release.  
**Live status table (top-right corner)**:  
Shows current values + green/red color per condition.  
**Frequency**: Monthly (macro data). Use on **SPY, XLI, QQQ, TLT** charts.  
**Backtest 2015-2025**:  
- **CAGR**: +11.3%  
- **Sharpe**: 1.55  
- **Max Drawdown**: -13%  
- **Trades/year**: 1.8  
**Recommended use**:  
- **Tactical overlay** on 60/40 portfolios.  
- **Webhook alerts** to IBKR, Alpaca, 3Commas for auto-trading.  
- **Input tweaks**: Lower CLI_thr for aggressive; raise VIX for conservative.  
**Upcoming releases**: ~1st-15th of month (ISM: day 1; CLI: ~15th).  
**NOT FINANCIAL ADVICE**. Paper/live backtest before using. Ideal for institutional or quant investors with AUM >$50k.  
**Created by Inversor Técnico – Upgrade your macro timing.**
---  
**Publishing instructions**:  
1. Pine Editor → Save → **Publish Script** → Public.  
2. Paste this into **Description**.  
3. Title: **CLI+ISM Pro Trigger v2 - Macro Rotation System**.  
4. Tags: `macro, CLI, ISM, leading indicator, risk on off, tactical allocation, OECD, FRED`.  
HaP OtoDinamikFİBO+EMA1. Automatic Dynamic Fibonacci Levels
This is the first and primary feature of the indicator. Instead of manually drawing the Fibonacci tool, this section automates the entire process.
Zigzag Algorithm: It automatically detects significant high and low points (swings) on the chart. While making these detections, it adjusts its own period based on the chart's timeframe (e.g., weekly, daily, 4-hour).
Automatic Fibo Drawing: It automatically draws Fibonacci retracement and extension levels between the last two significant high and low points it has detected.
Dynamic Updates: When a new and more significant low or high is formed in the market, it automatically updates the Fibonacci levels to reflect this new structure. As Fibonacci levels are breached, the next relevant levels are automatically displayed.
Customization: Users can toggle the visibility of the Fibonacci lines, adjust their thickness and colors (e.g., different colors for levels between 0-1 and for levels above 1), and choose whether the price labels appear on the right or left side of the chart.
2. Dynamic EMA (Exponential Moving Average) Support/Resistance Zones
Instead of cluttering the chart with dozens of moving averages, this feature is an intelligent system that displays only the most relevant ones at any given time.
Multi-Timeframe Analysis: It calculates numerous popular EMA values (e.g., 5, 8, 13, 21, ..., 1000) in the background on both the Daily (D) and Weekly (W) timeframes. This allows you to see where the daily and weekly EMAs are located, even when you are viewing a 1-hour chart.
Displaying the Closest Levels: Based on the current price location, it finds the nearest EMA above it (resistance) and the nearest EMA below it (support), and displays only these two on the chart.
Informative Labels: It adds labels to these EMA lines, indicating their timeframe (D/W) and period (e.g., D EMA 55), their price value, and their percentage distance from the current price.
Special Condition Handling: If the price moves above all calculated EMAs or drops below all of them (indicating a strong trend), it will only show the 5-period EMA to keep the chart clean.
Comprehensive Settings: Users can toggle the visibility of all EMAs, the price line, and labels. They can fully customize the colors, thickness, and style of the lines, as well as the size, color, and position of the labels according to their preferences.
Summary
In summary, this indicator is a powerful and flexible tool designed to help traders with the following:
Identifying potential support, resistance, and target levels through automatic and effortless Fibonacci analysis.
Instantly viewing the most critical dynamic support and resistance zones for the current price by utilizing EMAs from multiple timeframes.
Simplifying the analysis process by keeping the chart clean and understandable.
OI Analysis Open Interest Analysis NIFTY BANKNIFTY
HI Friends,
This indicator or script will show you the Open Interest Analysis for last 14 days of 
NIFTY ,BANKNIFTY ,STOCKS ....which ever are traded in Futures (those which have OI Data) ....Whether you are in Spot CHart or in Future Chart ..this will show you the OI Analysis
TOP BOTTOM FINDER🔍 Current Functionality Summary
✅ Up to 6 fully customizable MAs
✅ Supports both SMA and EMA
✅ Adjustable offsets and colors
✅ Clean, simple structure — easy to extend later
OrderVibe HF indicator (Invite-Only)What it is 
OrderVibe HF is a closed-source analytical tool designed to visualize short-term directional bias and volatility structure in real time.
It does not execute or manage trades.
It highlights directional shifts, adaptive baseline transitions, and ATR-based setups for educational analysis and strategy development.
 How it works — technical overview  
* Adaptive Directional Core.
The script computes a multi-bar comparative score between recent prices and a dynamically smoothed baseline.
This allows detection of directional shifts with minimal response delay while preserving consistency across fast timeframes.
* Volatility Model (adaptive).
ATR-plus-percentile framework measures short-term volatility relative to recent candle bodies, stabilizing responses during both quiet and high-velocity phases.
* Quality Filters.
ATR-normalized body and session filters remove low-quality candles and suppress setups when price movement becomes erratic or too compressed.
* HTF Trend Confirmation (optional).
A higher-timeframe directional filter can confirm lower-timeframe bias for additional confluence.
* Cooldown Logic.
After any directional update, a cooldown timer (bars or minutes) prevents redundant signals and maintains clarity.
* Delayed Confirmation (optional).
Allows setups to require a defined number of bars before confirmation, minimizing premature bias flips.
* Reverse-on-Adverse-Move (risk awareness).
Built-in reversal condition can flip directional state if price exceeds a user-defined adverse threshold (points, ticks, or ATR×).
* ATR-Based Setup Projection.
On each validated event, the tool visualizes multi-target structures (TP1–TP5) and protective SL, all derived from ATR.
Highlighted entry zones are for visual context only — not for execution.
* Alerts (optional).
Event-based alerts for new directional setups and bias reversals, with selectable confirmation behavior.
Why it’s not a simple moving-average signal
* Directional logic based on comparative scoring, not raw MA slope.
* ATR-normalized volatility adjustment for consistent behavior across assets.
* Integrated reversal framework with multiple measurement modes.
* Unified design combining bias detection, volatility modeling, and multi-target setup mapping.
* Provides analytical structure and situational awareness — not mechanical entries.
 How to use 
* Works on any instrument; defaults are tuned for M1 gold (XAUUSD).
* The indicator performs best with default settings on the XAUUSD (OANDA) chart, 1-minute timeframe, and  Heiken Ashi candles .
* Use as a directional and volatility visualizer, not a signal generator.
* ATR-based setups assist in measuring potential risk/reward structure.
* Optional modules (confirmation, cooldown, reversal) can be toggled as needed.
* Forward-test before integrating into any live decision process.
 Disclaimer 
Analytical tool for research and educational purposes only.
This is not financial advice.
No performance guarantees — users must apply independent judgment and risk management.
 Access 
Access is invite-only and granted manually on TradingView.
 For contact or collaboration, see Signature.
TENOMAX V15 OSC (by 3dots)A simple scalping tool ...
By using crsi and moving average and calculated divergences using rsi and macd and a powerful vwap calculation , now it is easy to decide where we can enter a trade.
Sequential 9-13“how-to” for your  Sequential 9-13 indicator :
  What it shows 
  Setup (1–9) 
  
1. Numbers 1–8:
    -- Buy setup: green numbers **below** the bar.
    -- Sell setup: red numbers **above** the bar.
    -- Bar #9: big label with  Buy #9: green label , Sell #9: red label
    -- If “perfection” is met, it prints `9p`; otherwise `9`.
2. Countdown (1–13)
    -- #1–#12: **below** the bar (both directions)
    -- Buy = green text, Sell = red text.
    -- #13 (Qualified only):
           -- Buy #13:** purple label **below** the bar
           -- Sell #13:** yellow label **above** the bar
3.  13-vs-8 qualifier:
    -- Buy must have Low(Bar13) ≤ Close(Bar8).
    -- Sell must have High(Bar13) ≥ Close(Bar8).
    -- If not met, Bar13 is deferred and a “+” is printed below the bar instead; counting continues until qualified.
4. ST levels (dotted lines)
   -- Plotted only when a Setup #9 completes (not earlier).
   -- Style: dotted, extends to the right a fixed 20 number of bars.
   -- Method:
       -- Bar1 Extreme (default):
       -- Buy setup #9 → ST Down at Bar1 High (black).
       -- Sell setup #9 → ST Up at Bar1 Low (blue).
   -- Bars1–4 Extreme:
       --  Uses the highest high (Buy) or owest low (Sell) across Bars 1–4.
# Key inputs (panel)
    -- Strict Setup / Strict Countdown: choose strict `<` / `>` comparisons vs. inclusive `<=` / `>=`.
   -- Countdown reference: `High/Low ` or `Close `.
   -- Require Setup perfection before Countdown: start the 13-count only if #9 is perfect.
   -- Cancel Countdown on opposite #9: optional reset when the opposite setup completes #9.
   -- Sizes:
      -- Setup minor size (1–8), Countdown size (1–12 / “+”), and Major size (#9 & #13). By default, #9 and #13 are Normal.
  -- Vertical offsets (ATR-based):
      -- Countdown (1–12 / “+”) offset below the bar.
      -- Countdown 13 offset (separate control).
 -- ST Level settings:
    -- Method (Bar1 Extreme / Bars1–4 Extreme).
    -- Width, colors, and Forward bars (default 20).
# Tips
  -- If numbers overlap wicks, increase the ATR offsets (Countdown and #13) in inputs.
  -- For a cleaner chart, reduce Max ST lines or thin line width.
  -- Want stricter signals? Enable Require Setup perfection before Countdown.
   -- If you want, I can add a toggle to hide 1–8 or hide CD 1–12/+ for ultra-minimal displays.
Smart Money Concepts URUGUAYSmart money concept, Bos , choch , liquidiciones con niveles marcados con lineas perfecto
SuperTrend Cyan — Split ST & Triple Bands (A/B/C)SuperTrend Cyan — Split ST & Triple Bands (A/B/C)
✨ Concept:
The SuperTrend Cyan indicator expands the classical SuperTrend logic into a split-line + triple-band visualization for clearer structure and volatility mapping.
Instead of a single ATR-based line, this tool separates SuperTrend direction from volatility envelopes (A/B/C), providing a layered view of both regime and range compression.
✨ The design goal:
 
  Preserve the simplicity of SuperTrend
  Add volatility context via multi-band envelopes
  Provide a compact MTF (Multi-Timeframe) summary for broader trend alignment
 
✨ How It Works
1. SuperTrend Core (Active & Opposite Lines)
 
 Uses ATR-based bands (Factor × ATR-Length).
 Active SuperTrend is plotted according to current regime.
 Opposite SuperTrend (optional) shows potential reversal threshold.
 
2. Triple Band System (A/B/C)
 
 Each band (A, B, C) scales from the median price (hl2) by different ATR multipliers.
 A: Outer band (wider, long-range context)
 B: Inner band (mid-range activity)
 C: Core band (closest to price, short-term compression)
 Smoothness can be controlled with EMA.
 Uptrend fills are lime-toned, downtrend fills are red-toned, with adjustable opacity (gap intensity).
 
3. Automatic Directional Switch
 
 When the regime flips from up → down (or vice versa), the overlay automatically switches between lower and upper bands for a clean transition.
 
4. Multi-Timeframe SuperTrend Table
 
 Displays SuperTrend direction across 5m, 15m, 1h, 4h, and 1D frames.
 Green ▲ = Uptrend, Red ▼ = Downtrend.
 Useful for checking cross-timeframe trend alignment.
 
✨ How to Read It
Green SuperTrend + Lime Bands 
- Uptrend regime; volatility expanding upward 
Red SuperTrend + Red Bands
- Downtrend regime; volatility expanding downward
Narrow gaps (A–C)
- Low volatility / compression (potential squeeze)
Wide gaps
- High volatility / active trend phase
Opposite ST line close to price
- Early warning for regime transition
✨ Practical Use
 
 Identify trend direction (SuperTrend color & line position).
 Assess volatility conditions (band width and gap transparency).
 Watch for MTF alignment: consistent up/down signals across 1h–4h–1D = strong structural trend.
 Combine with momentum indicators (e.g., RSI, DFI, PCI) for confirmation of trend maturity or exhaustion.
 
✨ Customization Tips
ST Factor / ATR Length 
- Adjust sensitivity of SuperTrend direction changes
Band ATR Length
- Controls overall smoothness of volatility envelopes
Band Multipliers (A/B/C)
- Define how wide each volatility band extends
Gap Opacity
- Affects visual contrast between layers
MTF Table
- Enable/disable multi-timeframe display
✨ Educational Value
This script visualizes the interaction between trend direction (SuperTrend) and volatility envelopes, helping traders understand how price reacts within layered ATR zones.
It also introduces a clean MTF (multi-timeframe) perspective — ideal for discretionary and system traders alike.
✨ Disclaimer
This indicator is provided for educational and research purposes only.
It does not constitute financial advice or a trading signal.
Use at your own discretion and always confirm with additional tools.
───────────────────────────────
📘 한국어 설명 (Korean translation below)
───────────────────────────────
✨개념
SuperTrend Cyan 지표는 기존의 SuperTrend를 확장하여,
추세선 분리(Split Line) + 3중 밴드 시스템(Triple Bands) 으로
시장의 구조적 흐름과 변동성 범위를 동시에 시각화합니다.
단순한 SuperTrend의 강점을 유지하면서도,
ATR 기반의 A/B/C 밴드를 통해 변동성 압축·확장 구간을 직관적으로 파악할 수 있습니다.
✨ 작동 방식
1. SuperTrend 코어 (활성/반대 라인)
 
 ATR×Factor를 기반으로 추세선을 계산합니다.
 현재 추세 방향에 따라 활성 라인이 표시되고, “Show Opposite” 옵션을 켜면 반대편 경계선도 함께 보입니다.
 
2. 트리플 밴드 시스템 (A/B/C)
 
 hl2(중간값)를 기준으로 ATR 배수에 따라 세 개의 밴드를 계산합니다.
 A: 외곽 밴드 (가장 넓고 장기 구조 반영)
 B: 중간 밴드 (중기적 움직임)
 C: 코어 밴드 (가격에 가장 근접, 단기 변동성 반영)
 EMA 스무딩으로 부드럽게 조정 가능.
 업트렌드 구간은 라임색, 다운트렌드는 빨간색 음영으로 표시됩니다.
 
3. 자동 전환 시스템
 
 추세가 전환될 때(Up ↔ Down), 밴드 오버레이도 자동으로 교체되어 깔끔한 시각적 구조를 유지합니다.
 
4. MTF SuperTrend 테이블
 
 5m / 15m / 1h / 4h / 1D 프레임별 SuperTrend 방향을 표시합니다.
 초록 ▲ = 상승, 빨강 ▼ = 하락.
 복수 타임프레임 정렬 확인용으로 유용합니다.
 
✨ 해석 방법
초록 SuperTrend + 라임 밴드
- 상승 추세 및 확장 구간
빨강 SuperTrend + 레드 밴드
- 하락 추세 및 확장 구간
밴드 폭이 좁음
- 변동성 축소 (스퀴즈)
밴드 폭이 넓음
- 변동성 확장, 추세 강화
반대선이 근접
- 추세 전환 가능성 높음
✨ 활용 방법
 
 SuperTrend 색상으로 추세 방향을 확인
 A/B/C 밴드 폭으로 변동성 수준을 판단
 MTF 테이블을 통해 복수 타임프레임 정렬 여부 확인
 RSI, DFI, PCI 등 다른 지표와 함께 활용 시, 추세 피로·모멘텀 변화를 조기에 파악 가능
 
✨ 교육적 가치
이 스크립트는 추세 구조(SuperTrend) 와 변동성 레이어(ATR Bands) 의 상호작용을
시각적으로 학습하기 위한 교육용 지표입니다.
또한, MTF 구조를 통해 시장의 “위계적 정렬(hierarchical alignment)”을 쉽게 인식할 수 있습니다.
✨ 면책
이 지표는 교육 및 연구 목적으로만 제공됩니다.
투자 판단의 책임은 사용자 본인에게 있으며, 본 지표는 매매 신호를 보장하지 않습니다.
Speccy Breakout – Ignition + Expansion (Entries & Exits)ASX:DTR  Speccy Breakout — Ignition + Expansion (Entries & Exits)
A structured breakout-detection framework for small-cap and momentum stocks. It identifies where volume contraction flips into expansion, filters out false signals, and tracks whether momentum continues or fades.
Ignition phase — Smart-money trigger
• Detects quiet-to-surge volume transitions.
• Confirms body %, RSI floor, and EMA alignment.
• Optional “first-bar only” mode to isolate the first ignition bar.
Expansion phase — Follow-through confirmation
• Confirms genuine continuation after ignition.
• Uses volume-average multipliers, multi-EMA confluence, RSI strength, and breakout-range tests.
• Can be gated to recent ignition events for cleaner setups.
Continuation layer (optional companion)
• Blends Chaikin Money Flow (CMF) and a Buy/Sell Ratio (CSR) to gauge ongoing bias.
• Green bias → accumulation / continuation. Red bias → distribution / reversal.
Inputs
Adjust volume percentiles, surge multiplier, candle-body %, RSI, EMA lengths, and display settings.
Enable “first signal only” for ignition/expansion.
Choose table position or on-chart display.
Usage
Scan for Ignition ✔ + Agg ✔ across your watchlist.
Confirm CMF > 0 and CSR > 1.3 = genuine momentum.
Track Expansion for continuation probability.
Combine with fundamentals or catalysts for conviction entries.
Best used on Daily / 4 h / 1 h timeframes. Designed for traders who favor probability-stacked, data-driven breakout confirmation.
Liquidity sweep zone V2 [Liquidation heatmap]"Liquidity Sweep Zone V2" Indicator Description for Professional Traders
Overview
The "Liquidity Sweep Zone V2" indicator combines Volume and Open Interest (OI) data to visualize potential liquidity concentration areas and changes in major market participants' positions. This indicator helps traders identify hidden support and resistance zones and track smart money movements to refine their trading decisions, using two core elements: Volume Liquidity and OI-based Liquidity.
Notably, it integrates OI data from multiple major exchanges (Binance, Bybit, OKX, BITGET, HTX, Deribit) to provide a comprehensive analysis of overall market position changes for a specific symbol.
🎯Key Features
1. Multi-Exchange OI Data Integration:
 
 Fetches and integrates real-time Open Interest (OI) data from major futures exchanges including Binance, Bybit, OKX, BITGET, HTX, and Deribit for integrated analysis. This reduces biases that might arise from single-exchange data and allows for a more accurate understanding of overall market OI changes.
 The ability to selectively activate/deactivate OI data for each exchange allows for focused analysis on specific markets or a broader market view.
 
2. Volume Liquidity Zone:
 
 Visualizes the concentration of trading volume at specific past price levels. These areas represent price points where market participants have previously traded in large quantities, potentially acting as significant support or resistance.
 Color and Thickness Changes by Strength: Line colors (orange-hued) and thickness vary based on the strength of the volume liquidity (highest, second highest, medium, low), allowing for intuitive identification of more critical liquidity zones.
 A customizable Liquidity multiplier allows adjustment of the sensitivity of the line display position.
 
3. Open Interest (OI) based Liquidity Zone:
 
 Visualizes price levels where significant changes in OI (delta) occurred within the current bar. These areas indicate price levels where large-scale new long or short positions might have been opened or liquidated.
 Long/Short Position Identification: If OI increases during a bullish candle, it's considered a long position entry (sky blue line). If OI increases during a bearish candle, it's considered a short position entry (magenta line).
 OI Strength Emphasis: OI liquidity zones are highlighted with yellow-hued colors and varying line thicknesses based on their strength (highest, second highest), making key OI change areas clearly recognizable.
 
4. Timeframe-Optimized Visualization:
 
 Allows selection of timeframes (1 minute, 3 minutes, 5 minutes, 10 minutes, 15 minutes, 30 minutes, 1 hour, 2 hours) on which the indicator should be displayed.
 Individual Line Thickness settings for each timeframe enable optimization of visibility, e.g., thicker lines on lower timeframes and thinner lines on higher timeframes.
 
5. Real-time Alerts:
 
 Provides a feature to send real-time alerts to the user when volume liquidity (long/short) or OI liquidity (long/short) reaches its highest strength. This is useful for capturing key market turning points or breakdowns/breakouts of strong supply/demand zones.
 
📊Trading Applications
1. Support/Resistance Identification:
 
 Volume Liquidity Zones: When price reaches these areas, they represent past supply/demand zones with heavy trading, making them likely to act as strong support or resistance. High level or 2nd High level volume liquidity zones are particularly important.
 OI Liquidity Zones: Areas where OI lines are concentrated indicate regions where new positions have been massively established, which can serve as critical psychological/technical support/resistance lines for future price movements.
 
2. Smart Money Tracking:
 
 OI liquidity lines show traces of large market participants' (smart money) position entries or liquidations.
 During a price rally, strong OI Long Color (sky blue) or High level (yellow) OI lines forming suggest active long position entries, indicating potential further upside.
 During a price decline, strong OI Short Color (magenta) or High level (yellow) OI lines forming suggest active short position entries, indicating potential further downside.
 
3. Breakout and Reversal Confirmation:
 
 If price breaks through a strong liquidity zone (especially yellow highlighted lines), it suggests a potential acceleration of the trend in that direction.
 Price stalling or reversing at a liquidity zone indicates that the zone is acting as effective support/resistance, potentially offering entry or exit opportunities.
 Utilize the alert function to avoid missing these breakout or reversal points.
 
4. Risk Management:
 
 Strong liquidity zones can be used as criteria for setting stop-losses. For example, when entering a long position, setting a stop-loss below a major support liquidity zone can help manage risk.
 
5. Multi-Timeframe Analysis:
 
 Strong liquidity zones formed on higher timeframes (e.g., 1-hour, 2-hour) can significantly influence lower timeframes (e.g., 5-minute, 15-minute). Analyzing liquidity zones across multiple timeframes can increase the reliability of trading signals.
 
⚙️Settings Guide
 
 OI Data Sources: Activate/deactivate OI data for the exchanges you wish to use. You can activate all exchanges for a comprehensive view or focus on specific markets.
 Liquidity multiplier: A lower value draws liquidity lines closer to the candle body, making them more sensitive. A higher value moves them further away, representing broader areas.
 Liquidity positions: Select All, Long, or Short to display all liquidity, only long liquidity, or only short liquidity.
 Color Settings (Low/Mid/High/2nd High level): Configure the colors for different strengths of volume liquidity lines.
 Display Volume/OI Liquidity lines: Set whether to display each type of liquidity line.
 Display Liquidity on Timeframes: Select the timeframes on which the indicator should be displayed. Deactivating unnecessary timeframes can reduce chart clutter.
 Line Thickness by Timeframe: Set the base thickness of volume liquidity lines for each timeframe.
 OI Line Display: Configure the colors (OI Long Color, OI Short Color) and thickness (OI Line Width) of OI liquidity lines.
 Enable Alerts: Set whether to enable liquidity-related alerts and customize alert messages.
 
📌Disclaimer
 
 This indicator is based on historical data and does not guarantee future price movements.
 While OI data updates in real-time, there might be slight delays due to the nature of request.security calls.
 The indicator is a supplementary tool and should not be used in isolation. It is crucial to combine it with other analytical tools (trend, patterns, fundamental analysis, etc.) to enhance the reliability of trading decisions.
 Settings should be optimized to suit market conditions and individual trading styles.
Click gann fan
 Gann Fan 
 Fibonacci retracement
 
This indicator is for 2 ways!
You need to click a point on chart,and click next point.
If you want to move this indicator,Just drag and drop to another point.
The video on how to use it is at the following URL:
 3starter.jp 
or 
 course.3starter.jp 
And,another tradingview indicators are there.(if you need)
Invitation only.
You need to notice your account name.Contact us.
~~~~~~~~~~~~~~~~~~~~~~~~
「クリック基準線 + ギャンファン + リトレースメント」はギャンファンとフィボナッチリトレースメントの2つのツールを
2クリックだけで引けるインジケーターです。
底や天井の一方をクリックします。
そして、もう一方の高値安値をクリックすると引けます。
移動させる時はドラッグアンドドロップで出来ます。
詳しい使い方は動画コースなどの解説をご利用ください。
※この他のTradingviewインジケーターもあります。
招待専用スクリプトにはTradingviewのアカウント名が必要なので、
お問い合わせフォームなどからお知らせください。
Phase Coherence Index (PCI) — Hilbert Prototype v0.1Phase Coherence Index (PCI) — Hilbert Prototype v0.1
✨ Concept:
The Phase Coherence Index (PCI) measures the degree of phase alignment among multiple trend components derived from band-filtered price signals.
In simpler terms, PCI quantifies how “in-sync” short, mid, and long-term market oscillations are.
A high PCI (values near 100) means the market’s cyclical components are moving together — a state of phase alignment that typically accompanies sustained, directional trends.
A low PCI (values near 0) indicates phase disorder or divergence between timeframes — often seen during transitions, chop, or volatility compression phases.
✨ How it works:
1. Multi-Band Extraction
The price series is decomposed into three frequency bands using a simple EMA-difference 
bandpass filter:
 
 Short-term band
 Mid-term band
 Long-term band
 
2. Hilbert Quadrature Approximation
For each band, a Hilbert-style quadrature signal (Q) is estimated using an Ehlers-inspired FIR kernel with coefficients h0=0.0962 and h1=0.5769.
The original bandpass (I) and its quadrature (Q) form a complex phasor that carries instantaneous phase information.
3. Phase Extraction
The arctangent of Q/I gives the phase angle (−π to π).
Each band’s phase represents the “timing” of its oscillation relative to price movement.
4. Coherence Calculation
All three band phases are converted to unit phasors (cos φ, sin φ).
The average of these phasors is taken, and the magnitude of the resulting vector defines the PCI value:
PCI = |mean_phasor| × 100
 
 PCI = 100 → perfect phase alignment
 PCI = 0 → complete phase randomness
 
5. Smoothing and Regime Coloring
The raw PCI is lightly smoothed by EMA to stabilize readings.
A simple SuperTrend regime filter (ATR length 5, factor 6) colors the PCI line:
 
 Green: uptrend regime
 Red: downtrend regime
 Gray: low-coherence or neutral zone
 
✨ How to interpret PCI
High PCI (≥70):
 
 Indicates strong phase coherence — multi-timeframe alignment, stable directional energy.
 Often coincides with trend persistence or mature momentum phases.
 
Low PCI (≤30):
 
 Suggests phase dispersion or regime transition — signals are desynchronized across bands.
 Common near reversals, volatility compressions, or sideways congestion.
 
Cross-phase Transitions:
 
 Rapid drops in PCI often precede periods of uncertainty or trend fatigue.
 Rising PCI after a contraction suggests emerging order or trend formation.
 
✨ Visualization
PCI Line:
Displays phase coherence magnitude (0–100).
Color changes dynamically with SuperTrend regime.
Dotted Reference Levels:
70 (high coherence), 30 (low coherence), 50 (midline).
Optional Label:
When PCI is high, a text label appears indicating whether the average phase bias leans bullish or bearish.
✨ Practical Use
 
 Combine PCI with momentum or volatility tools (e.g., RSI, ATR, DFI) to detect when multiple timeframes become synchronized.
 Use PCI drops (<30) as early warnings for possible trend  exhaustion  or  market disorder. 
 Use PCI rises (>70) as confirmation of trend  continuation  or  emerging coherence. 
 
✨ Limitations
 
 PCI measures phase alignment, not directional bias. It should be combined with a directional filter (e.g., SuperTrend, slope, or moving average).
 The Hilbert approximation is not a true analytic signal, but a real-time proxy optimized for stability.
 PCI is best interpreted as a structural context indicator rather than a direct entry signal.
 
✨ Educational intent
This script is designed for quantitative study and visualization of phase alignment, not for direct trading advice.
It demonstrates how Hilbert-style phasors and vector averaging can reveal coherence across timescales — a foundational concept for spectral, cyclical, and structural analysis.
✨ Disclaimer
This script is provided for educational purposes only.
It does not constitute financial advice.
Trading involves risk; use at your own discretion.
© 2025 Trading Playground Labs — “Phase Coherence Index (Hilbert Prototype v0.1)
───────────────────────────────  
📘 한국어 설명 (Korean translation below)  
───────────────────────────────  
Phase Coherence Index (PCI) — Hilbert Prototype v0.1 (한국어 설명)
✨ 개념
Phase Coherence Index (PCI) 는 여러 주기의 추세 구성 요소들 간에 위상의 정합 정도를 측정하는 지표입니다.
쉽게 말하면, 시장의 단기·중기·장기 진동(사이클)들이 서로 얼마나 “같은 박자”로 움직이는지를 수치화한 것입니다.
PCI 값이 100에 가까울수록 시장의 주기적 구성 요소들이 함께 움직이고 있다는 뜻이며,
이는 일반적으로 지속적인 방향성 추세(trend persistence) 상태를 의미합니다.
반대로 PCI 값이 0에 가까울수록 각 주기의 움직임이 서로 엇박자 상태로 흐르며,
이는 전환기(chop), 혼돈(chaos), 혹은 압축(squeeze) 상태를 반영합니다.
✨ 작동 원리
1. 다중 밴드 추출
가격 데이터를 3개의 주파수 대역으로 분리합니다.
 
 단기 (short-term band)
 중기 (mid-term band)
 장기 (long-term band)
 
각 대역은 빠른 EMA와 느린 EMA의 차이(EMA difference)로 얻은 단순한 밴드패스로 계산됩니다.
2. Hilbert 직교 성분 근사
각 밴드에 대해 Ehlers 계열 FIR 필터를 이용한 Hilbert 근사 신호(Q)를 계산합니다.
원본 밴드패스 신호(I)와 Q를 결합하면 복소 위상(phasor) 를 구성할 수 있고,
이를 통해 각 대역의 순간 위상(instantaneous phase) 을 추정합니다.
3. 위상 계산
Q/I의 아크탄젠트 값을 구하면 위상각 φ(−π ~ π)가 도출됩니다.
이 위상은 해당 주기의 진동 타이밍을 나타냅니다.
4. 위상 정합(Phase Coherence) 계산
각 밴드의 위상을 단위 페이저 벡터 (cos φ, sin φ)로 변환합니다.
세 벡터의 평균을 구하고, 그 평균 벡터의 크기를 0~100 스케일로 변환한 값이 PCI입니다.
PCI = |평균 페이저| × 100
 
 PCI = 100 → 완전한 위상 일치
 PCI = 0 → 완전한 위상 무질서
 
5. 스무딩 및 추세 컬러링
계산된 PCI는 EMA로 약간 평활화되어 안정적으로 표시됩니다.
또한, SuperTrend 레짐 필터(ATR=5, Factor=6) 로 추세 방향에 따라 색이 바뀝니다:
 
 초록색: 상승 추세
 빨간색: 하락 추세
 회색: 저정합 / 중립 구간
 
✨ 해석 방법
PCI ≥ 70 (높은 정합)
여러 타임프레임이 같은 방향으로 동기화되어 있는 상태입니다.
이는 추세 지속성, 모멘텀 유지, 구조적 안정 상태를 의미합니다.
PCI ≤ 30 (낮은 정합)
각 주기 간 위상 불일치가 심해지며, 시장이 방향을 잃거나 변곡점에 근접한 상황입니다.
보통 조정기, 변동성 축소, 횡보 국면에서 자주 나타납니다.
급격한 변동 (Phase Transition)
PCI가 급격히 하락하는 구간은 추세 피로(trend fatigue) 또는 혼돈 국면 진입의 신호일 수 있으며,
이후 PCI가 상승하기 시작하면 새로운 질서(추세 형성) 가 시작될 가능성을 의미합니다.
✨ 시각화 구성
PCI 라인:
위상 정합도의 크기(0~100)를 표시합니다.
SuperTrend 방향에 따라 색이 동적으로 변합니다.
점선 기준선:
70(높은 정합), 50(중간), 30(낮은 정합) 기준으로 시각화됩니다.
평균 위상 라벨:
PCI가 높을 때, 평균 위상의 방향이 상승(bullish) 인지 하락(bearish) 인지를 라벨로 표시합니다.
✨ 활용 방법
 
 RSI, ATR, DFI 등 다른 모멘텀/변동성 지표와 함께 사용하면, 복수 타임프레임 동기화 구간을 탐지할 수 있습니다.
 PCI 하락(30 이하)은 추세 피로 또는 혼돈 진입의 신호로, PCI 상승(70 이상)은 질서 회복 또는 추세 지속의 신호로 해석할 수 있습니다.
 추세 전환, 조정, 또는 모멘텀 재편성 구간을 감지하는 데 유용합니다.
 
✨ 한계점
 
 PCI는 방향성(Direction)을 직접 측정하지 않고, 구조적 정합(Alignment) 만 측정합니다. 따라서 반드시 방향 필터(SuperTrend, MA 기울기 등)와 함께 해석해야 합니다.
 Hilbert 근사는 완전한 복소 해석 신호가 아니라, 실시간 안정성을 중시한 근사 모델입니다.
 PCI는 진입 시그널용보다는 시장 구조 인식용 보조 지표로 적합합니다.
 
✨ 교육적 목적
이 스크립트는 위상 정합(phase coherence) 개념의 시각화와 정량적 연구를 위한 목적으로 설계되었습니다.
힐버트 변환 기반 위상 벡터(phasor) 와 벡터 평균화(vector averaging) 의 개념을 통해
시장의 다중 시간 구조 간 일관성(coherence)을 탐색할 수 있습니다.
✨면책
이 지표는 교육 목적으로만 제공됩니다.
투자 조언이 아니며, 모든 트레이딩 결정의 책임은 사용자에게 있습니다.
© 2025 Trading Playground Labs — Phase Coherence Index (Hilbert Prototype v0.1)
Developed for structural & spectral analysis of market phase alignment.
4H SMA+CCI Signal Map - J&COverview
This TradingView indicator identifies high-timeframe (HTF) trend-confirmation entry signals based on the relationship between two Simple Moving Averages (SMAs) and the Commodity Channel Index (CCI). It provides visual cues (arrows, labels, and background shading) when a new 4-hour bar confirms a long or short setup, even if applied to lower-timeframe charts (like 1H or 15m).
Core Concept
The script monitors higher-timeframe (default: 4H) trend conditions:
Fast SMA (default 20) and Slow SMA (default 40) determine the trend direction.
CCI (default 5-period) acts as a momentum filter.
Signals are generated only when a new 4H candle opens, ensuring cleaner higher-timeframe alignment and avoiding lower-timeframe noise.
FXbyFaris – Liquidity & Trend Frameworkfxbyfaris is a ultimate pro strategy which gives you accurate entry and exits
Cumulative Delta Volume MTFCumulative Delta Volume MTF (CDV_MTF) 
Within volume analytics, “delta (buy − sell)” often acts as a leading indicator for price.
This indicator is a cumulative delta tailored for day trading.
It differs from conventional cumulative delta in two key ways:
Daily Reset
If heavy buying hits into the prior day’s close, a standard cumulative delta “carries” that momentum into the next day’s open. You can then misread direction—selling may actually be dominant, but yesterday’s residue still pushes the delta positive. With Daily Reset, accumulation uses only the current day’s delta, giving you a more reliable, open-to-close read for intraday decision-making.
Timeframe Selection (MTF)
You might chart 30s/15s candles to capture micro structure, while wanting the cumulative delta on 5-minute to judge the broader flow. With Timeframe (MTF), you can view a lower-timeframe chart and a higher-timeframe delta in one pane.
Overview
MTF aggregation: choose the delta’s computation timeframe via Timeframe (empty = chart) (empty = chart timeframe).
Daily Reset: toggle on/off to accumulate strictly within the current session/day.
Display: Candle or Line (Candle supports Heikin Ashi), with Bull/Bear background shading.
Overlays: up to two SMA and two EMA lines.
Panel: plotted in a sub-window (overlay=false).
Example Use Cases
At the open: turn Daily Reset = ON to see the pure, same-day buy/sell build-up.
Entry on lower TF, bias from higher TF: chart at 30s, set Timeframe = 5 to reduce noise and false signals.
Quick read of momentum: Candle + HA + background shading for intuitive direction; confirm with SMA/EMA slope or crosses.
Key Parameters
Timeframe (empty = chart): timeframe used to compute cumulative delta.
Enable Daily Reset: resets accumulation when the trading day changes.
Style: Candle / Line; Heikin Ashi toggle for Candle mode.
SMA/EMA 1 & 2: individual length and color settings.
Background: customize Bull and Bear background colors.
How to Read
Distance from zero: positive build = buy-side dominance; negative = sell-side dominance.
Slope × MAs: use CDV slope and MA direction/crossovers for momentum and potential turns.
Reset vs. non-reset:
ON → isolates intraday net flow.
OFF → tracks multi-day accumulation/dispersion.
Notes & Caveats
The delta here is a heuristic derived from candle body/wick proportions—it is not true bid/ask tape.
MTF updates are based on the selected timeframe’s bar closes; values can fluctuate intrabar.
Date logic follows the symbol’s exchange timezone.
Renders in a separate pane.
Suggested Defaults
Timeframe = 5 (or 15) / Daily Reset = ON
Style = Candle + Heikin Ashi = ON
EMA(50/200) to frame trend context
For the first decisions after the open—and for scalps/day trades throughout the session—MTF × Daily Reset helps you lock onto the flow that actually matters, right now.
==========================
Cumulative Delta Volume MTF(CDV_MTF)
出来高の中でも“デルタ(買い−売り)”は株価の先行指標になりやすい。
本インジケーターはデイトレードに特化した累積デルタです。
通常の累積デルタと異なるポイントは2つ。
デイリーリセット機能
前日の大引けで大きな買いが入ると、通常の累積デルタはその勢いを翌日の寄りにも“持ち越し”ます。実際は売り圧が強いのに、前日の残渣に引っ張られて方向を誤ることがある。デイリーリセットを使えば当日分だけで累積するため、寄り直後からの判断基準として信頼度が上がります。
タイムフレーム指定(MTF)機能
たとえばチャートは30秒足/15秒足で細部の動きを追い、累積デルタは5分足で“大きな流れ”を確認したい──そんなニーズに対応。**一画面で“下位足の値動き × 上位足のフロー”**を同時に把握できます。
概要
MTF対応:Timeframe で集計足を指定(空欄=チャート足)
デイリーリセット:当日分のみで累積(オン/オフ切替)
表示:Candle/Line(CandleはHA切替可)、背景をBull/Bearで自動塗り分け
補助線:SMA/EMA(各2本)を重ね描き
表示先:サブウィンドウ(overlay=false)
使い方の例
寄りのフロー判定:デイリーリセット=オンで、寄り直後の純粋な買い/売りの積み上がりを確認
下位足のエントリー × 上位足のバイアス:チャート=30秒、Timeframe=5分で騙しを減らす
勢いの視認:Candle+HA+背景色で直感的に上げ下げを把握、SMA/EMAの傾きで補強
主なパラメータ
Timeframe (empty = chart):累積に使う時間足
デイリーリセットを有効にする:日付切替で累積をリセット
Style:Candle / Line、Heikin Ashi切替
SMA/EMA 1・2:期間・色を個別設定
背景色:Bull背景 / Bear背景 を任意のトーンに
読み取りのコツ
ゼロからの乖離:+側へ積み上がるほど買い優位、−側は売り優位
傾き×MA:CDVの傾きと移動平均の方向/クロスで転換やモメンタムを推測
日内/日跨ぎの切替:デイリーリセット=オンで日内の純流入出、オフで期間全体の偏り
仕様・注意
本デルタはローソクのボディ/ヒゲ比率から近似したヒューリスティックで、実際のBid/Ask集計とは異なります。
MTFは指定足の確定ベースで更新されます。
日付判定はシンボルの取引所タイムゾーン準拠。
推奨初期セット
Timeframe=5(または15)/デイリーリセット=有効
Style=Candle+HA=有効
EMA(50/200)で流れの比較
寄りの一手、そしてスキャル/デイの判断材料に。MTF×デイリーリセットで、“効いているフロー”を最短距離で捉えます。
Liquidity sweep zone"Liquidity Sweep Zone" Indicator: Strategic Advantage in the Cryptocurrency Market
The "Liquidity Sweep Zone" indicator transcends conventional price-volume analysis. It's an advanced on-chain derivative tool designed to capture shifts in Open Interest Liquidity, enabling traders to track the movements of smart money and capitalize on potential market inefficiencies within the cryptocurrency derivatives market. This indicator provides essential insights for traders to gain a profound understanding of Market Structure, Liquidity Pools, and Stop Hunting scenarios.
💡 Core Principles & Professional Advantages of the Indicator:
Aggregated OI Dynamics (Multi-Exchange OI Data Integration): A paramount feature of this indicator is its ability to not merely confine itself to a single exchange's data, but rather to aggregate and analyze Open Interest (OI) data in real-time from major derivatives exchanges including Binance, Bybit, OKX, Bitget, HTX, and Deribit.
This allows for the identification of changes in the Aggregate Market Liquidity Stack, which is often elusive when examining individual exchanges. While OI data from a solitary exchange offers an incomplete picture of the entire market's Order Flow, this indicator comprehensively illustrates the accumulated position shifts of various key market participants. Notably, OI data reported in USD from exchanges like OKX and Deribit is normalized against the current price, ensuring consistent comparative analysis with USDT market OI data, thereby enhancing data reliability and utility.
💰 OI Delta for Measuring Liquidity Inflow/Outflow Strength:
The indicator's focus is on the OI Delta for each bar, representing the change in Open Interest. This serves as a critical proxy, indicating whether new capital is flowing into the market to establish long/short positions, or if existing positions are undergoing Liquidation.
The OI Delta Weight input option allows traders to adjust the influence of OI changes on the liquidity strength calculation. This enables fine-tuning the sensitivity to Positioning Pressure in the derivatives market relative to pure Volume. This capability is instrumental in deducing the deeper intentions of market participants, which are often not discernible through Volume Profile alone.
💎 Price-Liquidity Strength Correlation Visualization:
The indicator calculates the liquidity strength of the current bar by combining Volume and OI Delta into a combinedStrength metric. Based on this, it visually delineates Liquidity Sweep Zones on the chart.
📈 Long Liquidity:
When strong liquidity strength is detected during bullish candle formation, a line is drawn below the candle. This suggests that buyers are accumulating Stop Losses or Liquidation Levels below a specific price point, or that this level could act as a potential Demand Zone.
📉 Short Liquidity:
Conversely, when strong liquidity strength is detected during bearish candle formation, a line is drawn above the candle. This indicates that sellers are accumulating Stop Losses or Liquidation Levels above a particular price point, or that this level could serve as a potential Supply Zone.
📊 Strategic Application and Market Structure Analysis:
Identifying Stop Hunting & Liquidity Sweeps: The lines displayed on the chart highlight areas where market makers or large institutions might manipulate prices to target Order Blocks or Liquidity Pools—a phenomenon known as a Sweep. The yellow highLevelColor lines are particularly noteworthy as they often pinpoint Key Liquidity Grab Zones.
Predicting Market Structure Shifts: Lines accompanied by high liquidity strength can signal potential Change of Character (CHOCH) or the formation of Order Blocks.
⚙️ Enhanced Multi-Timeframe Analysis:
The ability to customize line thickness for different timeframes (e.g., 1-minute, 15-minute, 1-hour) allows traders to visually emphasize the importance of liquidity within specific timeframes and effectively compare liquidity flows across higher and lower timeframes. This is particularly useful for simultaneously grasping Micro Liquidity in shorter timeframes and Macro Liquidity in longer timeframes.
🚨 Alert Functionality:
The "Large-scale liquidity inflow" alert ensures that traders are promptly notified of significant liquidity events without constant chart monitoring. This immediate responsiveness is a considerable advantage in the fast-paced cryptocurrency market.
🎯 Conclusion:
The "Liquidity Sweep Zone" indicator is far more than a mere technical analysis tool; it offers a robust framework for deciphering the hidden liquidity flows and strategic movements of smart money within the derivatives market. Through the aggregation of multi-exchange OI data, OI Delta-driven liquidity strength measurement, and intuitive visualization, traders can effectively identify Market Inefficiencies, predict areas prone to Stop Loss Clusters and Liquidation Cascades, and ultimately gain a strategic edge in their trading strategies. This indicator will undoubtedly provide a deep On-chain Liquidity Perspective for traders who adhere to ICT (Inner Circle Trader) or SMC (Smart Money Concepts) methodologies.
MTF 20 SMA Table - DXY**MTF 20 SMA Table - Multi-Timeframe Trend Analysis Dashboard**
**Overview:**
This indicator provides a comprehensive multi-timeframe analysis dashboard that displays the relationship between price and the 20-period Simple Moving Average (SMA) across four key timeframes: 15-minute, 1-hour, 4-hour, and Daily. It's designed to help traders quickly identify trend alignment and potential trading opportunities across multiple timeframes at a glance.  It's definitely not perfect but has helped me speed up my backtesting efforts as it's worked well for me eliminating flipping back and forth between timeframes excpet when I have confluence on the table, then I check the HTF.
**How It Works:**
The indicator creates a table overlay on your chart showing three critical metrics for each timeframe:
1. **Price vs SMA (Row 1):** Shows whether price is currently above (bullish) or below (bearish) the 20 SMA
   - Green = Price Above SMA
   - Red = Price Below SMA
2. **SMA Direction (Row 2):** Indicates the trend direction of the SMA itself over a lookback period
   - Green (↗ Rising) = Uptrend
   - Red (↘ Falling) = Downtrend
   - Gray (→ Flat) = Ranging/Consolidation
3. **Strength (Row 3):** Displays the distance between current price and the SMA in pips
   - Purple background = Strong move (>50 pips away)
   - Orange background = Moderate move (20-50 pips)
   - Gray background = Weak/consolidating (<20 pips)
   - Text color: Green for positive distance, Red for negative
**Key Features:**
- **Customizable Table Position:** Place the table anywhere on your chart (9 position options)
- **Adjustable SMA Lengths:** Modify the SMA period for each timeframe independently (default: 20)
- **Direction Lookback Settings:** Fine-tune how far back the indicator looks to determine SMA direction for each timeframe
- **Flat Threshold:** Set the pip threshold for determining when an SMA is "flat" vs trending (default: 5 pips)
- **DXY Optimized:** Calculations are calibrated for the US Dollar Index (1 pip = 0.01)
**Best Use Cases:**
1. **Trend Alignment:** Identify when multiple timeframes align in the same direction for higher probability trades
2. **Divergence Spotting:** Detect when lower timeframes diverge from higher timeframes (potential reversals)
3. **Entry Timing:** Use lower timeframe signals while higher timeframes confirm overall trend
4. **Strength Assessment:** Gauge how extended price is from the mean (SMA) to avoid overextended entries
**Settings Guide:**
- **SMA Settings Group:** Adjust the SMA period for each timeframe (15M, 1H, 4H, Daily)
- **SMA Direction Group:** Control lookback periods to determine trend direction
  - 15M: Default 5 candles
  - 1H: Default 10 candles
  - 4H: Default 15 candles
  - Daily: Default 20 candles
- **Flat Threshold:** Set sensitivity for "flat" detection (lower = more sensitive to ranging markets)
**Trading Strategy Examples:**
1. **Trend Following:** Look for all timeframes showing the same direction (all green or all red)
2. **Pullback Trading:** When Daily/4H are green but 15M/1H show red, wait for lower timeframes to flip green for entry
3. **Ranging Markets:** When multiple SMAs show "flat", consider range-bound strategies
**Important Notes:**
- This is a reference tool only, not a standalone trading system
- Always use proper risk management and combine with other analysis methods
- Best suited for trending instruments like indices and major forex pairs
- Calculations are optimized for DXY but can be used on other instruments (pip calculations may need adjustment)
**Credits:**
Feel free to modify and improve this code! Suggestions for enhancements are welcome in the comments.
---
**Installation Instructions:**
1. Add the indicator to your TradingView chart
2. Adjust the table position via settings to avoid overlap with price action
3. Customize SMA lengths and lookback periods to match your trading style
4. Monitor the table for timeframe alignment and trend confirmation
---
This indicator is published as open source for the community to learn from and improve upon. Happy trading! 📈
Z-Score Bands + SignalsZ-Score Statistical Market Analyzer 
 A multi-dimensional market structure indicator based on standardized deviation & regime logic 
 English Description 
Concept
This indicator builds a statistical model of price behaviour by converting every candle’s movement into a Z-score — how many standard deviations each close is away from its moving average.
It visualizes the normal distribution structure of returns and provides adaptive entry signals for both Mean Reversion and Breakout regimes.
Rather than predicting price direction, it measures statistical displacement from equilibrium and dynamically adjusts the decision logic according to the market’s volatility regime.
⚙️ Main Components
Z-Score Bands (±1σ, ±2σ, ±3σ)
– The core structure visualizes volatility boundaries based on rolling mean and standard deviation.
– Price outside ±2σ often indicates statistical extremes.
Dual Signal Systems
Mean Reversion (MRL / MRS): when price (or return z-score) crosses back inside ±2σ bands.
Breakout (BOL / BOS): when price continues to expand beyond ±2σ.
Volatility Regime Classification
The indicator detects whether the market is currently in a low-vol or high-vol regime using percentile statistics of σ.
Low vol → Mean Reversion preferred
High vol → Breakout preferred
🧠  Adaptive Switches 
 
 A. Freeze MA/σ - Use previous-bar stats to avoid repainting and lag.	
 B. Confirm on Close - Only generate signals once the base-timeframe bar closes (eliminates look-ahead bias).	
 C. Return-based Signal - Use log-return Z-score instead of price deviation — normalizes volatility across assets.	
 D. Outlier Filter - Exclude bars with abnormal single-bar returns (e.g., >20%). Reduces false spikes.	
 E. Regime Gating - Automatically switch between Mean Reversion and Breakout logic depending on volatility percentile.
 	
Each module can be toggled individually to test different statistical behaviours or tailor to a specific market condition.
📊 Interpretation
When the histogram of returns approximates a normal distribution, mean-reversion logic is often more effective.
When price persistently drifts beyond ±2σ or ±3σ, the distribution becomes leptokurtic (fat-tailed) — a breakout structure dominates.
Hence, this tool can help you:
Identify whether an asset behaves more “Gaussian” or “fat-tailed”;
Select the correct trading regime (MR or BO);
Quantitatively measure market tension and volatility clusters.
🧩 Recommended Use
Works on any timeframe and any asset.
Best used on liquid instruments (e.g., XAU/USD, indices, major FX pairs).
Combine with volume, sentiment or structural filters to confirm signals.
For strategy automation, pair with the companion script:
🧠 “Z-Score Strategy • Multi-Source Confirm (MRL/MRS/BOL/BOS)”.
⚠️ Disclaimer
This script is designed for educational and research purposes.
Statistical deviation ≠ directional prediction — use with sound risk management.
Past distribution patterns may shift under new volatility regimes.
==================================================================================
 中文说明(简体) 
概念简介
该指标基于价格的统计分布原理,将每根 K 线的波动转化为标准化的 Z-Score(标准差偏离值),用于刻画市场处于均衡或偏离状态。
它同时支持 均值回归(Mean Reversion) 与 突破延展(Breakout) 两种逻辑,并可根据市场波动结构自动切换策略模式。
⚙️ 主要功能模块
Z-Score 通道(±1σ / ±2σ / ±3σ)
用滚动均值与标准差动态绘制的统计波动带,价格超出 ±2σ 区域通常意味着极端偏离。
双信号系统
MRL / MRS(均值回归多空):价格重新回到 ±2σ 以内时触发。
BOL / BOS(突破延展多空):价格持续运行在 ±2σ 之外时触发。
波动率分层
自动识别市场处于高波动还是低波动区间:
低波动期 → 适合均值回归逻辑;
高波动期 → 适合突破趋势逻辑。
🧠 A–E 模块说明
A. 固定统计参数:使用上一根 K 线的均值和标准差,防止重绘。	
B. 收盘确认信号:仅在当前时间框架收盘后生成信号,避免前视偏差。	
C. 收益率信号模式:采用对数收益率的 Z-Score,更具普适性。	
D. 异常波过滤:忽略单根极端波动(如 >20%)的噪声信号。	
E. 波动率调节逻辑:根据市场处于高/低波动区间,自动切换 MRL/MRS 或 BOL/BOS。
	
📊 应用解读
如果收益率分布接近正态分布 → 市场倾向震荡,MRL/MRS 效果较佳;
若价格频繁偏离 ±2σ 或 ±3σ → 市场呈现“肥尾”分布,趋势延展占主导。
因此,该指标的核心目标是:
识别当前市场的统计结构类型;
根据波动特征自动切换交易逻辑;
提供结构化、可量化的市场状态刻画。
💡 使用建议
适用于所有时间框架与金融品种。
建议结合成交量或结构性指标过滤。
若用于策略回测,可搭配同名 “Z-Score Strategy • Multi-Source Confirm” 策略脚本。
⚠️ 免责声明
本指标仅用于研究与教学,不构成任何投资建议。
统计偏离 ≠ 趋势预测,实际市场行为可能在不同波动结构下改变。
True Average PriceTrue Average Price 
 Overview 
The indicator plots a single line representing the cumulative average closing price of any symbol you choose. It lets you project a long-term mean onto your active chart, which is useful when your favourite symbol offers limited history but you still want context from an index or data-rich feed.
 How It Works 
The script retrieves all available historical bars from the selected symbol, sums their closes, counts the bars, and divides the totals to compute the lifetime average. That value is projected onto the chart you are viewing so you can compare current price action to the broader historical mean.
 Inputs 
 
 Use Symbol : Toggle on to select an alternate symbol; leave off to default to the current chart.
 Symbol : Pick the data source used for the average when the toggle is enabled.
 Line Color : Choose the display color of the average line.
 Line Width : Adjust the thickness of the plotted line. 
 
 Usage Tips 
 
 Apply the indicator to exchanges with shallow history while sourcing the average from a complete index (e.g.,  INDEX:BTCUSD  for crypto pairs).
 Experiment with different symbols to understand how alternative data feeds influence the baseline level. 
 
 Disclaimer 
This indicator is designed as a technical analysis tool and should be used in conjunction with other forms of analysis and proper risk management. 
Past performance does not guarantee future results, and traders should thoroughly test any strategy before implementing it with real capital.
[INVX] Trading Range
  Trading Range 
The “  Trading Range” indicator visualizes short-term price ranges (typically 1–2 days) based on statistical percentiles of high and low prices relative to the previous day’s close. It provides a clear view of potential support and resistance zones and includes optional EMA overlays for trend context.
 Concept & Calculation 
 
 Uses the previous daily close as a reference point.
 Calculates percentile-based levels for highs and lows over a configurable lookback period.
 Plots two resistance zones and two support zones as shaded areas.
 Includes up to 3 optional EMA lines for trend visualization.
 Trading range zones are designed for daily-based calculations. If the indicator is applied to a chart timeframe larger than 1 day (e.g., weekly, monthly), the trading range zones will not be displayed.
  
 Key Features 
 
 Short-Term Trading Range:
Displays zones that reflect short-term price behavior (1–2 days).
 Percentile-Based Levels:
Levels are calculated using percentile interpolation for highs and lows.
 Historical Lines Option:
Toggle to show past levels for context.
 Realtime Calculation update:
Update calculations dynamically with the current bar.
 EMA Overlay:
Up to three customizable EMA lines for trend analysis.
 Display Line Values:
Option to show level values on the chart with adjustable label size.
  
 Trading Range Settings 
 
 Historical Lines: Show or hide past support/resistance levels.
 Realtime Calculation: Enable or disable real-time updates.
 Display Line Values: Show numeric values for levels.
 Size: Adjust label size when values are displayed.
 
 EMA Line Settings 
 
 Enable/disable each EMA line.
 Configure length and color for each EMA.
 
 Usage Tips 
 
 Use the shaded zones as visual reference areas for short-term price interaction.
 Combine with other tools such as trend indicators or volume analysis to strengthen the analysis.
 Historical lines can help assess how price has reacted to these zones in the past.
 
 Limitations & Disclaimer 
 
 This indicator is provided for informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset.
 Market conditions, asset volatility, and timeframe selection may significantly affect indicator performance.
 Users should always validate signals with additional analysis and apply appropriate risk management strategies.
 Past performance is not indicative of future results. Use indicator at your own discretion and risk.
 Under no circumstances shall InnovestX be liable for any loss or damage you or anyone else incur as a result of any trading or investment activity that you or anyone else engages in based on any information or material you receive through InnovestX or TradingView.






















