𝔣𝔯𝔢𝔢 - 9AM CRT ModelCRT made easy!
Overview:
A comprehensive multi-timeframe trading indicator designed for the Candle Range Theory (CRT) strategy. Automatically identifies key price levels, tracks market structure, and detects setup patterns.
Key Features Include
1HR CRT Mode:
Marks the high and low of your target hour (default 8 AM)
Draws an equilibrium (EQ) line at 50% of the range
Detects when price sweeps above/below these levels
Only operates during your custom trading window (default 9-11 AM)
Identifies Inverse Fair Value Gaps (IFVGs) after sweeps occur
4HR CRT Mode:
Same functionality but for 4-hour ranges
Configurable target hours: 2, 6, 10, 14, 18, 22
Independent from 1HR mode (can run both simultaneously)
Stops 1HR IFVG creation once 4HR sweep occurs
Additional Features:
15M Ghost Candles - Displays 3 previous 15-minute candles offset to the side for quick context
15M High/Low Lines - Shows the previous 15M candle's high and low anchored to the exact bars where they formed
IFVG Detection - Automatically identifies and boxes Inverse Fair Value Gaps with:
EQ lines at 50% of each gap
Labeled "Bull IFVG" or "Bear IFVG" for clarity
Fully customizable colors, line styles, and widths
How It Works
Marks your target hour's range (high/low/EQ)
Waits for price to sweep the high or low
After sweep, hunts for IFVGs in the sweep direction
If sweep direction changes, stops creating IFVGs in the old direction
All IFVG boxes persist until the next trading session
Customization
Everything is toggleable and customizable:
Enable/disable each timeframe
Change colors, line styles, line widths
Adjust trading windows
Modify timezone
Toggle individual features on/off
Perfect for traders using Candle Range Theory, liquidity hunting, and order flow analysis! 📊
Candlestick analysis
MMM Time Stamp & Asian Session @MaxMaserati 3.0═════════════════════════════════════════════════════════════MMM TimeStamps & Asia @MaxMaserati 3.0 ═════════════════════════════════════════════════════════════
This indicator helps intraday traders identify critical market timing and key liquidity zones. It displays customizable time labels at major market events (market open, pre-market moves, session changes) and automatically tracks the Asian session range with high, low, and mid-level lines.
The Asian session levels act as important reference points for institutional order flow and potential support/resistance zones during subsequent trading sessions. Lines extend forward until broken, helping traders identify when price takes liquidity or respects these key levels.
The visual background and customizable labels make it easy to spot session boundaries and plan trades around these high-probability zones.
Ideal for traders following ICT concepts, session-based strategies, SMC or anyone needing clear visual markers for time-based analysis on intraday charts.
Smart Margin Zone
SMART MARGIN ZONE - CME-BASED SUPPORT & RESISTANCE INDICATOR
TITLE FOR PUBLICATION:
Smart Margin Zone - CME Margin-Based Support and Resistance
CATEGORY:
Support and Resistance
SHORT DESCRIPTION (for preview):
Automatically plots margin zones based on CME Group requirements. These zones represent critical price levels where leveraged traders face margin calls, creating natural support and resistance through forced liquidations.
═══════════════════════════════════════════════════════════════
FULL DESCRIPTION FOR TRADINGVIEW:
═══════════════════════════════════════════════════════════════
📊 Smart Margin Zone - Professional Trading Zones Based on CME Data
This indicator automatically calculates and displays margin zones derived from official CME Group margin requirements. These zones represent critical price levels where traders using leverage receive margin calls, triggering forced position closures that create natural support and resistance levels.
═══════════════════════════════════════════════════════════════
🎯 CORE CONCEPT
═══════════════════════════════════════════════════════════════
When price reaches calculated margin zones, traders using 2:1 or 4:1 leverage on CME futures receive margin calls. Brokers automatically liquidate these positions, creating waves of buying or selling pressure that form strong support and resistance levels.
This is not theoretical - it's based on actual margin requirements from CME Group, the world's largest derivatives marketplace.
═══════════════════════════════════════════════════════════════
📐 CALCULATION METHODOLOGY
═══════════════════════════════════════════════════════════════
The indicator uses the following formula to calculate zone sizes:
Zone Size = (Margin Requirement / Tick Value) × Tick Size × 1.10
Where:
• Margin Requirement = Official CME initial margin (updated November 2024)
• Tick Value = Dollar value of minimum price movement
• Tick Size = Minimum price increment
• 1.10 = 10% buffer for realistic zone width
SUPPORTED INSTRUMENTS WITH CME DATA:
Currency Pairs:
• EURUSD: $2,100 margin → 0.0168 zone size
• GBPUSD: $1,800 margin → 0.0144 zone size
• AUDUSD: $1,300 margin → 0.0065 zone size
• NZDUSD: $1,100 margin → 0.0055 zone size
• USDJPY: $3,200 margin → custom calculation
• USDCAD: $950 margin → calculated
• USDCHF: $1,650 margin → calculated
Commodities:
• Gold (XAUUSD): $8,000 margin → 80 points zone size
• Silver (XAGUSD): $6,500 margin → calculated
• WTI Crude Oil: $4,500 margin → calculated
═══════════════════════════════════════════════════════════════
🔍 HOW IT WORKS
═══════════════════════════════════════════════════════════════
1. SWING POINT DETECTION
The indicator automatically identifies swing highs and swing lows using a configurable lookback period (default 10 bars). These become anchor points for zone calculations.
2. FIVE ZONE LEVELS
From each swing point, five zone levels are calculated:
• Zone 1/4 (25%) - First correction level
• Zone 1/2 (50%) - KEY ZONE for trend determination
• Zone 3/4 (75%) - Intermediate level
• Zone 1/1 (100%) - Full margin zone (strongest level)
• Zone 5/4 (125%) - Extended zone
3. TREND IDENTIFICATION
• Close above Zone 1/2 resistance = Bullish trend
• Close below Zone 1/2 support = Bearish trend
• Between zones = Range/consolidation
4. HISTORICAL CONTEXT
Current zones are displayed prominently with fills and labels. Historical zones appear as thin, semi-transparent lines for context without cluttering the chart.
═══════════════════════════════════════════════════════════════
⚙️ FEATURES
═══════════════════════════════════════════════════════════════
AUTOMATED CALCULATION:
✅ Auto-detection of swing highs and lows
✅ Real-time zone updates as new swings form
✅ CME margin data built-in for major instruments
✅ Manual override option for custom calculations
VISUAL CLARITY:
✅ Color-coded zones (red=resistance, green=support)
✅ Adjustable transparency for fills and lines
✅ Current zones bold with fills and price labels
✅ Historical zones thin and transparent
✅ Swing point markers show calculation origins
CUSTOMIZATION:
✅ Show/hide individual zone levels (1/4, 1/2, 3/4, 1/1, 5/4)
✅ Toggle historical zones on/off
✅ Adjustable lookback period (5-50 bars)
✅ Customizable colors for all elements
✅ Line width and transparency controls
✅ Zone extension options (none/right/both)
TREND ANALYSIS:
✅ Optional trend background coloring
✅ Customizable trend colors and transparency
✅ Real-time trend identification display
STATISTICS:
✅ Live statistics table showing:
- Current instrument
- Active zone size
- Calculation mode
- Current trend direction
- Number of zones displayed
ALERTS:
✅ Zone 1/2 breakout (up/down)
✅ Full margin zone 1/1 reached
✅ Customizable alert messages
═══════════════════════════════════════════════════════════════
📈 TRADING APPLICATIONS
═══════════════════════════════════════════════════════════════
ENTRY SIGNALS:
• Bounces from zone levels = potential entry points
• Zone 1/2 breakouts = trend continuation entries
• Zone rejections = reversal opportunities
RISK MANAGEMENT:
• Zone levels = logical stop-loss placement
• Zone 1/1 = maximum risk level
• Zone spacing = position sizing guide
PROFIT TARGETS:
• Next zone level = first target
• Zone 1/1 = full profit target
• Zone breakouts = extended targets
TREND CONFIRMATION:
• Price above Zone 1/2 resistance = confirmed uptrend
• Price below Zone 1/2 support = confirmed downtrend
• Consolidation between zones = wait for breakout
═══════════════════════════════════════════════════════════════
📚 USAGE INSTRUCTIONS
═══════════════════════════════════════════════════════════════
GETTING STARTED:
1. Add indicator to chart of any supported instrument
2. Zones automatically calculate and display
3. Adjust swing detection period if needed (default 10 works well)
4. Customize colors and visibility to your preference
OPTIMAL SETTINGS:
• Best timeframes: H1, H4, Daily, Weekly
• Default swing length (10) suitable for most markets
• Show 2-3 historical zones for context
• Enable swing point markers to see calculation origins
INTERPRETATION:
• Watch for price reactions at zone boundaries
• Strong bounces = respect for margin level
• Clean breaks = momentum continuation
• Multiple touches = zone strength confirmation
SET ALERTS:
• Zone 1/2 breakouts for trend entries
• Zone 1/1 reaches for profit-taking
• Custom alerts for your specific strategy
═══════════════════════════════════════════════════════════════
⚠️ IMPORTANT NOTES
═══════════════════════════════════════════════════════════════
DATA ACCURACY:
• CME margin requirements updated November 2024
• Margins change periodically - check CME Group website
• Manual mode available for latest margin data
• Indicator provides analysis tool, not financial advice
STATISTICAL PERFORMANCE:
• Historical data shows >60% probability of continued movement after Zone 1/2 breakout
• Zone effectiveness varies by market conditions
• Best results in trending markets with clear swings
LIMITATIONS:
• Margin requirements change - monitor CME updates
• Works best on liquid instruments with clear swings
• Not a standalone trading system
• Should be combined with additional analysis
═══════════════════════════════════════════════════════════════
🔧 METHODOLOGY CREDIT
═══════════════════════════════════════════════════════════════
This indicator is based on the margin zones concept developed by Alexander Bazylev (BTrade indicator for MetaTrader platforms).
The TradingView implementation has been completely rewritten with original enhancements:
• Multiple zone levels instead of single level
• Automatic swing point detection algorithm
• Direct CME data integration
• Historical zone visualization
• Advanced customization options
• Comprehensive statistics and alerts
All code is original and specifically designed for TradingView's Pine Script v5 environment.
═══════════════════════════════════════════════════════════════
💡 BEST PRACTICES
═══════════════════════════════════════════════════════════════
COMBINE WITH:
• Volume analysis for confirmation
• Trend indicators for direction bias
• Price action patterns at zones
• Higher timeframe analysis
AVOID:
• Trading against strong trends at minor zones
• Over-leveraging based solely on zone placement
• Ignoring broader market context
• Expecting perfect bounces every time
OPTIMIZE:
• Adjust swing length for different timeframes
• Shorter period (5-7) for intraday trading
• Longer period (15-20) for swing trading
• Test historical effectiveness on your instruments
═══════════════════════════════════════════════════════════════
📖 EDUCATIONAL VALUE
═══════════════════════════════════════════════════════════════
This indicator helps traders understand:
• How institutional margin requirements affect price
• Where forced liquidations create pressure
• Natural support and resistance formation
• Relationship between leverage and price levels
• Market structure and key technical levels
═══════════════════════════════════════════════════════════════
🔄 VERSION HISTORY
═══════════════════════════════════════════════════════════════
Version 1.0 (Initial Release):
• CME-based zone calculation for 10 instruments
• Automatic swing high/low detection
• 5 zone levels with customizable display
• Historical zones with transparency control
• Swing point markers
• Trend background indicator
• Live statistics table
• Multiple alert conditions
• Fully customizable colors and styles
• English language interface
═══════════════════════════════════════════════════════════════
📞 SUPPORT & FEEDBACK
═══════════════════════════════════════════════════════════════
Questions or suggestions? Leave a comment below!
If you find this indicator useful:
⭐ Please leave a like
💬 Share your experience in comments
🔔 Follow for updates and new indicators
═══════════════════════════════════════════════════════════════
⚖️ DISCLAIMER
═══════════════════════════════════════════════════════════════
This indicator is provided for educational and analytical purposes only. It is not financial advice and should not be the sole basis for trading decisions.
• Past performance does not guarantee future results
• Trading involves substantial risk of loss
• CME margin requirements subject to change
• Always do your own research and risk management
• Consult a financial advisor for investment advice
The creator is not responsible for any trading losses incurred through use of this indicator.
Multitime ATR (5m/15m/30m)Special thanks to Ogura
“This indicator displays ATR values for timeframes shorter than 30 minutes.”
“An ATR indicator designed to visualize volatility across 5-minute, 15-minute, and 30-minute timeframes.”
30分未満のATRを表示するインジケーターです。おぐさんありがとう。
Options Premium Decay (Paisa Algo)📜 Option Premium Analysis (Paisa Algo): Key Concepts
Option Premium Analysis is the process of evaluating the price (premium) of an options contract that a trader pays in advance to enter the contract.
Analyzing the premium is crucial as it significantly affects the potential returns on the contracts and helps in deciding the appropriate trading strategy.
Factors Affecting Premium Price
The option premium is influenced by several factors:
Intrinsic Value: The difference between the underlying asset's current market price and the strike price. It is always positive or zero, never negative.
Time Value (Extrinsic Value): Represents the potential for the contract's value to change before expiry. This value decays as the expiry date approaches, a phenomenon known as
Option Premium Time Decay Analysis.
Volatility: Higher volatility in the stock price leads to higher premiums.
Rate of Interest: A higher rate of interest suggests higher premiums.
Dividends: The payment of dividends can significantly impact option pricing, especially for call options, as the holder is not entitled to the dividend
Underlying Asset Price: Changes in the underlying asset's price can impact the options premium.
Calculation Methods
Two popular methods for calculating the options premium and its decay are the Black-Scholes model and the Binomial model .
📊 "Options Premium Decay (Paisa Algo)" Indicator
This is a technical indicator written in Pine Script designed to visualize and alert on the decay or change in premium of a selected range of Call (CE) and Put (PE) options for a given underlying asset (like NIFTY).
Key Functionality
Focus: It performs Option Premium Decay Analysis by measuring the rate of decline in the value of an options contract due to the passage of time.
Input Parameters:
Symbol: The underlying asset (e.g., `NSE:NIFTY`).
Expiry Dt: The expiration date for the options contracts.
Strike Range: Defined by `Strike` (lower), `Strike` (upper), and `Strike Diff`.
Calculation:
It auto-generates option tickers for the specified strike range and expiry date.
It requests the closing price (`close`) for each Call (CE) and Put (PE) option contract within the range.
It calculates the change since the open for the total premium of all fetched CE contracts (`ce_decay`) and all fetched PE contracts (`pe_decay`).
Output Visualization:
It plots the CE Decay (green/teal) and PE Decay (r ed) lines, showing the change in the total premium since the start of the session.
It displays percentage badges on the right edge of the chart to show the relative contribution of CE and PE decay to the total absolute decay sum.
It includes a `0` line for reference.
Alerts and Markers: The indicator generates alerts and places on-chart markers for specific conditions:
Decay Cross: When the CE and PE decay lines cross.
Both At Zero: When both CE and PE decay values are near zero.
Both Below Zero: When both CE and PE decay values are negative
First Sub-Candle Coloring (Fixed) - NEXT LEVELThis script colors the first 15m candle inside a 30m candle based on it being bullish or bearish.
Does the same for the first 30m candle inside a 1h candle.
Wick % Highlighter + AlertThis indicator indicates when the is a wick grater then 1%, You can also add alerts when the indicator fires
黄金策略 V5 (信号验证)This indicator is intended exclusively for use on the Binance Event Contracts 5-minute chart for 10-minute long positions. Please confirm that the signal is still valid at the close of the 5-minute candle.
Crypto Mobi FVG (Free)⭐ Crypto Mobi FVG Indicator (Free for Community)
This is a simple, clean and powerful Fair Value Gap (FVG) indicator created for traders who follow Smart Money Concepts (SMC). It automatically detects Bullish & Bearish FVGs, draws them on your chart, and extends them into the future so you can easily identify potential imbalance zones, liquidity grabs and high-probability entries.
This indicator is designed to be lightweight, fast and beginner-friendly. Whether you are trading Bitcoin, altcoins, forex, gold or indices, it helps you clearly visualize imbalance zones without needing any premium tools.
📌 Features
🔹 Automatic detection of Bullish FVGs
🔹 Automatic detection of Bearish FVGs
🔹 Smart extension of all gaps to the right
🔹 Clean visual zones with color-coded fills
🔹 Minimal lag and optimized performance
🔹 Works on all timeframes (1m to 1W)
🔹 Perfect for SMC / ICT-style trading
SP500 trading plan ManciniScript with marked levels on chart, different for support and resistance levels
EMA 21 & EMA 36 with Signals-RamanaReddyEMA 21 & EMA 36 with Signals avg
EMA crossover signals
Alerts on crossovers
Strategy backtest version
Balec Final## BalecFinal.pine - Brief Description
**TradingView indicator** that combines few methods to generate trading signals:
- **Multi-timeframe Stochastic RSI*
- **Price area analysis**
- **EMA crossovers** (12, 36, 72, 120)
- **Heikin Ashi reversal detection**
**Features:**
- Generates LONG/SHORT signals from a normalized composite score
- Accumulates signals until Heikin Ashi reversal
- **Order Blocks detection** (support/resistance zones)
- **Webhook automation** (entry, TP, SL orders)
- **Trade simulation** with fixed SL, trailing SL, and performance stats
**Display:** Signal bubbles, Order Blocks on chart, real-time statistics table.
Multi-timeframe technical analysis tool with risk management and webhook automation.
XAUUSD Sniper Setup (Pre-Arrows + SL/TP)//@version=5
indicator("XAUUSD Sniper Setup (Pre-Arrows + SL/TP)", overlay=true)
// === Inputs ===
rangePeriod = input.int(20, "Lookback Bars for Zone", minval=5)
maxRangePercent = input.float(0.08, "Max Range % for Consolidation", step=0.01)
tpMultiplier = input.float(1.5, "TP Multiplier")
slMultiplier = input.float(1.0, "SL Multiplier")
// === Consolidation Detection ===
highestPrice = ta.highest(high, rangePeriod)
lowestPrice = ta.lowest(low, rangePeriod)
priceRange = highestPrice - lowestPrice
percentRange = (priceRange / close) * 100
isConsolidation = percentRange < maxRangePercent
// === Zones ===
demandZone = lowestPrice
supplyZone = highestPrice
// === Plot Consolidation Zone Background ===
bgcolor(isConsolidation ? color.new(color.gray, 85) : na)
// === Plot Potential Buy/Sell Levels ===
plot(isConsolidation ? demandZone : na, color=color.green, title="Potential Buy Level", linewidth=2)
plot(isConsolidation ? supplyZone : na, color=color.red, title="Potential Sell Level", linewidth=2)
// === Liquidity Sweep ===
liquidityTakenBelow = low < demandZone
liquidityTakenAbove = high > supplyZone
// === Engulfing Candles ===
bullishEngulfing = close > open and close < open and close > open
bearishEngulfing = close < open and close > open and close < open
// === Break of Structure ===
bosUp = high > ta.highest(high , 5)
bosDown = low < ta.lowest(low , 5)
// === Sniper Entry Conditions ===
buySignal = isConsolidation and liquidityTakenBelow and bullishEngulfing and bosUp
sellSignal = isConsolidation and liquidityTakenAbove and bearishEngulfing and bosDown
// === SL & TP Levels ===
slBuy = demandZone - (priceRange * slMultiplier)
tpBuy = close + (priceRange * tpMultiplier)
slSell = supplyZone + (priceRange * slMultiplier)
tpSell = close - (priceRange * tpMultiplier)
// === PRE-ARROWS (Show Before Breakout) ===
preBuyArrow = isConsolidation ? 1 : na
preSellArrow = isConsolidation ? -1 : na
plotarrow(preBuyArrow, colorup=color.new(color.green, 50), maxheight=20, minheight=20, title="Pre-Buy Arrow")
plotarrow(preSellArrow, colordown=color.new(color.red, 50), maxheight=20, minheight=20, title="Pre-Sell Arrow")
// === SNIPER CONFIRMATION ARROWS ===
buyArrow = buySignal ? 1 : na
sellArrow = sellSignal ? -1 : na
plotarrow(buyArrow, colorup=color.green, maxheight=60, minheight=60, title="Sniper BUY Arrow")
plotarrow(sellArrow, colordown=color.red, maxheight=60, minheight=60, title="Sniper SELL Arrow")
// === BUY SIGNAL ===
if buySignal
label.new(bar_index, low, "BUY SL/TP Added", style=label.style_label_up, color=color.green, textcolor=color.white)
line.new(bar_index, slBuy, bar_index + 5, slBuy, color=color.red, style=line.style_dotted)
line.new(bar_index, tpBuy, bar_index + 5, tpBuy, color=color.green, style=line.style_dotted)
label.new(bar_index, slBuy, "SL", color=color.red, style=label.style_label_down)
label.new(bar_index, tpBuy, "TP", color=color.green, style=label.style_label_up)
// === SELL SIGNAL ===
if sellSignal
label.new(bar_index, high, "SELL SL/TP Added", style=label.style_label_down, color=color.red, textcolor=color.white)
line.new(bar_index, slSell, bar_index + 5, slSell, color=color.red, style=line.style_dotted)
line.new(bar_index, tpSell, bar_index + 5, tpSell, color=color.green, style=line.style_dotted)
label.new(bar_index, slSell, "SL", color=color.red, style=label.style_label_up)
label.new(bar_index, tpSell, "TP", color=color.green, style=label.style_label_down)
// === Alerts ===
alertcondition(buySignal, title="Sniper BUY", message="Sniper BUY setup on XAUUSD")
alertcondition(sellSignal, title="Sniper SELL", message="Sniper SELL setup on XAUUSD")
OANDA:XAUUSD
FVG Pro: Custom Style & AlertsIntroduction The FVG Pro is an advanced Smart Money Concepts (SMC) tool designed to detect Fair Value Gaps (Imbalance) with precision. Unlike standard indicators that clutter your chart with invalid zones, this script features a "Smart Clean" logic that automatically removes zones once they are invalidated by a confirmed Candle Close.
Why Use This Indicator? Many FVG indicators fail to distinguish between a "wick test" and a true "breakout." This script solves that problem. It keeps the FVG box active if price only wicks through it, respecting the zone as a valid support/resistance until a candle body explicitly closes beyond the gap.
Key Features:
Body Break Logic: The FVG box is ONLY removed if a candle Closes beyond the zone. Wicks (tails) that pierce the zone will not delete the box, allowing you to catch precise rejections.
Auto-Extend & Clean: Boxes automatically extend to the right to follow price action and vanish instantly upon invalidation to keep your chart clean.
Smart Coloring:
Yellow Candle: Indicates a Bullish (Buy) Gap formation.
Purple Candle: Indicates a Bearish (Sell) Gap formation.
Customizable Visuals:
Includes a Middle Line (Consequent Encroachment - CE) with customizable styles (Solid/Dash/Dot).
Ghost-box transparency to ensure price action remains visible.
Advanced Alerts: Integrated alert() function triggers ONLY on bar close, ensuring zero false signals while you are away from the screen.
Settings Guide:
Mode Panjang Box: Choose "Auto Extend" to track live zones or "Fixed" for backtesting history.
Minimal Gap Size: Filter out small/insignificant gaps to reduce noise on lower timeframes.
Midline Style: Customize the 50% equilibrium line to fit your chart theme.
Disclaimer: This tool is for educational purposes and to assist in technical analysis. Always manage your risk properly.
Simple VP Shape DetectorSimple VP Shape Detector is a lightweight Pine Script tool designed to help traders quickly identify the four major Volume Profile shapes commonly used in orderflow and auction-market theory:
D-Shape (Balanced Profile)
P-Shape (Short-Covering / Buyer-Dominant)
B-Shape (Long-Liquidation / Seller-Dominant)
Thin Profile (Trend Profile)
This indicator uses candle statistics (range, body size, volume distribution approximation, and directional movement) to estimate the underlying shape of the volume profile when the full Volume Profile tool is not available.
✔️ What this indicator does
Analyzes recent bars to estimate volume concentration vs. price movement
Flags possible VP shapes using simple logic
Displays labels above/below candles showing:
“D” → Balanced
“P” → Buyer-heavy
“B” → Seller-heavy
“T” → Trending / Thin profile
Helps traders quickly identify auction conditions
✔️ Why this is useful
Volume Profile tools require premium data or heavy visual processing.
This script provides a simple, fast, CPU-light alternative that still captures the essential behavior of profile shapes.
✔️ How shapes are detected
D-Shape: small directional movement + larger body clustering
P-Shape: strong upward move + volume weighted to upper half
B-Shape: strong downward move + volume weighted to lower half
Thin: long range candles with little internal consolidation
⚠️ Disclaimer
This script is an approximation. It does NOT replace full Volume Profile tools.
It is designed as an educational / supplemental tool for market structure analysis.
ATR STRUCTURE
So I can produce this
🟡 START = 662.63 ✳️ ATR ≈ 8.30 pts (0.5 ATR ≈ 4.15 • 1 ATR ≈ 8.30) 🙂📏
ATR bands (numeric)
🔼 START + 0.5 ATR = 662.63 + 4.15 = 666.78 (upper buffer / shelf)
🔼 START + 1 ATR = 662.63 + 8.30 = 670.93 (breakout band)
🔽 START − 0.5 ATR = 662.63 − 4.15 = 658.48 (near support)
🔽 START − 1 ATR = 662.63 − 8.30 = 654.33 (deeper stop zone)
— Priority level ladder (footprint‑first & ATR alignment) — (emoji = confidence • 🔥 = high • ✅ = footprint confirmed • 🟡 = medium)
🔥🟢 PM_LOW / D1 — ~659.95 → 660.50 ✅ (FOOTPRINT CONFIRMED)
Why: repeated 30m+1h absorption (sold‑into then bought up). DEEP confidence. 🧯🔁
🔥🔴 ORBH / U2 cluster — ~663.98 → 665.87 ✅ (FOOTPRINT SUPPLY)
Why: repeated rejections / sell MaxDelta rows on 30m & 1h. Treat as overhead supply / shelf. 🪓📉
🔥🟦 D3 / ORBL corridor — ~658.64 ✅ (TF confluence: 1h+4h MaxDelta)
Why: single‑row institutional sells map here; structural LVN / open‑range low. 🛡️📌
🟡⭐ START / U1 pivot zone — ~662.63 – 662.70 ✅ (session pivot, 1h absorption)
Why: session magnet—use for intraday bias pivot / quick confirms. 👀⚖️
🟡🔥 U4 / U5 upper HVN band — ~666.7 → 669.3 (ATR UPPER)
Why: strong HVN / stop‑run evidence on higher TFs — needs large buy MaxDelta to flip. 🚧🚀
⚪ D5 lower expansion support — ~654.3–656.7 (deeper target if sellers run)
Why: longer‑TF expansion area; lower immediate probability but high impact if hit. ⚠️📉
Thiru Time CyclesThiru Time Cycles - Advanced Time-Based Market Analysis System
WHAT IT DOES:
Automatically identifies and visualizes trading sessions, time cycles, and market structure elements. Helps traders identify optimal entry times, track session ranges, and monitor market structure through ICT/SMC methodologies.
KEY FEATURES:
1. SESSION KILLZONES
- Asia, London, NY AM, NY PM, Lunch, Power Hour sessions
- Customizable colors, transparency, and visual styles (Filled, Outline, TopLine, SideBars)
- Real-time high/low tracking within each session
2. 90-MINUTE TIME CYCLES
- Divides major sessions into three 90-minute cycles (A/M/D phases)
- London: LO A, LO M, LO D
- NY AM: AM A, AM M, AM D
- NY PM: PM A, PM M, PM D
3. 30-MINUTE SUB-CYCLES
- Granular 30-minute breakdowns (A1-A3, M1-M3, D1-D3)
- Precise entry timing within larger cycles
4. TOI (TIME OF INTEREST) TRACKER
- London: 2:45-3:15 AM, 3:45-4:15 AM
- NY AM: 9:45-10:15 AM, 10:45-11:15 AM
- NY PM: 1:45-2:15 PM, 2:45-3:15 PM
5. TRADE SETUP TIME WINDOWS
- London: 2:30-4:00 AM
- NY AM: 9:30-10:30 AM
- NY PM: 1:30-2:30 PM
6. TOI VERTICAL LINES
- 90-minute and 30-minute cycle boundary markers
- Customizable opacity, style, and height
7. PIVOT ANALYSIS
- High/Low pivot identification per session
- Pivot midpoints
- Customizable labels with price display
- Extension options (until mitigated/past mitigation)
8. SESSION RANGE TABLE
- Real-time range display
- Average range calculation
- Color-coded active sessions
9. OPENING PRICE LINES
- Daily Chart Open, hourly opens
- Customizable session opens
10. DAY/WEEK/MONTH FILTERS
- Filter by day of week
- Current week/last 4 weeks options
- D/W/M high/low tracking
HOW TO USE:
BASIC SETUP:
1. Add indicator to chart
2. Set timezone (default: America/New_York)
3. Enable desired sessions in Killzones section
4. Customize colors and styles
FOR SESSION TRADING:
- Enable session killzones you trade
- Monitor session boxes for high/low ranges
- Use range table for current/average ranges
FOR TIME CYCLE ANALYSIS:
- Enable 90-min or 30-min cycles
- Watch price action at cycle boundaries
- Use vertical lines for cycle transitions
FOR PIVOT TRADING:
- Enable "Show Pivots" in Killzone Pivots
- Use pivots as support/resistance
- Set alerts for pivot breaks
FOR TOI TRADING:
- Enable TOI Tracker
- Monitor specific time windows
- Use for precise entry timing
UNIQUE FEATURES:
✓ Custom visual system (Filled/Outline/TopLine/SideBars box styles)
✓ Proprietary color processing functions
✓ Dual cycle system (90-min + 30-min simultaneous tracking)
✓ Integrated TOI system with vertical line visualization
✓ Smart label positioning with collision detection
✓ Comprehensive range analysis with averaging
✓ Flexible session management with custom time windows
TECHNICAL:
- Pine Script v6
- 500 max labels/lines/boxes
- Full DST-aware timezone support
- Multi-timeframe compatible
- Customizable timeframe limits
BEST PRACTICES:
- Start with session killzones, add cycles gradually
- Set appropriate timeframe limits to avoid clutter
- Use consistent colors for clarity
- Enable only sessions you actively trade
- Monitor range table for session volatility
- Set pivot break alerts for your trading sessions
Compatible with all instruments (forex, stocks, futures, crypto). Works on all timeframes, optimized for intraday trading.
For support: @thirudinesh on TradingView
© 2025 thirudinesh - Advanced Time Cycle Analysis System
Proprietary Algorithm - All Rights Reserved
XAUMO Gap RetraceXAUMO Gap Retrace
Educational description for TradingView (English)
📘 EDUCATIONAL ONLY — NOT FINANCIAL ADVICE
This script is for study, training and back-testing ideas. It does NOT give guaranteed
buy/sell signals and must NOT be used to promote any “risk-free” or “fixed return” schemes.
────────────────────────────────
1) What does XAUMO Gap Retrace do?
────────────────────────────────
This indicator tracks a very specific price behaviour:
» After a bar closes (and is NOT a tweezer with the previous bar),
it “arms” a target at the previous bar’s High or Low.
» It then watches to see if the market retraces to that level
on the next bar (or later, depending on your setting).
» When price touches that previous High/Low, it marks the fill,
updates a live label with distance and progress, and can fire an alert.
In simple terms:
“Every candle that closes away from the previous candle
gets a ‘magnet’ at the previous High or Low.
XAUMO Gap Retrace tells you if the very next candle comes back
to fill that gap to the previous bar.”
────────────────────────────────
2) Core logic step-by-step
────────────────────────────────
(1) Tweezer detection
• It calculates:
– prevH = previous bar’s High
– prevL = previous bar’s Low
– tol = toleranceTicks × syminfo.mintick
• If the current bar’s High or Low is within “tol” of the previous High or Low,
it is treated as a tweezer:
isTweezer = highs or lows almost equal to previous bar.
• Tweezer bars are ignored (no new target armed) to avoid noise.
(2) Target selection (Midline vs Nearest)
When a bar closes (barstate.isconfirmed) and it’s not a tweezer:
• Mode = "Midline"
– prevMid = (prevH + prevL) / 2
– If close >= prevMid → target = prevH (previous High)
– Else → target = prevL (previous Low)
• Mode = "Nearest"
– target = whichever is nearer to the close:
• prevH or prevL
The chosen level is stored in:
• lastTarget = the price level we are waiting to be filled
• lastSigIndex = bar_index of the signal candle
• needUp = true if close < target (price must go up to fill)
false if close > target (price must go down)
• baseDist = |close - target| at the signal bar
(used later to compute “progress”).
(3) Active state and fill detection
• isArmed = lastTarget is not na (we have a live target).
• isNextBar = bar_index == lastSigIndex + 1.
• isActive =
– if nextBarOnly = true → only the immediate next bar is allowed
– if nextBarOnly = false → any bar after the signal is active.
Price-touch rule:
• If needUp = true → fill when high >= lastTarget.
• If needUp = false → fill when low <= lastTarget.
This gives:
• fillNow = true on the bar where the previous High/Low is touched.
(4) Target line and fill marker
• plot() draws a line at lastTarget (with linebreak style) while armed.
• plotshape() draws a tiny circle at the touch price when fillNow is true,
labelled “fill”.
(5) Live distance / progress label
A single live label (liveLbl) shows live stats on the last bar:
• dist = |close - lastTarget|
• distTicks = dist / tick
• progress = how far the market has moved towards the target since the signal:
– 0% = no progress
– 100% = fully filled
(internally clamped between 0 and 1 with a custom clamp function).
If showLabel is ON, on the last bar:
• Old label is deleted,
• New label is created at (bar_index + liveLabelShift, close),
so it appears shifted to the right by N bars.
• Text includes:
– Target price
– Distance in price and ticks
– Progress %
– Direction text “↑ need up” or “↓ need down”.
(6) Alerts
• alertcondition(fillNow, ...) triggers when the previous High/Low
is touched according to the rules above.
• You can connect this to TradingView alerts to be notified when
the gap retrace happens.
(7) Auto-reset (when nextBarOnly = true)
• After the “next bar” closes, if the target is still armed,
the script clears:
– lastTarget
– baseDist
so that a new signal can be armed on future bars.
────────────────────────────────
3) Inputs summary
────────────────────────────────
• Tweezer tolerance (ticks)
– How close highs or lows can be to be considered a tweezer (skip signal).
• Target selection
– "Midline": choose High or Low based on whether close is above/below midpoint.
– "Nearest": choose whichever of prev High/Low is closer to the close.
• Only allow fill on the following bar
– If true: only the very next bar can fill the target.
– If false: any later bar can fill it.
• Show target line
– Draw/Hide the H/L target line.
• Show signal/fill markers
– Draw/Hide the small circle marker on fill.
• Show live distance label
– Turn the floating label ON/OFF.
• Live label → shift right (bars)
– Horizontal shift in bars for the live label (default 3 bars to the right).
────────────────────────────────
4) How to use it (educational view)
────────────────────────────────
XAUMO Gap Retrace is a study tool for:
• Testing how often a candle “comes back” to revisit the previous bar’s High/Low.
• Studying behaviour of retracements after a non-tweezer move.
• Combining gap-retrace logic with your own system:
– support/resistance
– VWAP / FVRP
– volume / delta
It is NOT meant to be traded blindly. It’s a microscope for one specific
price pattern: “does the next bar retrace to the previous bar’s H/L?”
────────────────────────────────
5) Risk & scam awareness
────────────────────────────────
• No script can guarantee profit or remove risk.
• Past retrace behaviour does not guarantee future behaviour.
• Never send money or account credentials to anyone claiming they can
use this indicator to give “fixed income” or “guaranteed returns”.
• Always test ideas, manage your own risk, and trade only money you
can afford to lose.
================================================
XAUMO Gap Retrace
وصف تعليمي بالعربي لمكتبة TradingView
📘 الاسكريبت تعليمي فقط — مش توصية شراء أو بيع
الهدف إنك تذاكر سلوك السعر وتعمل باك-تست، مش إنك تاخد منه أرباح مضمونة.
ممنوع استخدامه في أي دعاية نصب أو وعود كاذبة.
────────────────────────────────
١) الاسكريبت ده بيعمل إيه؟
────────────────────────────────
XAUMO Gap Retrace بيراقب سلوك معيّن:
• بعد ما الشمعة تقفل (وبتكون مش تويزر مع الشمعة اللي قبلها)
الاسكريبت “يسلّح” Target عند هاي أو لو الشمعة السابقة.
• بعد كده يبص: هل الشمعة اللي بعدها (أو اللي بعدهم لو حابب)
رجعت لمست الهاي/اللو بتوع الشمعة اللي فاتت ولا لأ؟
• لو اتلمس الهاي/اللو:
– بيحط علامة “fill”
– يحدّث ليبل حيّ بمسافة السعر والتقدّم
– ممكن يضرب Alert لو أنت فعّلتها.
يعني بالعربي:
“كل شمعة تقفل بعيد شوية عن اللي قبلها، بنحطلها مغناطيس
عند هاي أو لو الشمعة اللي قبلها، وبنشوف هل الشمعة الجاية
هترجع تلمسه ولا لأ.”
────────────────────────────────
٢) المنطق الداخلي خطوة بخطوة
────────────────────────────────
(أ) كشف الـ Tweezer
• بيحسب:
– prevH = هاي الشمعة اللي قبل
– prevL = لو الشمعة اللي قبل
– tol = toleranceTicks × حجم التكة
• لو الهاي أو اللو الحالي قريب من الهاي/اللو اللي قبل
بمقدار tol → تعتبر Tweezer:
isTweezer = true
• في الحالة دي بنعدّي ومابنسلّحش Target عشان نتفادى النويز.
(ب) اختيار الهدف (Midline أو Nearest)
لو الشمعة اتأكدت (barstate.isconfirmed) ومش تويزر:
• لو Mode = "Midline":
– prevMid = (prevH + prevL) / 2
– لو close ≥ prevMid → الهدف = prevH (هاي السابق)
– غير كده → الهدف = prevL (لو السابق)
• لو Mode = "Nearest":
– الهدف = الأقرب للـ close بين prevH و prevL.
وبعدين يخزن:
• lastTarget = مستوى السعر اللي مستنّين اللمسة عنده.
• lastSigIndex = bar_index للشمعة اللي سلّحت الإشارة.
• needUp = true لو التارجت فوق الكلوز (السعر محتاج يطلع).
false لو التارجت تحت الكلوز (السعر محتاج ينزل).
• baseDist = المسافة الأصلية |close - target| عند شمعة الإشارة.
(ج) حالة التسلّح والFill
• isArmed = في Target شغّال؟
• isNextBar = إحنا في الشمعة اللي بعد الإشارة مباشرة؟
• isActive =
– لو nextBarOnly = true → بس الشمعة اللي بعد الإشارة مسموح تملأ.
– لو false → أي شمعة بعد الإشارة مسموح.
شرط اللمس:
• لو needUp = true → fill لما high ≥ lastTarget.
• لو needUp = false → fill لما low ≤ lastTarget.
ده بيطلع:
• fillNow = true على الشمعة اللي لمست فيها الهاي/اللو بتاع الشمعة السابقة.
(د) خط الهدف وعلامة الـ Fill
• plot() يرسم خط عند lastTarget طول ما الإشارة متسلّحة.
• plotshape() يرسم دايرة صغيرة مكتوب عليها “fill” وقت ما الشرط يتحقق.
(هـ) ليبل المسافة والتقدّم (لايف)
ليبل واحد حيّ liveLbl يوضح إيه اللي بيحصل حاليًا:
• dist = |close - lastTarget|
• distTicks = dist ÷ حجم التكة
• progress = التقدم من ٠٪ لحد ١٠٠٪ من المسافة الأصلية:
– ٠٪ = لسه ما اتحركناش ناحية الهدف
– ١٠٠٪ = تم ملء الهدف
(محسوبة بـ clamp عشان نفضل بين ٠ و١).
لو showLabel شغّال وعلى آخر شمعة:
• يمسح الليبل القديم (لو موجود)
• يرسم ليبل جديد عند:
bar_index + liveLabelShift, close
يعني مزحزح الليبل كذا شمعة قدام على الشارت.
• النص بيعرض:
– Target
– Dist + Dist in ticks
– Progress٪
– سهم واتجاه: "↑ need up" أو "↓ need down".
(و) التنبيهات (Alerts)
• alertcondition(fillNow, ...) بتضرب لما الهدف (هاي/لو الشمعة السابقة)
يتلمس حسب القاعدة.
• تقدر توصلها بألارم على TradingView عشان يجيلك نوتيفيكيشن أول ما
يحصل Retrace.
(ز) إعادة ضبط أوتوماتيكي (لما nextBarOnly = true)
• بعد قفل الشمعة اللي بعد الإشارة، لو لسه فيه Target متسلّح:
– lastTarget = na
– baseDist = na
عشان يبقى جاهز يسلّح إشارة جديدة بعد كده.
────────────────────────────────
٣) أهم الإعدادات (Inputs)
────────────────────────────────
• Tweezer tolerance (ticks)
– مساحة التسامح في الهاي/اللو عشان نعتبرها تويزر ونسيبها.
• Target selection
– "Midline": يختار الهاي أو اللو حسب مكان الكلوز من منتصف الشمعة.
– "Nearest": يختار الأقرب للكلوز.
• Only allow fill on the following bar
– لو true: بس الشمعة اللي بعدها اللي تقول “اتملّى ولا لأ”.
– لو false: أي شمعة بعد كده ممكن تملّي الهدف.
• Show target line
– إظهار/إخفاء خط الهدف.
• Show signal/fill markers
– إظهار/إخفاء دائرة الـ fill.
• Show live distance label
– تشغيل/إيقاف الليبل اللايف.
• Live label → shift right (bars)
– تزحزح الليبل كام شمعة قدام (افتراضي ٣).
────────────────────────────────
٤) الاستخدام التعليمي
────────────────────────────────
مفيد لو عايز:
• تدرس: كام مرة الشمعة اللي بعد كده بترجع تلمس هاي/لو الشمعة اللي قبلها؟
• تشوف سلوك Retrace بعد حركة مش تويزر.
• تضيف المنطق ده لاستراتيجيتك:
– زونز، VWAP، FVRP، فوليوم، دلتا… إلخ.
مش معمول إنك تشتري/تبيع لوحده بمجرد ظهور إشارة.
────────────────────────────────
٥) مخاطر واحتيال
────────────────────────────────
• مفيش سكريبت بيشيل عنك المخاطرة.
• اللي حصل في الماضي مش ضمان للي جاي.
• إوعى حد يقول لك “ب XAUMO Gap Retrace هديك ربح ثابت”.
• ادير ريسكك بنفسك، جرّب الأول على ديمو، واتاجر بس بفلوس
تقدر تتحمل خسارتها.
================================================================
XAUMO Gap Retrace — Business Case (English)
Scenario: Post-selloff balance inside Implosion Box
📘 EDUCATIONAL ONLY — NOT FINANCIAL ADVICE
For TradingView idea / script description. Not a signal, not a promise of profit.
────────────────────────────────
1) What do we see on the chart?
────────────────────────────────
• Symbol: XAUUSD (gold CFD)
• TF: intraday (15m in the screenshot)
• XAUMO Implosion Box is active:
– Box High ≈ 4084.6
– Box Low ≈ 4065.5
Price is moving sideways inside this purple “implosion” range
after a strong Mega Bear waterfall.
• XAUMO Gap Retrace has armed a target at:
– Prev H/L Target ≈ 4077.12
– Live label says:
Target: 4077.12
Dist: 0.84 (64 ticks)
Progress: 71%
↓ need down
This means:
• The last “signal bar” closed ABOVE the chosen previous High/Low.
• The script selected 4077.12 as the magnet (previous H or L).
• Current price is still ABOVE that level, so we “need down”
for a full retrace.
• 71% of the original distance has already been eaten — most of
the gap has been retraced, a small part remains.
────────────────────────────────
2) What is the business case here?
────────────────────────────────
Context:
• We had aggressive selling (multiple Mega Bear tags) pushing price
from the upper green zone into the Implosion box.
• After the dump, price is no longer trending: it is compressing
between Box High and Box Low (implosion phase).
• Inside this box, XAUMO Gap Retrace is tracking small dislocations
between a bar’s close and the previous bar’s High/Low.
Current business case:
• The system is telling us:
“The last impulse away from the previous bar left a void at 4077.12.
The market has already retraced ~71% of that distance, but a
small downward move is still needed to fully ‘close the loop’.”
Educational interpretation:
• As long as price stays inside the Implosion Box, these small
retraces behave like micro mean-reversion trades: the market likes
to test old highs/lows inside the range before deciding whether to
break out (Explosion) or fully revert to the opposite side.
So the business case is:
> We are in a post-liquidation balance (Implosion box).
> XAUMO Gap Retrace shows an unfinished downside retrace to 4077.12.
> This supports a short-term mean-reversion idea INSIDE the box,
> not a blind breakout chase.
You still need:
• Your own trigger (price action / volume / order flow).
• Your own risk plan (SL, size, invalidation if Box High/Low breaks).
────────────────────────────────
3) Risk & scam awareness
────────────────────────────────
• XAUMO Gap Retrace does NOT guarantee that 4077.12 will be filled.
• Implosion boxes sometimes break violently without completing every
tiny retrace.
• Never sell this idea as “guaranteed fill” or “risk-free setup”.
• Always test, size properly, and trade only what you can afford to lose.
SHOW ME THE MONEY ya XAUMO…
but with discipline, risk limits, and zero tolerance for scams.
=========================================================
XAUMO Gap Retrace — الحالة دي بتقول إيه؟ (عربي)
📘 تنبيه مهم:
الشرح ده تعليمي بس، مش توصية شراء أو بيع، ومش وعد بأي ربح.
ممنوع استخدامه في دعاية نصب أو “أرباح مضمونة”.
────────────────────────────────
١) إيه اللي باين على الشارت؟
────────────────────────────────
• الأداة: XAUUSD
• الفريم: إنترادي (١٥ دقايق في الصورة)
• صندوق XAUMO Implosion شغّال:
– Box High حوالي 4084.6
– Box Low حوالي 4065.5
السعر بيتحرّك رايح جاي جوّه البوكس البنفسجي بعد نازلة
جامدة (Mega Bear) من المنطقة الخضرا فوق.
• XAUMO Gap Retrace مسلّح هدف عند:
– Prev H/L Target ≈ 4077.12
– الليبل كاتب:
Target: 4077.12
Dist: 0.84 (64 ticks)
Progress: 71%
↓ need down
يعني:
• شمعة الإشارة قفلت فوق الهاي/اللو اللي الاسكريبت اختاره.
• التارجت 4077.12 هو هاي أو لو الشمعة اللي قبلها.
• السعر دلوقتي لسه فوق التارجت، فـ “محتاج ينزل” عشان يكمّل الـ Retrace.
• ٧١٪ من المسافة الأصلية اتحركت بالفعل، فاضل جزء صغير من الجاب.
────────────────────────────────
٢) الـ Business Case هنا إيه؟
────────────────────────────────
الخلفية:
• كان فيه بيع عنيف من فوق (Mega Bear) نزّل السعر لحد جوّه
صندوق الـ Implosion.
• بعد النزلة، السوق دخل في حالة توازن/كومبريشن بين Box High و Box Low.
• جوّه البوكس، XAUMO Gap Retrace بيتابع كل مرة الشمعة تقفل
بعيد عن هاي/لو الشمعة اللي قبلها وبيشوف: هل الشمعة الجاية
هترجع تلمس المستوى ده ولا لأ.
في اللحظة دي:
• السيستم بيقول لك:
“فيه حركة طالعة فوق سببت فجوة صغيرة لحد 4077.12.
أغلب المسافة اتردّت (حوالي ٧١٪)، لسه ناقص نزلة بسيطة
عشان نقفل الدورة على الآخر.”
القراءة التعليمية:
• طول ما السعر جوّه صندوق الـ Implosion، الحركات دي غالبًا
Mean-Reversion جوّه الرينج: السوق يحب يختبر الهاي/اللوهات
القديمة جوّه البوكس قبل ما يقرر:
– يكسر لفوق (Explosion Up)
– أو يكمل نزلة لتحت.
فالـ Business Case:
> إحنا في توازن بعد نزلة قوية (Implosion Box).
> XAUMO Gap Retrace بيقول لسه فيه Retrace ناقص لتحت لحد 4077.12.
> الفكرة أقرب لتريدات رينج/Mean-Reversion جوّه البوكس،
> مش مطاردة بريك أوت عشوائي.
بس لسه محتاج:
• تأكيد دخول من طريقتك (برايس أكشن / فوليوم / فلو).
• خطة ريسك واضحة (ستوب، حجم عقد، إلغاء الفكرة لو Box High/Low اتكسر).
────────────────────────────────
٣) مخاطر واحتيال
────────────────────────────────
• مفيش ضمان إن السعر لازم يلمس 4077.12.
• ساعات صندوق الـ Implosion بيتكسّر بعنف من غير ما كل Retrace
صغير يكتمل.
• إوعى حد يقول لك “كل هدف Gap Retrace بيتملّي ١٠٠٪” — ده نصب.
• دايمًا جرّب، اتحكّم في حجمك، واتاجر بس بفلوس تقدر تستحمل خسارتها.
SHOW ME THE MONEY يا XAUMO…
بس بالعقل، وبريسـك مانجمنت، ومن غير ولا وعد كدب.
CRT / ORB Signals [Yosiet]What is the CRT Pattern?
The Counter-Retracement Pattern is a classic three-candle setup that reveals moments of market structure weakness and potential reversal. It occurs when a strong move is temporarily rejected, signaling a possible continuation.
Several names for the same candlestick pattern: CRT, ORB, Morning Star, Evening Star, and others, but I'm not going to talk about it.
Here’s the anatomy of a Bullish CRT:
Candle 1 (C1: The Signal Candle): A significant momentum candle in a downtrend.
Candle 2 (C2: The Retracement/Sweep Candle): This is the critical candle. It must sweep the low of C1 (liquidity grab / sweep) but then close with its body inside the range of C1 .
Candle 3 (C3: The Confirmation/Entry Candle): A bullish candle that closes above C2's close, confirming the pattern.
Here’s the anatomy of a Bearish CRT:
The bearish pattern is the exact inverse, sweeping the high of Candle 1.
Why This Indicator?
Clarity and Precision. This script is built for accuracy and minimalism.
No Repainting: The logic is calculated on the closed historical bars. The signal is only plotted on the entry candle (Candle 3) after it has closed.
Clean Visuals: Instead of cluttering every candle, it shows you only what you need:
Green Up Arrow: Signals a confirmed Bullish CRT, suggesting a Long entry.
Red Down Arrow: Signals a confirmed Bearish CRT, suggesting a Short entry.
Faint Circles: Subtle white circles mark the high/low of Candle 1 and Candle 2, helping you visually trace the pattern structure without obstruction.
High Volume Bars (Advanced)High Volume Bars (Advanced)
High Volume Bars (Advanced) is a Pine Script v6 indicator for TradingView that highlights bars with unusually high volume, with several ways to define “unusual”:
Classic: volume > moving average + N × standard deviation
Change-based: large change in volume vs previous bar
Z-score: statistically extreme volume values
Robust mode (optional): median + MAD, less sensitive to outliers
It can:
Recolor candles when volume is high
Optionally highlight the background
Optionally plot volume bands (center ± spread × multiplier)
⸻
1. How it works
At each bar the script:
Picks the volume source:
If Use Volume Change vs Previous Bar? is off → uses raw volume
If on → uses abs(volume - volume )
Computes baseline statistics over the chosen source:
Lookback bars
Moving average (SMA or EMA)
Standard deviation
Optionally replaces mean/std with robust stats:
Center = median (50th percentile)
Spread = MAD (median absolute deviation, scaled to approx σ)
Builds bands:
upper = center + spread * multiplier
lower = max(center - spread * multiplier, 0)
Flags a bar as “high volume” if:
It passes the mode logic:
Classic abs: volume > upper
Change mode: abs(volume - volume ) > upper
Z-score mode: z-score ≥ multiplier
AND the relative filter (optional): volume > average_volume * Min Volume vs Avg
AND it is past the first Skip First N Bars from the start of the chart
Colors the bar and (optionally) the background accordingly.
⸻
2. Inputs
2.1. Statistics
Lookback (len)
Number of bars used to compute the baseline stats (mean / median, std / MAD).
Typical values: 50–200.
StdDev / Z-Score Multiplier (mult)
How far from the baseline a bar must be to count as “high volume”.
In classic mode: volume > mean + mult × std
In z-score mode: z ≥ mult
Typical values: 1.0–2.5.
Use EMA Instead of SMA? (smooth_with_ema)
Off → uses SMA (slower but smoother).
On → uses EMA (reacts faster to recent changes).
Use Robust Stats (Median & MAD)? (use_robust)
Off → mean + standard deviation
On → median + MAD (less sensitive to a few insane spikes)
Useful for assets with occasional volume blow-ups.
⸻
2.2. Detection Mode
These inputs control how “unusual” is defined.
• Use Volume Change vs Previous Bar? (mode_change)
• Off (default) → uses absolute volume.
• On → uses abs(volume - volume ).
You then detect jumps in volume rather than absolute size.
Note: This is ignored if Z-Score mode is switched on (see below).
• Use Z-Score on Volume? (Overrides change) (mode_zscore)
• Off → high volume when raw value exceeds the upper band.
• On → computes z-score = (value − center) / spread and flags a bar as high when z ≥ multiplier.
Z-score mode can be combined with robust stats for more stable thresholds.
• Min Volume vs Avg (Filter) (min_rel_mult)
An extra filter to ignore tiny-volume bars that are statistically “weird” but not meaningful.
• 0.0 → no filter (all stats-based candidates allowed).
• 1.0 → high-volume bar must also be at least equal to average volume.
• 1.5 → bar must be ≥ 1.5 × average volume.
• Skip First N Bars (from start of chart) (skip_open_bars)
Skips the first N bars of the chart when evaluating high-volume conditions.
This is mostly a safety / cosmetic option to avoid weird behavior on very early bars or backfill.
⸻
2.3. Visuals
• Show Volume Bands? (show_bands)
• If on, plots:
• Upper band (upper)
• Lower band (lower)
• Center line (vol_center)
These are plotted on the same pane as the script (usually the price chart).
• Also Highlight Background? (use_bg)
• If on, fills the background on high-volume bars with High-Vol Background.
• High-Vol Bar Transparency (0–100) (bar_transp)
Controls the opacity of the high-volume bar colors (up / down).
• 0 → fully opaque
• 100 → fully transparent (no visible effect)
• Up Color (upColor) / Down Color (dnColor)
• Regular bar colors (non high-volume) for up and down bars.
• Up High-Vol Base Color (upHighVolBase) / Down High-Vol Base Color (dnHighVolBase)
Base colors used for high-volume up/down bars. Transparency is applied on top of these via bar_transp.
• High-Vol Background (bgHighVolColor)
Background color used when Also Highlight Background? is enabled.
⸻
3. What gets colored and how
• Bar color (barcolor)
• Up bar:
• High volume → Up High-Vol Color
• Normal volume → Up Color
• Down bar:
• High volume → Down High-Vol Color
• Normal volume → Down Color
• Flat bar → neutral gray
• Background color (bgcolor)
• If Also Highlight Background? is on, high-volume bars get High-Vol Background.
• Otherwise, background is unchanged.
⸻
4. Alerts
The indicator exposes three alert conditions:
• High Volume Bar
Triggers whenever is_high is true (up or down).
• High Volume Up Bar
Triggers only when is_high is true and the bar closed up (close > open).
• High Volume Down Bar
Triggers only when is_high is true and the bar closed down (close < open).
You can use these in TradingView’s “Create Alert” dialog to:
• Get notified of potential breakout / exhaustion bars.
• Trigger webhook events for bots / custom infra.
⸻
5. Recommended presets
5.1. “Classic” high-volume detector (closest to original)
• Lookback: 150–200
• StdDev / Z-Score Multiplier: 1.0–1.5
• Use EMA Instead of SMA?: off
• Use Robust Stats?: off
• Use Volume Change vs Previous Bar?: off
• Use Z-Score on Volume?: off
• Min Volume vs Avg (Filter): 0.0–1.0
Behavior: Flags bars whose volume is notably above the recent average (plus a bit of noise filtering), same spirit as your initial implementation.
⸻
5.2. Volatility-aware (Z-score) mode
• Lookback: 100–200
• StdDev / Z-Score Multiplier: 1.5–2.0
• Use EMA Instead of SMA?: on
• Use Robust Stats?: on (if asset has huge spikes)
• Use Volume Change vs Previous Bar?: off (ignored anyway in z-score mode)
• Use Z-Score on Volume?: on
• Min Volume vs Avg (Filter): 0.5–1.0
Behavior: Flags bars that are “statistically extreme” relative to recent volume behavior, not just absolutely large. Good for assets where baseline volume drifts over time.
⸻
5.3. “Wake-up bar” (volume acceleration)
• Lookback: 50–100
• StdDev / Z-Score Multiplier: 1.0–1.5
• Use EMA Instead of SMA?: on
• Use Robust Stats?: optional
• Use Volume Change vs Previous Bar?: on
• Use Z-Score on Volume?: off
• Min Volume vs Avg (Filter): 0.5–1.0
Behavior: Emphasis on sudden increases in volume rather than absolute size – useful to catch “first active bar” after a quiet period.
⸻
6. Limitations / notes
• Time-of-day effects
The script currently treats the entire chart as one continuous “session”. On 24/7 markets (crypto) this is fine. For regular-session assets (equities, futures), volume naturally spikes at open/close; you may want to:
• Use a shorter Lookback, or
• Add a session-aware filter in a future iteration.
• Illiquid symbols
On very low-liquidity symbols, robust stats (Use Robust Stats) and a non-zero Min Volume vs Avg can help avoid “everything looks extreme” problems.
• Overlay behavior
overlay = true means:
• Bars are recolored on the price pane.
• Volume bands are also drawn on the price pane if enabled.
If you want a dedicated panel for the bands, duplicate the logic in a separate script with overlay = false.
ITM EMA Scalper (9/15) + Dual Index ConfirmationITM EMA Scalper (9/15) + Dual Index Confirmation is a precision scalping tool designed for traders who want high-probability entries, tight risk, and clean momentum trades using ITM options on NIFTY & BANKNIFTY.
This indicator combines price action, EMA trend filters, momentum candle logic, and a dual-index confirmation system to eliminate fake signals and catch only high-quality moves.
🔥 Core Logic
This indicator uses:
9 EMA & 15 EMA for trend direction
EMA angle filter (≥30°) to ensure strong directional momentum
Momentum candle detection (Pin Bar, Big Body, Rejection Candle)
EMA touch/rejection logic for precision entries
Dual index alignment (NIFTY + BANKNIFTY) for institutional-level confirmation
Trades occur only when both indices agree, dramatically reducing false setups.
🎯 Entry Conditions
A BUY signal appears when:
9 EMA > 15 EMA
Both EMAs have strong upward slope
Momentum candle forms while touching/near EMAs
Candle closes bullish
Confirmation index (e.g., BankNifty) also bullish
A SELL signal is the exact opposite.
🛡 Risk Management Built-In
For every valid setup, the indicator automatically plots:
Entry level (break of candle high/low)
Stop-loss level (low/high of signal candle)
1:2 Risk–Reward Target
These lines extend until target or SL is hit (or are cleared automatically after N bars).
🧠 Why ITM Options?
Using ITM options gives:
Higher delta
Faster momentum capture
Lower time decay impact
Cleaner correlation with spot movement
Perfect for scalping.
📈 Ideal Timeframe
Designed for 5-minute charts
Works for both NIFTY and BANKNIFTY
⚡ Alerts Included
BUY Alert
SELL Alert
These alerts trigger exactly when the strategy identifies a high-probability setup.
🚫 Avoid False Signals
This indicator prevents trades if:
Trend is flat
EMAs lose angle
Opposite index contradicts the setup
Candle lacks momentum
Market is choppy or sideways
💡 Perfect For
Scalpers
Index option traders
ITM directional traders
Algo traders needing clean signal logic
Momentum strategy users
Agressive Pricing Gaps (FVG/UPG,VI,OG) @MaxMaserati 3.0Aggressive Pricing Gaps (APGs 3.0)
The indicator specializes in identifying and managing price vacuums left behind when aggressive market participants rapidly move price, leaving areas that often serve as magnets for future mitigation.
1. Unfair Pricing Gaps (UPG) Analysis
The UPG logic is the indicator's main function, detecting a traditional three-candle price imbalance (FVG).
Detection Mechanism: A bullish UPG is identified when the high of candle 3 is below the low of candle 1 (with candle 2 being the expansive candle). A bearish UPG is identified when the low of candle 3 is above the high of candle 1.
Multi-Timeframe Support: UPG detection can be run on a Higher Timeframe (HTF), allowing traders to monitor significant weekly, daily, or H4 imbalances while viewing a lower execution timeframe.
Volume Filter: An optional Volume Filter based on EMA can be applied, restricting the plotting of UPGs only to those associated with volume exceeding the specified filter strength, thereby enhancing signal quality.
Sliced Mitigation: Each UPG is divided into multiple Box Slices (up to 20). This feature allows for detailed tracking of partial filling and precise visual confirmation as price moves through the gap.
2. Negative/Positive Candle Opening Gaps (OP+/-)
This logic focuses on the smaller, often immediate, gaps left between the closing price of one candle and the opening price of the next, representing minor immediate aggression or volatility.
Detection:
Positive Opening (OP+): Occurs when the current bar opens above the previous bar's close. When it happen we expect price to keep closing above it to maintain the bullish pressure.
Negative Opening (OP-): Occurs when the current bar opens below the previous bar's close. When it happen we expect price to keep closing below it to maintain the bearish pressure.
Timeframe Independence: OP Gaps can be displayed on a different timeframe from the UPG, or strictly on the chart's current timeframe.






















