BB Squeeze - HighQToolsBBW Squeeze — HighQTools
As always, if anyone has any tips or additional features they'd like to see, feel free to reach out!
Overview
The BBW Percentile Squeeze highlights periods of exceptionally compressed volatility by measuring Bollinger Band Width (BBW) and ranking it within a rolling historical percentile. When BBW falls into the lowest portion of its own distribution, price is statistically “tight” relative to recent history—a condition that often precedes volatility expansion.
Instead of plotting an oscillator in a separate pane, this tool expresses information directly on the price chart by changing bar colors during squeeze conditions, keeping charts clean and execution-focused.
How It Works
Standard Bollinger Bands are calculated using a configurable length and standard deviation.
Band width is normalized and evaluated against a rolling lookback window.
The current width is converted into a percentile rank (0–100):
Lower percentile = tighter volatility
Higher percentile = expanded volatility
When the percentile drops below the user-defined threshold, the market is considered to be in a squeeze.
An optional RTH-only mode allows the percentile calculation to consider Regular Trading Hours bars only, which is especially useful for futures traders who want to ignore overnight volatility distortions.
Visual Signals
Squeeze Bars
Bars are recolored when BBW percentile falls below the selected threshold, indicating extreme compression.
Release Bar (optional)
The first bar exiting the squeeze can be highlighted separately, marking the resolution of compression.
No oscillator, no bands, no shapes—only context applied directly to price.
How to Use It
The squeeze itself is not a trade signal.
Squeeze conditions indicate stored energy—expect range expansion, not direction.
Focus on:
Market structure
Higher-timeframe context
Volume, delta, or acceptance/rejection
The release from squeeze often provides the best opportunity, especially when aligned with directional bias or structural breaks.
For best results, use this tool as a context filter alongside execution setups rather than as a standalone entry signal.
Recommended Settings
BB Length: 10
Std Dev: 2.0
Percentile Lookback: 200–300 bars
Squeeze Threshold: 5-10 percentile
RTH-only: Enabled for index futures
Disclaimer
This indicator is designed to provide context, not predictions. Always combine volatility information with sound risk management and a complete trading plan.
אינדיקטורים ואסטרטגיות
ProphetQuant LevelsProphetQuant Levels
ProphetQuant Levels is an open-source chart tool that helps you display your own price levels in a clean, organized way.
You enter levels directly into the script using simple level names and prices (for example: HV 415.00, B+ 432.10, B- 421.00, VAH/VAL, VIX R1/R2/S1/S2). The script reads your input and plots each level as a horizontal line with optional right-side labels and styling controls. Levels are plotted from the Globex session start by default, so they align consistently across sessions.
You can enter a single set of levels, or include multiple lines labeled by symbol. When multiple lines are present, the script automatically uses the line that matches the current chart symbol.
The indicator also includes an Initial Balance (IB) display with automatic session selection based on the instrument, along with optional labels and a midline.
This script is intended as a visual reference tool only. It does not calculate price levels, generate trade signals, or automate trading decisions.
Provided for educational and informational purposes only. This is not financial or trading advice.
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.
BTC - Liquisync: Macro Pulse & Desync EngineLiquisync: Macro Pulse & Desync Engine | RM
Strategic Context: The Macro Fuel Tank
Why compare Global Liquidity to Bitcoin? Because Bitcoin acts as a "Global M2 Sponge." As central banks expand their balance sheets, this "Fuel" filters into the system, taking roughly 56 to 70 days to reach Bitcoin's price. Liquisync measures this lead-lag relationship to determine if the "Engine" (Price) is properly supported by the "Fuel" (M2).
How the Model Differs: Liquisync vs. Standard Macro Composites
Many existing macro scripts focus on a Linear Sum of indicators—adding up M2, Spread, and Copper/Gold into a single Z-score. While useful for general sentiment, these "Composite" models often suffer from Directional Blindness. They tell you if the environment is "Risk-On," but they cannot tell you if the Price is currently lying about the Liquidity.
The Liquisync Edge:
• Conflict Detection: Unlike composites that simply turn red or green, Liquisync identifies Desync.
• Velocity Normalization: Instead of Z-scoring absolute values, we measure the Acceleration (Slope) of the move, allowing us to see "Decay" before the trend actually flips.
How the Model Works
1. Pulse Velocity Mapping (The Dual-Slope Architecture)
The engine utilizes a Dual-Slope Architecture to measure the "Dynamic Force" behind the market. By calculating the Linear Regression Slope for both Global Liquidity and BTC Price, we are measuring Acceleration.
• Liquidity Slope (The Fuel): Measures the speed at which central banks are expanding or contracting the money supply.
• Price Slope (The Engine): Measures the speed at which the market is repricing Bitcoin in response to that money (or due to other factors).
The Mathematical Bridge: We don't just plot these lines independently; we normalize them. Because Global M2 is measured in Trillions and BTC in Thousands of Dollars, we transform both into a unified Relative Pulse Score (-100 to +100).
Liquisync: The 4 Macro Scenarios (Directional Matrix) By measuring the interconnectivity of these two pulses, the engine identifies four distinct market regimes:
Scenario A: Institutional Expansion (Harmony) Liquidity Slope (+ rising) | Price Slope (+ rising) Harmony. The trend is "True." The price increase is fully supported by global money. (Scenario Jan 2023)
Scenario B: The Bear Trap (Desync / "Open Mouth") Liquidity Slope (+ rising) | Price Slope (- falling) The Core Edge. Liquidity is filling up, but price is dropping due to short-term panic. Because the fuel is there, the price must eventually snap upward to catch up with the liquidity reality. (Scenario Jun 2020)
Scenario C: The Bull Trap (Desync / "Open Mouth") Liquidity Slope (- falling) | Price Slope (+ rising) The Danger Zone. Price is climbing on "Empty Fuel." Retail FOMO is driving the market while liquidity is being pulled. Highly unstable. (Scenario Jul 2022)
Scenario D: Macro Contraction (Harmony) Liquidity Slope (- falling) | Price Slope (- falling) The Drain. Global liquidity is shrinking and price is following. A fundamental bear market. (Scenario Nov/Dec 2021)
2. Directional Desync (The Conflict Filter)
Liquisync is a Conflict Filter. It ignores "Synchronous" phases where both lines move together and focuses 100% of its visual energy on the Desync scenarios (Bear Trap or Bull Trap). When the lines travel in opposite directions, the indicator generates Cyan Columns. The height of these columns tells you the intensity of the conflict. When the pulses move in Harmony (Scenario A & D), the desync value remains at zero. This creates a 'Visual Silence' on the chart, signaling that the current price trend is structurally healthy and macro-supported.
3. Liquisync Extreme (The Snap-Back Star ✦)
This triggers when the "Open Mouth" (the Liquidity Pulse (Golden Line) and the Price Pulse (White Area) pull in diametrically opposite directions) desync reaches 85% of its 1-year historical record. This is a generational signal identifying the absolute limits of market irrationality relative to the macro reality (Price up, M2 down or vice versa).
How to Read the Chart
• Golden Pulse: The Liquidity Slope
• White Area: The Price Slope
• Harmony (No Columns): Price and Liquidity are in sync. Trend-following is safe.
• Open Mouth (Cyan Columns): These are not momentum bars; they are Conflict Bars . They only appear when the Price and Liquidity are traveling in opposite directions. The taller the column, the more "stretched" the macro rubber band has become.
• Magenta Stars: The desync is at a statistical limit. Expect a violent Macro Snap-Back toward the Golden Liquidity line.
The 60-Day Lead-Lag Principle: Why the Delay?
The Liquisync engine utilizes a specific forward-lag (defaulted to 60–80 days or 9 weeks, to be parametrized by the user) based on the Monetary Transmission Mechanism. Research into global liquidity cycles shows that central bank injections (M2 expansion) do not impact high-beta risk assets instantaneously. Capital follows a "Waterfall Effect": it moves first into primary dealer banks, then into credit markets and equities, and finally—once the "liquidity tide" has sufficiently risen—into the cryptocurrency ecosystem. Statistical correlation studies confirm that the peak relationship between Global M2 and Bitcoin historically occurs with a 56 to 63-day delay. By shifting the liquidity data forward, we align the "Macro Cause" with its "Market Effect," revealing a clearer predictive map that standard, unlagged indicators miss.
Settings & Calibration: Tuning the Liquisync Engine
The Liquisync engine is a precision instrument that requires specific calibration to align the "Macro Fuel" with the "Price Engine."
Slope Lookback defines the sensitivity of our acceleration measurement; a setting of 6 (Weekly) or 30 (Daily) ensures we capture structural shifts while filtering out intraday noise
Liquidity Lag is perhaps the most critical setting, as it shifts the M2 data forward to account for the standard 60–80 day (or 9-week) transmission delay—the time it takes for central bank liquidity to actually hit the crypto order books.
Extreme Window establishes our statistical benchmark; by default, this is set to 52 (representing one full year on the Weekly timeframe), allowing the engine to identify "Magenta Star" signals by comparing the current directional desync against the highest records of the last 365 days.
Recommended Calibration :
• Daily (1D): Set Lag to 60–80 and Lookback to 30 .
• Weekly (1W): Set Lag to 9 (9 weeks) and Lookback to 6 . The 1W chart is the preferred filter for macro cycles.
Detailed Script Calculations
The script aggregates liquidity from the FED, RRP, TGA, PBoC, ECB, and BoJ using request.security. We calculate the ta.linreg slope of this aggregate, normalize it via EMA-smoothed RSI mapping (-100 to +100), and apply a ta.change filter to identify directional opposition. The "Extreme" signal is derived from a rolling ta.highest window of the desync intensity.
The Liquisync engine calculates the Linear Regression Slope (m) over a user-defined window:
m =
Where:
• Δy = The distance between the current linear regression end-point and the previous bar.
• Δx = The defined bar-count (Lookback).
Risk Disclaimer & Credits
The Liquisync is a thematic macro tool. Global liquidity data is subject to reporting delays (Note: Because central bank M2 data is typically reported with a lag, the Golden Pulse represents the most recently available macro data, not a real-time high-frequency feed.). This is not financial advice; it is a statistical model for institutional education. Rob Maths is not liable for losses incurred via use of this model.
Tags:
indicator, bitcoin, btc, macro, liquidity, desync, liquisync, institutional, m2, robmaths, Rob Maths
ETH Dynamic Risk Strategy# ETH Dynamic Risk Strategy - Publication Description
## Overview
The ETH Dynamic Risk Strategy is a systematic approach to accumulating Ethereum during bear markets and distributing during bull markets. It combines multiple risk indicators into a single composite metric (0-1 scale) that identifies optimal buying and selling zones based on market conditions.
## Key Features
• **Multi-Component Risk Metric**: Combines 4 weighted indicators to assess market conditions
• **Tiered Buy/Sell System**: 3 levels of buy signals (L1, L2, L3) and 3 levels of sell signals based on risk thresholds
• **Configurable Filters**: Optional buy filters to reduce signal frequency by 30-50%
• **Visual Risk Zones**: Color-coded risk metric plot with clear threshold lines
• **Comprehensive Dashboard**: Real-time statistics including position size, P/L, and component scores
## How It Works
### Risk Components (Configurable Weights)
1. **Log Return from ATH** (Default: 35%)
- Tracks drawdown from all-time high over lookback period
- Deep drawdowns (-70% to -90%) = low risk / buying opportunity
- Near ATH (0% to -20%) = high risk / selling opportunity
2. **ETH/BTC Ratio** (Default: 25%)
- Measures ETH strength relative to Bitcoin
- Below historical average = ETH undervalued = low risk
- Above historical average = ETH overvalued = high risk
3. **Volatility Regime** (Default: 20%)
- Compares current volatility to long-term average
- Compressed volatility at lows = opportunity
- Expanded volatility at highs = danger
4. **Trend Strength** (Default: 20%)
- Uses multiple EMA alignment and slope analysis
- Strong downtrends = low risk scores
- Strong uptrends = high risk scores
### Trading Logic
**Buy Signals:**
- L1: Risk ≤ 0.30 → Buy $100 (default)
- L2: Risk ≤ 0.20 → Buy $250 total
- L3: Risk ≤ 0.10 → Buy $450 total
**Sell Signals (Sequential):**
- L1: Risk ≥ 0.75 → Sell 25% of position
- L2: Risk ≥ 0.85 → Sell 35% of remaining
- L3: Risk ≥ 0.95 → Sell 40% of remaining
**Buy Filters (Optional):**
- Minimum days between buys (prevents clustering)
- Minimum risk drop required (ensures falling risk)
- Toggle on/off to compare performance
## Settings Guide
### Risk Components
Toggle individual components on/off and adjust their weights. Total weight is automatically normalized. Experiment with different combinations to match your market view.
### Advanced Settings
- ATH Lookback: How far back to look for all-time highs (500-2000 recommended)
- Volatility Period: Window for volatility calculations (40-100 recommended)
- ETH/BTC MA Period: Moving average for ratio comparison (100-300 recommended)
- Trend Period: Base period for trend calculations (50-150 recommended)
### Trading Thresholds
Customize buy/sell trigger points and position sizes. Lower buy thresholds = more aggressive accumulation. Higher sell thresholds = holding longer into bull markets.
### Buy Filters
- Enable/disable filtering system
- Min Days Between Buys: Spacing between purchases (1-3 recommended)
- Min Risk Drop: How much risk must fall (-0.001 to -0.01 range)
## Best Practices
• **Timeframe**: Works best on daily (1D) and 3-day (3D) charts
• **Initial Capital**: Set based on your DCA budget (default $10,000)
• **Backtest First**: Test different parameter combinations on historical data
• **Position Sizing**: Adjust buy amounts to match your risk tolerance
• **Monitor Filters**: Check "Filtered Buys" stat to ensure filter isn't too strict
## Use Cases
- Long-term ETH accumulation strategy
- Systematic DCA with market-adaptive buying
- Risk-based portfolio rebalancing
- Educational tool for understanding crypto market cycles
## Disclaimer
This strategy is for educational purposes only. Past performance does not guarantee future results. Cryptocurrency trading involves substantial risk. The strategy uses historical price action and technical indicators which may not predict future movements. Always do your own research and never invest more than you can afford to lose.
## Credits
Strategy concept and development by nakphanan with assistance from Claude AI (Anthropic). Built using Pine Script v5....Mostly from Claude AI!!!
## Version History
v7.0 - Initial release with 4-component risk metric, tiered trading system, and optional buy filters
BM 1.0BM 1.0 is a direction-focused indicator built to eliminate guesswork and emotional trading. It filters market noise and highlights high-probability directional bias, allowing traders to align themselves with the dominant force in the market instead of fighting it.
Relative Strength Index, Divergences, color and more lines.Modified RSI technical indicator with divergences. Additional colors and more lines have been added.
ATR Based SL & TP Targets from Entry (Long/Short)ATR-based target helper for manual trade planning.
Plots a single entry level plus ATR-based stop loss and take-profit targets on the price scale. The script uses a standard ATR (default 14) and lets you select the position side (Long or Short). For Long positions, it places the stop loss 1× ATR below the entry and take-profit levels at 1, 2, 3, and 4× ATR above. For Short positions, it mirrors this logic, placing the stop 1× ATR above the entry and targets 1–4× ATR below. You can adjust the entry price and ATR multipliers from the settings, and all levels update instantly, giving a clean visual of your risk and reward targets on the price scale.
-------------------
Tip:
After entry, and after I set my SL & TP levels, I hide the indicator until it's needed again.
Lindsey Measured Move Price TargetsLindsey is a pivot-structure target tool that auto-maps a simple 3-point swing sequence (P1 → P2 → P3) and projects a symmetry-based target (P4), then prints it as a clean “🎯” balloon on your chart. It’s designed to give traders a fast, repeatable way to visualize where the next measured move could resolve—without cluttering the price action.
How it works
The script detects pivot highs/lows using your chosen Left/Right Swing Bars (pivot confirmation).
It tracks a three-point structure:
Bull case: P1 = pivot low, P2 = pivot high, P3 = higher pivot low
Bear case: P1 = pivot high, P2 = pivot low, P3 = lower pivot high
Once a valid P3 prints, it calculates a projected target:
Bull target: P4 = P2 + (P2 − P3)
Bear target: P4 = P2 − (P3 − P2)
The target is displayed as a right-shifted balloon, so you can keep it visible ahead of current candles.
How to operate it (practical workflow)
Set Swing Sensitivity
Left Swing Bars / Right Swing Bars control how “strict” pivots are.
Lower values = more signals (noisier). Higher values = fewer, cleaner structures.
Place the balloon where you want it
Balloon Right Offset (bars) moves the 🎯 label forward in time for readability.
Vertical Offset nudges the label up/down in price units to avoid overlapping candles or other tools.
Lock or keep it live
Turn Lock Target Balloon ON to keep the last target fixed on-chart.
Leave it OFF to always display the most recent valid projection.
Style it to your theme
Customize bull/bear balloon colors, text color, and P1/P2/P3 marker colors.
Why it’s useful (benefits)
Clear targets without guesswork: turns swing structure into a consistent measured-move projection.
Less chart noise: one readable target balloon instead of multiple lines and annotations.
Works across assets/timeframes: pivots adapt naturally to volatility and timeframe.
Trader-friendly controls: offset + vertical spacing + lock mode make it easy to integrate with existing layouts.
Notes / best practices
Pivots confirm after the right-side bars complete—so targets are intentionally non-repainting in structure detection, but they appear with that normal pivot confirmation delay.
For choppy ranges, increase pivot bars to reduce whipsaw targets; for trends, slightly lower them to catch more swing opportunities.
Magic 13 for China Stock MarketPrice Exhaustion Counter - 9/13 Signals
This indicator tracks consecutive closes relative to their 4-bar precedent, identifying potential trend exhaustion points.
KEY FEATURES:
- Counts consecutive higher/lower closes up to 9
- Extends counting to 13 for confirmation signals
- Customizable early warning display (counts 5-8)
- Background highlighting for approaching signals
- Clean, non-overlapping label placement
SIGNAL GUIDE:
- Counts 5-8 (orange): Early momentum warning
- Count 9 (purple/green badge): Primary exhaustion signal
- Counts 10-13 (green/purple): Extended momentum - stronger reversal potential
CUSTOMIZATION:
- Toggle early signals visibility
- Adjust label offset for clarity
- Enable/disable background hints
- All timeframes supported
Identifies high-probability reversal zones based on consecutive price action.
Mid-Term Refuges (RMP)════════════
ENGLISH VERSION (SPANISH TEXT AT THE END)
════════════
MID-TERM REFUGES (RMP) V1.0
The Mid-Term Refuges (RMP) indicator plots psychological support and resistance levels based on a methodology used by institutional investors since auction floor days. RMP automatically calculates 31 key levels (refuges) from the asset's annual opening price.
METHODOLOGY
• RESISTANCES (R1-R15): Projected at +10% intervals from annual opening, identifying selling pressure zones
• SUPPORTS (S1-S15): Calculated at -10% intervals, marking buyer interest areas
• ANNUAL OPENING PRICE (PA): Central reference level
The 10% intervals represent significant psychological thresholds that capture market indecision, consolidation, or reversal moments. When critical mass of participants uses these same levels, they become self-fulfilling prophecies.
VALIDATION
Test RMP effectiveness on your assets:
1. Use TradingView's Bar Replay
2. Review periods with +/-10% movements
3. Count price reactions at refuge levels
4. Higher frequency = higher institutional usage probability
ECOSYSTEM INTEGRATION
RMP integrates with our other indicators:
• RLP/RLPS (Long-Term Refuges): Structural analysis
• RS (Weekly Refuges): Short-term tactical analysis
FEATURES
• 31 configurable levels with individual switches
• Professional visualization with formatted prices
• Complete customization (colors, widths, styles)
• Native integration with TradingView's price scale
• Bar Replay compatible
PHILOSOPHY
RMP doesn't predict the future—it observes price action at objective levels. No oscillators, no curve-fitting. Pure technical analysis based on auction floor techniques proven over decades.
══════════════
VERSION EN ESPANIOL
══════════════
(La version completa con entrada de datos y textos de ayuda en espaniol (Roman Paladino) estara proximamente disponible en mi repositorio GH: aj-poolom-maasewal)
REFUGIOS DE MEDIANO PLAZO (RMP) V1.0
El indicador Refugios de Mediano Plazo (RMP) traza niveles psicologicos de soporte y resistencia basados en una metodologia utilizada por inversores institucionales desde los tiempos de los pisos de subastas. RMP calcula automaticamente 31 niveles clave (refugios) a partir del precio de apertura anual del activo.
METODOLOGIA
• RESISTENCIAS (R1-R15): Proyectadas a intervalos de +10% desde la apertura anual, identificando zonas de presion vendedora
• SOPORTES (S1-S15): Calculados a intervalos de -10%, marcando areas de interes comprador
• PRECIO DE APERTURA ANUAL (PA): Nivel de referencia central
Los intervalos del 10% representan umbrales psicologicos significativos que capturan momentos de indecision, consolidacion o reversion del mercado. Cuando una masa critica de participantes utiliza estos mismos niveles, se convierten en profecias autocumplidas.
VALIDACION
Pruebe la efectividad de RMP en sus activos:
1. Use el Reproductor de Barras de TradingView
2. Revise periodos con movimientos de +/-10%
3. Cuente las reacciones del precio en los niveles refugio
4. Mayor frecuencia = mayor probabilidad de uso institucional
INTEGRACION CON NUESTRO ECOSISTEMA DE INDICADORES DE REFUGIOS CON ACCION DEL PRECIO
(Disponibles para descarga proximamente)
Este indicador RMP se complementa fuertemente con el uso de los siguientes indicadores nuestros:
• RLP (Refugios de Largo Plazo): Busqueda y definicion automatizada de fases preponderantes.
• RLPS (Refugios de Largo Plazo Simplificado): Analisis en base a fase preponderante ya conocida.
• RS (Refugios Semanales): Analisis tactico de fases de corto plazo.
CARACTERISTICAS
• 31 niveles configurables con switches individuales
• Visualizacion profesional con precios formateados
• Personalizacion completa (colores, grosores, estilos)
• Integracion nativa con la escala de precios de TradingView
• Compatible con Reproductor de Barras
FILOSOFIA
RMP no predice el futuro. Observa la accion del precio en niveles objetivos. Sin osciladores, sin sobreajustes. Analisis tecnico puro basado en tecnicas de piso de subastas probadas durante decadas.
════════════════════════════════════════════════════════════
Desarrollado por: aj p'oolom masewal
Codificado con la colaboracion de: Claude Sonnet 4.5 de Anthropic
════════════════════════════════════════════════════════════
Regime Switch 100/200 SMAWhat it does
Daily, close-only trend regime for any symbol using the 100-day (momentum) and 200-day (regime) SMAs. Classifies the tape into GREEN / YELLOW / RED and stays stable intraday.
How it works (rules)
GREEN = Close > 100D and 100D > 200D -> full risk-on.
YELLOW = Close > 200D and 100D <= 200D -> light risk-on / repair.
RED = Close < 200D -> risk-off.
State changes require N = 2 daily closes (configurable).
Optional +/- band % around 200D to reduce whipsaws.
Always computes on daily data (independent of chart timeframe).
Inputs
Use chart symbol? (else pick a fixed symbol)
Fast SMA length (default 100)
Slow SMA length (default 200)
Daily closes to confirm (default 2)
Buffer band % around 200D (default 0)
Toggles: state-change markers, status panel, SMA labels
Visuals & alerts
Background: GREEN / YELLOW / RED by state
Lines: SMA100 (yellow) and SMA200 (orange)
Markers on state flips; three alertconditions fire on GREEN / YELLOW / RED changes
How to use (workflow)
View with 1D candles , ~ 1Y range .
Decide at the daily close; execute next day’s open.
Example sizing when signaling on QQQ and expressing with TQQQ:
- GREEN -> sleeve 10–15% (cap 20–25%); trim if sleeve > target x 1.25.
- YELLOW -> sleeve 5–8% (half risk).
- RED -> 0%; sit in cash until GREEN or YELLOW returns.
No margin/loans layered on leveraged ETFs.
Notes
Works with regular candles; dividend-adjustment settings can nudge SMA values.
For faster but noisier behavior, shorten to 150/100D or set Confirm=1.
Change log
v1.0: Initial release (daily, 3-state, follows chart symbol, alerts, panel).
Disclosure
Educational use only. Not investment advice.
CAPEX//@version=6
indicator("美光 CapEx 噴發追蹤器", overlay=true)
// --- 輸入設定 ---
threshold = input.float(20.0, title="CapEx 噴發閾值 (%)", minval=1.0)
lookback = input.int(4, title="對比前幾季", minval=1)
// --- 取得財務數據 (資本支出 - 季度) ---
// 使用 request.financial 抓取美光的資本支出 (Capital Expenditures)
capex = request.financial("NASDAQ:MU", "CAPITAL_EXPENDITURES", "FQ")
// --- 計算變動率 ---
// 因為財務數據在圖表上是階梯狀的,我們取當前有效值
current_capex = nz(capex)
prev_capex = nz(capex )
// 計算增長率 (注意:capex 在財報是負數,所以我們取絕對值來計算)
capex_growth = (math.abs(current_capex) - math.abs(prev_capex)) / math.abs(prev_capex) * 100
// --- 判斷噴發條件 ---
is_surge = capex_growth >= threshold
// --- 繪製視覺效果 ---
// 當 CapEx 噴發時,背景顯示紅色 (代表擴產警訊)
bgcolor(is_surge ? color.new(color.red, 85) : na, title="CapEx 噴發區間")
// 在圖表下方標註文字
plotshape(is_surge, style=shape.labelup, location=location.bottom, color=color.red, text="CapEx 激增", textcolor=color.white, size=size.small)
// --- 儀表板 (選用) ---
var table tb = table.new(position.top_right, 2, 2, bgcolor=color.new(color.black, 70), border_width=1)
if barstate.islast
table.cell(tb, 0, 0, "本季 CapEx:", text_color=color.white)
table.cell(tb, 1, 0, str.tostring(current_capex / 1e9, "#.##") + " B", text_color=color.red)
table.cell(tb, 0, 1, "較上季增長:", text_color=color.white)
table.cell(tb, 1, 1, str.tostring(capex_growth, "#.##") + "%", text_color=is_surge ? color.red : color.green)
Daily High Low XAUUSD by RizalIndikator ini untuk mengetahui high low daily chart XAUUSD di timeframe 4h
Elite MTF EMA ReclaimThis indicator is a trend-continuation tool, not a scalper.
Its purpose is to help you enter clean pullback trades in strong trends while blocking chop and low-quality setups.
It works by:
Requiring Daily + 1H trend alignment
Enforcing EMA structure (5/10/20/50) on the execution timeframe
Confirming momentum expansion using EMA slope + curvature
Blocking trades when conditions are choppy (low ATR, weak ADX, tight EMAs, recent EMA crosses)
Triggering entries only after a Pullback → Reclaim → (optional) Retest
How to use it:
Trade on the 6-minute chart (Forex works best based on default setting) but is adaptable to any market by changing settings
Wait for LONG / SHORT triangles only when no CHOP or HTF block is shown
Enter on the signal, place stops beyond EMA 50 or structure, target 2R–4R+
Expect fewer but higher-quality trades
What it’s not:
Not a breakout or range-trading indicator
Not meant to fire many signals
Not for choppy or low-volatility markets
Bottom line:
It helps you trade with higher-timeframe momentum, enter after pullbacks, and avoid bad market conditions.
Last 30 days 9-12 avg range NYaverage range for NY time 9-12 in last 30 days. 9-12 will be highlighted and turn red on the 5m chart when price reaches a range bigger than the average in the last 30 days for that time.
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.
Relative Strength Index - More Lines, Color and Divergence.Modified RSI technical indicator with divergences. Additional colors and more lines have been added.Enjoy.
Intraday Market Context (Trend & Risk)📌 Intraday Market Context (Trend & Risk)
Overview
Intraday Market Context (Trend & Risk) is a non-signal, informational indicator designed to provide a high-level view of current market conditions. Instead of generating buy or sell signals, this tool helps traders understand what kind of market they are operating in and how cautious or aggressive they should be.The output is shown as a clean, fixed on-chart box with plain-language guidance.
What This Indicator Shows
The indicator displays three simple elements:
1️⃣ Market Type
Identifies the current market environment:
Trending Market
Sideways Market
Expanding / Breakout Market
Unclear Market
2️⃣ Risk Mode
Provides a relative assessment of market risk:
Normal Risk
Medium Risk
High Risk
This is contextual information only and does not imply trade direction.
3️⃣ What to Do
Plain-language behavioral guidance, not trade instructions:
Trend is Friend
Range is Friend
Wait for Pullback
Stay Out
These phrases are meant to guide trader behavior, not trigger trades.
How to Use
Use this indicator as a market context filter, not as a trading signal
Decide when to trade, trade cautiously, or stay out
Use your own execution tools (price action, EMAs, VWAP, structure, etc.) for entries and exits
Respect “Stay Out” conditions to avoid over-trading in unfavorable environments
This indicator works best as a decision-support overlay, especially for intraday traders.
What This Indicator Is NOT
❌ Not a buy/sell signal
❌ Not a trading strategy
❌ Not predictive
❌ Not a replacement for risk management
Important Disclaimer
This indicator is provided for educational and informational purposes only.It does not constitute financial advice, investment advice, or a recommendation to trade any instrument.Trading involves risk, and losses can exceed expectations. Always use proper risk management and make your own trading decisions.
Korocham MA & SwingSMA 3Lines , Swing High Low
An indicator that displays 3 SMA lines and Swing Highs/Lows with 5 bars to the left and right.
AllinOne-ADR/ATR/LoDdist./MarketCap/EPStable&EPSTTM/SMA/ShortsHi guy's,
here's my 2025 Chrismas present: coco's "all in one" script.
First, what's missing:
Institutional ownership% and increase (Use MarketBeat)
Short Percent of Float (isn't working) (Use MarketBeat)
IBD EPS Ranking (Use IBD with an LLM)
Insider ownership % (Use MarketBeat)
Daily Volume (use another script)
VRVP (use another script)
RSI (use another script)
OVB (use another script)
Even if you follow the “keep it simple” approach and avoid using too many indicators, this one can consolidate several key metrics in one place.
a quarterly EPS/Sales table (Table or HeadBand mode) with earnings-event arrows
a mini stats table (ADR%/ATR/LoD dist./Market Cap/EPS TTM × multiple)
an SMA bundle
an integrated Shorts module (short-volume/short-interest metrics).
Long explanation:
This is a consolidated Pine Script v6 overlay indicator built from four functional blocks that run together in one script.
It plots a full quarterly fundamentals dashboard and optionally prints earnings markers on the chart. It pulls EPS (actual, standardized fallback, and estimates) via request.earnings() and revenue plus related fields via request.financial(). A quarter “event” is detected by changes in actual/standardized/estimate series, then historical values are reconstructed with ta.valuewhen() so the script can display multiple past quarters even if the chart timeframe is not quarterly. From those reconstructed series it calculates YoY EPS % change (MarketSurge/MarketSmith style), optional QoQ EPS % change, EPS surprise %, the same set for sales, and optional Gross Margin and ROE series. It supports display quirks such as “#” labeling when the YoY base quarter was negative, capping at ±999%, “avoid N/A” behavior, and a compare mode that prints “current vs year-ago” values inside cells.
The fundamentals are rendered into tables with two presentation modes. The “Table” mode is a larger multi-row quarterly grid showing date (MMM-yy), EPS, EPS % change, optional QoQ, optional surprise, sales (scaled to M or B), sales % change, optional QoQ, optional surprise, and optional GM/ROE columns. The “HeadBand” mode builds a compact daily-style panel for the most recent quarters with merged header cells and aligned text, intended for non-weekly timeframes. Both modes use configurable sizing, borders, frame width, and MarketSmith/MarketSurge styling presets.
On earnings-event bars it can place triangle labels beneath the price bars. The label can show EPS only or EPS plus sales, can switch between YoY and QoQ depending on the toggle, and colors the text based on positive/negative performance.
A separate mini stats table prints quick trading context metrics: ADR% (range/close over N daily bars), daily ATR (Wilder), LoD distance as a percent of daily ATR, market cap computed from outstanding shares times price (scaled K/M/B/T), and EPS TTM multiplied by a configurable x-multiple (default x20), where EPS TTM is the sum of the last four reported quarters reconstructed from the same earnings-event logic. This table is intended to stay fixed in a standard corner location and update only on the last bar.
The script also includes an SMA bundle that can plot up to ten simple moving averages, with optional computation forced to daily bars for consistency across intraday charts. Each SMA line is conditionally colored based on whether price is above or below the SMA.
Finally, it includes a Shorts block (the “Short Volume Stamper” section). That module is responsible for short-related metrics (short volume/ratio style outputs) and is integrated as an additional feature section within the same indicator rather than a separate script.
Credit goes to the following excellent works, which helped me compile this script:
Fred6724 for the EPS table:
TheScrutiniser for the ADR/ATR/LoD/MarketCap:
stocksinboxx for the SMA layout:
Hope this helps. I’d been looking for this for a while and couldn’t find it, so I combined several scripts into one. Please let me know if you spot any mistakes. Wishing you all some boring trading sessions!






















