EDGAR Daily Overview - (EDO ) Progressive Base LineEDGAR Daily Overview (EDO) — Progressive Base Line 🔥
Trade daily with confidence using precise, dynamically calculated levels — no guessing required.
✅ Strict UTC midnight reset for consistent daily baselines
✅ Monday uses only Friday’s data to start fresh
✅ Tuesday averages Friday + Monday
✅ Wednesday averages Monday + Tuesday
✅ Thursday averages Monday + Tuesday + Wednesday (3-day average)
✅ Friday averages Monday through Thursday (4-day average)
✅ Auto-reset every Monday to maintain continuity
✅ Clearly plots daily base, support, and resistance levels
✅ Instantly identify TP/SL zones to plan trades with precision
Jalur dan Saluran
OG FlowMasterOG FlowMaster is a precision tool designed to detect and visualize Imbalance Zones key areas where price moved inefficiently, leaving behind potential rebalancing points.
By tracking these institutional footprints, OG FlowMaster helps traders anticipate liquidity grabs, reversals, and continuation moves with clarity and confidence.
Whether you trade indices, forex, or commodities, it maps out the zones where price may seek balance between demand and supply turning invisible inefficiencies into visible trading opportunities.
🧠 Trade between the OGs. Master the Flow.
Custom Fibonacci Support & Resistance LinesCustom Fibonacci Support & Resistance Lines automatically plots dynamic 0.618-style Fibonacci levels based on recent swing highs and lows.
The script detects the latest confirmed swing high and swing low on the chart and calculates two adaptive lines:
A Fibonacci Support Line below price (retracement from swing high to swing low).
A Fibonacci Resistance Line above price (retracement from swing low to swing high).
Both levels are smoothed using a simple moving average for a cleaner visual appearance — similar to an adaptive support/resistance band that follows recent market structure.
⚙️ Features
🔹 Auto-detects swing highs & lows using left/right bar pivots.
🔹 Adjustable Fibonacci levels for both Support and Resistance.
🔹 Adjustable smoothing length for smoother or more reactive lines.
🔹 Works across any timeframe and instrument.
🔹 Ideal for spotting potential reversal zones, trend continuation areas, and dynamic price support/resistance.
🧮 Default Settings
Fibonacci Level (Support) = 0.618
Fibonacci Level (Resistance) = 0.618
Left/Right Swing Bars = 5 / 5
Smoothing Length = 3
💡 Usage Tips
Combine these dynamic Fibonacci lines with trend indicators (EMA, RSI, or structure breaks) to confirm entries.
Increase Left/Right Swing Bars for stronger structural pivots on higher timeframes.
Change Fibonacci Levels (e.g., 0.382, 0.5, 0.786) to visualize multiple retracement zones.
Trend change[YI_YA_HA_]這是一個趨勢變化和盤整突破偵測指標。
This is a trend change and consolidation breakout detection indicator.
它能自動識別價格進入狹窄盤整區間。
It automatically identifies when price enters a tight consolidation range.
當價格突破箱型上緣,就判定為上升趨勢開始。
When price closes above the box top, it signals the start of an uptrend.
當價格突破箱型下緣,則觸發下跌趨勢警報。
When price closes below the box bottom, it triggers a downtrend alert.
程式會畫出黃色盤整箱體,突破後自動消失。
The script draws a yellow consolidation box that auto-deletes after breakout.
突破向上時,會從低點畫一條綠色趨勢線持續延伸。
On upward breakout, a green trendline is drawn from the low and extends right.
右側標籤即時顯示目前趨勢狀態與價格。
A label on the right shows the current trend status and price in real-time.
Lateral Market DetectorOverview
The Lateral Market Detector is a TradingView indicator designed to identify and highlight range-bound market conditions (sideways movement) where price oscillates between defined support and resistance levels with minimal overall movement.
How It Works
The indicator analyzes price action using a dynamic range detection algorithm:
Range Calculation: Examines the last N candlesticks (default 50, adjustable 20-200) and calculates the difference between the highest high and lowest low within this period.
Laterality Detection: Compares the calculated range against a configurable tolerance threshold (in pips). If the range is smaller than the tolerance, the market is identified as laterally moving.
Confirmation Logic: Counts consecutive candlesticks that remain within the detected range. The indicator only confirms a lateral condition when the minimum number of consecutive candlesticks has been reached (default 15).
Visual Representation: Once confirmed, displays a colored rectangle (box) spanning from the range's start point to the current bar, with horizontal dashed lines marking the high and low levels.
Dynamic Update: Continuously updates the rectangle as new candlesticks form, adjusting the top and bottom boundaries if price remains within the lateral zone.
Key Features
Multi-Timeframe Optimization
Automatic timeframe adaptation using square root scaling
When enabled, parameters adjust proportionally based on the current timeframe (M1, M5, M15, M30, H1, D1, W1, MN)
Prevents the need for manual parameter adjustments across different timeframes
Formula: Adjusted_Tolerance = Base_Tolerance × √(Timeframe_Multiplier)
Customizable Parameters
Tolerance Pip (M1): Sets the maximum range width to identify laterality
Minimum Candlesticks: Minimum consecutive candles required to confirm a lateral zone
Candlesticks to Analyze: Lookback period for range calculation
Breakout Sensitivity: Controls the threshold for identifying range breakouts
Full Visual Customization
Rectangle color and transparency
High/Low line color and thickness
Automatic status display showing current timeframe, lateral confirmation, and active parameters
Use Cases
Range Trading: Identify optimal entry and exit points at support/resistance
Breakout Trading: Visual confirmation before entering breakout trades
Trend Analysis: Distinguish between trending and consolidating markets
Risk Management: Define clear stop-loss levels based on range boundaries
Technical Specifications
Indicator Type: Overlay
Maximum Boxes: 100 (prevents performance degradation)
Supported Assets: Forex, CFDs, Stocks, Cryptocurrencies
Pine Script Version: v5
Chart Display: Real-time updates on each new candlestick
Opening Range Break LRSThis script is designed for a trend-following, opening range breakout strategy. The main idea is to only trade breakouts that happen in the same direction as the short-term trend, which the script identifies using a linear regression slope.
1. Identify the Short-Term Trend
This is the first and most important step. The script does this for you using the Linear Regression and the bar coloring.
• If the bars are colored BLUE: The linear regression slope is positive. This means the script considers the short-term trend to be UP. A trader using this script would only look for long (buy) trades.
• If the bars are colored YELLOW: The linear regression slope is negative. This means the script considers the short-term trend to be DOWN. A trader using this script would only look for short (sell) trades.
This filter is designed to prevent you from trading a "false breakout" against the immediate momentum.
2. Watch the Opening Ranges Form
At the start of the trading session (8:30 AM by default), the script will begin drawing boxes for the 5, 15, 30, and 60-minute opening ranges you've enabled.
• The 5-minute box (e.g., gray) will be set after the 8:30 - 8:35 period.
• The 15-minute box (e.g., blue) will be set after the 8:30 - 8:45 period.
• ...and so on.
These boxes, which extend for the rest of the day, represent the key high and low levels established at the open. The "Live Box Extension" input simply keeps the right edge of the box a few bars away from the current price so you can see it clearly.
3. Look for a Filtered Breakout Signal
This is where the trend filter (Step 1) and the range boxes (Step 2) come together.
Bullish Trade Example (Long):
1. A trader sees the bars are colored BLUE (uptrend). They are now only looking for a break above one of the ORB highs.
2. They will ignore any break below the ORB lows, as that would be trading against the trend filter.
3. The price moves up and finally closes above the 15-minute ORB high.
4. The script will plot a green "Break 15" label. This is the trader's signal to enter a long trade.
Bearish Trade Example (Short):
1. A trader sees the bars are colored YELLOW (downtrend). They are now only looking for a break below one of the ORB lows.
2. They will ignore any break above the ORB highs.
3. The price moves down and closes below the 5-minute ORB low.
4. The script will plot a red "Break 5" label. This is the trader's signal to enter a short trade.
4. Use Multiple Timeframes for Context
The real power of this script is seeing all the ranges at once. A trader wouldn't just trade them in isolation.
• Confirmation: A "Break 5" signal is a quick, early signal. But if the price also breaks the "15" and "30" minute highs, it signals much stronger bullish consensus, which might encourage the trader to hold the trade longer.
• Support & Resistance: The other ORB levels act as a map for the day.
o As Targets: If a trader takes a "Break 15" long signal, the 30-minute ORB high and 60-minute ORB high become logical profit targets.
o As Warning Signs: If the price gives a "Break 5" long signal but is struggling right under the 15-minute high, a trader might wait for that 15-minute level to break before entering, seeing it as a key resistance level.
Summary: A Trader's Workflow
1. Morning (8:30 AM): Watch the script. What color are the bars? (Blue = longs only, Yellow = shorts only).
2. Wait: Let the 5, 15, 30, and 60-minute ranges form. The boxes will be drawn on the chart.
3. Execute: Wait for a "Break" signal (a label) that matches your trend direction.
4. Manage: Use the other ORB levels as potential profit targets or as confirmation of the move's strength.
5. Single Signal: The "Single Signal Only" input, if checked, ensures they only get one signal per timeframe (e.g., one "Break 15" long, and that's it for the day), which helps prevent over-trading in choppy conditions.
Zarattini Intra-day Threshold Bands (ZITB)This indicator implements the intraday threshold band methodology described in the research paper by Carlo Zarattini et al.
Overview:
Plots intraday threshold bands based on daily open/close levels.
Supports visualization of BaseUp/BaseDown levels and Threshold Upper/Lower bands.
Optional shading between threshold bands for easier interpretation.
Usage Notes / Limitations:
Originally studied on SPY (US equities), this implementation is adapted for NSE intraday market timing, specifically the NIFTY50 index.
Internally, 2-minute candles are used if the chart timeframe is less than 2 minutes.
Values may be inaccurate if the chart timeframe is more than 1 day.
Lookback days are auto-capped to avoid exceeding TradingView’s 5000-bar limit.
The indicator automatically aligns intraday bars across multiple days to compute average deltas.
For better returns, it is recommended to use this indicator in conjunction with VWAP and a volatility-based position sizing mechanism.
Can be used as a reference for Open Range Breakout (ORB) strategies.
Customizations:
Toggle plotting of base levels and thresholds.
Toggle shading between thresholds.
Line colors and styles can be adjusted in the Style tab.
Intended for educational and research purposes only.
This indicator implements the approach described in the research paper by Zarattini et al.
Note: This implementation is designed for the NSE NIFTY50 index. While Zarattini’s original study was conducted on SPY, this version adapts the methodology for the Indian market.
Methodology Explanation
This indicator is primarily designed for Open Range Breakout (ORB) strategies.
Base Levels
BaseUp = Maximum of today’s open and previous day’s close
BaseDown = Minimum of today’s open and previous day’s close
Delta Calculation
For the past 14 trading days (lookbackDays), the delta for each intraday candle is calculated as the ab
solute difference from the close of the first candle of that day.
Average Delta
For a given intraday time/candle today, deltaAvg is computed as the average of the deltas at the same time across the previous 14 days.
Threshold Bands
ThresholdUp = BaseUp + deltaAvg
ThresholdDown = BaseDown − deltaAvg
Signals
Spot price moving above ThresholdUp → Long signal
Spot price moving below ThresholdDown → Short signal
Tip: For better returns, combine this indicator with VWAP and a volatility-based position sizing mechanism.
Auto Fibonacci LevelsAuto Fibonacci Momentum Zones with Visible Range Table
Overview and Originality
The Auto Fibonacci Momentum Zones indicator offers a streamlined, static overlay of Fibonacci retracement levels inspired by extreme RSI momentum thresholds, enhanced with a dynamic table displaying the high and low of the currently visible chart range. This isn't a repackaged RSI oscillator or basic Fib drawer—common in TradingView's library—but a purposeful fusion of geometric harmony (Fibonacci ratios) with momentum psychology (RSI extremes at 35/85), projected as fixed horizontal reference lines on the price chart. The addition of the visible range table, powered by PineCoders' VisibleChart library, provides real-time context for the chart's current view, enabling traders to quickly assess range compression or expansion relative to these zones.
This script's originality stems from its "static momentum mapping": by hardcoding Fib levels on a dynamic chart, it creates universal psychological support/resistance lines that transcend specific assets or timeframes.
Unlike dynamic Fib tools that auto-adjust to price swings (risking noise in ranging markets) or standalone RSI plots (confined to panes), this delivers clean, bias-adjustable overlays for confluence analysis. The visible range table justifies the library integration—it's not a gratuitous add-on but a complementary tool that quantifies the "screen real estate" of price action, helping users correlate Fib touches with actual volatility. Drawn from original code (no auto-generation or public templates), it builds TradingView's body of knowledge by simplifying multi-tool workflows into one indicator, ideal for discretionary traders who value visual efficiency over algorithmic complexity.
How It Works: Underlying Concepts
Fibonacci retracements, derived from the Fibonacci sequence and the golden ratio (≈0.618), identify potential reversal points based on the idea that markets retrace prior moves in predictable proportions: shallow (23.6%, 38.2%), mid (50%), and deep (61.8%, 78.6%).
Adjustable Outputs
1. The "Invert Fibs" toggle (default: true) for bearish/topping bias, can be flipped aligning with trend context.
2. Fibonacci Levels: Seven semi-transparent horizontal lines are drawn using `hline()`:
- 0.0 at high (gray).
- 0.236: high - (range × 0.236) (light cyan, shallow pullback).
- 0.382: high - (range × 0.382) (teal, common retracement).
- 0.5: midpoint average (green, equilibrium).
- 0.618: high - (range × 0.618) (amber, golden pocket for reversals).
- 0.786: high - (range × 0.786) (orange, deep support).
- 1.0 at low (gray).
Colors progress from cool (shallow) to warm (deep) for intuitive scanning.
3. Optional Fib Labels: Right-edge text labels (e.g., "0.618") appear only if enabled, positioned at the last bar + offset for non-cluttering visibility.
4. Visible Range Table: Leveraging the VisibleChart library's `visible.high()` and `visible.low()` functions, a compact 2x2 table (top-right corner) updates on the last bar to show the extrema of bars currently in view. This mashup enhances utility: Fib zones provide fixed anchors, while the table's dynamic values reveal if price is "pinned" to a zone (e.g., visible high hugging 0.382 signals resistance). The library is invoked sparingly for performance, adding value by bridging static geometry with viewport-aware data—unavailable in built-ins without custom code.
How to Use It
1. Setup:
Add to any chart (e.g., 15M for scalps, Daily for swings). As an overlay, lines appear directly on price candles—adjust chart scaling if needed.
2. Input Tweaks:
Invert Fibs: Enable for downtrends (85 top), disable for uptrends (35 bottom).
Show Fibs: Toggle labels for ratio callouts (off for clean charts).
Show Table: Display/hide the visible high/low summary (red for high, green for low, formatted to 2 decimals).
3. Trading Application:
Zone Confluence: Seek price reactions at each fibonacci level—e.g., a doji at 0.618 + rising volume suggests entry; use 0.0/1.0 as invalidation.
Range Context: Check the table: If visible high/low spans <20% of the Fib arc (e.g., both near 0.5), anticipate breakout; wider spans signal consolidation.
Multi-Timeframe: Overlay on higher TF for bias, lower for precision—e.g., Daily Fibs guide 1H entries.
Enhancements: Pair with volume or candlesticks; set alerts on line crosses via TradingView's built-in tools. Backtest on your symbols to validate (e.g., equities favor 0.382, forex the 0.786).
This indicator automates advanced Fibonacci synthesis dynamically, eliminating manual measurement and calculations.
published by ozzy_livin
Srujan Multi-Timeframe Triple EMAThis is a normal moving average indicator, and can be combined with various other indicator.
Settings available such as, multi time frame changes, to view an overall aspect of the market dirtection
Srujan Naidu Strict EMA Exaggerated Touch-Free SignalGet Market Lows and Highs using this indicator
Use this Indicator by combining with the other indicators for accuracy
xontrades1uae REBOUND Money | by Bu-Rashid
This indicator detects potential institutional exit points and reversal zones using a powerful confluence model combining:
Volume spike analysis (institutional activity)
CVD trend flips (smart money flow reversal)
Price–CVD divergence (hidden accumulation/distribution)
Liquidity sweep detection (stop-run exhaustion)
When these elements align, the indicator highlights possible Exit Flow zones, signaling where smart capital may be closing or reversing positions.
It’s optimized for XAU/USD (Gold) and NAS100 (Nasdaq) on 5-minute and 15-minute charts, with customizable strictness for traders who prefer early or confirmed signals.
Recommended use:
Apply as a confirmation layer alongside your main strategy to identify exhaustion points and institutional exits before trend reversals.
— Developed and engineered by Bu-Rashid (XonTrades1UAE)
xontrades1uae REBOUND Money | by Bu-Rashid
This indicator detects potential institutional exit points and reversal zones using a powerful confluence model combining:
Volume spike analysis (institutional activity)
CVD trend flips (smart money flow reversal)
Price–CVD divergence (hidden accumulation/distribution)
Liquidity sweep detection (stop-run exhaustion)
When these elements align, the indicator highlights possible Exit Flow zones, signaling where smart capital may be closing or reversing positions.
It’s optimized for XAU/USD (Gold) and NAS100 (Nasdaq) on 5-minute and 15-minute charts, with customizable strictness for traders who prefer early or confirmed signals.
Recommended use:
Apply as a confirmation layer alongside your main strategy to identify exhaustion points and institutional exits before trend reversals.
— Developed and engineered by Bu-Rashid (XonTrades1UAE)
TraderDemircan (Triz Global) Otomatik Bollinger Bant v1.0TraderDemircan (Triz Global) Otomatik Bollinger Bant v1.0
TraderDemircan (Triz Global) Otomatik Fibonacci Uzatma v1.0TraderDemircan (Triz Global) Otomatik Fibonacci Uzatma v1.0
TraderDemircan (Triz Global) Otomatik Fibonacci Düzeltme v1.0TraderDemircan (Triz Global) Otomatik Fibonacci Düzeltme v1.0
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)”을 쉽게 인식할 수 있습니다.
✨ 면책
이 지표는 교육 및 연구 목적으로만 제공됩니다.
투자 판단의 책임은 사용자 본인에게 있으며, 본 지표는 매매 신호를 보장하지 않습니다.
Blackflag FTS(ema200)use for myself use for myselfuse for myself use for myself use for myself use for myself
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.
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” 策略脚本。
⚠️ 免责声明
本指标仅用于研究与教学,不构成任何投资建议。
统计偏离 ≠ 趋势预测,实际市场行为可能在不同波动结构下改变。
RSI Divergence 1-20 Candlesthis is a rsi divergence setup used to see where all divergenece is rsi is formed. so this will help to trade.
RSI Divergence 1-20 Candlesthis is a good divergence candle indicator to show divergences in the candles.






















