777yurrp, gemini made ts, i love making indicators with ai, in 15 minutes man its easy ash to be honest, try it yourself ;), i have to type something here
基本面分析
Repent Deviationsalot of levels, use at own risk, ict method, idk wth to type here just use ts and delete it instantly
Mashrab | Momentum X-RayStop guessing if a stock is strong or weak. The Momentum X-Ray is a professional Heads-Up Display (HUD) that tells you the truth about a stock in seconds.
Most indicators just look at price. This dashboard looks at the Context:
Relative Strength (The "King of the Hill" Check):
It doesn't just compare stocks to the S&P 500.
It automatically detects the stock's specific industry (e.g., Semiconductors, Regional Banks, Gold Miners) and compares it against its actual peers.
Green = The stock is a Leader (Beating its sector).
Red = The stock is a Laggard (Losing to its sector).
Fundamental Health (The "Engine" Check):
Instantly see Revenue Growth (QoQ and YoY) and Net Profit Margins.
Filters out "junk" stocks that are moving up on hype but have no real business growth.
Volatility Scanner:
Calculates the ADR (Average Daily Range) to help you size your positions correctly.
How to Read the Signals:
Top Table (Momentum): Look for Double Green. If a stock is beating the SPY and its Sector, it is an "Alpha Leader."
Bottom Table (Context): Check the "Industry" row to see exactly which ETF the script is using for comparison (e.g., SMH for Chips, KRE for Banks).
ICT Visible Center-Label CISD & FVGsThis indicator provides a clean, institutional-grade view of market shifts and liquidity gaps, specifically optimized for ICT (Inner Circle Trader) concepts.
Core Components
CISD (+/-): Identifies a "Change in State of Delivery." A (+) indicates a bullish shift, while a (-) indicates a bearish shift. These appear as fixed black lines with labels that delete automatically once price breaches the level.
Multi-Timeframe FVGs: Automatically plots Fair Value Gaps from the 5m, 15m, 1H, and 4H timeframes simultaneously.
Center-Locked Labels: Timeframe labels (e.g., "1H") are centered within the gaps, making them easy to identify without scrolling back through price history.
Auto-Cleaning Logic: To keep your chart clutter-free, gaps and CISD levels are instantly removed from the screen the moment they are mitigated (filled) by price.
Quarterly Revenue YoY Growth %Quarterly Revenue YoY Growth % (Calculated)
The Problem: Hidden Growth Trends
Most standard revenue indicators on TradingView only show the raw dollar amounts. While helpful, raw numbers make it difficult to quickly identify growth acceleration or deceleration—the primary driver of stock price multiples.
The Limitation: Seeing "$1.28B" in revenue doesn't tell you if the company is growing faster or slower than it was last year.
The Solution: This script automatically calculates the Year-over-Year (YoY) percentage change for every fiscal quarter, giving you an instant read on the company's fundamental momentum.
How It Works (The Math)
To ensure an "apples-to-apples" comparison, this script compares the current quarter's revenue to the revenue from the exact same quarter one year prior:
YoY % = * 100
Data Source: Pulls Fiscal Quarter (FQ) revenue data to maintain a clean "step" visualization.
Smart History Tracking: The script uses an internal array to track the last 5 quarters of data, ensuring the calculation is strictly Year-over-Year rather than just Quarter-over-Quarter.
How to Use It
Use this to validate if a stock's valuation (like the EV/GP ratio) is justified by its growth rate.
Green Labels (+%): Indicate positive revenue growth. Increasing percentages suggest a company is "scaling" and may justify a higher valuation multiple.
Red Labels (-%): Indicate revenue contraction. This is often a major red flag for growth stocks, even if the raw revenue numbers still look large.
Key Features
Visual Labels: Automatically prints color-coded percentage labels on every new earnings report so you don't have to hover over bars to see the data.
Step-Line Plot: Specifically designed to match the "professional terminal" look of your other fundamental indicators.
Universal Compatibility: Works on any stock that provides quarterly financial reporting data on TradingView.
Disclaimer: This tool is for educational purposes only and does not constitute financial advice.
Enterprise value / Revenue / Gross margin [robust]The Problem with EV / Revenue
Standard valuation metrics like EV/Revenue can be misleading for high-growth companies. While investors frequently use it to value SaaS or Tech stocks, it ignores the critical role of Gross Margins.
Example: A company trading at 10x Revenue with 80% margins is significantly "cheaper" than a company trading at 10x Revenue with only 40% margins.
The Solution: This script combines both metrics into a single "Efficiency Multiple" (EV / Gross Profit), giving you a true "Price per Dollar of Profit" view.
How It Works (The Math)
Instead of viewing two separate charts, this indicator calculates a single efficiency ratio:
Ratio = Enterprise Value / Gross Profit
Data Source: It pulls Fiscal Quarter (FQ) data to create a clean, "stepped" visualization that matches professional financial terminals.
Smart Labels: It automatically detects every new quarter and prints the exact valuation multiple on the chart, making it easy to see historical trends at a glance.
How to Use It
Use this to find fair value in high-growth stocks where traditional P/E ratios are not yet useful.
Value Zone (< 10x): Marked by a Green Dashed Line. The stock is potentially undervalued relative to its gross profit generation.
Premium Zone (> 20x): Marked by a Red Dashed Line. The stock is trading at a premium. This is common for hyper-growth leaders but implies high future expectations.
Key Features
Crash Proof: Uses raw ENTERPRISE_VALUE and GROSS_PROFIT data with error handling to prevent "Symbol Resolve" errors common with other custom scripts.
Quarterly Steps: Plots data in distinct quarterly steps rather than a noisy daily line, providing a clear fundamental view.
Visual Valuation Zones: Built-in horizontal lines at 10x and 20x to frame the valuation context instantly.
Disclaimer: This tool is for educational purposes only and does not constitute financial advice.
GOLD Dashboard: Realzins + DXY Filter (US10Y/T10YIE)The dashboard isn't a "signal generator," but a macro regime filter. It answers a single, core question:
Which direction do I currently have a structural advantage in gold—long, short, or neither?
I'll explain it to you clearly, practically, and without any theoretical baggage.
Institutional Bias [Lite] - Visual SuiteThe ultimate discretionary toolkit. Visualizes Institutional Value (VP), Trend (AVWAP), and Structure (Fibs). For automated signals, see the Pro Strategy."
Institutional Bias [Lite] - Visual SuiteThe ultimate discretionary toolkit. Visualizes Institutional Value (VP), Trend (AVWAP), and Structure (Fibs). For automated signals, see the Pro Strategy."
ttb check listThe strip is a visual discipline tool — not a signal generator.
It sits in the top-right of your TradingView chart as a small table and acts like a pre-flight checklist before you take a trade.
Think of it as your sniper scope HUD.
Half Closing CandleHalf Closing Candle
This indicator identifies candles whose closing price falls within the upper or lower half of the candle range, measured from the midpoint relative to the candle’s open. It helps traders quickly spot candles that close toward the open or high/low extremes, providing insight into momentum, indecision, or potential reversal areas.
The script highlights these candles with a subtle, non-intrusive overlay directly on the chart, without altering candle wicks or overall price representation, ensuring visual clarity and professional presentation.
Nuh's Complete Multi-Timeframe Dashboard v4.0Nuh's Complete Multi-Timeframe Dashboard v4.0 - Unified Power System
Professional Multi-Timeframe Technical Analysis Dashboard
Nuh's Complete Multi-Timeframe Dashboard v4.0 represents a comprehensive trading analysis system that unifies 20 powerful technical indicators across up to 6 customizable timeframes into a single, intelligent dashboard. This advanced indicator combines trend analysis (EMA, Alpha Trend, SuperTrend, ADX, DI), momentum oscillators (RSI, Stochastic RSI, MACD, CCI, Williams %R, WaveTrend, KST), volume indicators (OBV, CMF, Volume Analysis, MFI), and volatility measures (Squeeze Momentum, Bollinger Bands, ATR, Williams VIX Fix) to provide traders with a holistic market perspective. Each indicator can be independently enabled or disabled, allowing complete customization based on your trading strategy and preferences.
The revolutionary Weighted Power System is the core innovation of this dashboard, transforming raw indicator signals into actionable market power scores. Unlike traditional dashboards that simply count bullish or bearish signals, this system applies sophisticated weighting to each indicator based on your chosen preset (Balanced, Trend Focus, Momentum Focus, Volume Focus) or custom weights. It then combines these weighted signals across multiple timeframes—with timeframe-specific weighting for scalping, day trading, or swing trading styles—to calculate an Overall Market Power score. This provides you with clear percentage-based bullish and bearish power readings, eliminating guesswork and enabling confident trade decisions backed by mathematical confluence.
Built for serious traders who demand precision and flexibility, the dashboard features a fully customizable display with 20 indicator rows that can be reordered to match your preferences, color-coded gradient visualization for instant market sentiment recognition, and integrated Wundertrading-compatible alerts for automated trading. The system supports both legacy count-based alerts and modern power-threshold alerts, allowing you to receive notifications when market conditions meet your specified confluence requirements. Whether you're scalping on lower timeframes or swing trading on higher timeframes, this professional-grade tool adapts to your trading style while maintaining clean, readable visualization that won't clutter your charts.
XAUUSD 240m Pivot PointsThis Indicator helps you to automatically find pivot point S1 S2 S3 R1 R2 and R3 for each and every candle that occurs in 4 hr tf
SMC-Clean v5 [BOS + OB + FVG]SMC-Clean v5 is a clean and lightweight Smart Money Concepts indicator designed to visualize market structure, Order Blocks, and Fair Value Gaps in a clear and non-repainting way.
The indicator automatically identifies Break of Structure (BOS) and Change of Character (CHoCH) using pivot-based structure logic, helping traders understand trend continuation and potential reversals. Bullish and bearish structures are clearly marked on the chart for quick visual interpretation.
It also detects Bullish and Bearish Order Blocks based on strong displacement candles filtered by ATR. Order Blocks are drawn as zones and are automatically removed once mitigated, keeping the chart clean and relevant.
Additionally, the script highlights Fair Value Gaps (FVG) using a three-candle imbalance model, filtered by minimum ATR size. These gaps can be used for pullback entries, mean reversion, and confluence with structure and Order Blocks.
SMC-Clean v5 is designed to be minimal, fast, and practical. It works on all markets and timeframes and is best used as a market structure and context tool, not as a standalone signal system. The script can be further customized and expanded into advanced SMC models.
NY Session Bar Counter & Bar painterThe NY Session Bar Counter is a high-visibility technical utility that provides an automated, sequential count of every candle during the New York session (09:30 to 16:00 EST). Unlike standard session highlighters, this tool numbers each bar starting from the market open, allowing traders to identify specific "time-of-day" windows with surgical precision.
This script is specifically engineered for traders who follow setups based on specific bar numbers (e.g., the Bar 17 reversal, the Bar 36 lunch-power-hour, or the final EOD flush).
🚀 Key Features
Precision Timing: Automatically resets every day at 09:30 AM New York time, regardless of your local timezone settings.
Multi-Timeframe Logic: Optimized to work seamlessly on 1m, 5m, 15m, and 30m charts without breaking the daily count.
Historical & Replay Compatibility: Unlike many session tools, this script is fully compatible with Bar Replay and displays historical data across several days (up to 500 labels).
Special Bar Highlighting: Includes a "Paint Bar" feature that allows you to choose a specific bar number (e.g., Bar 17) and automatically color the candle body for instant visual recognition.
Customizable Display: Filter for Odd/Even numbers to reduce chart clutter and adjust font size, color, and position (Above/Below bar).
💡 Why It Is Useful
In the modern trading environment, the market moves in cycles of liquidity and volatility that are often tied to specific times. This script is useful because:
Standardization: It provides a common language for traders. Instead of saying "the 10:50 AM candle," traders can refer to "Bar 17" (on a 5m chart), which is faster and more consistent.
Backtesting Accuracy: When reviewing past days or using Bar Replay, you can easily identify if your strategy triggers at the same relative time every day.
Visual Discipline: By highlighting a "Target Bar," you can train your eyes to wait for specific time windows before looking for a setup, helping to prevent overtrading during low-probability hours.
Operational Efficiency: It removes the manual work of counting bars from the open, allowing you to focus entirely on price action and order flow.
How to Use
Install the script on any intraday timeframe (best on 5m or 15m).
Adjust Lookback: Use the settings to determine how many historical days you want to view.
Identify Patterns: Use the "Special Bar Highlight" to mark the bar where your strategy most frequently triggers.
Liquidity Sweep Pro [Whale Edition]Liquidity Sweep Pro is a next-generation trading tool that bridges the gap between Smart Money Concepts (SMC) and Quantitative Volume Analysis.
Traditional "Liquidity Sweep" indicators often generate false signals by marking every wick crossover as a trade setup. This indicator solves that problem by filtering setups through a Quant VSA Engine. It asks not just "Did price sweep a level?" but "Was there institutional money behind this move?"
🔬 How It Works
The indicator operates on three synchronized layers:
1. Market Structure (Liquidity Pools) It automatically identifies key pivot points where retail Stop Losses are likely clustered:
Buy Side Liquidity (BSL): Areas above swing highs.
Sell Side Liquidity (SSL): Areas below swing lows.
2. The Quant Engine (Whale Detection) Instead of using simple volume averages, we apply statistical modeling to detect anomalies:
Log-Normal Z-Score: Normalizes volume data to detect statistically significant outliers (Sigma > 2.5). This adapts to market volatility, filtering out noise.
Kaufman Efficiency Ratio (KER): Analyzes the quality of price movement to classify the "Whale" type:
❄️ Absorption (Iceberg): High Volume + Low Price Movement. Signals a potential reversal.
🚀 Propulsion (Drive): High Volume + High Price Efficiency. Signals an aggressive breakout.
3. The Trigger (Smart Entry) A trade signal is generated ONLY when:
Price sweeps a liquidity level (wicking below/above).
Price closes back within the range.
Institutional Activity is confirmed (High Z-Score Volume).
Trend (EMA 200) and Momentum (RSI) filters are aligned.
🛡️ Features
Intrabar Analysis: Uses request.security_lower_tf to analyze the internal volume delta of the candle for maximum precision.
Automated Risk Management: Plots Entry, Take Profit, and Stop Loss levels directly on the chart based on ATR (Average True Range) and your preferred Risk:Reward ratio.
Unified Alerts: Includes a single "ANY SWEEP" alert condition, allowing you to monitor both Long and Short setups with just one TradingView alert.
Visual Classification: Candles with institutional activity are marked with a 🐋 symbol, even if no sweep occurs, helping you read the narrative.
⚙️ Best Settings & Usage
Timeframes: Works best on 15m, 1h, and 4h charts.
LTF Interval (Input): This is crucial.
If trading on the 1h chart, set LTF to 1 minute.
If trading on the 4h chart, set LTF to 5 minutes.
Whale Threshold: Default is 2.5 Sigma. Increase to 3.0 for fewer, higher-confidence signals, or decrease to 2.0 for more frequency.
⚠️ Disclaimer
This tool is for educational purposes only. It identifies statistical probabilities, not certainties. Always manage your risk and do not rely solely on one indicator.
FX-CLINIC MARKET STRUCTUREThis indicator help the treaders by SMC/ICt to mark the structure MSS/BOS automatically, and you can choose the length of the structure as 5 for fractal, 10 for internal and 15 for external
use it free
note: check your information and correct the structure as you know,
it is first edition and go to upgrade and correct
feel free to sent any note in telegram
privet: @DRALIAWWAD
and the public channel: @ictdrawwad
Minervini Trend Template upgrade - TP Minervini Trend Template (SMA/EMA + RS vs Major Indices)
Credits: Original script by © yogy.frestarahmawan (MPL 2.0).
Modified & updated by: © TradersPod (added MA selection + RS comparison vs major index futures).
This indicator is a simple checklist tool based on Mark Minervini’s “Trend Template” concept. It helps you quickly see if a stock is behaving like a leading stock in an uptrend by evaluating key trend and strength conditions.
What it does:
>The script checks 8 conditions and shows the results in a table panel on your chart:
>Price is above MA150 and MA200
>MA150 is above MA200 (a classic “healthy uptrend” structure)
>MA200 is rising vs ~1 month ago (uses 22 bars back)
>MA50 is above MA150 and MA200
>Price is above MA50
>Price is at least 25% above the 52-week low (stronger stocks tend to be far from lows)
>Price is within 25% of the 52-week high (leaders often stay near highs)
>RS is > Major Indices (TradersPod upgrade)
At the bottom, it also totals how many conditions are met: (X of 8).
TradersPod upgrades included
1) SMA/EMA selection
You can choose whether the trend template uses:
SMA (Simple Moving Average)
or
EMA (Exponential Moving Average)
This lets you match your preferred moving-average style without changing the logic.
2) RS must beat the major indices (futures)
Instead of the old “RS > 70” rule, this updated version requires the stock’s RS Rating to be greater than the strongest (highest RS) among:
-Nasdaq Futures (NQ)
-S&P 500 Futures (ES)
-Dow Jones Futures (YM)
The table shows the RS Rating for each index futures symbol and then confirms whether the stock is stronger than the best-performing major index.
In other words:
If the stock can’t outperform the major indices, it’s probably not a true “leader.”
Inputs / settings
MA Type: SMA or EMA
High/Low Lookback Length: default 260 bars (approx. 52 weeks on daily charts)
Show 52-week High/Low: toggle on/off
Major Indices Symbols: you can change the futures tickers if your broker/data feed uses different symbols
Panel Position: choose where the table appears
Notes (important)
The RS calculation uses the chart’s timeframe (ex: Daily, Weekly). On Weekly charts, the lookbacks become weeks (not days).
This tool is a trend/strength filter, not a full trading strategy. Always add your own risk management, entries, and exits.
Trinity Inside & 3-Candle Sweep Breakout with TargetsTrinity Intraday Inside Candle / 3-Candle Sweep + Breakout with Inside Bar Indicator
This Pine Script indicator is built specifically for **intraday trading on the 15-minute timeframe**, but can be used on any timeframes.
It identifies two closely related price action setups: the classic **Inside Candle Breakout** and the higher-probability **3-Candle Liquidity Sweep** (also called a reversal or false breakout setup). Both are filtered by Previous Day High/Low for directional bias, and the entire system is highly visual with customizable lines, labels, highlights, signals, and projected targets.
#### Core Functionality
When an **inside candle** forms (current candle’s high is below the previous candle’s high AND its low is above the previous candle’s low), the indicator activates the setup visualization. The previous candle becomes the **mother candle**, and its high and low define the consolidation range.
- **Inside Bar Highlight**: The current inside candle is filled with a solid color (default bright yellow) so you can instantly identify it on the chart.
- **Mother Candle Range Visualization**:
- A green dotted line with label “Range High - ” marks the mother candle’s high (the upside breakout level).
- A red dotted line with label “Range Low - ” marks the mother candle’s low (the downside breakout level).
These lines extend to the right, making it very clear what levels need to be broken for a valid signal.
- **Signals**:
- **Inside Candle Breakout**: Triggers when the candle after the inside bar closes decisively above the mother high (bullish) or below the mother low (bearish). Shows blue arrows for long, fuchsia arrows for short, plus clear labels (“LONG Inside Breakout” or “SHORT Inside Breakout”).
- **3-Candle Liquidity Sweep**: A more refined reversal setup. After the mother + inside, the third candle sweeps beyond the mother low (for longs) or high (for shorts) to grab liquidity, but closes back inside the mother range without breaking the opposite inside extreme. Shows large green/red triangles with labels (“LONG 3-Candle Sweep” or “SHORT 3-Candle Sweep”).
- **Directional Filter (PDH/PDL)**:
- Long signals only appear when price is above Previous Day High (PDH).
- Short signals only appear when price is below Previous Day Low (PDL).
This keeps you trading with intraday momentum rather than against it.
- **Targets**: Automatically plotted only on Inside Breakout signals (can be extended to sweeps if desired). Uses the mother candle range size multiplied by two customizable risk-reward factors:
- T1 = entry + (range × 0.56) for longs (or minus for shorts) – default partial target.
- T2 = entry + (range × 0.84) for longs (or minus for shorts) – default full target.
Shows dotted lines extending right with labels like “T1 - 208.20 (0.56) points” in blue for longs or orange for shorts.
- **Additional Elements**:
- Previous Day High/Low dashed lines with moving labels (“PDH” and “PDL”) that follow the price action.
- Optional 20-period and 50-period EMAs for trend context.
- All lines and labels clear automatically once a signal triggers to keep the chart clean.
#### How to Use It
1. Apply the indicator to a **15-minute chart** of any instrument (best on liquid stocks, indices, or futures).
2. Wait for an **inside bar** to form – you’ll see it highlighted in yellow and the green/red Range High/Low lines + labels appear.
3. Monitor for a close **above Range High** (potential long) or **below Range Low** (potential short), respecting the PDH/PDL filter.
4. If the third candle sweeps liquidity but reverses properly, you get the higher-conviction 3-candle sweep signal.
5. Enter on the close of the signal candle or a small retest.
6. Stop loss typically just beyond the swept extreme or mother range opposite side.
7. Take partial profits at T1 and let the rest run to T2 (or trail).
8. Use alerts (built-in alertconditions) for all four signal types.
#### All Settings (Customizable in TradingView Inputs)
- **Visibility toggles**: Turn on/off PDH/PDL lines, moving PDH/PDL labels, 20/50 EMAs, signals, inside breakout signals, targets, mother range lines/labels, and inside bar highlight.
- **Filters**: Toggle the PDH/PDL requirement for longs/shorts and separately for breakout signals.
- **Colors**: Every single element has its own color input – PDH/PDL lines & labels, EMAs, sweep signals (shapes & labels), inside breakout signals (shapes & labels), target lines & labels (long/short separately), mother range high/low lines & labels, and inside bar fill color.
- **Risk-Reward Multipliers**: Adjust the T1 multiplier (default 0.56) and T2 multiplier (default 0.84) to match your preferred measured-move projection.
The result is a clean, professional, all-in-one intraday tool that clearly shows consolidation, breakout levels, liquidity grabs, directional bias, and projected rewards, and helps you spot high-probability inside bar continuations or reversals quickly.
Note:
You can use this indicator with **either standard (normal) candlesticks or Heikin Ashi candles**, but **standard candles are strongly recommended** for the most accurate and reliable signals.
### Why Standard Candles Are Preferred
The entire logic of the indicator — inside candle detection, 3-candle liquidity sweep validation, breakout closes, and mother candle range measurement — is based on **actual price action** using real open, high, low, and close (OHLC) values.
- **Standard candles** show the true highs and lows where liquidity (stop-loss orders) actually sits, and where real breaks/sweeps occur.
- The setups (especially the liquidity sweep) rely on price **sweeping a prior low/high but closing back inside** — this is measured using the real candle extremes.
### What Happens with Heikin Ashi
Heikin Ashi candles are **averaged/smoothened** versions of price:
- Their highs and lows are calculated differently (not the true session extremes).
- Wicks are often shorter or artificial, and closes are averaged.
This can cause:
- False or missed inside candle detections.
- Incorrect range high/low measurements (the mother candle range won't match real price).
- Sweeps or breakouts that appear on Heikin Ashi but didn't actually happen in real price (or vice versa).
- Targets (T1/T2) projected from a distorted range size.
In short, Heikin Ashi will make the indicator **less accurate** and potentially generate misleading signals.
### Recommendation
- Use **standard candlesticks** on your 15-minute chart for this indicator.
- If you like the smoother look of Heikin Ashi for trend filtering, you can overlay it on a separate panel or use the built-in 20/50 EMAs for trend context instead.
Always backtest on your instruments and use proper risk management. This is not financial advice. Enjoy trading with it!
Archetype Zones, Defense Confirmation OverlayArchetype Zones + Defense Confirmation Overlay (MST) v1.0
This indicator is a time-structure execution overlay built for fast intraday futures trading. It highlights a curated set of high-ROI market timing windows (MST / America/Denver) and applies lightweight “not-too-strict” logic to classify each window as a likely:
Driver (initiative / directional push)
Continuation (follow-through of the parent move)
Trap (liquidity sweep + stall / possible flip)
Rotation (VWAP churn + contraction / stand down conditions)
On top of the time zones, it includes a Defense Confirmation Overlay designed for 1–5 second execution, helping identify moments when price shows “defense behavior” aligned with the expected directional bias of the active zone.
What It Does
1) Time-Based Archetype Zones (MST)
The script shades key intraday windows with a configurable soft buffer (+/- minutes) so the user can anticipate action before/after the exact minute.
Each zone can output an expected directional lean using:
Displacement vs. window span
VWAP location
VWAP crossing count (chop filter)
Basic structure checks for continuation
Sweep/stall logic for trap detection
Churn + contraction logic for rotation regimes
2) Expected Direction Engine
When a zone is active, the indicator calculates the “expected direction” for that specific zone using the archetype logic.
This expected direction is used as the baseline for the Defense module, so defense markers are context-aware.
3) Defense Confirmation Overlay (Execution Layer)
Defense is intended to represent institutional-style protection or rejection inside an active zone.
It looks for:
Strong wick dominance (wick as a percentage of total candle span)
Close location in the top/bottom portion of the candle
Optional absorption highlight: volume spike plus compressed candle span (high volume, low range)
When conditions align with the zone’s expected direction, the script can show:
Defense wick markers (below-bar for buy defense, above-bar for sell defense)
Absorption highlight on bars showing absorption behavior
4) Micro Defense Box
When a defense event triggers, the script can draw a small “defense box” at the defended level with tick-padding.
The box extends right until invalidated (price closes through the box boundary).
This provides a clean visual reference for:
Defended price location
Invalidation threshold
Follow-through behavior after defense
5) Entry Permission Label
When Defense + Absorption occur together during an active zone, the script can print an “Entry Permission” label to highlight that multiple confirmations aligned.
Inputs and Customization
Zone buffer (+/- minutes)
Zone shading opacity
Toggle zone labels, defense markers, absorption highlighting, defense box, permission label
Adjustable “not too strict” archetype thresholds (designed for practical use, not curve-fitting)
Adjustable defense wick/close thresholds and absorption parameters
Notes and Disclaimer
This indicator does not predict the market with certainty.
It is designed to provide time-structure context plus execution confirmation, not standalone buy/sell signals.
It is best used alongside trend/bias tools (VWAP, structure, higher-timeframe levels, key session highs/lows).
Always test settings on your market and timeframe before live use.
SHFE vs COMEX Silver Spread (USD/ozt)the script shows the gap between shanghai and comex silver prices. they need me to say more words in the description for this in order for me to in order to publish with words. more words.
Master Strategy: BTC W1 Mean Reversion [Institutional SOP]Overview This is an institutional-grade Mean Reversion and Range Rotation strategy designed specifically for Bitcoin (BTC/USDT) Perpetual Futures. It operates on the philosophy that liquidity resides at the extremes of the previous week's range (Previous Week High/Low). The strategy looks for false breakouts (Sweeps) followed by a confirmed return to the range (Reclaim), targeting the weekly equilibrium (EQ).
Core Logic: The Deviation Play Unlike standard breakout strategies, this indicator hunts for trapped liquidity.
Weekly Levels (Fixed): It calculates PWH (Previous Week High) and PWL (Previous Week Low) based on confirmed, closed weekly data. These levels act as the "Box" for the current week.
The Sweep: We wait for price to pierce the PWH or PWL (taking liquidity/stops). The script uses a dynamic ATR-based threshold to filter out noise (micro-pokes).
The Reclaim (4H Close): A signal is generated ONLY if a 4H candle closes back inside the weekly range shortly after the sweep. This confirms rejection of higher/lower prices.
The Entry: The script suggests a Limit Order at the retested level (PWH/PWL) to maximize R:R.
Institutional Quality Filters ("Kill Switches") To prevent trading in unfavorable conditions, the script includes strict SOP (Standard Operating Procedure) filters:
Trend Filter (ADX): Blocks mean reversion signals if the daily trend is too strong (ADX > 25).
Expansion Filter: Blocks signals if price accepted levels outside the range for too long (prevents fighting a true breakout).
Weekly Range Filter: Filters out weeks that are statistically too tight (chop) or too wide (expansion).
Time Filter: A reclaim must happen within a set number of 4H bars after the sweep (default: 3).
Key Features
Zero Repainting: Logic is based strictly on closed candles ( , , ).
State Machine Logic: Uses internal memory to track sweeps regardless of chart timeframe glitches.
Operational Dashboard: Displays current status, countdown to next decision candle (4H close), and exact parameters for the last valid signal (Entry, SL, TP).
Unified Alerting: A single "Any function call" alert handles both Long and Short scenarios dynamically.
Clean Visuals: Levels are plotted with line breaks to avoid visual clutter between weeks.
How to Use
Timeframe: Set your chart to 4H. This is crucial as the logic relies on 4H closes.
Signals: Wait for the "4H RECLAIM" label.
Execution: Place a Limit Order at the suggested Level (PWH/PWL).
Stop Loss: Use the calculated SL provided by the indicator (Swing extreme + ATR buffer).
Target: TP1 is always the EQ (Equilibrium/Mid-range).






















