[ArchLabs] Support & Resitance Levels Support & Resistance Levels — SR-v1.100
Smart, auto-managed zones for clean market structure
⸻
🔍 What this indicator does
This script automatically finds and maintains high-quality support & resistance zones on your chart, so you don’t have to keep redrawing levels by hand.
It:
• Detects major swing highs and lows (pivots)
• Builds support and resistance zones (not just thin lines)
• Filters out overlapping / redundant levels
• Tracks how price interacts with those zones in real time
• Marks and alerts:
• ✅ Breakouts
• 🚨 False breakouts
• 🔁 Retests
• Flips broken support → resistance and resistance → support automatically
You get a clean structural map of the market, continuously updated.
⸻
🧠 How levels are built (conceptually)
1. The indicator looks back over a configurable window and finds significant highs and lows (pivots).
2. From each confirmed pivot, it creates:
• A core level price (horizontal line)
• A price area around it (shaded zone), sized relative to recent price range/volatility
3. It then checks for overlaps between existing levels and new candidates:
• If a new level is too close to an existing one (within your overlap threshold), it gets discarded.
• This keeps only the most meaningful, non-redundant levels on the chart.
4. A cap of around 10 levels per side (support / resistance) keeps the view readable.
The result: a curated set of zones that actually matter, not a wall of lines.
⸻
🎨 Visuals on the chart
You’ll see:
• Support zones
• Line: bullish color (default green)
• Area: semi-transparent band below/around the line
• Resistance zones
• Line: bearish color (default red)
• Area: semi-transparent band above/around the line
Colors are customizable for:
• Level line
• Zone area
• Breakout highlight
• Retest label
This makes it easy to visually separate support vs resistance and quickly spot key reactions.
⸻
⚡ Dynamic behavior & level lifecycle
Each level goes through a natural “life cycle,” which the indicator tracks for you:
1. Active zone
• The level is valid and extended to the right as long as price stays “engaged” with it (using smoothed highs/lows to avoid noise).
2. Extension / pause
• When price pulls away from the level far enough, the extension can temporarily stop so the level doesn’t stretch indefinitely without interaction.
• If price comes back into the zone with meaningful action, the level can resume extension.
3. Break & role reversal
• When price cleanly breaks the level (based on smoothed price, not just a wick), the zone is:
• Stopped and locked in place
• Marked as broken
• Immediately cloned and flipped:
• Broken support becomes a new resistance zone at the same area.
• Broken resistance becomes a new support zone.
This gives you automatic role-reversal levels without manually redrawing anything.
⸻
🧷 Event tags & alerts
The indicator tracks three key interactions with each zone:
1. Breakouts (optional)
When price decisively breaks a level:
• A small breakout label appears on/near the level:
• Support broken → bearish breakout style
• Resistance broken → bullish breakout style
• An alert message is fired (if alerts are enabled on the script)
Use this to catch true structural breaks that may signal trend continuation or regime change.
⸻
2. False breakouts (optional)
False breakouts are marked when price:
• Wicks through a level, but
• Fails to close beyond it and quickly returns inside the zone
When detected:
• A 🚨 FB label appears at the level
• The label tracks with price while the false breakout is active
• An alert can fire each time this behavior is confirmed
This is very useful for reversal traders and anyone fading failed breakouts.
⸻
3. Retests (optional)
Retests are detected when:
• Price re-enters a zone after previously moving away from it
• The candle comes back into the area for the first time in this new approach
The script:
• Marks the retest with a “T” label in a distinct color for support vs resistance
• Brings that level to the top of the internal priority list, keeping fresh retests visually and logically “hot”
Traders often use these as high-probability reaction points (e.g., breakout → retest → continuation).
⸻
⚙️ Key settings
All inputs are grouped for clarity:
Support / Resistance Levels
• Pivots Lookback
Controls how far back the indicator looks for swing highs/lows.
• Higher value → fewer, stronger levels
• Lower value → more reactive, more levels
• Overlap Multiplier (Pips)
Sets how aggressively overlapping levels are merged/ignored.
• Higher value → fewer levels, more consolidation
• Lower value → more granular levels
• Auto Overlap
When enabled, the script automatically adjusts the overlap threshold based on timeframe:
• Intraday lower timeframes → tighter filtering
• Higher/intra-session → more appropriate scaling
This lets you drop the indicator on multiple timeframes without constantly retuning.
⸻
Level Event Toggles
• Breakout Labels & Alerts (on/off)
• False Breakout Labels & Alerts (on/off)
• Retest Labels & Alerts (on/off)
Turn on only what fits your style.
Scalpers might want all three; swing traders may prefer only breakouts + retests.
⸻
Support / Resistance Colors
Separate color groups for:
• Line & area of support levels
• Line & area of resistance levels
• Visual styling for breakouts
• Visual styling for retests
You can match your existing chart theme or build a dedicated SR layout.
⸻
📈 How to use it in your trading
Here are a few practical ways to integrate this indicator:
• Context map
Use it as a structural overlay on any symbol/timeframe to see where price is likely to react.
• Breakout + retest setups
• Wait for a level to break with a breakout label.
• Then watch for a T (retest) label into the flipped zone.
• Combine with your own confirmation (price action, volume, oscillators, etc.).
• Mean-reversion & fade trades
• Hunt for false breakout (FB) labels on key levels.
• These are often good spots to fade aggressive moves that lose momentum.
• Confluence builder
• Combine zones with trend tools, VR/DC, moving averages, or higher timeframe structure.
• A breakout/retest at a level that also lines up with higher TF structure can be especially meaningful.
⸻
✅ Summary
Support & Resistance Levels (SR-v1.100) is designed to be:
• Clean – no cluttered spaghetti of lines
• Adaptive – zones evolve with the market and flip roles automatically
• Actionable – breakout, false breakout, and retest events are clearly marked and alert-ready
• Flexible – works on any market and timeframe with simple, intuitive inputs
Drop it on your chart, tune the lookback & overlap to your style, and let it handle the heavy lifting of structural mapping while you focus on decisions.
チャートパターン
Rectángulos mensuales – tasa implícitaEl script que construimos intenta hacer exactamente esto:
1. Tomar el precio inicial de la letra al comenzar el mes.
2. Tomar el precio final del mes (o el precio actual si el mes no terminó).
3. Calcular el rendimiento mensual real = (precio_fin / precio_inicio − 1).
4. Convertirlo a porcentaje.
5. Dibujar un rectángulo sobre el gráfico que visualmente marque ese rendimiento mensual.
6. Escribir el valor (%) dentro del rectángulo.
La idea general es:
Cada mes tiene un rendimiento “esperado” para llegar al valor final del vencimiento. Vos querés comparar ese rendimiento esperado vs. el rendimiento real de mercado mes a mes para ver si la letra está sobrecomprada o sobrevendida.
El script intenta automatizar eso dentro del gráfico.
The script we built is designed to do the following:
Take the initial price of the note at the beginning of each month.
Take the final price of the month (or the current price if the month hasn’t ended yet).
Calculate the actual monthly return = (final_price / initial_price − 1).
Convert this value into a percentage.
Draw a rectangle on the chart that visually represents that monthly return.
Display the percentage value inside the rectangle.
The main idea is:
Each month has an “expected return” required for the note to reach its final target value at maturity. You want to compare that expected return with the real market return month-by-month to see whether the note is overbought or oversold.
The script is intended to automate that process directly on the chart.
Volume % + OBV intensity + histogram (v6)1) Volume % (logic that already existed)
• Average volume at the last 20 days =
• Average level → 50%
• More than double the average → **100%**
• Mapping between 0 and 100%
2) OBV % (newly added)
• Look at the OBV change compared to the previous bar
• obvChange = obv - obv
• Compare the absolute value of this change (the magnitude of the force) to the average change in the last 20 bars
• Average level → 50%
• More than double the average → 100%
• Use the value from 0 to 100% as obvPercent
3) Long/Short Section Judgment (OBV basis)
• obvChange > 0 이고 obvPercent >= 60 →
👉 Good section to enter long (buying energy is strong) → Green number
• obvChange < 0 이고 obvPercent >= 60 →
👉 Short entry decent section (sell energy strong) → Red number
Double RSI With Color Fill5RSI & 8RSi for intraday. Buy when 5RSI crosses down with 8RSI and Sell if 5RSI crosses above 8RSI.
ILM & IFVG StrategyPlease feel free to adjust in any way possible. Let me know if you can create something better from this initial coding.
//═══════════════════════════════════════════════════════════════════════
// Inverted Liquidity Model (ILM) – Strategy
//═══════════════════════════════════════════════════════════════════════
//
// The **Inverted Liquidity Model (ILM)** is a liquidity-based algorithm
// built to capture high-probability reversals after:
//
// • A liquidity sweep (SSL/BSL taken)
// • Rejection back inside the range
// • A Fair Value Gap (FVG) forms
// • That FVG becomes invalidated → becomes an IFVG entry zone
//
// ILM combines:
// • LTF BOS / CHOCH structure confirmation
// • HTF structure (expansion) filtering
// • Premium / Discount filter (17:00 CST session midline)
// • Optional ATR volatility filter
// • Optional trading session restrictions
// • Optional partial profit-taking + runners
//
// When all conditions align, the strategy enters:
// ✔ Long after sweep of SSL + valid long IFVG + trend confirmation
// ✔ Short after sweep of BSL + valid short IFVG + trend confirmation
//
// Stops are placed at the sweep wick.
// Full target is set at the next structural high/low.
// Optional partial TP sends a runner to full target.
//
// Visual tools (labels, sweep lines, IFVG boxes, midline) assist
// with review and forward testing.
//
//───────────────────────────────────────────────────────────────────────
// USER CONFIGURABLE FEATURES
//───────────────────────────────────────────────────────────────────────
//
// • **Liquidity & Structure**
// - pivotLen → swing length for pivots / liquidity
// - htfOn → toggle higher-timeframe pivots
// - htfTF → timeframe for HTF structure/liquidity
// - useStructureFilter → enforce LTF BOS/CHOCH trend
// - useHtfExpansionFilter → enforce HTF trend
// - showStructureLabels → show BOS/CHOCH labels
// - showHtfStructureLabels → show HTF BOS/CHOCH labels
//
// • **Premium / Discount Midline**
// - usePremiumDiscountFilter → only long in discount / short in premium
// - pdSession → session used for midline (default 17:00 CST)
// - showPdMidLine → show 50% midline
//
// • **FVG / IFVG Detection**
// - useBodyGapFVG → FVG uses candle bodies instead of wicks
// - useDisplacementFVG → require displacement bar
// - dispAtrMult → minimum ATR threshold for displacement
// - showIFVG → draw IFVG boxes
//
// • **ATR / Volatility / Sessions**
// - useRangeFilter → require minimum ATR%
// - atrLen → ATR period
// - minAtrPerc → minimum ATR% of price
// - useSessionFilter → restrict trading hours
// - sessionTimes → allowed trading session
//
// • **Sweep Visualization**
// - showSweepLines → draw sweep lines at SSL/BSL sweeps
// - sweepLineWidth → thickness of sweep lines
//
// • **Exits: Partial Targets & Runners**
// - usePartialTargets → enable partial TP logic
// - tp1QtyPercent → percent closed at TP1
// - tp1FractionOfPath → TP1 relative to path to full target
//
// • **Formatting / Visibility**
// - labelFontSizeInput → tiny / small / normal / large / huge
// - showEntries → entry markers
// - showTargets → target lines
//
//═══════════════════════════════════════════════════════════════════════
// END OF STRATEGY DESCRIPTION
//═══════════════════════════════════════════════════════════════════════
BOSS_VIX_LASERBOSS_VIX_LASER – Real-Time VIX Pressure + TICK Market Pulse Dashboard
Overview
BOSS_VIX_LASER is a compact market-volatility dashboard designed to keep you aligned with short-term risk conditions. It combines the 1-minute VIX rate-of-change with TICK 200-EMA breadth pressure to deliver a simple but highly responsive view of intraday psychological shifts in the market.
This tool is built for active traders who need fast visual confirmation of volatility expansion, risk-off behavior, and market internal strength/weakness — without clutter, noise, or lag.
Core Features
1. VIX Direction Monitor (1m)
Calculates the 1-minute VIX rate-of-change over a selectable lookback window.
Flags VIX expansion (▼) when volatility increases above threshold.
Flags VIX compression (▲) when volatility decreases below threshold.
Box color adjusts automatically:
Red: VIX rising (risk-off pressure)
Green: VIX falling (risk-on relief)
Gray: Neutral
2. TICK 200 EMA Market Pulse
A fast overview of internal market strength:
Green: TICK 200EMA above +150
Red: TICK 200EMA below –150
Yellow: Neutral/transition zone
Also shows the exact 200-EMA numerical value for precision.
3. Clean Dashboard Format
Everything displayed inside a stable top-right panel
No labels (using TradingView tables for maximum stability)
Zero chart clutter; works with any system or chart layout
Why Traders Use It
Identifies shifts in volatility before price reacts
Confirms or invalidates intraday setups
Highlights when volatility conditions will help or hurt your trade
Provides a fast read on market breadth and pressure
Helps avoid fighting volatility spikes blind
Suggested Use
Pair with momentum or trend systems to gauge risk conditions
Use VIX direction to confirm breakouts, breakdowns, or failed moves
Use TICK 200EMA for assessing intraday risk appetite and strength
Especially useful during open, news, lunchtime chop, and EoD rotations
A++ / A+ REAL EDGE — Long & Short (No Fakeouts)A++ / A+ REAL EDGE — Long & Short (No Fakeouts)
The cleanest, strictest, highest-probability A++/A+ confluence indicator on TradingView.
Only triggers when EVERYTHING lines up perfectly:
• Real God candle (≥85% body) + volume spike ≥2×
• Alligator mouth WIDE OPEN and widening
• MACD histogram expanding in direction
• SAR flipped + White Dot confirmation
• Price touching Daily/4H PDH/PDL/VWAP
• Requires strong green/red candle + breakout of previous
Normalized MACD (PPO)Normalized MACD (PPO)
Better and more accurate version of the MACD, because the normal MACD gets skewed by bigger nominal values.
myOpenPrice2Displays current session Open price as a line to make it easy to see where the market is in relation regardless of the zoom level of the chart.
BTC Supply Rejection (Very Simple)//@version=5
indicator("BTC Supply Rejection (Very Simple)", overlay=true)
pivotLeft = input.int(5, "Pivot Left Bars", minval=1)
pivotRight = input.int(5, "Pivot Right Bars", minval=1)
// basic swing high approximation
supply = ta.pivothigh(high, pivotLeft, pivotRight)
// plot supply
plot(supply, title="Supply", color=color.red)
// basic rejection: current high above supply and close below
rejection = not na(supply) and high >= supply and close < supply
// color rejecting bars
barcolor(rejection ? color.red : na)
Crypto Precision Entry v1//@version=5
indicator("Crypto Precision Entry v1", overlay=true)
// === RSI ===
rsiLength = 14
rsi = ta.rsi(close, rsiLength)
rsiBuySignal = ta.crossover(rsi, 30)
// === MACD ===
fast = 12
slow = 26
signal = 9
macd = ta.ema(close, fast) - ta.ema(close, slow)
macdSignal = ta.ema(macd, signal)
macdBuySignal = ta.crossover(macd, macdSignal)
// === VWAP ===
vwapValue = ta.vwap(close)
priceAboveVwap = close > vwapValue
// === BUY CONDITION ===
buyCondition = rsiBuySignal and macdBuySignal and priceAboveVwap
// === PLOT ===
plot(vwapValue, color=color.yellow, title="VWAP")
plotshape(buyCondition, title="BUY", style=shape.labelup,
color=color.green, text="BUY", size=size.large)
// === ALERT ===
alertcondition(buyCondition, title="BUY ALERT",
message="Precision Entry Signal: RSI + MACD + VWAP Confirmed!")
Craig Cobb Cradle Strategy//@version=5
strategy("Craig Cobb Cradle Strategy", overlay=true, margin_long=100, margin_short=100)
// ─────────────────────────────────────────────
// Inputs
// ─────────────────────────────────────────────
emaLenFast = input.int(10, "Fast EMA")
emaLenSlow = input.int(20, "Slow EMA")
smallCandlePct = input.float(0.35, "Small candle max size (% of ATR)")
// MACD Inputs
fastLength = input.int(12)
slowLength = input.int(26)
signalLength = input.int(9)
// ─────────────────────────────────────────────
// EMAs (Cradle Zone)
// ─────────────────────────────────────────────
ema10 = ta.ema(close, emaLenFast)
ema20 = ta.ema(close, emaLenSlow)
plot(ema10, color=color.yellow, title="10 EMA")
plot(ema20, color=color.orange, title="20 EMA")
inCradleZone = low <= ema10 and high >= ema20 or low <= ema20 and high >= ema10
// Trend alignment
bullTrend = ema10 > ema20
bearTrend = ema10 < ema20
// ─────────────────────────────────────────────
// MACD + signal line
// ─────────────────────────────────────────────
macd = ta.ema(close, fastLength) - ta.ema(close, slowLength)
signal = ta.ema(macd, signalLength)
hist = macd - signal
// MACD confluence: Signal line moving in trend direction
macdBull = signal > signal // signal rising
macdBear = signal < signal // signal falling
// ─────────────────────────────────────────────
// Small Cradle Candle (the trigger candle)
// Candle must be small relative to ATR
// ─────────────────────────────────────────────
atr = ta.atr(14)
candleSize = high - low
smallCandle = candleSize <= atr * smallCandlePct
// Bullish small candle
bullishCandle = close > open and smallCandle
// Bearish small candle
bearishCandle = close < open and smallCandle
// ─────────────────────────────────────────────
// Cradle Entry Conditions
// ─────────────────────────────────────────────
longEntry = bullTrend and inCradleZone and bullishCandle and macdBull
shortEntry = bearTrend and inCradleZone and bearishCandle and macdBear
// ─────────────────────────────────────────────
// Plot signals
// ─────────────────────────────────────────────
plotshape(longEntry, title="Long Cradle", style=shape.labelup, color=color.lime, text="Cradle Long")
plotshape(shortEntry, title="Short Cradle", style=shape.labeldown, color=color.red, text="Cradle Short")
// ─────────────────────────────────────────────
// Alerts
// ─────────────────────────────────────────────
alertcondition(longEntry, title="Cradle Long Alert", message="Cradle long setup detected")
alertcondition(shortEntry, title="Cradle Short Alert", message="Cradle short setup detected")
// Strategy entry (optional)
if longEntry
strategy.entry("Long", strategy.long)
if shortEntry
strategy.entry("Short", strategy.short)
Franjas Horarias Personalizables (Madrid)Franjas de sesiones en las que opero por horario.
Sesiones de Asia, London y NY
TT_Lite Indicator – Performance Optimized (Standardized)add it to the chart and be amazed add it to the chart and be amazed add it to the chart and be amazed add it to the chart and be amazed add it to the chart and be amazed add it to the chart and be amazed add it to the chart and be amazed add it to the chart and be amazed add it to the chart and be amazed
Live Session Extremes: Asia / London / NY (5m)This script automatically tracks and plots the live high and low levels of the three major Forex trading sessions:
Asia Session (18:00–03:00) — Teal
London Session (03:00–08:00) — Blue
New York Session (08:00–12:00) — Red
Designed specifically for 5-minute charts, it updates in real time as each session forms new highs or lows.
You always see the most recent session’s levels, cleanly plotted and color-coded on your chart.
✔ Features
Live updating lines for each session’s high & low
Lines anchored to the exact candles that created the extreme
Auto-cleaning: old session levels are deleted when a new session begins
Clear labeling:
Asia High / Asia Low (Teal)
London High / London Low (Blue)
NY High / NY Low (Red)
Extend-right option for projecting session levels into future price action
Built for precision session-based strategies such as:
Liquidity grabs
Session sweeps
BOS/CHOCH analysis
ICT-style trading
High/low power levels
Liquidity Sweep + BOS Retest System — Prop Firm Edition🟦 Liquidity Sweep + BOS Retest System — Prop Firm Edition
A High-Probability Smart Money Strategy Built for NQ, ES, and Funding Accounts
🚀 Overview
The Liquidity Sweep + BOS Retest System (Prop Firm Edition) is a precision-engineered SMC strategy built specifically for prop firm traders. It mirrors institutional liquidity behavior and combines it with strict account-safe entry rules to help traders pass and maintain funding accounts with consistency.
Unlike typical indicators, this system waits for three confirmations — liquidity sweep, displacement, and a clean retest — before executing any trade. Every component is optimized for low drawdown, high R:R, and prop-firm-approved risk management.
Whether you’re trading Apex, TakeProfitTrader, FFF, or OneUp Trader, this system gives you a powerful mechanical framework that keeps you within rules while identifying the market’s highest-probability reversal zones.
🔥 Key Features
1. Liquidity Sweep Detection (Stop Hunt Logic)
Automatically identifies when price clears a previous swing high/low with a sweep confirmation candle.
✔ Filters noise
✔ Eliminates early entries
✔ Locks onto true liquidity grabs
2. Automatic Break of Structure (BOS) Confirmation
Price must show true displacement by breaking structure opposite the sweep direction.
✔ Confirms momentum shift
✔ Removes fake reversals
✔ Ensures institutional intent
3. Precision Retest Entry Model
The strategy enters only when price retests the BOS level at premium/discount pricing.
✔ Zero chasing
✔ Extremely tight stop loss placement
✔ Prop-firm-friendly controlled risk
4. Built-In Risk & Trade Management
SL set at swept liquidity
TP set by user-defined R:R multiplier
Optional session filter (NY Open by default)
One trade at a time (no pyramiding)
Automatically resets logic after each trade
This prevents overtrading — the #1 cause of evaluation and account breaches.
5. Designed for Prop Firm Futures Trading
This script is optimized for:
Trailing/static drawdown accounts
Micro contract precision
Funding evaluations
Low-risk, high-probability setups
Structured, rule-based execution
It reduces randomness and emotional trading by automating the highest-quality SMC sequence.
🎯 The Trading Model Behind the System
Step 1 — Liquidity Sweep
Price must take out a recent high/low and close back inside structure.
This confirms stop-hunting behavior and marks the beginning of a potential reversal.
Step 2 — BOS (Break of Structure)
Price must break the opposite side swing with a displacement candle. This validates a directional shift.
Step 3 — Retest Entry
The system waits for price to retrace into the BOS level and signal continuation.
This creates optimal R:R entry with minimal drawdown.
📈 Best Markets
NQ (NASDAQ Futures) – Highly recommended
ES, YM, RTY
Gold (XAUUSD)
FX majors
Crypto (with high volatility)
Works best on 1m, 2m, 5m, or 15m depending on your trading style.
🧠 Why Traders Love This System
✔ No signals until all confirmations align
✔ Reduces overtrading and emotional decisions
✔ Follows market structure instead of random indicators
✔ Perfect for maintaining long-term funded accounts
✔ Built around institutional-grade concepts
✔ Makes your trading consistent, calm, and rules-based
⚙️ Recommended Settings
Session: 06:30–08:00 MST (NY Open)
R:R: 1.5R – 3R
Contracts: Start with 1–2 micros
Markets: NQ for best structure & volume
📦 What’s Included
Complete strategy logic
All plots, labels, sweep markers & BOS alerts
BOS retest entry automation
Session filtering
Stop loss & take profit system
Full SMC logic pipeline
🏁 Summary
The Liquidity Sweep + BOS Retest System is a complete, prop-firm-ready, structure-based strategy that automates one of the cleanest and most reliable SMC entry models. It is designed to keep you safe, consistent, and rule-compliant while capturing premium institutional setups.
If you want to trade with confidence, discipline, and prop-firm precision — this system is for you.
Good Luck -BG
A++ / A+ Ultimate ICT ConfluenceA++ / A+ Ultimate ICT Confluence – the cleanest high-probability long signal indicator for ICT and SMC traders.
Combines God candle, Daily/4H PDH/PDL/VWAP touch, Alligator alignment, White Dot, SAR flip, MACD bull, volume spike.
A++ = God candle or all 5 confluences.
A+ = 3-4 confluences + HTF level.
No repaint. Perfect for 1m-15m scalping.
Investforit Vortex Strike RateInvestforit Vortex Strike Rate:
Inside Hit rate on a Upside and Downside.
MoneyM Line StrategyPrimary Test: 2020-Present (most relevant for future)
Secondary Test: 2021-Present (includes full cycle)
Validation Test: 2017-Present (longer history)
Target Annual Return: 100-200% (2-4x BTC's 50-100%)
Target Max DD: 25-35% (50% less than BTC's typical 60-70%)
Target Trades: 20-40 per year on weekly (sustainable monitoring)
INTRADAY [VIET NAM PREMIUM]⯁ OVERVIEW
The Breakout Boxes indicator identifies key structural levels by detecting and aligning two consecutive pivots — forming confirmation zones where potential breakouts are most likely to occur. Once two pivots align within a defined ATR range, the indicator constructs a Breakout Box around that area, tracking volume distribution and breakout strength. When price breaks above or below these boxes, breakout labels (⯁ BreakUp / BreakDn) are displayed to confirm trend continuation.
⯁ KEY FEATURES
Pivot-Based Detection: Uses a customizable pivot length to identify market swing highs and lows.
Two-Pivot Alignment Logic: A breakout box is only created when two pivot highs or lows form near the same level, confirming structural alignment and increasing breakout reliability.
ảnh chụp nhanh
ảnh chụp nhanh
Dynamic Box Generation: Builds upper and lower boxes once pivot alignment is confirmed, adapting automatically to new structures.
Volume Distribution Analysis: Each box measures total traded volume and separates it into bullish and bearish components, showing buy/sell percentages inside the range.
ảnh chụp nhanh
The volume data is calculated in real time as long as the box remains active and unbroken, allowing traders to monitor live accumulation or distribution before a breakout occurs.
Breakout Confirmation Signals: Labels appear when price decisively breaks above the upper box (⯁ BreakUp) or below the lower one (⯁ BreakDn).
ảnh chụp nhanh
Adaptive ATR Scaling: Box size dynamically adjusts to volatility, maintaining consistent proportions across assets and timeframes.
ảnh chụp nhanh
Color-Coded Visualization: Upper (bearish) boxes use pink tones; lower (bullish) boxes use green, both with transparent fill for volume clarity.
Automatic Box Resetting: Previous boxes close when a new pivot pair forms, ensuring only the most relevant structure is active.
⯁ USAGE
Watch for Two Pivot Alignments — the indicator only activates when structural confluence exists, reducing false breakout signals.
Upper Boxes represent resistance formed by two aligned swing highs; a breakout above indicates potential bullish continuation.
Lower Boxes represent support formed by two aligned swing lows; a breakdown below indicates bearish continuation.
Analyze the Volume Ratio inside each box — higher buy volume in upper boxes supports bullish breakouts, while higher sell volume in lower boxes supports bearish moves.
Use this tool alongside trend indicators or higher timeframe context to confirm the direction of breakouts.
⯁ CONCLUSION
The Breakout Boxes indicator refines breakout analysis by requiring two aligned pivots to validate structural zones. By combining pivot confluence with volume distribution and adaptive ATR scaling, it provides a precise, data-backed visualization of breakout strength and direction — a powerful tool for structure-based trading confirmation.
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.
The Operator Schedule (Daily/Repeating) - Time-Based AlertsKKRESULT PLAYBOOK SUCCES FORMULA
DAILY ROUTINE — THE OPERATOR SCHEDULE
• 5 AM wake-up. (5-6hrs)
• Pre-workout meal.
• Boxing or conditioning.
• Fuel + hydration.
• Morning silence.
• Chart prep.
• Trade 9:30 AM – 3 PM.
• Journal.
• Shutdown routine to reset. A consistent routine builds a consistent trader.
• Edit YouTube Video
• 12 PM Fuel + hydration
TP Calculator (70% & 1.5x)//@version=5
indicator("TP Calculator (70% & 1.5x)", overlay=true)
// -------- Inputs --------
entry = input.float(100.0, "Entry Price")
stoploss = input.float(90.0, "Stop Loss")
// -------- Determine Direction --------
// اگر SL پایینتر بود = پوزیشن Long
// اگر SL بالاتر بود = پوزیشن Short
isLong = stoploss < entry ? true : false
// -------- Calculations --------
distance = math.abs(entry - stoploss)
// جهت پوزیشن (بالا یا پایین TP میرود)
direction = isLong ? 1 : -1
tp1 = entry + direction * (distance * 0.70) // 70%
tp2 = entry + direction * (distance * 1.50) // 1.5x
// -------- Plot Levels --------
plot(entry, "Entry", color=color.blue, linewidth=2)
plot(stoploss, "Stop Loss", color=color.red, linewidth=2)
plot(tp1, "TP1 (70%)", color=color.green, linewidth=2)
plot(tp2, "TP2 (1.5x)", color=color.orange, linewidth=2)






















