Volume Z-Score Volume Z-Score measures how current volume deviates from its historical average to detect extreme market activity or exhaustion.
Индикаторы и стратегии
Ict + Alert (Realtime) - Optimized v2📊 Description
This indicator implements the ICT (Inner Circle Trader) strategy using Fair Order Blocks (FOB) to identify demand and supply zones in the market. Optimized for XAUUSD (Gold) trading with real-time alerts.
🎯 How It Works
The indicator analyzes price movements to identify:
Bullish Fair Order Blocks: Zones where price left uncovered liquidity (gap) during an upward movement
Bearish Fair Order Blocks: Zones where price left uncovered liquidity during a downward movement
When price returns to these zones, the indicator generates:
📦 Colored boxes on the chart (green for long, red for short)
🔔 Real-time alerts with automatically calculated Entry, Stop Loss, and Take Profit
📍 Visual signals (triangles) to easily spot trading opportunities
⚙️ Key Features
Smart Alerts
Realtime: receive instant notifications when a setup forms
Configurable Risk/Reward: set your preferred risk/reward ratio (default 1:3)
Session filter: focus signals during London (08:00-10:00) and New York (14:30-16:30) sessions
Stop Loss with buffer: configurable additional protection
Operating Modes
Realtime Mode: immediate alerts as soon as condition triggers (faster)
Confirmation Mode: alerts only on bar close (more reliable)
Visualization
FOB boxes with adjustable transparency
Optional midline to identify precise entry
Visual indicators (triangles) for long/short signals
Simple Trend + Signal (No Bug)//@version=5
indicator("Simple Trend + Signal (No Bug)", overlay=true)
// === INPUTS ===
fastEMA = input.int(20, "Fast EMA")
slowEMA = input.int(50, "Slow EMA")
lookback = input.int(20, "Zone Lookback")
// === TREND ===
emaFast = ta.ema(close, fastEMA)
emaSlow = ta.ema(close, slowEMA)
trendUp = emaFast > emaSlow
trendDown = emaFast < emaSlow
// === ZONES ===
highestHigh = ta.highest(high, lookback)
lowestLow = ta.lowest(low, lookback)
// === SIGNALS ===
buySignal = trendUp and close <= emaFast
sellSignal = trendDown and close >= emaFast
// === PLOTS ===
plot(emaFast, color=color.green, linewidth=2)
plot(emaSlow, color=color.red, linewidth=2)
plot(highestHigh, color=color.new(color.blue, 70))
plot(lowestLow, color=color.new(color.orange, 70))
plotshape(buySignal, title="BUY", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(sellSignal, title="SELL", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
EMA Rebound Strategy: Stochastics & RSI Confirmation日本語解説は英文の次
Description
This indicator is a robust trend-following tool designed to capture high-probability "Buy the Dip" and "Sell the Rally" opportunities. It identifies precise entry points by combining long-term trend analysis with momentum oscillators.
🟢 How it Works (Long Setup)
Trend Identification: Price must be trading above the EMA 200, signaling a dominant bullish trend.
Mean Reversion/Pullback: Price approaches or touches the EMA 200 (within a customizable proximity percentage).
Oversold Condition: The Stochastics oscillator enters the oversold zone (<20), indicating a temporary price exhaustion.
Momentum Confirmation (Trigger): The RSI crosses back above the 50 level, confirming that bullish momentum has resumed.
🔴 How it Works (Short Setup)
Trend Identification: Price must be trading below the EMA 200.
Pullback: Price rallies back toward the EMA 200.
Overbought Condition: Stochastics enters the overbought zone (>80).
Momentum Confirmation (Trigger): RSI crosses below the 50 level, confirming the resumption of bearish momentum.
⚙️ Key Parameters
EMA Length: Default is 200. Defines the "Backbone" of the trend.
Proximity (%): Adjusts how close the price needs to get to the EMA to validate a "touch."
Stochastics & RSI: Fully customizable periods and levels to match your preferred timeframe.
Lookback Period: Sets the expiration for the "touch" and "oversold/bought" conditions to ensure the signal is timely.
💡 Best Use Cases
Timeframes: 15m, 1h, and 4h are recommended.
Assets: High-liquidity pairs like EUR/USD, USD/JPY, and Gold (XAU/USD).
Tip: For best results, ensure the EMA 200 is clearly sloped in the direction of the trade.
-------------------------------------------
解説
このインジケーターは、長期トレンドにおける「押し目買い」と「戻り売り」を的確に捉えるためのトレンドフォローツールです。EMA200をトレンドの基準(壁)とし、オシレーターで反発のタイミングを計ります。
🟢 買いサインの条件
環境認識: 価格が EMA200より上 で推移していること。
引きつけ: 価格がEMA200付近まで下落(接近・タッチ)すること。
調整確認: ストキャスティクス が売られ過ぎ水準(20以下)に到達。
反発確定: RSIが50を上抜ける 瞬間、トレンド回帰と判断しサインを表示します。
🔴 売りサインの条件
環境認識: 価格が EMA200より下 で推移していること。
引きつけ: 価格がEMA200付近まで上昇(接近・タッチ)すること。
調整確認: ストキャスティクス が買われ過ぎ水準(80以上)に到達。
反発確定: RSIが50を下抜ける 瞬間、トレンド回帰と判断しサインを表示します。
⚙️ 主なパラメータ設定
EMAの期間: デフォルトは200。トレンドの強弱を測る基準です。
EMA接近許容範囲 (%): EMAにどこまで近づいたら有効とするか。通貨ペアのボラティリティに合わせて調整可能です。
サイン有効期限(本数): EMAにタッチ後、何本以内にRSIが50を抜ける必要があるかを設定します。
💡 推奨される活用法
推奨時間足: 15分足、1時間足、4時間足。
推奨通貨ペア: ドル円、ユーロドル、ゴールドなど流動性の高い銘柄。
コツ: EMA200にしっかりとした「傾き」がある時にエントリーすることで、勝率を高めることができます。
SPX SPY 5Min Lock🔹 DESCRIPTION (Public Library)
This indicator overlays SPX price levels directly onto the SPY chart by converting SPX levels into SPY prices using a session-locked SPY/SPX ratio.
Instead of mentally translating SPX levels, you see them mapped precisely on SPY, where you actually trade.
How it works
• Calculates the SPY-to-SPX price ratio
• Locks the ratio at the first 5-minute RTH candle close (9:35am ET)
• Uses that fixed ratio for the entire session
• Converts SPX levels into accurate SPY-equivalent prices
• Draws clean labels (and optional short stubs) directly on SPY
Why the 5-minute lock
SPY and SPX can drift slightly during the day. Locking the ratio at 9:35am creates stable, non-moving levels that stay consistent throughout RTH, making them far more usable for intraday trading.
Best use cases
• SPY / SPX options traders
• Index-based level traders
• GEX, gamma, and macro level mapping
• Traders who think in SPX but execute in SPY
Customization
• Adjustable SPX level spacing (5 / 10 / 25)
• Number of levels above and below price
• Label size and offset
• Live or Locked ratio mode
• Optional short line stubs
• Info table with ratio and lock status
DCR/WCR Indicator with SPY Relative StrengthOverview
This indicator displays Daily Close Range (DCR) and Weekly Close Range (WCR) metrics to help traders identify momentum, buying/selling pressure, and relative strength compared to the S&P 500 (SPY). The data is presented in a clean, color-coded table that can be positioned anywhere on your chart.
What This Indicator Measures
Daily Close Range (DCR)
Formula: (Close - Low) / (High - Low) × 100
Purpose: Shows where the current candle closed within its daily range as a percentage (0-100%)
Interpretation:
90-100% (Strong Buy): Price closed near the daily high, indicating strong buying pressure and bullish momentum
70-90% (Bullish): Price closed in the upper portion of the range, suggesting buyers are in control
30-70% (Neutral): Price closed near the middle, indicating consolidation or indecision
10-30% (Bearish): Price closed in the lower portion, suggesting sellers are gaining control
0-10% (Strong Sell): Price closed near the daily low, indicating strong selling pressure and bearish momentum
Weekly Close Range (WCR)
Formula: (Weekly Close - Weekly Low) / (Weekly High - Weekly Low) × 100
Purpose: Analyzes where the stock finished the week relative to the weekly high and low
Interpretation:
≥60% (Accumulation): Closing in the top 40% of the weekly range suggests institutional buying and strong support. This often indicates smart money is entering positions
40-60% (Neutral): Middle of the range shows indecision with neither buyers nor sellers in clear control
≤40% (Distribution): Closing in the bottom 60% suggests selling pressure and potential institutional distribution
SPY Relative Strength Comparison
The indicator calculates the difference between your stock's DCR/WCR and SPY's DCR/WCR to determine relative strength:
Much Stronger (+20% or more): Your stock is significantly outperforming the market - exceptional relative strength
Stronger (+10% to +20%): Your stock is outperforming the market
Similar (-10% to +10%): Your stock is moving in line with the broader market
Weaker (-10% to -20%): Your stock is underperforming the market
Much Weaker (-20% or less): Your stock is significantly underperforming - consider this a warning sign
Trading Use Cases
Confirming Breakouts
High DCR (>70%) during a breakout confirms strong buying interest
High WCR (>60%) suggests institutional support for the move
If both are strong while SPY is weak, you've identified exceptional relative strength
Identifying Reversals
Extremely low DCR (<10%) after a downtrend may signal capitulation
Rising DCR while WCR remains strong suggests a bounce is sustainable
Divergence between DCR and SPY can highlight emerging leadership
Volume Confirmation
High WCR (>60%) with strong volume = institutional accumulation (bullish)
Low WCR (<40%) with high volume = institutional distribution (bearish)
Use in conjunction with volume analysis for best results
Market Context
Compare your stock's metrics to SPY to understand if momentum is stock-specific or market-wide
Stocks showing strength while SPY is weak often become market leaders
Stocks showing weakness while SPY is strong should be avoided or exited
Customization Options
Table Position: Choose from 9 positions to place the table anywhere on your chart (top/middle/bottom × left/center/right)
SPY Comparison Toggle: Enable or disable the SPY relative strength comparison rows
Best Practices
Use Multiple Timeframes: DCR gives you intraday momentum, WCR provides the weekly trend
Combine with Volume: High WCR with strong volume is particularly bullish
Monitor Divergences: When DCR and WCR diverge, it may signal a change in trend
Relative Strength Matters: Focus on stocks showing strength vs SPY for better risk/reward
Context is Key: A high DCR in a downtrend may just be a bounce; always consider the bigger picture
Color Coding
The indicator uses intuitive color coding:
Green: Bullish signals (high DCR/WCR, outperformance vs SPY)
Yellow: Neutral signals (middle range, similar to SPY)
Red: Bearish signals (low DCR/WCR, underperformance vs SPY)
Note: This indicator works on all timeframes and asset types. It's particularly useful for swing traders and investors looking to identify momentum and institutional activity. Always use in conjunction with other technical analysis tools and proper risk management.
Renko TimekeeperRenko charts delete time. This tool puts it back.The Renko Timekeeper prints a number next to every brick telling you exactly how many minutes that specific brick took to form.This converts a "Static Chart" into a "Velocity Chart." It allows you to spot Momentum Decay before the price actually reverses.1. The Visual GuideThe indicator prints a single number (e.g., 4.2) above or below every brick.Text ColorValue RangeEngineering StateInterpretationGREEN< 5.0High VelocityThe "Turbo" is on. Buyers/Sellers are aggressive. HOLD or ADD to the trade.GRAY5.0 – 15.0Normal CruiseThe trend is stable. Standard market breathing. HOLD.RED> 15.0STALL (Warning)The engine has died. The market is struggling to push price. EXIT immediately.
HA EMA10.30 Pullback, Trend Bias, No ConsolidationThis script is a trend-bias + entry signal indicator built around the Heikin-Ashi pullback strategy you shared.
It does three main jobs:
Decides the market bias (LONG only, SHORT only, or NO TRADE)
Filters out consolidation / chop
Signals entries only when momentum aligns
ADAPTIVE SCALP MASTERADAPTIVE SCALP MASTER (ASM)
Overview
ADAPTIVE SCALP MASTER (ASM) is a high-performance technical analysis tool specifically engineered for scalpers and day traders. It combines statistical volatility analysis with a unique time-frame adaptation engine, allowing the script to automatically recalibrate its sensitivity whether you are trading the 1-minute chart or the 4-hour trend.
The core logic is based on Z-Score Mean Reversion coupled with Zero-Lag Least Squares Moving Average (ZLSMA) for trend filtering, ensuring that you enter trades only when momentum and statistical overextension align.
Key Features
Timeframe Adaptation Engine: ASM automatically adjusts its Z-Score lengths, thresholds, and ATR multipliers based on your current chart. It tightens parameters for high-frequency scalping (M1-M5) and widens them for higher timeframes to filter out market noise.
Z-Score Mean Reversion: Utilizes statistical standard deviation to identify overbought and oversold conditions with precision.
Zero-Lag Trend Filtering: Features a customized ZLSMA to provide a smooth, reactive trend baseline without the lag of traditional MAs.
Smart Risk Management: Automatically calculates dynamic Stop Loss and Take Profit levels based on current ATR volatility.
Aggressive Scalping Mode: A specialized toggle for experienced traders that maximizes signal frequency by loosening standard confirmation filters.
How It Works
Normalization: The indicator calculates the price deviation (Z-Score).
Adaptive Thresholds: It checks if the price has reached a statistically significant extreme (Overbought/Oversold).
Multi-Stage Filtering:
Trend Filter: Signals must align with the ZLSMA direction (optional).
Volume Filter: Requires a surge in volume to confirm the move (optional).
Candle Confirmation: Requires price action to flip in the signal's direction before firing.
Execution: Once all conditions are met, the script plots entry shapes and dynamic risk levels.
Settings Guide
Aggressive Mode: Use this for fast-paced scalping on M1. It disables the trend and volume filters to capture every micro-reversal.
Base Sensitivity: Controls how far back the Z-Score looks. Default is 10. Lower values make the indicator more reactive.
Base Threshold: Standard is 1.5. Increase this value (e.g., to 2.0) if you want fewer, higher-probability signals.
Min Bars Between: Use this to prevent "signal clustering" during periods of high volatility.
User Interface
The Info Panel provides real-time data including:
Current Market Bias (Trend direction).
Live Z-Score value.
Current ATR-based volatility status.
Trade Signal confirmation status.
Bob's Whale Hunter - V7 (Jorge's Algo)Trade like a whale, not the bait.
The Whale Hunter V7 is a high-performance toolkit specifically engineered for traders following Smart Money Concepts (SMC) and Institutional Price Action. This indicator automates the identification of high-probability zones based on the AMD (Accumulation, Manipulation, Distribution) cycle.
🚀 Key Features:
Institutional Liquidity Sweeps: Automatically detects liquidity grabs at key highs and lows. These are the exact spots where institutional "whales" enter the market by triggering retail stop losses.
Dynamic Fair Value Gaps (FVG): Highlights market imbalances that act as price magnets. This allows you to time your entries during the "rebalance" with surgical precision.
Multi-Timeframe Dashboard (HTF Matrix): A real-time panel showing the Macro bias (4H) versus the Entry trend (15m). Stay aligned with the higher-timeframe order flow at all times.
Elite Market Structure: An institutional-grade trend filter that shifts color based on market dominance, helping you distinguish between a deep retracement and a true trend reversal.
🛠 How to Trade it (The Institutional Checklist):
Macro Alignment: Check the Dashboard. If 4H is green, look for buy setups only. Never trade against the "Big Money" flow.
Identify the Sweep: Wait for the triangle signal (Sweep). This confirms that liquidity has been cleared and the "Manipulation Phase" is likely complete.
The Trigger (FVG): Once a Break of Structure (ChoCH) occurs after the sweep, look for entries within the highlighted FVG boxes that align with your OTE (Optimal Trade Entry) Fibonacci levels.
Targeting: Aim for the opposing liquidity pools or the next institutional level identified by the script.
"Trading is a game of probabilities. Follow the footprints left by the giants."
Acrobatic Loto Predictor [Taolue Remix]
市場のカオスを、幸運の数字へ。
このインジケーターは、現在のチャートの「価格変動」「時間」「ボラティリティ」を複雑な計算式(カオス力学)に通すことで、 Loto 6 (6/43) および Loto 7 (7/37) の予想数字を算出する実験的なツールです。
単なるランダム生成(乱数)ではありません。RSIやボリンジャーバンドといったテクニカル指標の数値を「乱数の種(シード)」として使用しているため、 「相場の息遣い」がそのまま数字として出力されます。
【主な機能】
1. モード: 設定画面から「Loto 6」と「Loto 7」を切り替え可能です。
2. カオス&テクニカル・ロジック:
- カオス力学: ローレンツ・アトラクタに着想を得た非線形計算。
- テクニカル: RSI(相対力指数)とボリンジャーバンドの位置関係を係数化。
- 概念定数: 黄金比(φ)や特定の数学的定数を隠し味に配合。
3. ストップ(固定)機能: チャートが動くたびに数字は変動しますが、「ここだ!」と思った瞬間にチェックボックスで数字を 完全固定(ロック) できます。
4. リロール(再抽選)機能: 固定した数字が気に入らない場合、リロール値を変更することで、その瞬間のパラレルワールド(別の計算結果)を呼び出せます。
5. ディスコモード: 数字が変動している間は背景色がリズミカルに変化し、固定すると色が落ち着く視覚効果付き。
【使い方】
1. チャートに追加します(ビットコインや為替など、動きのある銘柄推奨)。
2. 設定画面で Loto 6 か Loto 7 を選びます。
3. チャートを眺め、相場の「波」を感じます。
4. 直感的に良いタイミングで設定画面の 「ストップ(数値を固定)」 にチェックを入れます。
5. 表示された数字をメモします。(気に入らなければ「結果のリロール」数値を変更してください)
※免責事項:
このツールはエンターテインメント目的で作成されています。当選を保証するものではありません。宝くじの購入は自己責任で楽しみましょう。
---
Transform Market Chaos into Lucky Numbers.
This indicator is an experimental tool that generates predictions for Loto 6 and Loto 7 by feeding current chart data—price action, time, and volatility—into complex chaotic algorithms.
This is not a simple random number generator. It uses technical indicators like RSI and Bollinger Bands as "seeds" for generation. Essentially, the heartbeat of the market decides your numbers.
1. Mode: Switch between "Loto 6" (pick 6 from 43) and "Loto 7" (pick 7 from 37) in the settings.
2. Chaos & Technical Logic:
- Chaos Dynamics: Non-linear calculations inspired by the Lorentz Attractor.
- Technical Analysis: Weighing factors based on RSI and Bollinger Band positioning.
- Conceptual Constants: Incorporates the Golden Ratio (φ) and other mathematical constants.
3. Freeze/Lock Function: Numbers fluctuate with every tick. Use the "Stop" checkbox to lock the numbers at the exact moment you feel the market energy align.
4. Reroll System: If you lock the numbers but don't like the result, change the "Reroll" value to access a parallel timeline (alternate calculation result) for the same candle.
5. Disco Visuals: Background colors dance rhythmically while spinning and settle down when locked.
1. Add to chart (highly volatile assets like BTC or FX recommended).
2. Select Loto 6 or Loto 7 in the settings.
3. Watch the chart and feel the "wave" of the market.
4. Check the "Stop (Lock Numbers)" box in settings when your intuition strikes.
5. Note down the numbers. (Use the "Reroll" input if you want to reshape your destiny).
This tool is for entertainment purposes only. It does not guarantee any lottery winnings. Please play responsibly.
Ehlers Adaptive Trend FilterEHLERS ADAPTIVE TREND FILTER | Lag-Compensated SuperSmoother
Based on John Ehlers' "Smoothing The Data" (2014), this indicator extends
the SuperSmoother with hybrid Butterworth filters and dynamic lag compensation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
KEY FEATURES:
✓ 3 FILTER MODES (lag-measured empirically)
• 2p+2p (Fast): 62 bars lag — responsive, great for scalping
• 3p+2p (Hybrid): 70 bars lag — RECOMMENDED, best risk/reward
• 3p+3p (Smooth): 88 bars lag — ultra-smooth for macro trends
✓ LAG-COMPENSATED MOMENTUM
Automatically extends momentum lookback to account for filter delay.
Keeps momentum signals responsive despite heavy smoothing.
✓ CONFIRMATION-BASED REVERSALS
Requires 2+ bars confirmation before signaling reversals.
~60% fewer false signals than single-bar detection.
Reduces whipsaws on volatile assets.
✓ VOLATILITY-ADAPTIVE THRESHOLDS
Automatically scales all deviation levels based on asset volatility.
Works seamlessly across:
- Crypto (20%+ volatility)
- Equities (10-15% volatility)
- Forex (2-5% volatility)
- Bonds (<2% volatility)
✓ MULTI-TIMEFRAME AUTO-CALIBRATION
Automatically optimizes filter periods for your trading style:
- Scalping (<1H): 2p+2p (Fast)
- Swing Trading (1D): 3p+2p (Hybrid) ← Default
- Position Trading (1W+): 3p+3p (Smooth)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT YOU GET IN THE DASHBOARD:
• TREND STATUS: Good/Bad (signal above/below baseline)
• MOMENTUM: Strong/Steady/Weak/Opposing (lag-compensated)
• MOMENTUM TREND: Increasing/Decreasing/Stable
• SUPPORT BASELINE: Bull Reversal/Bear Reversal/Aligned
• SUPPORT SLOPE: Positive/Negative/Neutral (with %)
• SAFETY MARGIN: % distance from baseline
• PRICE DEVIATION: Extended/Expanding/On Course/Lagging
• TECHNICAL RATING: Perfect/Transition/Dangerous/Critical
• VOLATILITY: Live % + historical baseline
• FILTER CONFIG: Active mode + exact lag metric
• THRESHOLD LEVELS: Adaptive or Fixed mode
• ANALYSIS MODE: Auto-calibrated or Manual
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PERFORMANCE (Backtested 2020-2024):
ES 1D (3p+2p Hybrid):
✓ 68% Win Rate | 2.2:1 Profit Factor
✓ 12% Max Drawdown | Avg Trade: +45 points
BTC 4H (3p+2p Hybrid):
✓ 62% Win Rate | 1.9:1 Profit Factor
✓ 18% Max Drawdown | Avg Trade: +$280
EURUSD 1H (2p+2p Fast):
✓ 55% Win Rate | 1.7:1 Profit Factor
✓ 8% Max Drawdown | Avg Trade: +45 pips
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE:
1. Add indicator to chart (any asset, any timeframe)
2. Select Filter Configuration:
→ 3p+2p (Hybrid) recommended for most traders
3. Read the dashboard (bottom-right table)
4. Trade signals:
→ ENTER: Trend Status = "Good" + Momentum = "Strong"
→ EXIT: Trend Status = "Bad" OR background highlight appears
5. Combine with your own trade plan (entries, sizing, risk management)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY THIS INDICATOR?
Most traders face a painful choice:
→ Fast MA (like EMA20): Responsive but too many false signals
→ Slow MA (like EMA100): Smooth but miss 20% of moves
Ehlers SuperSmoother solves this using 40+ years of digital signal
processing research. Butterworth filters preserve trend direction while
removing high-frequency noise more efficiently than moving averages.
The innovation: LAG COMPENSATION
By measuring the exact delay of each filter and dynamically adjusting
momentum lookback windows, you get BOTH clean trends AND responsive signals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TECHNICAL DETAILS:
Filter Type: Ehlers 2-Pole & 3-Pole SuperSmoother (Butterworth)
Lag Compensation: Empirically measured via step response
Momentum Adjustment: 1.0x (2p+2p) / 1.15x (3p+2p) / 1.45x (3p+3p)
Volatility Model: 75th percentile of rolling 252-day returns
Reversal Confirmation: 2-bar minimum (reduces noise)
Repainting: NO (Pine Script v6, confirmed bars only)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER:
This indicator is for educational and analytical purposes only.
NOT financial advice, investment recommendations, or profit guarantees.
• Past performance does NOT guarantee future results
• All trading involves risk, including loss of principal
• Test extensively on historical data before live trading
• "Safety" and "Risk" metrics measure technical deviation, NOT capital protection
• Start with small position sizes and proper risk management
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
REFERENCE:
Ehlers, J. (2014). "Smoothing The Data." Stocks & Commodities Magazine.
Oppenheim & Schafer. "Discrete-Time Signal Processing" (3rd ed.)
NQ Statistical MapperNQ Statistical Mapper
CRITICAL DISCLAIMER - READ FIRST
WARNING: THIS INDICATOR IS EXCLUSIVELY FOR NQ (NASDAQ-100 E-MINI FUTURES) ONLY
All statistics displayed in this indicator are HARD-CODED values derived from a comprehensive analysis of 12 years (2013-2025) of 1-minute NQ futures data. These statistics are calculated offline using Python and embedded directly into the indicator code.
These probabilities DO NOT apply to any instrument other than NQ
What This Indicator Does
The NQ Statistical Mapper is a data-driven trading tool that displays historical probability statistics for intraday NQ price behavior based on overnight session structure and opening positioning. Rather than generating signals, it provides context by showing:
Three trading sessions with visual boxes: Asia (8PM-2AM), London (2AM-8AM), and New York (8AM-4PM) Eastern Time
Key price levels with historical hit rate percentages showing the probability these levels are touched during the NY cash session (8AM-4PM)
Context-aware statistics that change based on current market conditions
Session range analysis showing whether Asia and London ranges are unusually large or small compared to recent history
Core Methodology and Statistical Foundation
Pattern Detection System
The indicator automatically detects one of four overnight session patterns based on how the London session (2AM-8AM) interacts with the Asia session (8PM-2AM):
London Engulfs Asia: London high is greater than Asia high AND London low is less than Asia low
Asia Engulfs London: Asia high is greater than or equal to London high AND Asia low is less than or equal to London low
London Partial Up: London high is greater than Asia high BUT London low is greater than or equal to Asia low (took out Asia high only)
London Partial Down: London low is less than Asia low BUT London high is less than or equal to Asia high (took out Asia low only)
Each pattern has distinct statistical characteristics that influence NY session behavior.
Conditional Probability Framework
The indicator uses a conditional probability approach where statistics adapt based on:
Primary Condition: Where does NY open (8:00 AM) relative to the London session midpoint?
"NY opens above London midpoint"
"NY opens below London midpoint"
This single condition dramatically changes the probabilities. For example:
When NY opens above London midpoint: 76.68% chance NY hits the London high before the London low during 8AM-4PM
When NY opens below London midpoint: 73.32% chance NY hits the London low before the London high during 8AM-4PM
Secondary Condition: The overnight pattern further refines these probabilities. Each combination of "NY position vs London midpoint" plus "overnight pattern" has unique hit rate statistics calculated from the 12-year dataset.
"Hit First" Statistics Explained
The table displays "Hit High First" and "Hit Low First" percentages. These answer the question: "During the NY cash session (8AM-4PM), if price eventually touches both the London high AND London low, which one does it touch FIRST?"
Example interpretation:
Hit High First: 76.68% means that in 76.68% of historical days with this setup, price touched the London high before touching the London low
Hit Low First: 22.48% means London low was touched first
The remaining approximately 1% represents days where neither level was hit during the NY session
This is fundamentally different from asking "will price go up or down" - it is about the sequence of range expansion during the NY session.
Displayed Levels and Their Meanings
Session Highs/Lows (Solid Lines)
These appear when each session completes and extend through the NY session:
Asia High/Low (Orange): The highest and lowest prices during 8PM-2AM EST
London High/Low (Blue): The highest and lowest prices during 2AM-8AM EST
Each level shows its hit rate percentage - the probability that NY session price (8AM-4PM) will touch that level, based on the current pattern and NY opening position.
Hourly Midpoint Levels (Dashed Gray Lines)
Three specific hourly levels with remarkably high hit rates:
7-8 AM Midpoint: Average of high and low during the 7-8 AM hour. Hit rates consistently above 93-94%, essentially sitting at the 8 AM open price (mean distance: -0.001%)
Midnight Open: The opening price at midnight EST. Hit rates vary from 62-87% depending on pattern and setup
2-3 AM Midpoint: Average of high and low during the 2-3 AM hour. Hit rates range from 67-92%
These levels are derived from mean-reversion behavior - price tends to revisit certain overnight reference points during the NY session.
Session Midpoints (Dotted Lines)
Optional display of Asia and London session midpoints. These lines terminate when their respective sessions end, providing additional reference levels for session positioning.
Statistics Table Breakdown
The table displays five sections of information:
1. SETUP Section
Shows whether "NY opens above/below London midpoint"
Displays the detected overnight pattern (1 of 4 types)
Sample size: Number of historical days matching this exact setup
Hit High First / Hit Low First: Directional bias percentages
2. HIT RATES (8AM-4PM) Section
Shows probability that each level gets touched at any point during the NY cash session:
7-8 AM Midpoint: Almost always touched (93-97% depending on pattern)
Midnight Open: Varies significantly (62-87%) based on whether the overnight pattern is aligned or contrary to NY's opening position
2-3 AM Midpoint: Strong hit rates (67-92%)
These are independent probabilities - they do not predict which is hit first, just whether each level gets visited.
3. ASIA RANGE Section
Real-time comparison of today's Asia session range versus recent history:
Sessions Captured: Shows how many sessions are in the rolling calculation (e.g., "18 / 50" = 18 sessions captured out of 50 requested). This alerts users if their chart history is insufficient
Current Range: Today's Asia high minus Asia low in points
Mean Range: Average range over the captured sessions
Percentile Rank: Where today's range falls in the distribution
80th percentile (red background): Unusually large range - top 20% of days
60-80th percentile (light gray): Above average
20-60th percentile (white): Normal range
Less than 20th percentile (light blue): Unusually small range - bottom 20% of days
4. LONDON RANGE Section
Identical structure to Asia Range section, analyzing the London session's range characteristics.
Why Percentile Rank Instead of Standard Deviation?
Intraday ranges exhibit right-skewed distributions with fat tails (volatility spikes create extreme outliers). Percentile rank is distribution-free and robust to these characteristics, providing more reliable identification of unusual ranges than z-scores or standard deviations.
How To Use This Indicator
For Context and Confluence
This is not a standalone trading system. The indicator provides statistical context to support other analysis:
Understanding Session Bias: If the table shows 76% probability of hitting the session high first, you know there is a statistical lean toward upside range expansion
Target Setting: If trading a breakout above the overnight high, knowing that Asia high gets hit 75% of the time helps assess target viability
Entry Timing: The 7-8 AM midpoint's 94% hit rate makes it an excellent re-entry or scaling level
Range Expansion Assessment: Percentile rankings help identify whether overnight sessions showed abnormal volatility, which may influence NY session behavior
Pattern-Specific Insights
London Partial Up plus NY Opens Below London Midpoint:
Midnight open hit rate jumps to 87.82% (strong mean reversion)
Suggests counter-trend reversal back toward overnight lows is likely
London Partial Down plus NY Opens Above London Midpoint:
Midnight open hit rate is 86.30%
Mirror pattern - reversion toward overnight highs
Asia Engulfs London Pattern:
Very high hit rates (85-98%) across all levels
Suggests consolidation/mean reversion during NY session rather than directional expansion
Typical Workflow
8:00 AM: Review the statistics table - which pattern occurred? Where did NY open relative to London midpoint?
Check Hit Rates: Note which levels have the highest probabilities of being touched
Assess Range Percentiles: Are Asia/London ranges unusually large or small? High percentiles may indicate already-extended ranges
Combine With Your Strategy: Use the statistics as confluence with your technical analysis, support/resistance, or order flow
Customization Options
Trading Sessions Settings
Session Visualization:
Toggle each session on/off independently
Customize colors for each session (New York, London, Asia)
Adjust background transparency using "Range Area Transparency" slider (0-100, default 90)
Show/hide session outlines with "Range Outline" checkbox
Each session has three customizable parameters on the same line:
Checkbox to enable/disable the session
Text field to rename the session label if desired
Color picker to select the session's display color
Hit Rate Levels Settings
Master Controls:
"Show Hit Rate Levels" - Master toggle to show or hide all level lines and labels
Individual Level Toggles:
"7-8 AM Midpoint" - Toggle the 7-8 AM hour midpoint level
"Midnight Open" - Toggle the midnight opening price level
"2-3 AM Midpoint" - Toggle the 2-3 AM hour midpoint level
Hourly Level Styling (applies to 7-8 AM Mid, Midnight, and 2-3 AM Mid):
"Hourly Level Color" - Color picker for all three hourly levels
"Hourly Level Line Width" - Thickness of hourly level lines (1-5, default 1)
"Hourly Level Line Style" - Choose between Solid, Dashed, or Dotted lines (default Dashed)
Session High/Low Styling (applies to Asia High/Low and London High/Low):
"Session High/Low Line Width" - Thickness of session extreme lines (1-5, default 1)
"Session High/Low Line Style" - Choose between Solid, Dashed, or Dotted lines (default Solid)
Additional Options:
"Show Session Midpoints" - Toggle display of Asia and London midpoint reference lines (dotted lines that end when each session completes)
"Label Text Size" - Size of percentage labels on all levels (tiny, small, normal, large, default small)
Table Settings
Statistics Table Controls:
"Show Statistics Table" - Master toggle to display or hide the entire statistics table
"Stats Table Position" - Choose from 9 positions on the chart:
Top: Top Left, Top Center, Top Right
Middle: Middle Left, Middle Center, Middle Right
Bottom: Bottom Left, Bottom Center, Bottom Right
"Stats Table Size" - Text size within the table (Auto, Tiny, Small, Normal, Large, Huge, default Small)
"Sessions for Stats Calculation" - Number of historical sessions to use for percentile calculations (5-100, default 50)
Lower values (20-30): More responsive to recent market conditions
Higher values (50-100): More stable baseline, requires more chart history
The table displays "Sessions Captured" to show how many sessions were actually available
Important Limitations and Considerations
1. This Is Historical Data, Not Prediction
The statistics show what happened in the past given similar setups. Markets evolve, regimes change, and past probability does not guarantee future outcomes. A 75% hit rate means that in 25% of historical cases, the level was NOT hit.
2. Chart History Requirements
TradingView imposes data limits:
5-minute chart: Approximately 10 days of history (enough for minimal statistics)
1-minute chart: Approximately 2-3 days of history (insufficient for percentile calculations)
Use 5-minute or higher timeframes to ensure adequate session capture
The table displays "Sessions Captured" (e.g., 18/50) to alert you when your chart history is limited.
3. Session Timing Is Fixed (EST)
All sessions use America/New_York timezone:
Asia: 8PM-2AM
London: 2AM-8AM
NY: 8AM-4PM
These times do not adjust for daylight saving changes in other regions. The definitions match CME NQ futures trading hours.
4. The Statistics Are From 2013-2025 Data
The 12-year analysis period includes:
Multiple market regimes (bull/bear/sideways)
Various volatility environments
QE, taper tantrums, COVID, 2022 bear market, 2023-2024 rally
However, it is still a limited sample. Future market structure changes (algorithmic trading evolution, regulatory changes, etc.) may alter these probabilities over time.
5. No Real-Time Calculation
This indicator does not recalculate statistics based on your chart's data. It displays pre-calculated probabilities. The only real-time calculations are:
Which pattern occurred today
Where NY opened relative to London midpoint
Current session ranges and their percentile ranks (based on your chart's recent history)
Statistical Methodology Details
Data Source
Instrument: NQ (Nasdaq-100 E-mini Futures) continuous contract
Timeframe: 1-minute bars
Period: January 2013 - January 2025 (12 years)
Sample Size: 3,132 trading days analyzed
Analysis Approach
Each trading day was classified by overnight pattern (4 types). NY opening position vs London midpoint was determined. For each combination (4 patterns times 2 positions equals 8 scenarios), the following was measured:
How often each level (session highs/lows, hourly midpoints) was touched during 8AM-4PM
Which session extreme (high or low) was hit first
Mean distance from 8 AM open to each level
Session ranges were measured for percentile analysis. All percentages were rounded to two decimal places for display.
Why These Specific Levels?
The levels were not chosen arbitrarily:
Session highs/lows: Natural support/resistance from overnight price discovery
7-8 AM midpoint: The final hour before NY open often establishes the opening range balance point
Midnight open: Represents the "true" start of the trading day (6PM-5PM structure)
2-3 AM midpoint: Captures early London price action balance
Testing showed these levels had the highest and most consistent hit rates across different patterns and setups.
Technical Implementation Notes
Language: Pine Script v5
Drawing Objects: Uses boxes for session visualization, lines for levels, labels for percentages, table for statistics
Performance: Optimized for real-time use with max limits set (500 boxes, 500 lines, 500 labels)
Calculations Per Bar:
Session detection (3 sessions)
Hourly detection (3 hourly periods)
Pattern classification
Conditional probability lookup
Percentile rank calculation (for session ranges)
All heavy statistical analysis was performed offline. The indicator only performs simple lookups and real-time range tracking.
Educational Value
Beyond trading application, this indicator demonstrates:
Conditional Probability: How market context (opening position, overnight structure) dramatically changes probabilities
Mean Reversion Dynamics: Why certain levels (7-8 AM midpoint, midnight) have such high revisit rates
Pattern Recognition: How overnight session relationships create different NY session behaviors
Distribution Analysis: Using percentile ranks instead of parametric statistics for skewed data
Understanding these concepts helps traders develop more sophisticated market models beyond simple "support and resistance."
Final Notes
This indicator is a tool for informed decision-making, not a crystal ball. It answers questions like:
"What typically happens in this setup?"
"How often does price revisit these levels?"
"Is this overnight range unusual?"
It does NOT answer:
"Should I buy or sell right now?"
"Where will price be at 4 PM?"
"What will happen tomorrow?"
Combine these statistics with proper risk management, sound trading strategy, and awareness that any individual day can deviate significantly from historical norms. The power of this indicator lies in providing objective, data-driven context to complement your analysis - not in replacing your judgment.
Simple Trend + Signal (No Bug)//@version=5indicator("Simple Trend + Signal (No Bug)", overlay=true)
// === INPUTS ===fastEMA = input.int(20, "Fast EMA")slowEMA = input.int(50, "Slow EMA")lookback = input.int(20, "Zone Lookback")
// === TREND ===emaFast = ta.ema(close, fastEMA)emaSlow = ta.ema(close, slowEMA)
trendUp = emaFast > emaSlowtrendDown = emaFast < emaSlow
// === ZONES ===highestHigh = ta.highest(high, lookback)lowestLow = ta.lowest(low, lookback)
// === SIGNALS ===buySignal = trendUp and close <= emaFastsellSignal = trendDown and close >= emaFast
// === PLOTS ===plot(emaFast, color=color.green, linewidth=2)plot(emaSlow, color=color.red, linewidth=2)
plot(highestHigh, color=color.new(color.blue, 70))plot(lowestLow, color=color.new(color.orange, 70))
plotshape(buySignal, title="BUY", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")plotshape(sellSignal, title="SELL", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
Dual Bollinger BandsDual Bollinger Bands
Dual Bollinger Bands is an advanced volatility-based indicator that plots two independent Bollinger Band sets on the same chart, allowing traders to analyze price behavior from multiple perspectives simultaneously.
Unlike standard Bollinger Bands, this indicator lets you configure each band set separately, making it especially useful for identifying asymmetric volatility, price compression/expansion zones, and dynamic support and resistance levels.
Key Features
Two fully independent Bollinger Bands
Each band has its own length, standard deviation multiplier, and moving average type.
Different price sources
BB1 can be calculated using High prices, while BB2 can use Low prices (or any source you choose), enabling a directional volatility envelope.
Custom Moving Average types
Choose between SMA, EMA, SMMA (RMA), WMA, or VWMA for each Bollinger basis.
Offset capability
Optional forward/backward offset allows visual projection or historical alignment analysis.
Clear visual separation
Each Bollinger set uses distinct colors and shaded areas for easy interpretation.
Overlay on price chart
Designed to work directly on the main chart for contextual market analysis.
How to Use
Volatility Analysis
Observe expansions and contractions between the two Bollinger sets to identify volatility regimes.
Dynamic Support & Resistance
Upper and lower bands can act as adaptive levels where price may react or revert.
Trend Context
When price consistently respects one side of a band set, it may indicate directional strength.
Mean Reversion & Breakout Zones
Convergence between bands may suggest compression, while rapid divergence can signal breakout conditions.
Best Use Cases
Intraday and swing trading
Volatility-based strategies
Trend-following or mean-reversion systems
Crypto, Forex, Indices, and Equities
Notes
This indicator does not generate signals by itself. It is designed to be used as a contextual volatility and structure tool, ideally combined with price action, market structure, or higher-level trading frameworks.
Exponential Moving AveragesEMA of many time units.
Time units include 5, 10, 20, 60, 120, 200.
Enjoy!
RSI(5) on RSI(14)RSI(5) on RSI(14)
This indicator is displayed in a separate pane and works on all timeframes.
It combines a classic RSI with a secondary RSI calculated on the RSI values themselves, allowing deeper analysis of momentum and internal strength.
Indicator Logic
The indicator consists of two components:
RSI (period 14) calculated from price data (default: Close).
RSI (period 5) calculated on the values of RSI(14), equivalent to Previous Indicator’s Data in MetaTrader.
This structure helps to:
identify overbought and oversold zones using the primary RSI,
observe acceleration, deceleration, and momentum shifts inside the RSI itself using the secondary RSI.
Visualization
RSI(14) is plotted as a configurable colored line.
RSI(5) on RSI(14) is plotted as a thin black line on top of the main RSI.
The indicator scale is fixed between 0 and 100.
Levels
20 and 80 — configurable oversold and overbought levels:
adjustable values,
customizable color,
line width,
line style (solid, dashed, dotted).
50 level:
black,
thin,
dashed,
acts as a mid-level equilibrium reference.
Inputs
Users can adjust:
RSI(14) period,
RSI(5) period,
price source for RSI(14),
colors and line widths,
level values and styles for 20 / 80.
Use Cases
This indicator can be used for:
momentum and strength analysis,
detecting internal RSI momentum shifts,
trend confirmation and filtering,
standalone oscillator analysis or as part of a larger trading system.
Custom Time PartitionsThis indicator, Custom Time Partitions, is a precision charting tool designed for intraday traders who need to visually segment their charts based on specific moments in the New York (EST/EDT) trading day.
Unlike standard session highlighters, this script focuses on vertical delineations that act as clear psychological and structural dividers across price action.
Price vs OI 24h Relative Change📘 How to Use – Price vs Open Interest (24h Relative Change)
This indicator compares price movement and open interest (OI) change over the last 24 hours, allowing you to better understand market positioning and trader behavior.
It does not generate signals by itself. It is designed as a context and confirmation tool.
🔹 What the Indicator Shows
Price Δ (green area)
The percentage change in price compared to 24 hours ago.
Open Interest Δ (purple area)
The percentage change in open interest compared to 24 hours ago
(based on Binance BTCUSDT perpetual futures).
Zero line
The 24h baseline. Values above zero indicate an increase, below zero a decrease.
🔹 How to Interpret the Relationship
📈 Price ↑ & OI ↑
➡️ New positions are being opened in the direction of the move
This usually confirms trend continuation.
📈 Price ↑ & OI ↓
➡️ Short positions are being closed
This often indicates a short squeeze or short covering rally, which can be less sustainable.
📉 Price ↓ & OI ↑
➡️ New short positions are entering the market
This suggests bearish conviction and possible downside continuation.
📉 Price ↓ & OI ↓
➡️ Positions are being closed on both sides
Often seen during deleveraging, consolidation, or range conditions.
🔹 How to Use It in Practice
Use it as a confirmation tool alongside price action
Compare price structure with OI behavior
Identify whether moves are driven by new positioning or position closures
Works on all timeframes (intraday to swing)
⚠️ Important Notes
This indicator is non-repainting
It uses relative changes, not absolute values
It is best used to understand market structure, not as a standalone trading system
Seasonality (100% reliable for the W)Quant Seasonality Pro (QuantSeaz)
Quant Seasonality Pro is a data-driven seasonal projection tool that extracts historical day-of-year return patterns and transforms them into a forward-looking price curve. Using log returns, cycle filters, and volatility-based scaling (ATR), it generates a dynamically anchored seasonal roadmap directly on your chart.
The indicator allows you to switch between Trading Days (stocks/forex) and Calendar Days (crypto), apply U.S. election cycle filters, and analyze historical data precisly. The projected curve is detrended to isolate true seasonal structure and then scaled to current market volatility for realistic visualization.
A built-in statistical dashboard provides:
Confidence (%) based on historical win rates
Expected Alpha (%) over the selected forward window
ATR % (noise level)
Viability ratio (Alpha adjusted for risk)
This tool is designed for contextual edge — not signal automation. It helps traders align positioning with historical seasonal tendencies while maintaining proper risk management and independent confirmation.
Rainer Trend-Follow (200d High/Low + 6ATR Trail)Trendfollow Strategie mit Entry und Stop-Loss Angaben
Position Size Dashboard (Gold / Forex / Indices)A clean, MT5-accurate position sizing tool that instantly calculates lot size based on risk and stop-loss range. Designed for discretionary and prop-firm traders who want fast, no-nonsense sizing without manual math. Supports Gold (XAUUSD), Forex pairs, and Indices, with clear on-chart dashboard output.
How to Use (Step-by-Step)
Add the indicator to your chart
Open Settings → Inputs
Enter your Risk ($) (e.g., 100)
Enter SL Range
Forex → pips
Gold / Indices → price points
Enable or disable Gold / Forex / Indices rows as needed
Choose dashboard position, colors, and text size
Click OK → Lot size is calculated instantly and shown on chart






















