QWRQWR identifies when trading activity outweighs price movement, highlighting periods where market participation is strong but price remains constrained—useful for filtering setups with favorable risk-reward conditions.Pine Script® indicatorby boromeywang1
Accordion Index (Swing-Based) Structural Market Regime AnalysisThe Accordion Index is a multi-dimensional market structure indicator designed to diagnose regime formation, expansion, compression, and transition phases across financial markets. Rather than generating isolated buy/sell signals, it provides contextual insight into how price, structure, and participation interact over time. The indicator is based on a swing-based, multi-leg framework, which reflects how markets naturally alternate between expansion, correction, re-expansion, and resolution phases. These repeating swing sequences form the foundation of both classical cycle analysis and Elliott Wave structures. By quantifying the internal quality of these swing structures, the Accordion Index evaluates whether price movements are structurally aligned, directionally efficient, and institutionally supported. Core Components The indicator consists of three complementary components: 1) Accordion Correlation (Blue Line) Structural Alignment Measures the degree of synchronization between short-term swing behavior and the dominant higher-timeframe regime. Rising values indicate increasing structural coherence. Declining values reflect regime decay and fractal misalignment. This component highlights whether market movements are organized within a broader cycle structure or fragmented across timeframes. 2) Efficiency (Green Line) Directional Progress Measures how much net directional displacement price achieves relative to its internal movement. Rising values indicate clean, trend-supportive movement. Falling values reflect consolidation, churn, or distribution. This component distinguishes productive trends from sideways or internally conflicted phases. 3) Average Swing Speed (Red Line) Participation and Energy Measures the velocity and urgency of swing movements. Rising values indicate strong institutional and speculative engagement. Declining values suggest fading participation or exhaustion. This component reflects whether major capital is actively sponsoring price movement. Regime Thresholds Two reference levels provide structural context: Directional Regime (+0.5, Blue Dashed Line) Identifies mature directional regimes with strong structural coherence, typically associated with sustained trend phases. Strong Accordion (–0.5, Purple Dashed Line) Marks extreme structural dislocation, often occurring during crisis periods, panic phases, or major regime breakdowns. Interpreting the Accordion Index The indicator should be interpreted as a regime and structure filter rather than a standalone signal generator. Typical configurations include: Rising correlation, rising efficiency, rising speed =Trend expansion and regime confirmation Rising correlation, falling efficiency, elevated speed =Compression and accumulation/distribution Falling correlation and efficiency with unstable speed =Regime decay and transition Simultaneous recovery in correlation and efficiency =Structural re-synchronization and trend re-emergence These configurations allow traders to assess whether markets are trending, consolidating, transitioning, or reorganizing internally. Market-Agnostic and Fractal Design The Accordion Index is market-agnostic and fractal in nature. It can be applied to: FX, commodities, indices, equities, and crypto Intraday, swing, and long-term timeframes The underlying swing structure exists in all sufficiently liquid markets. Differences in behavior are reflected through changes in structural coherence, efficiency, and participation rather than through pattern distortion. The indicator therefore adapts naturally to different asset classes and volatility regimes. Integration with Cycle and Wave Analysis The Accordion Index is designed to complement, not replace, existing analytical frameworks. Cycle Analysis It can be used to validate cycle phases by confirming whether internal structure supports expansion, compression, or transition scenarios. Elliott Wave Analysis The indicator aligns naturally with Elliott Wave principles by evaluating the quality of impulsive and corrective phases: Impulsive waves typically show rising correlation, efficiency, and speed. Corrective waves tend to display falling efficiency and structural fragmentation. Wave extensions and failures are often preceded by changes in internal alignment. This makes the Accordion Index a valuable supplemental tool for confirming wave counts and identifying regime exhaustion or re-synchronization. Practical Usage The Accordion Index functions best as a contextual filter: High structural alignment = trust trend structure Low efficiency = expect consolidation Low participation = avoid forcing trades Trades and projections should be executed in alignment with prevailing structural conditions rather than isolated price patterns. Disclaimer This indicator is intended for educational and analytical purposes. It does not constitute financial advice. All trading decisions remain the responsibility of the user. Closing Note The Accordion Index is designed to visualize how markets organize, exhaust, compress, and re-synchronize over time. By integrating structural alignment, directional efficiency, and participation dynamics, it provides a unified framework for understanding market regimes across asset classes and timeframes.Pine Script® indicatorby AMTrader94
Risk AlignmentRisk Alignment evaluates whether market conditions favor risk-on or risk-off behavior by assessing the alignment of BTC and the OTHERS index. It uses two independent signals: the direction of the 12/25 EMA stack and price position relative to those EMAs, each classified as bullish, bearish, or neutral. These signals are combined into a six-state regime framework: Bullish, Neutral-Bullish, Conflicting, Neutral-Bearish, Bearish, or No Signal This provides a clear hierarchy of conviction rather than a binary output. It is designed to function as a top-down macro filter, helping traders gate exposure, size risk, and avoid periods of structural disagreement. It is best used as a regime context layer, not as a standalone entry signal.Pine Script® indicatorby Kintsugixyz2
Occurrence Scanner | MA Resilience & Breakout LogicThis indicator is designed to quantify the reliability of a Moving Average (MA) as a dynamic Support or Resistance level. Unlike standard crossover indicators that generate signals on every touch, this script employs a rigorous "Zone Tolerance" and "Temporal Confirmation" logic to filter out noise and classify price action into three distinct behaviors: Valid Bounce, Confirmed Breakout, or False Breakout (Trap). It also integrates an optional Volatility Filter (based on TTM Squeeze mechanics) to prevent false signals during low-volatility "chop" regimes. HOW IT WORKS: 1. The "Safe Zone" (Buffer Logic): Standard MAs are thin lines. This script creates a programmable "Road" around the MA (defined by the Zone Tolerance % input). A touch is only considered a potential breakout if the price closes outside this zone. Wicks that pierce the MA but close inside the zone are treated as Bounces (respecting the level). 2. Event Classification (The Decision Engine): Once the price interacts with the MA Zone, a "Sovereignty Window" (Lookahead Timer) is activated to monitor the subsequent candles: ✅ Bounce: Price tests the MA but never closes outside the Safe Zone during the window. The MA held as support/resistance. ❌ Breakout (Breakdown/Breakup): Price closes outside the Safe Zone. A strict "2-Consecutive Close" logic is applied to confirm the trend change immediately, avoiding premature signals. ⚠️ False Break: Price momentarily closes outside the zone but aggressively reverses to the opposite side within the time window. This identifies "Bull/Bear Traps". 3. The Volatility Filter (Anti-Chop): Market consolidation often leads to MA whipsaws. The script calculates Bollinger Bands (2.0 std) vs. Keltner Channels (1.5 ATR). If the Squeeze Filter is enabled in settings, the script forces the scanner to IGNORE any MA touches while volatility is compressed (Squeeze ON). This ensures signals are only generated during active trends. SETTINGS: MA Type & Length: Choose between SMA or EMA and the period (e.g., 20, 50, 200). Zone Tolerance (+/- %): The buffer width. Default is 0.2%. Higher values filter more noise. Lookahead Candles: The confirmation window size. Squeeze Filter: Toggle On/Off to ignore signals during low volatility regimes. INTENDED USE: This tool is intended for Swing Traders and Scalpers looking to statistically validate which Moving Average is being respected by a specific asset. It automates the "visual backtest" process, providing a Dashboard with success rates for Bounces vs. Breaks.Pine Script® indicatorby impressive_Storkj9gr3Updated 10
ORION: Linear Regression Consolidation SystemDescription: This script is a custom-built technical analysis tool designed to identify high-probability consolidation zones (market equilibrium) and trade their subsequent breakouts in the direction of the established trend. originality & Concept: While many indicators use simple Bollinger Band squeezes, this system employs a multi-factor algorithm to define "Consolidation" mathematically. It synthesizes three core concepts: Volatility Compression (ATR): It compares the current range against the Average True Range (ATR) to ensure price action is compressed. Structural Stationarity (Linear Regression): It calculates the slope of the Linear Regression line over a lookback period. A zone is valid ONLY if the slope is near-zero (< 0.25), ensuring the market is truly flat and not just choppy. Trend Alignment (EMA): To filter out low-probability counter-trend signals, the system utilizes a 150-period Exponential Moving Average (EMA) as a baseline. Breakouts are only valid if they align with the macro trend (Above EMA = Long, Below EMA = Short). How It Works: Zone Detection: The script draws a visual box when the price range is within the ATR multiplier limit AND the Linear Regression slope is flat. Signal Validation: A signal is triggered only on a confirmed candle close outside the box. False Breakout Protection: A volume/body size filter checks if the breakout candle has significant momentum compared to the average of the last 20 bars. Risk Management : The script projects a fixed Risk:Reward setup (default 1:1.8) and includes a "Breakeven" logic that visualizes when a trade has reached 50% of its target, securing the position. Settings: This system is highly customizable to fit different market conditions. Below are the specific parameters used in this setup: 1. Strategy Core (Logic) Lookback Period (15): The algorithm analyzes the most recent 15 candles to detect market equilibrium. On the M5 timeframe, this represents a 75-minute window of stability, which is optimal for scalping setups. Box Width (ATR Multiplier) (3) : Defines the maximum vertical range of the consolidation box. A value of 3 means the box height cannot exceed 3x the Average True Range (ATR). This ensures we are trading tight, compressed zones rather than volatile, expansive ranges. Slope Tolerance (0.4): Controls the strictness of the Linear Regression slope. A value of 0.4 allows for a slight tilt in the consolidation structure, capturing more valid opportunities than a strictly horizontal (0.0) setting without compromising the "flatness" requirement. 2. Risk Management Risk : Reward Ratio (1.8): Sets the profit target relative to the stop loss. For every $1 risked, the system targets $1.8 in profit. This provides a positive mathematical expectancy even with a moderate win rate. Breakeven Trigger (%) (0.5): A capital preservation feature. When the price covers 50% (0.5) of the distance to the Take Profit target, the trade is visually marked as "Breakeven" (Risk-Free). If the price reverses after this point, it is not counted as a loss. 3. Protection & Filters (Insurance) Enable 'Strong Candle' Filter (ON): Filters out weak "creeping" breakouts. The system will only trigger a signal if the breakout candle demonstrates significant momentum. Average Size Period (20): The baseline for momentum is calculated using the average body size of the last 20 candles. Candle Strength Factor (1): The breakout candle must be at least 1x (100%) the size of the average candle. This ensures that real volume and momentum are backing the move, reducing the chance of fakeouts. Disclaimer: This script is intended for educational and analytical purposes to assist traders in identifying market structure.Pine Script® indicatorby ana_gagua1127
Crypto PCA [LuxAlgo]The Crypto PCA indicator provides a sophisticated, multi-asset sentiment gauge by applying Principal Component Analysis (PCA) to a basket of the top 20 cryptocurrencies. By extracting the primary driver of variance across these assets, the tool offers a "market-wide" oscillator that filters out individual coin noise to highlight the dominant trend and sentiment shifts in the crypto space. In modern quantitative finance, PCA is used to reduce dimensionality and identify the underlying factors that move a group of assets. This indicator brings that institutional-grade approach to the retail trader, condensing the price action of Bitcoin, Ethereum, Solana, and 17 other majors into a single, actionable signal. 🔶 USAGE The script serves as a macro-sentiment oscillator, allowing traders to see the "hidden" force driving the crypto market. It is designed to identify when the market is moving in unison and when that collective movement has reached an extreme. 🔹 Identifying Market Regimes The primary use of the PCA line (PC1) is to determine the current market regime. When the oscillator is above the zero line and colored green, it indicates that the majority of the top 20 assets are experiencing positive variance, signaling a broad bullish regime. Conversely, when the line is below zero and colored red, the market is in a collective bearish state. Traders can use this to align their individual trades with the direction of the total market energy. 🔹 Using Snapshot Mode for Situational Analysis While the continuous mode is ideal for long-term trend following, the Snapshot Mode provides a focused view of market dynamics over the most recent lookback window. This mode isolates the current sentiment cycle, allowing traders to see the specific trajectory and "shape" of the latest move without the influence of older historical data. By enabling Snapshot Mode, you can analyze the immediate internal structure of the market. It is particularly useful for identifying whether a recent pump or dump is a coordinated market-wide event or a more fragmented move. This helps in distinguishing between a broad structural shift and a temporary volatility spike. 🔹 Spotting Overextended Sentiment The indicator includes dashed horizontal lines at +2 and -2, representing standard deviation thresholds. Because the assets are standardized before calculation, these levels mark statistical extremes. Overbought Extremes: When the PCA line exceeds +2, the broad market is significantly overextended to the upside. This often precedes a cooling-off period or a mean-reversion event across the entire sector. Oversold Extremes: When the PCA line drops below -2, it suggests a "panic" or exhausted selling state across the basket. This can signal potential bottoming interest or a relief rally. 🔹 Gauging Relative Strength The faint "ghost" lines in the background represent the individual standardized price paths of the 20 included assets. By comparing these to the main PCA line, traders can identify leaders and laggards. An asset line that stays consistently above the PCA line during a rally is exhibiting relative strength, while an asset trailing below the PCA line is underperforming the market average. 🔶 DETAILS The indicator follows a rigorous mathematical pipeline to ensure the data is statistically significant and comparable across assets with different price scales. 🔹 Standardization (Z-Scores) Before performing PCA, every asset must be on the same scale. The script converts the price of all 20 assets into Z-scores based on the user-defined Lookback Period. A Z-score tells us how many standard deviations a price is from its mean. This allows the movement of a high-priced asset like BTC to be mathematically compared to a lower-priced asset like PEPE. 🔹 The Basket & PCA Approximation The indicator includes the following assets: BTC, ETH, BNB, XRP, SOL, TRX, DOGE, ADA, BCH, WBTC, XLM, LTC, HBAR, LINK, AVAX, PEPE, DOT, UNI, NEAR, and ICP. The script uses a correlation-based approximation to find the First Principal Component. It calculates the correlation of each asset to the equally weighted basket and uses these correlations as "loadings" to compute the PC1. This ensures that assets moving in sync with the general market trend are given higher priority in the final oscillator value. 🔹 Why PCA? Most "Crypto Indices" are simply weighted averages. PCA is superior because it identifies the commonality between assets. If 18 coins are moving up and 2 are moving down, PCA gives more weight to the 18 moving together, as they represent the "Principal Component" of the market's current energy. 🔶 SETTINGS 🔹 Main Settings Lookback Period (N): Determines the window used for Z-score standardization and PCA calculation. A shorter period makes the indicator more reactive, while a longer period identifies macro-cycle shifts. Z-Score Smoothing: Applies a Simple Moving Average (SMA) to the standardized asset values before the PCA calculation. This effectively filters out high-frequency noise and produces a smoother principal component line, which is useful for reducing false regime shifts in volatile markets. Enable Snapshot Mode: Switches the visual output from a continuous rolling line to a static view of the PCA over the most recent lookback window. 🔹 Visual Settings Standardized Assets Color: Controls the color and transparency of the 20 individual asset lines. Bull/Bear Colors: Defines the colors used for positive and negative market sentiment. Disclaimer: This indicator is a statistical tool for sentiment analysis and does not constitute financial advice. The PCA approach measures variance and correlation, not guaranteed future direction.Pine Script® indicatorby LuxAlgo22441
WT Crossover Strategy Main Chart Indicator# WT Crossover Strategy Main Chart Indicator ## Indicator Overview The WT Crossover Strategy Main Chart Indicator is a trading signal system based on the Wave Trend (WT) indicator, specifically designed for the TradingView platform. This indicator combines WT indicator crossover signals with ATR-based take profit and stop loss calculations, providing traders with clear entry signals and explicit risk management references. ## Core Features ### 1. Trading Signal Identification - WT Indicator Crossover Signals : Identifies potential trend reversals based on golden crosses/death crosses between WT1 and WT2 - EMA Trend Filtering : Optional EMA20 and EMA200 trend filtering to help confirm trend direction - Entry Point Markers : Green triangles mark long entry points, red triangles mark short entry points ### 2. Risk Management Visualization - Fixed-Length SL/TP Lines : Generates 10-bar length dashed lines at entry, marking take profit and stop loss prices - Trigger Status Display : When take profit or stop loss is triggered, dashed lines turn solid and display "Take Profit Triggered" or "Stop Loss Triggered" labels - ATR-Based Calculations : Automatically calculates take profit and stop loss prices using ATR indicator, adapting to different market volatility ### 3. Customizable Parameters - Preset Symbols : Built-in optimized parameters for Gold, Rebar, Fuel Oil, Bitcoin, Ethereum, etc. - Line Length Adjustment : Customizable display length for take profit and stop loss lines - ATR Parameter Adjustment : Adjustable ATR period, stop loss multiplier, and take profit multiplier - Filter Control : Enable or disable zone filtering and trend filtering ## Technical Features - Fixed-Length Lines : Take profit and stop loss lines only display for a fixed length, avoiding chart clutter - Status Change Markers : Intuitively displays take profit/stop loss status through line style changes and labels - Responsive Design : Automatically adapts to different timeframes and symbols - Clear Visual Hierarchy : Reasonable color scheme and marker size ensure clear and readable charts ## Usage Instructions 1. Load the Indicator : Apply the indicator to your chart 2. Select Symbol : Choose your trading symbol from the presets or manually adjust parameters 3. Observe Signals : - Consider going long when green triangles appear - Consider going short when red triangles appear 4. Set Stop Loss : Reference the red dashed line for stop loss placement 5. Set Take Profit : Reference the green dashed line for take profit placement 6. Monitor Status : When dashed lines turn solid and display labels, it indicates take profit or stop loss has been triggered ## Application Scenarios - Trend Trading : Combined with EMA filtering to identify medium-term trends - Swing Trading : Utilizes WT indicator's overbought/oversold characteristics to capture price reversals - Risk Control : Implements scientific risk-reward ratio management through ATR-calculated take profit and stop loss - Strategy Verification : Serves as an independent indicator to verify your trading strategy signals ## Notes - This indicator is for reference only and does not constitute investment advice - It is recommended to use in conjunction with other technical analysis tools - Please thoroughly backtest before live trading to adapt to your trading style - Different symbols may require parameter adjustments for optimal resultsPine Script® indicatorby redmagic53312
Gan Swing TTno dicribe trade with gan wave, swing, choch,bos and more.....Pine Script® indicatorby buithanh9014889
Quantitative Trend and Sector DashboardQuantitative Trend and Sector Dashboard Overview The QTS Dashboard is a visual market context tool that summarizes relative strength, benchmark comparison, volatility normalization, and sector participation in a compact on-chart display. It is designed for analysis and situational awareness rather than trading signals or automated decisions. What makes it different Most relative strength tools compare symbols only to a broad index. This dashboard automatically assigns a relevant sector or industry benchmark based on ticker membership, enabling like-for-like comparison with similar instruments. The result is a multi-factor view of trend participation rather than a single metric. Core components • Benchmark Detection Maps symbols to sector or industry ETFs to improve comparison relevance. • Beta Normalization (252 bars) Beta is calculated using covariance and variance to scale thresholds according to typical volatility. • Dual Range Tracking Measures distance from 52-week highs and lows to show position within the yearly cycle. • Sector Participation Scan Evaluates major SPDR sectors and lists those currently meeting configurable strength criteria. • ATR Extension Quantifies price distance from midpoint using ATR to highlight statistically extended moves. Math summary • Relative Spread = Benchmark %BelowHigh − Symbol %BelowHigh • Beta = Covariance / Variance • Adjusted Threshold = Base × Beta • Extension = (Price − Midpoint) / ATR All calculations use confirmed bars. No intentional repaint logic. Status states • Leader — stronger relative performance • Neutral — in line with benchmark • Lagging — weaker relative performance • Extended — large volatility stretch States describe context only. How to use • Compare Spread and Beta for relative positioning • Monitor sector list for participation breadth • Use extension values to gauge stretch conditions • Adjust timeframe and thresholds to match your workflow • Show, hide, or reposition the dashboard as needed Example charts Disclaimer Educational and informational only. This indicator does not provide buy or sell signals or investment advice. Trading involves risk.Pine Script® indicatorby ibotradeUpdated 4
Std Dev Zones MTFStd Dev Zones MTF Key Features Overview • ⭐ Built using ADR10 (Average Daily Range) logic to measure volatility-based standard deviation zones from timeframe open. • ⚙️ ADR10 STD DEV Zones Pine v6 — MTF support for Daily, H4, H8, H12 timeframes for multi-timeframe volatility analysis. • 📦 Dynamic zones calculated from period open (Daily/H4/H8/H12) using average range = clean, objective volatility structure. • 📊 ±0.5 SD zones = neutral territory — price within normal range from open. • 📈 +0.75 SD & +1.0 SD = OVERBOUGHT zones — price extended above normal range, potential exhaustion or reversal area. • 📉 -0.75 SD & -1.0 SD = OVERSOLD zones — price extended below normal range, potential exhaustion or reversal area. • 🔥 +1.25 SD = MAX OVERBOUGHT — extreme extension above open, highest volatility threshold for exits/profit-taking. • 🧊 -1.25 SD = MAX OVERSOLD — extreme extension below open, highest volatility threshold for exits/profit-taking. • 🧠 Adjustable zone thickness (% of ADR10) so zones scale with market volatility — perfect for Gold, Forex, Crypto swings. • 🎨 Color-coded zones with large labels inside each zone for instant visual clarity — no interpretation lag. • 🧭 Zones extend throughout the trading period so you can track price behavior relative to volatility bands. • 🟩🟪 Dual color system for upper/lower zones + descriptive labels - zero confusion on market extension. • 🧼 Clean overlay display: zones + open line = actionable, minimal, fast volatility assessment. • ⭐ Apply to your M15/M30/H1/H4 TradingView chart — your volatility roadmap for Gold, FX, Crypto, Indices. • 🚀 Use for exit planning & take-profit levels at overbought/oversold extremes — NOT for standalone entry signals. • 📦 Enable/Disable individual zone levels (±0.5, ±0.75, ±1.0, ±1.25) to customize your chart view. • 📦 Too cluttered? Adjust "Periods to Show" or increase zone thickness % from settings. • 🎯 How to use this? Monitor price behavior at overbought/oversold zones for potential reversals or continuations. Use Max Overbought/Oversold levels for aggressive profit-taking. Combine with your entry system for complete trade management. • ⚠️ IMPORTANT NOTICE: This indicator is designed to measure market volatility and identify potential exit/take-profit zones. It should NOT be used as a standalone signal for entering trades. Use it in conjunction with your trading strategy to assess overbought/oversold conditions and plan exits. NQ GBPUSD BTCUSD Pine Script® indicatorby ProjectSyndicate11936
xxmonk. Absolute FractalDescription: Concept This indicator is a specialized Fractal Time Engine designed for high-precision scalping and swing trading (specifically optimized for NQ/Nasdaq). Unlike standard Fibonacci time zones that drift or overlap, this script creates a strictly nested "Vibration" structure across three timeframes simultaneously. It treats time as a fractal, where smaller cycles are mathematically "imprisoned" within larger cycles. How It Works The indicator projects the Fibonacci sequence (1, 3, 5, 8, 13, 21, 34, 55, 89, 144) from a single Master Anchor, but creates a hierarchy of containment: HTF (Higher Timeframe - Red): The Master Cycle (e.g., Daily). These are the hard walls. MDL (Middle Timeframe - Orange): Nested strictly between HTF milestones. The count resets to "1" instantly at every HTF line and cannot exist past the next HTF line. LTF (Lower Timeframe - Yellow): Nested strictly between MDL milestones. The count resets to "1" instantly at every MDL line. Key Features Strict "Prisoner" Logic: A lower timeframe cycle is physically terminated the moment it hits a higher timeframe milestone. This prevents clutter and ensures the "1" always aligns with the momentum injection of the larger trend. The "Rigged" Anchor: The math uses an (n-1) offset, ensuring that Milestone "1" sits exactly on the anchor vertical, removing the visual drift found in standard tools. Dynamic Visibility Engine: To solve TradingView’s 500-label limit, this script uses a smart buffer that only draws labels currently visible on your screen. This ensures that the critical early counts (1, 3, 5) are never deleted to make room for off-screen history. Tiered Visuals: Labels are automatically stacked at different percentage heights (15%, 8%, 2%) above price to prevent overlap. Settings & Customization Master Anchor: Select the exact start time for the cycle. Timeframes: Fully customizable periods for HTF, MDL, and LTF layers. Visuals: Individual control over Color, Line Style (Solid/Dash/Dot), Thickness, and Vertical Height for each tier. How to Use Set the Master Start Anchor to a significant high/low or session open. Look for "Confluence Clusters": Areas where an HTF, MDL, and LTF line all land on the same candle often indicate a high-probability reversal or "Rigged" expansion point. Use the LTF (Yellow) counts for entry timing (1, 3, 5) inside the larger trend direction defined by the HTF (Red) walls.Pine Script® indicatorby xmonkk2
Hawks NY Midnight OpenPlots the New York Midnight Open price with configurable horizontal and vertical reference lines, session-based timing, and adjustable extensions.Pine Script® indicatorby sarissabrownriggfh17638
1D % Change (Histogram)1D % Change Histogram (Daily-Anchored) Description This indicator plots the 1-day percent change as a histogram above/below the zero line. It includes 3 calculation modes: • Last vs Prev Close: compares the latest available price to the prior daily close (useful for an “in-progress” daily change on intraday charts). • Close vs Prev Close: classic daily close-to-close change (stable per day). • Close vs Open: session move for the day (open-to-close). The logic is anchored to the Daily timeframe, so you can view it on 5m/15m/1H charts while keeping a consistent “1D” reference. How to use: • Want a live-updating read on intraday charts? Use Last vs Prev Close. • Want clean day-by-day comparisons? Use Close vs Prev Close. • Want a session “push” metric? Use Close vs Open. Notes • Green bars when value is ≥ 0, red bars when < 0. • Optional zero line and last-value tag. • Can run on the chart symbol or a user-selected symbol. Limitations • Different data feeds may define “price” differently (last/close/settle), so values can vary across providers. • In Last vs Prev Close mode the value updates intraday (expected behavior). Disclaimer This script is for educational and informational purposes only. It is not financial advice and does not provide buy/sell signals or entry/exit recommendations. Use at your own risk and always verify with your own data. Pine Script® indicatorby Yesid_Correa_CanoUpdated 7
Retail Stop-Loss PredictorThe Psychology of Retail Stop-Loss Placement The "Safe" Buffer Trap Retail traders are taught to find a recent high or low and place their stop "just a few pips away" to avoid being wicked out. The Reality: Institutions know exactly where these "buffers" are. They look for clusters of these orders to create the volume they need to fill their large positions. The Indicator Solution: The SL Predictor automatically calculates these clusters by identifying "Pivots" and applying a Buffer Offset to show the actual zone where the "pain" is felt. 2. Detailed Description of the SL Predictor A. Multi-Timeframe (MTF) Anchoring The indicator doesn't just look at your current chart. It "anchors" zones from Higher Timeframes (HTF) like the 4-Hour or Daily. Why it matters: A stop-loss cluster on a 1-minute chart is a "speed bump." A stop-loss cluster on a Daily chart is a Liquidity Ocean. Visuals: These zones are drawn as shaded boxes that stay locked to the candle index, ensuring they don't move or repaint when you scroll. B. Round Number "Magnet" Logic Retailers have a psychological bias toward Round Numbers (e.g., $100.00, $1.2500). The Feature: The script identifies these psychological levels and marks them as secondary stop-loss zones. Institutions often "front-run" these levels or sweep them entirely to trigger mass liquidations. C. Mitigation & Clearing Once price enters a predicted stop-loss zone, the indicator changes the color to gray or removes the label. What this means: The "Fuel" has been used. The stops have been triggered. The market has found the liquidity it was looking for and is now ready to reverse or move to the next "pool." 3. Best Use Case: The "Liquidity Hunt" Strategy Step 1: Identify "Engineered" Liquidity Look for Equal Highs (Double Tops) or Equal Lows (Double Bottoms). Retailers see these as "Strong Resistance/Support" and pile their stops behind them. The Indicator: Will highlight these areas with a Red (Short Stops) or Green (Long Stops) shaded box. Step 2: Wait for the "Stop Run" Do not enter a trade when price is inside the zone. Wait for price to pierce the zone and then show a sign of rejection (like a long wick). Institutional Secret: This is the moment the "Smart Money" has finished buying from the retail sellers or selling to the retail buyers. Step 3: Execution (The "Reverse" Entry) Once the "Probable Stop" label disappears or the zone turns gray: Short Entry: If price swept a Red Zone and closed back below it. Long Entry: If price swept a Green Zone and closed back above it. Target: The Opposite stop-loss zone. You are trading from one pool of retail "fuel" to the next.Pine Script® indicatorby Danish742154
Euro RS TrackerRelative Strength of European ETFs by Sectors, compared to each other. Timeframes from daily to yearly. This script was copied from Amphibiantrader. I am not a coder, so props to him. Just neeed a practical trend identifier for my favorite market. Make Europe Great Again folks.Pine Script® indicatorby Marty_Bird92Updated 1
DSROverview A mechanical scalping strategy designed for Gold (XAUUSD) on the 5-minute timeframe. This system visually simplifies price action into clear "Go" and "Stop" signals using a color-coded flow system.Pine Script® indicatorby bhapkarsudesh13
OU Signals Overlay2 OU SIGNALS OVERLAY This indicator is designed to be used on the main price chart. WHAT IT DOES OU Signals Overlay uses the same logic as the OU Z-score indicator but does not display the Z-score itself. Instead, it visualizes entries, exits, trade zones, and the second asset directly on the price chart. HOW IT WORKS • The same spread and mean-reversion logic is calculated internally • Entry and exit signals are identical to the Z-score indicator • The second asset is plotted as a normalized line on the main chart • Entry points are marked with arrows • Exit points are marked with a cross • Trade zones are highlighted only after a position is opened HOW TO USE This indicator is primarily a visualization and execution tool. It allows the trader to: • See where exactly trades occur on the price chart • Monitor price behavior during a spread trade • Visually confirm that signals match the Z-score indicator All parameters must match the OU Z-score indicator for signals to align. RECOMMENDED TO USE WITH • Ornstein–Uhlenbeck Z-score as the signal source • Correlation Stability to ensure the pair remains statistically meaningful Pine Script® indicatorby Trigonum_Trade1
Correlation Stability3 CORRELATION STABILITY INDICATOR This indicator is shown as a table on the main chart. WHAT IT DOES It evaluates how stable the statistical relationship between two assets is over time using correlation analysis. HOW IT WORKS • Correlation between two assets is calculated over rolling windows • The test is performed periodically • Each window is marked as pass or fail depending on correlation strength • If more than half of the tested windows pass, the pair is considered stable The result is displayed as a simple table showing the current status of the pair. HOW TO USE This indicator is a filter, not a trading signal. It helps the trader: • Select suitable pairs for statistical arbitrage • Avoid trading pairs where the relationship has broken down • Improve the quality of mean-reversion signals RECOMMENDED TO USE WITH • Ornstein–Uhlenbeck Z-score for signal generation • OU Signals Overlay for trade visualization TRIGONUM STATISTICAL ARBITRAGE INDICATORS This is a series of indicators developed by Trigonum for statistical arbitrage and pairs trading. The core idea of the series is to trade the relationship between two assets, not the direction of a single market. All signals are based on mean reversion of a spread between two instruments and are intended to be used with hedged positions (long one asset and short the other). The series consists of three indicators, each serving a different purpose. Pine Script® indicatorby Trigonum_Trade7
Ornstein Uhlenbeck Z score1 ORNSTEIN–UHLENBECK Z-SCORE (SPREAD) This is the main indicator of the series and is typically placed in a separate lower panel. WHAT IT DOES The indicator builds a spread between two assets and evaluates how far the current spread is from its long-term equilibrium. The result is expressed as a Z-score based on an Ornstein–Uhlenbeck type mean-reverting process. HOW IT WORKS • The user selects a second asset in the settings • A spread between the two assets is calculated (price difference or log price spread) • The spread is modeled as a mean-reverting process over a rolling window • A Z-score is calculated to measure deviation from equilibrium Trading signals are generated when the Z-score reaches extreme values and exits when it returns to equilibrium. HOW TO USE This indicator does NOT generate signals to buy or sell a single asset. It generates signals for a paired, hedged position. • Long signal means long the first asset and short the second • Short signal means short the first asset and long the second The trader is always trading the spread, not the market direction. RECOMMENDED TO USE WITH • OU Signals Overlay for visualizing trades on the main chart • Correlation Stability indicator to filter weak or unstable pairs Pine Script® indicatorby Trigonum_Trade6
Trend Regime JMA Bands (50-150-200)Trend Regime JMA Bands is a visual market-context indicator designed to help traders understand overall trend structure and short-term participation using adaptive Jurik Moving Average (JMA) bands. This script separates market behavior into two distinct layers: 🔹 Structure (Slow Band) Defines the dominant market regime using classic 50 / 150 / 200 moving-average relationships. Helps identify bullish, bearish, and transitional environments. Visual intensity adjusts based on market conditions for clarity. 🔹 Participation (Fast Band) Represents short-term price engagement aligned with the prevailing structure. Counter-trend momentum is intentionally filtered out. Designed to highlight participation only when aligned with the broader trend. A Choppiness Index (CHOP) calculation is used only to adjust visual confidence of the structural band. CHOP does not affect trend direction, regime state, or calculations. This indicator is intended for analysis and visual context only. It does not generate trade signals, entries, exits, predictions, or recommendations. ⚠️ DISCLAIMER SECTION (REQUIRED & SAFE) Add this as a separate paragraph in the description: Disclaimer This script is provided for educational and analytical purposes only.It is not financial advice. Trading involves risk, and past performance does not guarantee future results. The author assumes no responsibility for trading decisions made using this indicator.Pine Script® indicatorby Market_Logic_India13
BP malisa indicatorHdhsjdhdbskslenejiesjdbhdudiekenfbfjd hdieodbfidndbdnde HfoebdjdidodosskbeePine Script® indicatorby Justdifferent281
For Loop THMA ~ CharonQuantThe For Loop THMA is a trend classification and momentum confirmation indicator designed to measure directional strength through relative price dominance, not raw crossings. This indicator blends a Triple Hull Moving Average structure with a for-loop comparison engine and multiple trend quality filters to reduce noise and false signals. Concept Overview The core idea behind this indicator is simple: Instead of asking “did price cross a line?”, it asks “How often is the price stronger than its recent past?” By looping over previous THMA values and comparing them to the current value, the indicator builds a directional score that reflects internal momentum and persistence. This approach allows trends to be evaluated statistically rather than emotionally. Indicator Components The For Loop THMA is composed of four layers: • Triple Hull Moving Average (THMA) as the smoothed price backbone • For-loop counter to quantify relative dominance over a lookback window • EMA trend filter to align signals with higher-timeframe bias • ADX + DMI filter to ensure sufficient trend strength Signals are only produced when all components align. For-Loop Logic The for-loop compares the current THMA value to its past values over a user-defined range. Each comparison increments or decrements a counter, producing an oscillator that reflects bullish or bearish pressure. Optional weighting can be enabled to give more importance to recent price action. This counter becomes the primary decision engine of the indicator. Visual Interpretation • The oscillator displays the strength and direction of the trend • Threshold lines define bullish and bearish regimes • Bar coloring reflects the active trend state • Color intensity adapts to directional confidence Credits and Inspiration This indicator is inspired by and builds upon: • THMA ~ CharonQuant • For Loop MA Indicator from CraftMan18 Development and usage notes: You must tweak the parameters to fit your market, timeframe, and trading style. If you do not read this description or do not understand what the indicator is designed to do, do not use it. Indicators amplify both discipline and mistakes. Important reminder: No single indicator is sufficient on its own. Pine Script® indicatorby CharonQuant73