20-Day High Failure ShortDetect a 20-day high breakout, then short only if that breakout fails within a small number of bars. So it is a 2-stage setup: Breakout happens Breakout fails shortly after Short signal printsPine Script® indicatorby TradePrinceRamik4
Asian Range Liquidity Map [AGPro Series]Asian Range Liquidity Map 🔹 OVERVIEW Asian Range Liquidity Map is a precision tool for ICT and smart-money traders who focus on the London Open liquidity sweep. The indicator maps the Asian session high/low liquidity pool, tracks which side gets taken on the London kill-zone, and keeps a rolling 60-session record of post-sweep reactions. The engine calculates live Reversal / Continuation / Mixed probabilities for both bull and bear sweeps and displays everything in a compact info panel without cluttering the chart. Whether you trade Turtle Soup setups, session-based liquidity grabs, or simply want clean Asian range context, this indicator gives you the structural read most traders spend months building manually. 🔹 UNIQUE EDGE This is not another session-box plotter. Three design choices separate it from generic Asian range indicators: 1. ATR-Normalized Quality Filter — the range width is measured against the Daily ATR, not the chart timeframe. Sessions that are abnormally narrow (illiquid) or abnormally wide (news-driven noise) are filtered out of the statistics engine automatically. Only clean, tradable ranges count. 2. Live Historical Statistics Engine — every past sweep in the 60-session rolling window is classified as Reversal, Continuation, or Mixed using close-based validation. When a new sweep fires, a state label immediately shows the historical bias: "Bull Sweep -> Historical Reversal 73% (n=26)". You see the context the moment price reacts. 3. Three-Tier Classification — most tools treat sweep reactions as a binary outcome. This engine separates clean reversals, clean continuations, and indecisive mixed responses, giving a more honest statistical picture. The Mixed bucket is visible in the panel so the trader always knows how confident the signal actually is. 🔹 METHODOLOGY 1. Session Tracking — the Asian window is tracked using pure UTC hour/minute math (default 00:00-08:00 UTC), fully independent of chart timezone. Start and end hours are configurable. 2. Range Validity — on session close, the range width is compared to the Daily ATR. If the ratio falls outside the user-defined band (default 0.3-2.0 x dATR), the session is marked Filtered Out and excluded from statistics. 3. Sweep Detection — after the session closes, the engine watches a configurable post-open window (default 6 hours) for the first break of the Asian High or Low. Only the first sweep per session is recorded, which keeps the sample clean. 4. Reaction Classification — after the reaction window (default 10 bars), the engine evaluates post-sweep closes: - Reversal: price closed through the opposite side by at least Reversal Threshold x Range - Continuation: price sustained past the sweep level with pullback under Continuation Threshold x Range - Mixed: neither condition was met 5. Rolling Sample — the most recent 60 classified sweeps feed the Bull and Bear statistics independently. Default is 60, configurable from 20 to 100. 🔹 SIGNALS AND ON-CHART ELEMENTS - Asian Range Box: dotted amber rectangle during the session, solidifies on close if the range passes the ATR filter. Filtered sessions fade to near-invisible. - High and Low Dotted Extensions: projected right from each validated session, showing the liquidity levels the market will target. - Sweep State Label: appears on the bar that first breaks the range. Color-coded green for bull sweeps, pink for bear sweeps, with the historical bias and sample size baked in. - Sweep Line: thick horizontal line at the taken level, drawn forward across the projection zone. - Projection Zone: rectangular post-sweep forecast box where follow-through (or rejection) typically plays out. - Multi-Day Overlay: up to the last 5 validated Asian ranges rendered with fade hierarchy (oldest most faded, newest most visible). - Three alerts are included: Bull Sweep Detected, Bear Sweep Detected, and London Open with Valid Asian Range. 🔹 KEY INPUTS Session Settings: - Asian Session Start/End Hour (UTC) - Sweep Detection Window (hours after London Open) Quality Filter: - Use ATR filter (on/off) - Min and Max Range Width (x Daily ATR) - ATR Length Historical Stats Engine: - Sample Size (20-100 sessions) - Reaction Window (bars after sweep) - Reversal Threshold (x Range) - Continuation Threshold (x Range) Multi-Day Overlay: - Show historical sessions (on/off) - Days to show and fade intensity Post-Sweep Projection: - Show projection zone (on/off) - Projection length in bars Visual Style: - Label Font Size (independent from panel) - Show sweep state label (on/off) Info Panel: - Show panel, location, theme (Dark/Light) - Panel Font Size (independent from labels) 🔹 HOW TO USE Best fit: intraday timeframes from 1m to 60m. The 15m chart is the intended sweet spot and what the defaults are tuned around. The script auto-disables on 4H and higher with a clear on-chart notice. Typical workflow: 1. Confirm Range Status shows Valid after the Asian session closes. If Filtered Out, stand aside that day. 2. Wait for the London Sweep Window state and watch the Asian High/Low levels. 3. When a sweep fires, read the state label. A high Reversal probability near a major higher-timeframe level often flags a Turtle Soup opportunity. A high Continuation probability suggests fading is risky and trend-aligned entries are preferred. 4. Use the projection zone as a post-sweep attention area, not a target in itself. 5. Cross-check with your own higher-timeframe bias, volume, and structure before committing. 🔹 LIMITATIONS AND TRANSPARENCY - This is a context tool, not a strategy. No buy/sell signals are generated and no backtest or performance claim is made. - The historical percentages shown are descriptive statistics of recent price behavior in the sample window. They describe what has happened, not what will happen. A reading like 80% Reversal means four out of five prior sweeps in the sample reversed; the fifth did not. - On strongly trending or low-volatility instruments, distributions can skew heavily to one category. For example, on a tight range-bound market a liquidity sweep almost always reverts, producing very high Reversal readings. This is a feature of the data, not a bug. If a distribution looks extreme, tighten the Reversal Threshold and shorten the Reaction Window for a stricter definition, or widen them for a looser one. - Request.security is used to pull Daily ATR and is evaluated without lookahead; no future data is used. - First-run sample size will be small until the chart has enough history to fill 60 sessions. Expect the panel to show progress like 18 / 60 until the buffer fills. 🔹 RISK DISCLOSURE This indicator is a research and analysis tool for educational purposes. It does not constitute financial advice, a recommendation, or a solicitation to buy or sell any asset. Past behavior of liquidity sweeps does not guarantee future outcomes. Trading carries substantial risk of loss. Always perform your own analysis, apply risk management that suits your account, and consult a qualified professional before making financial decisions.Pine Script® indicatorby AGProLabs12
Prism Strategy## Prism Strategy: Multi-Dimensional Trend & Structural Flow **Prism Strategy** is a high-precision trend-following and momentum execution engine designed to capture institutional-grade moves while providing a comprehensive structural analysis of the market. It integrates a dynamic EMA Ribbon, RSI momentum filtering, automated Fibonacci levels, and a proprietary "Structural Wall" logic to determine the most logical points for entry and risk management. ### 1. Trend Identification (The EMA Ribbon) The strategy utilizes a 12-layer EMA Ribbon to identify trend alignment. * **Short-Term Stack:** 3, 5, 8, 10, 12, 15 EMAs. * **Long-Term Stack:** 30, 35, 40, 45, 50, 60 EMAs. A signal is only considered valid when the ribbon is in a **Full Stack** configuration (perfectly ordered from fastest to slowest), ensuring the trend is established across multiple time-cycles. ### 2. Momentum Filtering To prevent "whipsaws" in low-volatility environments, the strategy incorporates **RSI (14)**. * **Long Positions:** Require RSI > 50. * **Short Positions:** Require RSI < 50. This ensures that the price is not just trending, but moving with sufficient velocity. ### 3. The "Structural Wall" Logic One of the most advanced features of this strategy is the **Structural Wall Analysis**. The algorithm identifies the strongest confluence between: * **Dynamic Support/Resistance:** The Base EMA (12). * **Static Support/Resistance:** Auto-calculated Fibonacci Retracement levels (0.0 to 1.618). The "Wall" is formed by selecting the maximum (for Longs) or minimum (for Shorts) of these two values, creating a "Hard Floor/Ceiling" that acts as the primary anchor for the trailing stop. ### 4. Dynamic Risk Management (ATR-Based) * **Stop Loss & Take Profit:** Initial levels are calculated using **ATR (Average True Range)** multiplied by a user-defined factor (default 1.5x for stops and a 2.0 RR ratio). * **Intelligent Trailing Stop:** The strategy tracks the "Structural Wall" and updates the stop loss in real-time. It only moves in the direction of the trade (up for long, down for short) to lock in profits while giving the price enough room to breathe based on current volatility. ### 5. Integrated Execution Dashboard The built-in UI provides real-time data for professional monitoring: * **System Mode:** Displays current trend bias (Bullish/Bearish/Neutral). * **Entry Advice:** An AI-driven logic that evaluates if the current price is "Ideal," "Overextended," or if the "Risk > Reward" is currently unfavorable for new entries. * **Fibonacci Alerts:** Warns the user when the price is approaching a major Fibonacci level (⚠️ Alert) to prepare for potential reversals or pullbacks. ### 6. Exit Logic The strategy employs a **Unified Exit Engine** based on three criteria: 1. **Hard Stop/TP:** Triggered if price hits the ATR-based levels. 2. **Structural Violation:** Triggered if the "Trailing Stop" (Structural Wall) is breached. 3. **Trend Break:** Triggered if the EMA Ribbon loses its "Full Stack" alignment, indicating a loss of trend momentum. --- ### **How to Use** * **Timeframes:** Optimized for trend-rich environments (5m, 15m, 1h, and Daily). * **Markets:** Effective on liquid assets including Equities, Forex, and Crypto. * **Entry:** Look for "IDEAL ENTRY" status on the dashboard for the highest probability setups. --- **Disclaimer:** *Trading involves significant risk. This strategy is an analytical tool and does not guarantee profits. Past performance is not indicative of future results. This is not investment advice; it is for educational purposes only.*Pine Script® strategyby Okeefe06Updated 22185
SouthStone FVG Swing Levels// Highlights swing highs/lows on a user-selected higher timeframe (default H1) // that have had a Fair Value Gap (3-bar imbalance) form through them. These // levels tend to act as high-probability retest targets because price // "gapped" away from them and liquidity remains. // // All detection runs on the selected HTF. Lines use time-based x-coordinates // so they render identically on ANY chart timeframe. On M5 / M15 / M1 the // H1 levels remain visible, anchored at the actual pivot times. // // Logic (runs on HTF, results piped to chart TF): // 1. Detect pivot highs and pivot lows on HTF via ta.pivothigh/low. // 2. Store each pivot as "pending". // 3. On each HTF bar, check if a new 3-bar FVG has formed: // Bullish FVG: low > high -> gap = [high , low ] // Bearish FVG: high < low -> gap = [high , low ] // 4. For each pending pivot: // a) If this HTF bar forms a valid FVG whose gap contains the pivot // AND the FVG direction matches (bullish for swing highs, bearish // for swing lows) -> draw line, pivot done. // b) Else if the PREVIOUS HTF bar's range touched the pivot level // without being claimed by an FVG here -> discard pivot forever. // c) Else -> stay pending. // 5. Lines extend forward until max line age (in HTF bars) is reached, // then stop extending with a fixed right endpoint. // // Non-repainting HTF pattern: uses offset with lookahead_on per v6 // best practice. Signals appear at the start of the NEXT HTF bar after // the confirming one. // // - Default colours split: swing-high lines (bullish FVG break) now blue // (#2196f3); swing-low lines (bearish FVG break) remain red (#ef5350). // Both remain user-configurable. // // - Major rewrite for HTF support. All detection logic runs inside a // request.security() function on the selected HTF, so H1 levels stay // anchored in time across all chart timeframes. // - Line x-coordinates switched to xloc.bar_time for cross-TF consistency. // - maxAge / maxLineAge thresholds now expressed in HTF bars, converted // internally to milliseconds for time-based comparisons. // - Added HTF input (default "60" = H1). Pine Script® indicatorby SouthStone_Digital12
Buy/Sell Pressure Meter [AGPro Series]Buy/Sell Pressure Meter 🔹 Overview Buy/Sell Pressure Meter is a volume-flow analytics tool that quantifies the tug-of-war between buyers and sellers on every bar and on a rolling basis. Unlike traditional volume delta indicators that only plot raw bar-level buy minus sell, this tool layers four complementary lenses into a single oscillator: rolling pressure trend, imbalance streak tracking, intraday pressure shift count, and session-accumulated dominance. A subtle price-pane background tint gives a Bookmap-light read on intraday participation that works across crypto, futures, and liquid equities — without requiring tick-level order flow data. 🔹 Unique Edge Most volume-delta scripts answer the question "which side was bigger on this bar?" This one answers a different, more useful question for intraday traders: "who has been in control, and how stable is that control?" • Rolling Pressure Trend — a moving average of buy and sell pressure separately (dual histogram), so you see structural bias, not just bar-to-bar noise. • Imbalance Streak Tracking — counts consecutive same-side dominant bars and labels only the final length of each significant streak at the moment the streak breaks. No per-bar label spam, one clean marker per event. • Intraday Pressure Shift Count — how many times the rolling dominant side has flipped since session open. High shift count = rotational day. Low shift count = trending day. • Session-Accumulated Net Delta — cumulative bull vs bear contribution since the day began, independent of the rolling window. • Price-Pane Bookmap-Light Tint — a very high-transparency background tint paints the main chart pane when one side is rolling-dominant, so you see control visually without leaving the price chart. These five lenses together are deliberately designed not to overlap with raw volume-delta or cumulative-volume-delta indicators. They describe the character of participation, not just its magnitude. 🔹 Methodology Because standard chart data does not include true tick-level order flow, this script uses a widely-accepted proxy: up-bar volume is attributed to buy pressure, down-bar volume to sell pressure, and doji volume is split evenly. This is explicitly a simulated bias — not real bid/ask flow — and the script labels it as such in the panel. From that proxy: 1. Current-bar bull pressure percentage = buyPressure / (buyPressure + sellPressure) × 100. 2. Rolling pressure = SMA of buy and sell pressure over the user-defined window (default 20 bars). 3. A bar is classified bull-dominant when its bull pressure percent exceeds the dominance threshold (default 55%), and bear-dominant at the mirror level. 4. Streaks count consecutive bars of the same classification and reset when a neutral or opposite bar prints. Peak length is captured at the moment of reset and optionally labelled on chart. 5. Pressure shifts compare the current rolling dominant side against the last confirmed non-neutral dominant side; a change increments the intraday shift counter (only on intraday timeframes). 6. Session delta is the cumulative net delta since the last daily rollover. 🔹 Signals & States • Dual histogram — buy pressure (teal, upward) and sell pressure (pink, downward) plotted as rolling averages. • Net delta center line — accent-colored line showing rolling buy minus sell. • Price-pane background tint — subtle teal or pink when one side is rolling-dominant, gives a Bookmap-light feel without obscuring candles. • Oscillator-pane echo tint — even more subtle tint mirroring the dominant side in the indicator pane. • Shift markers — triangles on the pane when the dominant side flips. • Streak peak labels — plotted only at streak termination, showing final length (e.g. "Bull 7"). • Alerts — pressure shift to bull, pressure shift to bear, bull imbalance streak, bear imbalance streak. 🔹 Key Inputs Calculation: • Rolling Pressure Length — default 20. Higher = smoother, slower reaction. • Minimum Streak To Highlight — default 3. Used for alerts. • Dominance Threshold — default 55%. Share of total pressure needed to classify a bar as dominant. Visuals: • Tint Price Pane On Dominance — toggles the Bookmap-light effect on the main chart. • Show Streak Peak Labels + Minimum Streak Length To Label (default 5) — controls chart cleanliness. • Show Pressure Shift Events — triangle markers on shifts. • Background Tint Transparency — default 94, adjustable 80-99. Panel: • Panel Location, Theme (Dark / Light), Font Size, Label Font Size — all default to Normal and fully configurable. 🔹 How To Use This is an analytical tool, not a standalone trading system. Typical use cases: • Confirmation — when price breaks a structure level while the rolling net delta is strongly in the break direction and a streak is in progress, the break has participation behind it. • Exhaustion — a long bull streak peak followed by a rolling shift to bear, or vice versa, often marks the end of the current impulse. • Regime read — a day with many intraday pressure shifts is rotational; a day with 0-1 shifts is directional. Adjust your playbook accordingly. • Companion to S/R, supply/demand, and volume profile tools — use the streak peak and shift events as a participation filter when price interacts with a zone. Best results on liquid instruments with meaningful bar-to-bar volume variation. Low-volume illiquid tickers produce noisier readings. 🔹 Limitations & Transparency • The buy vs sell attribution is a proxy derived from bar direction and bar volume. It is not real order flow, Level 2, or tick data. Bookmap, CVD from exchange feeds, and footprint tools access information that bar-level scripts structurally cannot replicate. • On instruments or timeframes where many bars close near their open (doji-heavy regimes), proxy-based attribution becomes less informative. • The intraday shift counter is only meaningful on intraday timeframes; on daily-and-above timeframes the panel explicitly shows this as n/a. • The script is non-repainting on closed bars. Intrabar values update in real time and may change until the bar confirms. • Pressure shifts and streaks describe past and current state. They are not predictions of future price. 🔹 Risk Disclosure This script is provided as an analytical tool for educational and research purposes. It does not constitute financial advice, a trading signal, or a recommendation to buy or sell any asset. Past performance of any pattern, streak, or shift event does not guarantee future results. Users are solely responsible for their own trading decisions and risk management. Always combine any indicator with broader market context, position sizing discipline, and your own due diligence.Pine Script® indicatorby AGProLabs2244
2K Range FilterHow it works The indicator builds a filtered price line based on a configurable range size. This range can be derived from multiple volatility measures, including: Average True Range (ATR) Average price change Standard deviation Percentage of price Fixed points, ticks, or pips Only when price moves beyond this defined range does the filter update, effectively filtering out sideways noise and minor fluctuations. Signal logic The core signal is based on the direction of the filtered line: Upward slope → Bullish trend Downward slope → Bearish trend Flat → No change (previous state maintained) The line is color-coded for clarity: Green: Uptrend Red/Pink: Downtrend Gray: Neutral / unchanged Key features Adaptive range filtering based on volatility Optional smoothing for more stable signals Two filter types for different sensitivity profiles Ability to average filter changes for additional noise reduction Works with either candle wicks or closing prices Use cases This indicator is best used as a trend filter or directional bias tool, for example: Trade in the direction of the filter (long in uptrends, short in downtrends) Combine with entry signals from other indicators Identify trend reversals when the filter changes direction Summary The 2K Range Filter helps traders focus on significant market moves by eliminating noise and emphasizing true directional shifts. It is particularly useful in volatile or choppy markets where traditional indicators may generate false signals.Pine Script® indicatorby krahlma6
Parabolic Move Detector [AGPro Series]🚀 Parabolic Move Detector A dedicated framework for identifying, measuring, and classifying parabolic price acceleration across any asset and any timeframe. Built on a single transparent metric — Parabolic Pace — the tool objectively detects the start bar of a parabolic move, tracks its age, scores its intensity on a 0-100 scale, classifies its lifecycle phase, and contextualizes each move against the asset's own historical parabolic events. 🔹 OVERVIEW Parabolic moves are notoriously difficult to recognize in real time. By the time they look obvious, the move is already late-stage. Conventional momentum tools (RSI, MACD, standard ROC) measure speed, not the underlying structural character of a parabolic move. They fire constantly on ordinary trends and miss what makes a parabolic move structurally different: the rate at which price is covering ATR-sized distance per bar. Parabolic Move Detector closes that gap with a single, transparent metric. It measures how many ATRs price has moved per bar over a configurable lookback window. That is the literal mathematical definition of a parabolic move: sustained directional travel at an unusual speed relative to recent volatility. The framework auto-calibrates per timeframe and per asset, so a 15m memecoin pump and a 1D large-cap rally are measured with the same structural definition. 🔹 UNIQUE EDGE Most acceleration or momentum indicators in the public space fall into two buckets: oscillators with hardcoded thresholds that need retuning per symbol, or composite "trend strength" meters that blur acceleration into raw trend direction. This tool is different in four concrete ways: 1. Single-metric detection engine. The entire detection pipeline is driven by one transparent number: Parabolic Pace = cumulative price move divided by cumulative ATR over the lookback. No percentiles, no hidden regressions, no black-box composite. This makes the tool easy to audit, fast to calibrate, and consistent across assets. 2. ATR-normalized by design. Because pace is expressed in ATRs per bar, it is inherently timeframe-adaptive and asset-adaptive. No need to retune for BTC vs a thin-volume altcoin, or for 15m vs 1W. 3. Four-phase state machine. Each move is classified through a deterministic lifecycle — Accelerating → Peaking → Decelerating → Exhaustion — with explicit transition conditions rather than heuristic labels. This turns a vague concept ("it looks parabolic") into a reproducible state with measurable transitions. 4. Per-asset historical statistics. The tool logs every completed parabolic cycle on the current chart, filters out micro-events, and reports the average duration and average drawdown from peak. That gives structural context no oscillator provides: what has this specific asset actually done the last N times it went parabolic. 🔹 METHODOLOGY Core detection pipeline: • Pace is computed as (close − close ) divided by (ATR14 × N), where N is the lookback window. The result is the number of ATRs traveled per bar. • Pace is lightly smoothed with a short SMA to reduce single-bar noise. • Detection triggers when smoothed pace exceeds the Pace Threshold and the move is directionally up. • A minimum-duration filter requires the pace condition to persist for N consecutive bars before confirming the start, eliminating single-bar spikes. • A post-move cooldown prevents the same move being re-detected as multiple events. State machine transitions: • Idle → Accelerating : pace sustained above threshold for the minimum duration. • Accelerating → Peaking : Acceleration Score drops >20% from its cycle peak while still elevated. • Any phase → Decelerating : score drops below 40% of cycle peak. • Decelerating → Exhaustion : pace rolls over below half-threshold, and the move has lived at least 6 bars. • Exhaustion → Idle : cooldown bars elapsed and score collapsed. Acceleration Score (0-100) is a direct function of pace: score rises linearly with pace and receives a small persistence bonus for sustained upward momentum, capped at 100. Historical statistics: Each time a full cycle closes on the chart, the tool checks whether the move traveled at least the minimum ATRs from start to peak. If it qualifies, duration (start bar to peak bar) and drawdown from move high to subsequent low are averaged into rolling per-asset statistics. 🔹 STATES AND VISUALS • Parabolic Zone : gradient background across the active move. Color reflects phase (brand blue in Accelerating, indigo in Peaking, amber in Decelerating). Intensity scales with Acceleration Score. • Parabolic Start label : marks the confirmed start bar of a new move. • Peaking / Decelerating labels : mark phase transitions. Labels are automatically suppressed within a confluence window to prevent stacking. • Exhaustion label : marks the bar where the move has structurally collapsed. • Duration Projection : dotted forward line sized to the asset's historical average parabolic duration, shown only while a move is active. 🔹 KEY INPUTS Detection group: • Pace Lookback — window over which parabolic pace is measured. • Pace Threshold — minimum ATRs-per-bar required to qualify as parabolic. • Minimum Move Duration — bars of sustained pace required before confirming a start. • Minimum Event Size — minimum ATR-normalized move size required to log an event in historical statistics. • Post-Move Cooldown — minimum bars after a completed move before a new one can start. Historical Stats group: • Show Duration Projection — toggle the forward projection line. • Projection Length — forward projection cap in bars. Visuals group: • Parabolic Zone Background, Ambient Score Tint, Parabolic Start Label, Exhaustion Warning Label, Phase Transition Labels — all independently toggleable. Style group: • Label Size, Panel Size, Help Text Size — default Normal. • Panel Location — six anchor positions. • Panel Theme — Dark or Light. Alerts group: • Parabolic Start, Peaking Phase Reached, Exhaustion Detected — individually toggleable alerts. 🔹 HOW TO USE • On any asset and any timeframe, wait for a confirmed Accelerating phase. The Parabolic Start label marks the reference bar. • Track the Acceleration Score as the move develops. A score climbing toward 60-100 indicates a textbook parabolic. • Compare Move Age against the panel's Avg Duration statistic. Moves significantly older than the asset's historical average are in late-cycle territory. • Compare Move Change % against the Avg Reversal statistic for post-move drawdown context. • Watch for the Peaking transition — this is the first structural deceleration, not a reversal call. • The Exhaustion state marks where pace has decisively collapsed and the move is structurally over. • Combine with your existing trend, structure, or volume framework. This tool is designed to complement directional analysis, not replace it. 🔹 LIMITATIONS AND TRANSPARENCY • The tool detects and classifies acceleration structure. It does not predict reversals, tops, or bottoms. Avg Reversal is a post-cycle statistic computed from completed events on the current chart, not a forward-looking forecast. • Historical statistics require completed cycles on the chart. Newly loaded symbols with few prior parabolic events will show low sample sizes until more cycles complete. • The tool confirms a move only after pace has been sustained for the minimum duration. The start label is therefore plotted retroactively on its true start bar, which is the correct academic behavior for a sustained-condition detector. • All computations are on confirmed bar close logic. No repainting of historical signals once a bar closes. • The Pace metric requires a valid ATR reading, so at least 14+ bars of history are needed before the tool becomes active on a fresh chart. 🔹 RISK DISCLOSURE This script is an analytical tool provided for educational and research purposes only. It is not a trading strategy, not financial advice, and does not generate buy or sell recommendations. Trading any market involves substantial risk of loss. All decisions and their consequences are the sole responsibility of the user. Past behavior of parabolic cycles on any asset does not guarantee future behavior. Pine Script® indicatorby AGProLabs25
August sweepDetecta Sweeps en diferents temporalitats Eliminat el "nivell protector" visual (ja no es dibuixen aquestes línies discontínues) ↕️ Invertides les fletxes: sweep de màxim → Sweep ↓ (perquè el moviment esperat és cap avall), sweep de mínim → Sweep ↑. També invertides al panell scanner. ✅ Afegida casella "Només últim Sweep" i "Només últim CHoCH" (per defecte activades) 🔧 Afluixat el CHoCH: ara la invalidació mira close en comptes de high/low, perquè abans una sola metxa el cancel·lava i per això no en veiesPine Script® indicatorby avmasa16
EMA + Stochastic Strategy with SL/TPBuy / Sell signals Stop Loss (based on nearest swing high/low) Take Profit (Risk:Reward adjustable) EMA 50 & EMA 200 trend filter Stochastic trigger conditionsPine Script® indicatorby sruthinodatt19910
MAmark minervini moving average d lksadjf saldf saflkdsajf ;saldsad lfkjsa ;lfd fdwafasdfPine Script® indicatorby KT_Investing1
PCR Market Regime Indicator📊 PCR Market Regime Indicator This indicator is an enhanced version of the Percent Change of Range (PCR) concept, focused on identifying market regimes through behavior around the key zero level. Unlike traditional momentum indicators that rely on extreme values, this tool uses the zero level as the boundary between buyers and sellers, providing a clear visual understanding of whether the market is trending or ranging. 🧠 How it works PCR measures the relative price change compared to the total range over a defined period: Values above 0 → bullish control Values below 0 → bearish control Movement around 0 → indecision / chop The indicator also applies: EMA smoothing to reduce noise neutral zone around 0 to filter false signals hold logic, requiring sustained movement above/below 0 before confirming a regime change 🎯 What the indicator shows Background color (regime): 🟢 Green → bullish regime 🔴 Red → bearish regime ⚪ Gray → neutral / chop PCR line: visual representation of momentum Horizontal levels: +100 / +70 → strong bullish extremes 0 → key boundary -70 / -100 → strong bearish extremes ⚙️ How to use it This indicator is not designed as a standalone entry signal, but as a tool for understanding market context. Basic guidelines: Trade in the direction of the regime (green or red zones) Avoid trading during neutral (chop) conditions Pay attention to zero-level crossings and holding behavior ⚠️ Disclaimer This indicator does not guarantee future results and should not be used as the sole basis for trading decisions. It is recommended to combine it with other tools such as price action, market structure, or trend indicators. 📌 Summary PCR Regime Engine provides a clean and intuitive way to identify: market trends consolidation phases momentum shifts with a focus on the most important level — 0 (market control boundary).Pine Script® indicatorby Aleksin_AleksandarUpdated 29
JEET PROP SYSTEM FINAL (ALL FIXED)sript based on ranges of any script very use full not for indicses only stock and nofty bnf futyres Pine Script® indicatorby jeetunseUpdated 2257
Institutional Candle Detector [AGPro Series]🕯️ Institutional Candle Detector Every trader has stared at a massive candle and asked the same question: "Was that the start of a move, the end of one, or just noise?" Most indicators stop at detection — they paint the candle, drop a label, and walk away. This one keeps watching. Institutional Candle Detector uses a dual-track engine. The body-driven track flags high-conviction candles where ATR-normalized body size and relative volume both expand together, then classifies each event by body/wick geometry. The independent absorption track captures a different signature entirely — low-body candles on extreme volume, the classic aggression-absorbed footprint that body-only detectors miss. Every detected event is then re-evaluated over the following bars to produce a measurable outcome scorecard. 🔹 OVERVIEW The script scans each bar for two separate, mutually-exclusive institutional signatures: • Body-driven events. Body must exceed a multiple of ATR AND volume must exceed a multiple of its rolling average. Classified by geometry into Continuation, Reversal or Exhaustion. • Absorption events. Volume extremely elevated BUT body contained — the market paid for a big move and did not get one. Price was absorbed. Every detected candle is then given a reaction zone projected forward, and its outcome is automatically tagged after the configured look-forward window — Follow-Through (FT), Reverse (RV) or Consolidation (CN). The panel accumulates aggregate statistics across the loaded chart so the trader can see which candle type actually works on their instrument and timeframe. 🔸 UNIQUE EDGE What separates this tool from generic "big candle" or "volume spike" indicators: • Dual-track detection. A single filter cannot capture both explosive moves and absorption. This script runs two engines in parallel with independent thresholds. • Four-class geometric taxonomy, each backed by a distinct detection path. Continuation and Reversal fire from the body-driven track with different geometry. Exhaustion catches the mid-profile edge cases. Absorption runs entirely off its own volume-first track. • Automatic after-behavior tracking. Each event is re-examined after N bars and tagged with an outcome code. This is the part most scripts omit — and it's where edge lives. • Aggregate statistics panel. Follow-through rate, reverse rate, consolidation rate, and per-class counts are computed continuously. The panel tells you whether institutional candles on this asset actually extend, reverse, or fade. • Forward-projected zones, colored by class. Body-driven bull/bear events use state colors. Absorption uses an indigo accent so the rarer signature is instantly recognizable. Reversal zones use the contrarian color to emphasize the expected directional flip. 🔹 METHODOLOGY Body-Driven Track (produces CONT, REV, EXH) – Body is measured as absolute (close − open) and required to exceed Body × ATR multiple. – Volume is required to exceed a configurable multiple of its SMA average. – An optional wick filter rejects candles where total wick exceeds the body beyond a given ratio, removing wide-range noise that looks institutional but is not. – Continuation: body% ≥ configured threshold (clean directional close). – Reversal: opposing wick% ≥ configured threshold (sharp rejection after initial push). – Exhaustion: passes the dual-gate but falls into neither clean category — mid profile, often late in a move. Absorption Track (produces ABS) – Volume must exceed an independently configurable multiple (higher than body-driven default). – Body must be small — below a max Body × ATR and below a max Body / Range. – When absorption fires, it takes precedence over body-driven classification. After-Behavior Layer – After lookFwd bars, the script compares the extreme price move in each direction against the original body size. – If same-direction extension ≥ ftPct × body → Follow-Through (FT). – If opposite-direction retrace ≥ revPct × body → Reverse (RV). – Otherwise → Consolidation (CN). Aggregate counters accumulate across the loaded chart, producing a running scorecard visible in the panel. 🔸 SIGNALS, STATES & MARKERS On-chart signals • Institutional body recolored by class — bull/bear direction for CONT and EXH; contrarian color for REV; accent color for ABS. • Directional triangle marker above/below the bar. • Classification label: INST-Bull 3.2x CONT or INST-Bear 5.4xV ABS format, ASCII only. Labels offset from the candle to stay readable on dense charts. • Reaction zone box projected forward from the candle's high-low range, color-coded by class. • Outcome marker (FT / RV / CN) plotted lookFwd bars after the event. Alerts available • Institutional Continuation • Institutional Reversal • Institutional Absorption • Institutional Exhaustion All four alerts fire on confirmed bars only. 🔹 KEY INPUTS Detection Core (body-driven track) – ATR Length (default 14) – Volume Average Length (default 20) – Min Body × ATR (default 2.0) – Min Volume Multiple (default 2.5) – Wick filter toggle and max Wick/Body ratio (default 2.5) Absorption Track – Enable Absorption Detection – Absorption Min Volume Multiple (default 4.0) – Absorption Max Body × ATR (default 1.5) – Absorption Max Body / Range (default 0.40) Classification – Continuation body% threshold (default 0.60) – Reversal opposing-wick% threshold (default 0.40) After-Behavior – Look-forward bars (default 5) – Follow-through threshold as fraction of body (default 0.50) – Reverse threshold as fraction of body (default 0.60) Visuals – Show/hide zones, zone projection length, opacity, max active zones – Label size (default Small; increase if labels feel too compact) – Institutional border width – Outcome marker toggle Panel – 8-position panel placement – Dark / Light theme – Font size (default Normal) – Recent events mini-list toggle 🔸 HOW TO USE 1. Start with defaults on a liquid asset. 4H is a strong baseline; 1H for active traders; Daily for swing context. On Daily, consider lowering Min Body × ATR to 1.5 if events are too rare. 2. Watch the panel accumulate events over two to four weeks on your instrument. The follow-through rate tells you whether institutional candles on this chart tend to extend or fade. 3. Trade-context usage: – Continuation with a high historical follow-through rate on this asset → trend trades in candle direction after pullback into the zone. – Reversal with a high historical reverse rate → fade setups at key levels. – Absorption → aggressive flow was met by an equal or greater defender; often precedes a reversal or compression phase. – Exhaustion → proceed with caution; frequently a late-move signature where the trend is losing clean structure. 4. Reaction zones act as provisional supply/demand. A retest of a zone with another institutional event near it is a confluence worth noting. 5. Tune thresholds per asset. High-liquidity instruments may need Body × ATR of 2.5+ to keep events selective; low-liquidity pairs can go down to 1.5. Absorption volume multiple can also be adjusted upward on already-volatile instruments. 🔹 LIMITATIONS & TRANSPARENCY • This is an analytical indicator, not a strategy. No entry, exit, or stop logic is defined and no performance claims are made. • Aggregate statistics are computed over the loaded chart window and will shift as more bars load or as timeframes change. • Volume quality depends on the data feed; exchange-reported volume differs across sources for the same asset. • Follow-through evaluation uses a fixed look-forward window; real trade management will differ. • All results are historical and descriptive. Past behavior of any candle class does not guarantee future behavior. 🔸 RISK DISCLOSURE Trading carries substantial risk. This tool is provided for analytical and educational purposes. Do your own research. Use position sizing and risk management appropriate to your account. Nothing in this script constitutes financial advice.Pine Script® indicatorby AGProLabs452
AlgoPath Pro [AY]AlgoPath Pro⁺ is a comprehensive intraday reference-level suite designed for traders who work with New York session structure, institutional price levels, and volatility-based candle detection. All features are built around New York time (UTC−4) and are fully customizable via the settings panel. 🔷 FEATURES OVERVIEW 📅 NY Levels — Previous Day High / Low / EQ Automatically plots the previous day's High (PDH), Low (PDL), and their midpoint (EQ) at the start of each new New York day. Lines extend 24 hours forward and reset daily. Optional labels can be toggled on/off independently. 🕐 Opening Price Levels Four key intraday reference prices are captured and plotted automatically: mdO — Midnight Open (00:00 NY) QTO — Quarter To Open (07:30 NY) nyO — New York Open (09:30 NY) rthC — Regular Trading Hours Close (16:00 NY) Each level draws a horizontal line extending 24 hours from its trigger bar. Labels appear at the right end of each line for a clean, uncluttered chart. 📦 NY Session Range Box Plots the previous day's RTH range (nyO → rthC) as a shaded zone on the current day's chart. Includes an optional midpoint line. Both box and midpoint are independently togglable. Default: hidden. ⚡ Opening Gap Detection Identifies and visualizes the gap between the previous day's rthC and the current day's nyO — the true overnight gap on 24-hour continuous charts (futures, indices, crypto). Bullish gaps are shaded green, bearish gaps red. An optional label displays the gap size in points. Default: visible. 🐋 Whale Candle Detector (Balina) Detects abnormally large candles using an ATR-based threshold. Qualifies candles by body size or full wick range. Bullish and bearish whales are highlighted with bar coloring. Optional features include a midpoint line projection (dashed gray by default) and a time label showing when the candle occurred. ⚙️ SETTINGS SUMMARY GroupKey OptionsGlobal SettingsTimezone offset (default UTC−4), Label sizeNY LevelsPDH/PDL/EQ label toggle, New Day backgroundOpening TimesAutomatic — no user input requiredNY Session RangeShow/hide box, box color, show/hide midpoint, midpoint colorOpening GapShow/hide gap box, show/hide gap label, bull/bear colorsBalinaShow/hide whales, bar coloring, ATR period & multiplier, midpoint line, time labels 📐 RECOMMENDED TIMEFRAMES Works best on intraday charts: 1m, 2m, 3m, 5m, 15m, 30m Designed primarily for NQ, ES, MNQ, MES, SPX, indices and futures. 📌 NOTES All session times are based on New York time (UTC−4). The timezone offset input allows adjustment if needed. Opening Gap logic treats the rthC→nyO move as the standard overnight gap definition used in 24-hour markets. This indicator does not repaint. All levels are derived from confirmed prior-bar and prior-session data. No signals, no alerts, no entries. This is a pure price structure and reference level tool.Pine Script® indicatorby MATISAY11621
Reversal SMC/ICT Edition Reversal — SMC/ICT Edition **Original concept by © HasanRifat — Extended & rebuilt for SMC/ICT confluence trading** --- ### Overview This is a fully reworked version of HasanRifat's original Reversal indicator, rebuilt from the ground up to address its core structural weaknesses and align with a serious SMC/ICT trading framework. The original logic was sound — but it fired signals without trend context, volume conviction, or session awareness. This version fixes all of that. The result is a precision **liquidity sweep + displacement detector** that gates every signal through five confluent layers before plotting. Fewer signals. Higher quality. --- ### What The Indicator Actually Detects The core pattern this indicator hunts is a two-step sequence that SMC/ICT traders will immediately recognise: **Step 1 — The Sweep** A candle closes below the lows (or above the highs) of a configurable percentage of recent candles. This is a programmatic representation of a **BSL/SSL liquidity grab** — price reaching down to where stop losses and buy/sell orders are clustered, then preparing to reverse. **Step 2 — The Reclaim (Confirmation)** Within a tight confirmation window (default 3 bars), price closes back above the sweep candle's high (bullish) or below its low (bearish). This is the **displacement** — the market maker move away from the liquidity pool. Without this reclaim happening quickly, the setup is invalidated. This two-step sequence maps directly onto the **sweep → displacement → BOS** structure that underpins ICT-based entry models. --- ### Five-Layer Signal Gate Every signal must pass all active filters simultaneously before plotting: **Layer 1 — Flexible Sweep Threshold** The original indicator required *exactly* `lookback - 1` candles to be swept — a rigid rule that missed perfectly valid setups by one candle. This version uses a percentage-based threshold (default 85%). At lookback 20, this means 17 out of 20 prior candles must have their low (or high) breached. Tighten toward 1.0 for stricter sweeps, loosen toward 0.75 to catch more setups. The threshold is tunable without breaking the logic. **Layer 2 — HTF Trend Filter** A higher timeframe EMA (default: 1H, 50 EMA) gates the signal direction. Bullish reversals only fire when HTF close is above the HTF EMA. Bearish reversals only fire when below. Trading reversals against the HTF trend is where the majority of retail losses come from — this filter eliminates that entire category of setups. The HTF EMA is plotted directly on chart as a colour-coded ribbon (green above, red below) so bias is always visually obvious. **Layer 3 — Volume Displacement Confirmation** The confirming candle's volume must exceed the 20-bar volume moving average by a configurable multiplier (default 1.2× — 20% above average). A weak, low-volume close back above the sweep candle's high is not a displacement. It's noise. This filter requires the market to show actual conviction on the reclaim bar, consistent with genuine institutional participation. **Layer 4 — Session Filter** Signals only fire within a defined session window. Default is `0700–1630 UTC` (London open through New York close). This eliminates Asian session chop, pre-market fakes, and low-liquidity reversals that have no follow-through. The session window is fully customisable in settings. **Layer 5 — Non-Repainting (Default ON)** The single most common reason retail traders lose money on reversal indicators is repainting. The original indicator had non-repainting mode *off* by default, meaning backtests looked significantly better than live performance. This version has it **on by default**. All conditions are evaluated on the previous fully closed bar. What you see in history is exactly what would have fired in real time — no exceptions. --- ### Inputs Reference | Parameter | Default | Description | |---|---|---| | Candle Lookback | 20 | Number of prior candles scanned for the sweep | | Confirm Within | 3 | Max bars allowed for price to reclaim after sweep | | Sweep Threshold % | 0.85 | % of lookback candles that must be breached | | Non-Repainting Mode | ✅ ON | Signals based on closed bars only | | Enable Trend Filter | ✅ ON | Gates signals by HTF EMA direction | | HTF Timeframe | 60 (1H) | Timeframe for trend EMA calculation | | Trend EMA Length | 50 | EMA length on HTF for bias determination | | Enable Volume Filter | ✅ ON | Requires above-average volume on confirmation bar | | Volume MA Length | 20 | Lookback for volume moving average | | Min Volume Multiplier | 1.2 | Confirmation bar volume must exceed MA × this value | | Enable Session Filter | ✅ ON | Restricts signals to defined trading hours | | Session Window (UTC) | 0700-1630 | Active signal window | --- ### How To Use This In An SMC/ICT Framework This indicator is designed as a **precision entry trigger**, not a standalone system. It performs best as the final confirmation layer in a structured top-down analysis: 1. **Establish HTF bias** on the 1H chart — is price in a bullish or bearish swing structure? The built-in trend filter enforces this, but your manual HTF read should come first. 2. **Identify premium/discount zones** — only look for bullish signals from discount, bearish from premium. The indicator fires in both directions; your zone analysis determines which signals are tradeable. 3. **Mark key liquidity pools** — EQH/EQL levels where BSL/SSL is resting. The sweep pattern is most powerful when it targets a known liquidity pool, not a random low. 4. **Wait for the signal** — when the lime triangle (bullish) or red triangle (bearish) appears, the sweep + reclaim + volume + trend + session conditions have all been met simultaneously. 5. **Drop to LTF for entry** — use a 1M BOS or CHoCH as final entry trigger. The signal on your execution timeframe marks the area; the 1M structure break marks the precise moment. 6. **Place entry at structure** — Fibonacci retracement of the displacement move, or the 50% of the confirming candle, depending on your model. --- ### What This Indicator Is Not - It is **not** a complete trading system. No indicator is. - It does **not** replace HTF structure analysis, premium/discount identification, or liquidity mapping. - It does **not** account for high-impact news events. Manage your own news calendar. - It will **not** fire on every valid setup — the five-layer gate is intentional. Missing a signal is better than taking a bad one. --- ### Alerts Two alert conditions are included: - `Bullish Reversal ` — fires when all bullish conditions are met - `Bearish Reversal ` — fires when all bearish conditions are met Set alerts on **Once Per Bar Close** to remain consistent with non-repainting mode. --- ### Credits Core sweep detection logic based on the original **Reversal** indicator by © HasanRifat. Extended with trend, volume, session filtering and non-repainting defaults for professional SMC/ICT application. --- *This indicator is a tool for analysis. All trading decisions remain your own responsibility. Past signal performance does not guarantee future results.* Pine Script® indicatorby Jeswin770927
Relative Strength Index BB SignalsThis is a indicator where bollinger bands are working together with rsi and i added buy and sell signals. 30 min time frame. When OB the condition is that the blue rsi line comes out of OB zone and crosses the upper red BB line. You get a sell signal and ride the wave. Same with when OS condition and the blue rsi line crosses upwards to the bottom green bb line there is a buy signal.Pine Script® indicatorby Alichemus_4
DAX Flow [AM]DAX Flow Trio — A/D Ratio & TRIN This indicator measures the internal breadth quality of DAX40 price moves using two complementary metrics calculated directly from all 40 XETR components. Why breadth matters Price can move up while the majority of stocks decline — driven by a handful of heavyweight names. Breadth indicators expose this divergence and help you avoid entering low-quality moves. Two lines. One story. 🔵 A/D Ratio (solid line) Advancing stocks divided by declining stocks across all 40 DAX components. Above 1.0 → more stocks rising than falling Below 1.0 → more stocks falling than rising 🔴 TRIN (dashed line) — inverse logic (Advancing/Declining) divided by (Up Volume/Down Volume). Below 1.0 → bullish: volume flows into advancing stocks Above 1.0 → bearish: volume flows into declining stocks How to use it When A/D crosses above 1.0 AND TRIN drops below 1.0 simultaneously → breadth confirms the price move. When they diverge → treat the move with caution. Specs Built on all 40 XETR components Designed for 15M timeframe Session-filtered: active during Xetra hours only (09:00–17:30 CET) No repainting Part of the DAX Breadth Toolkit Pine Script® indicatorby Frankie655
Market Structure Break BOS Classifier Market Structure Break — BOS Classifier A clean, no-noise market structure indicator that goes beyond simply marking a BOS. Every break is classified by context so you immediately know whether to act on it or skip it. 🔵 What Makes This Different Most BOS indicators fire the same label regardless of market context. This one answers the question that actually matters — was that break meaningful, or was it just noise inside a range? Every Break of Structure is classified into one of three types: 📊 Signal Types ✔ Valid BOS (Green/Red — solid line) Price closes above the previous swing high (bullish) or below the previous swing low (bearish) while outside a consolidation zone. This is a clean, high-confidence structural break. Fires on the exact candle of the break — no lag. ⚠ Range BOS (Yellow — dashed line) Same close-cross condition, but price was inside a consolidation zone when it happened. These breaks are more likely to be fakeouts. Treat with caution — wait for a retest or additional confirmation before entry. 〰 iBOS — Internal BOS (Lime/Red — dashed line) The short-term zigzag trend flips direction but the higher-level market structure has not changed. This is a minor internal move within the prevailing trend. Useful for spotting early reversals, but not a tradeable structure break on its own. 🟠 Consolidation / Range Detection The indicator automatically detects when price is forming a lower high AND higher low relative to the prior swing — the classic compression signature. When active: Background is highlighted in orange A dashed boundary box shows the exact range with top and bottom levels Any BOS fired during this phase is automatically tagged as a Range BOS ⚙️ How It Works Internally Zigzag engine builds swing highs (h0, h1) and swing lows (l0, l1) Valid/Range BOS → fires when close crosses h1 or l1 on the break candle (leading — no confirmation lag) iBOS → fires when trend variable flips but market variable does not Consolidation → h0 < h1 AND l0 > l1 simultaneously 🛠 Settings SettingDescriptionZigZag LengthControls swing sensitivity. Higher = fewer, larger swingsFib FactorMinimum move required to confirm a structural break (0–1)Show Consolidation ZoneToggle the range box and background highlightShow Valid BOSToggle clean outside-range BOS signalsShow Range BOSToggle inside-range BOS signalsShow iBOSToggle internal minor structure flipsText SizeTiny / Small / Normal / Large / Huge 🔔 Alerts Available ✔ Valid BOS Bullish — clean break above swing high outside range ✔ Valid BOS Bearish — clean break below swing low outside range ⚠ Range BOS Bullish — break above swing high from inside consolidation ⚠ Range BOS Bearish — break below swing low from inside consolidation iBOS Bullish — internal flip inside bearish structure iBOS Bearish — internal flip inside bullish structure Consolidation Start — market entered a range zone 📌 Recommended Usage Use on your HTF bias timeframe (1H, 4H) to identify the market state A Valid BOS in the direction of your bias = structure is with you A Range BOS = wait for the retest of the broken level before committing An iBOS inside a trending market = potential early entry signal in the direction of the trend, not against it When the Consolidation zone is active, reduce position size or wait for a clean Valid BOS breakout before trading ⚠️ Disclaimer This indicator is for educational and analytical purposes only. It does not constitute financial advice. Past performance of any signal is not indicative of future results. Always use proper risk management. Based on original MSB-OB structure by © EmreKb. Extended with consolidation detection, BOS classification, and leading signal logic.Pine Script® indicatorby Jeswin770917
Intraday Levels Autozdddfasassadasdasdasadadasdaadasdasdasdadasdsaadsdadasa CME_MINI:Q4C260422P26790 Pine Script® indicatorby justinsmokes2
SMC: Sweep + BOS + Retest (PRO)Tepe ve dip noktaları bulma indikatörü. mum son tepe noktası üstünde kapanışlarda pozisyon alınır.Pine Script® indicatorby fatihkaraosman354
Trend Strength Meter [AGPro Series]Trend Strength Meter ⚡ OVERVIEW Trend Strength Meter is a multi-factor composite oscillator that quantifies how strong a directional trend actually is, on a single 0-to-100 score. It merges five independent trend dimensions (ADX, slope angle, momentum ROC, moving-average alignment, and pullback depth) into one weighted reading, then classifies the market into three clear states: Strong Trend (80+), Mild Trend (50-80), and Weak / Range (<50). The goal is to give a trader the answer to one of the most common daily questions in technical analysis: "Is the trend strong enough to act on right now, or is it fading?" The indicator is built for discretionary and systematic traders who want a single, normalized number instead of reading half a dozen separate trend tools. It is scale-invariant (ATR-normalized) and works across timeframes and instruments. 🎯 UNIQUE EDGE Trend-strength tools usually give a single-factor reading (for example, ADX alone) which can be misleading. ADX can be high during range contractions, slopes can spike during noise, MA stacks can be aligned while price sits deep in pullback. This indicator fuses all five dimensions so that no single factor can dominate the score without confirmation from the others. Three design choices set it apart: 1. Weighted multi-factor composite. Every factor is independently normalized to 0-100, then combined with user-adjustable weights that auto-normalize. A Strong reading therefore requires broad agreement across independent trend dimensions, not just one signal firing. 2. Dominant Factor readout. The information panel shows which of the five factors is contributing most to the current score, so the trader understands why the score is where it is. A score of 84 driven by ADX and a score of 84 driven by Alignment are structurally different markets, and the readout makes that visible. 3. Historical context built in. The panel exposes Historical Max Score over a configurable lookback window, and Strong-Trend Duration (how many bars the score has held above the Strong threshold). Both of these help gauge trend maturity and exhaustion risk. 📊 METHODOLOGY The composite score is built from five independently scored factors, each normalized to 0-100: • Factor 1 — ADX. Directional movement strength from the standard DMI/ADX system, linearly mapped so that ADX = 60 maps to a score of 100. • Factor 2 — Slope Angle. The slope of an EMA over its length window, normalized by ATR to be scale-invariant, then converted to a 0-100 score via an arctangent curve. High slope in either direction yields a high score. • Factor 3 — Momentum ROC. Rate of Change normalized by ATR and converted to a bounded 0-100 value. Captures impulse magnitude independent of price scale. • Factor 4 — MA Alignment. Stacked EMA alignment across Fast / Mid / Slow timeframes, plus price position relative to the fast MA. Full bullish or bearish stack yields 100; partial stacks are scored proportionally (70, 40, or 15). • Factor 5 — Pullback Depth. Distance from the nearest recent extreme (highest high or lowest low over lookback) measured in ATR units. Shallow pullback = strong trend = high score. Each factor is multiplied by its weight, summed, and divided by total weight to produce the final 0-100 score. All five weights are independently adjustable and auto-normalize, so changing one weight does not force manual rebalancing of the others. Directional bias (Bull / Bear / Range) is determined by the combination of DMI crossover state and close-vs-mid-MA position. State color shifts between strong bull green, strong bear magenta, neutral yellow, and weak gray based on score plus direction. 🔥 VISUAL SYSTEM Six coordinated visual elements deliver the information without clutter: • Score histogram on the sub-panel, colored per bar by that bar's own score level (green for Strong, yellow for Mild, gray for Weak / Range). Each historical bar shows its true state at the time, not the current state. • Horizontal reference lines at the Strong (green) and Mild (yellow) thresholds on the sub-panel. • Historical Max step line in indigo accent, showing the highest score reached within the lookback window, so past trend peaks are immediately visible. • Mini Gauge on the right edge of the sub-panel. A compact vertical meter split into two halves: left half shows the fixed 0-100 zone reference (Weak / Mild / Strong), right half fills up to the current score, with a bold needle line marking the exact level. • Price badge floating above the last candle, showing "TSM " so the reading is visible without needing to look at the panel. • Information panel on the price chart with seven rows: Score, State, Direction, Dominant Factor, Historical Max, and Strong Bars duration. 🧭 SIGNALS AND ALERTS Three built-in alerts: • Strong Bull Entry — Score crosses above the Strong threshold while directional bias is Bull. • Strong Bear Entry — Score crosses above the Strong threshold while directional bias is Bear. • Trend Fade — Score drops below the Mild threshold, indicating the trend is weakening. All alerts fire once per bar close, so there is no intra-bar repainting. 🧮 KEY INPUTS Core Settings • ADX Length, Slope MA Length, Momentum ROC Length, MA Alignment Fast / Mid / Slow, Pullback ATR Length • Score Smoothing (EMA applied to score for optional overlay line) • Strong Threshold (default 80), Mild Threshold (default 50), Historical Lookback (default 100 bars) Factor Weights (auto-normalized) • ADX 30, Slope 20, Momentum 20, Alignment 20, Pullback 10 Visual • Badge toggle, Background tint toggle, Reference lines toggle, Mini Gauge toggle, Historical Max line toggle, Smoothed Score line toggle, Label size, Badge ATR offset Panel • Show / hide, Position (6 anchors), Theme (Dark / Light), Font size 📈 HOW TO USE 1. Add the indicator to any chart and any timeframe. Defaults are calibrated for 4H / Daily; for lower timeframes consider reducing the ADX and ROC lengths. 2. Use the 0-100 score as a regime filter. Many trend-following setups perform better when the score is above 50, and breakout / continuation setups perform best when the score is crossing above 80 with a clear Bull or Bear direction. 3. Watch the Dominant Factor. A score of 85 driven primarily by Momentum may fade fast; the same score driven by Alignment tends to be more structural. 4. Use Historical Max and Strong Bars to gauge maturity. A Strong-Bars reading of 30+ on a daily chart often signals late-cycle conditions where continuation risk increases and fresh entries need tighter risk management. 5. Combine with structure tools (support / resistance, order blocks, market-structure tools) for entries. This indicator is designed to answer "how strong is the trend," not "where do I enter." ⚠️ LIMITATIONS AND TRANSPARENCY • This is an indicator, not a trading strategy. It does not produce buy / sell recommendations and it does not backtest trade outcomes. • The score is a lagging composite built from historical price data. It does not predict future price movement. • During sharp regime transitions (news events, gap opens), the score can change rapidly from one bar to the next. This is by design, not a bug. • Factor weights are user-adjustable. Defaults are a reasonable starting point but may need tuning per instrument / timeframe. • The Pullback factor assumes trending behavior. In tight consolidations it can read misleadingly high, which is why the Dominant Factor readout exists as a cross-check. • No-repaint: all calculations are based on confirmed (closed) bar data; alerts fire on bar close only. 📌 RISK DISCLOSURE Trading carries substantial risk. This indicator is an analytical tool for research and study purposes and does not constitute financial advice, a trading signal, or a recommendation to buy or sell any instrument. Past behavior of any indicator is not indicative of future results. Users are solely responsible for their trading decisions and should conduct their own due diligence and risk management. Pine Script® indicatorby AGProLabs18
Nikkei 225 Mini ORB SpecialistThis is an ORB ( Opening Range Breakout) indicator NK225M of the OSE chart tailored for the session hours of Tokyo trading session hours. I created this indicator to focus purely on not just the breakout of the 15min range but can also be used to enter inside the range using a 15min fib retracement levels that are plotted inside the 15min ORB range. I also added target lines that indicate conservative risk to reward ratios of 1:1,1:2, and 1:3. It also has bigger targets of key support and resistance levels based on key pivotal points where price traded at the most volume of previous day. These key support and resistance levels can also be used as reversals signals to enter off from as well. Pine Script® indicatorby Tradedailywithseb8
Adaptive Friction Filter (AFF) [QuantAlgo]🟢 Overview The Adaptive Friction Filter (AFF) identifies trending market conditions by applying a physics-inspired friction model to price movement. Rather than smoothing price through fixed averaging, it introduces a dynamic noise threshold derived from recent market volatility, which means price must generate enough force to overcome this threshold before the filter moves at all. Once breached, the filter closes the gap at a configurable rate, producing a step-like trend line that holds steady through noise and responds decisively to genuine directional moves. This allows traders to distinguish between meaningful trend continuation and low-conviction chop across any instrument or timeframe. 🟢 How It Works The AFF's core methodology is built around a two-stage mechanism: a volatility-derived friction threshold that gates filter movement, and a catch-up scalar that governs how much of the gap the filter closes on each bar once that threshold is exceeded. First, the friction threshold is computed as the simple moving average of absolute bar-to-bar price changes over the configured lookback window, scaled by the friction coefficient. This makes the threshold inherently self-adjusting; it widens during volatile conditions and contracts during quiet ones, without requiring any manual recalibration: friction = ta.sma(math.abs(src - src ), lookback) * friction_mult Next, the raw displacement between current price and the filter's last position is evaluated as force. The filter only advances if this force exceeds the friction threshold. When it does, the filter moves toward price by a fraction of the gap governed by the catch-up scalar, rather than closing the full distance immediately, producing a controlled and progressive response: force = src - aff_line aff_line := math.abs(force) > friction ? aff_line + force * catchup_scalar : aff_line Trend direction is then resolved by comparing the current filter value to its prior bar value. The direction state persists when the filter is flat, so no transition is registered on bars where the filter does not move: trend_dir := aff_line > aff_line ? 1 : aff_line < aff_line ? -1 : trend_dir Finally, the filter is rendered as two overlapping plots at the same value: a step-line that traces the filter's path and a circle overlay positioned at each bar's filter value. The circles serve a visual purpose, reinforcing the current filter level at each step and making it easier to read the filter's position at a glance, particularly during flat periods where the step-line alone can be harder to track. Together they produce a dotted step appearance that improves legibility across different chart zoom levels and timeframes. 🟢 Signal Interpretation ▶ Bullish Trend (AFF Line Rising with Bullish Colour): When price generates enough upward force to exceed the friction threshold, the filter begins stepping higher and the line shifts to the bullish colour. The step-line rendering makes the transition visually clear; flat segments indicate bars where force was insufficient to move the filter, while upward steps reflect bars where it was. The bullish trend state persists until force in the downward direction is large enough to push the filter lower, at which point trend direction flips and the line shifts to the bearish colour. ▶ Bearish Trend (AFF Line Declining with Bearish Colour): When price generates enough downward force to exceed the friction threshold, the filter begins stepping lower and shifts to the bearish colour. As with the bullish state, the filter holds its last value on bars where force is insufficient to breach the threshold, and the direction state remains unchanged on those bars. A full reversal back to bullish requires upward force to exceed the friction threshold and push the filter higher, at which point trend direction flips and the colour transitions accordingly. 🟢 Features ▶ Preconfigured Presets: Three parameter sets cover a range of trading styles and timeframes. "Default" delivers balanced noise filtering for swing trading on 4-hour and daily charts. "Fast Response" lowers the friction threshold and accelerates the catch-up rate for intraday and scalping use on 5-minute to 1-hour charts, producing earlier filter movement in response to smaller price displacements. "Smooth Trend" raises the threshold and slows the catch-up rate for position trading on daily and weekly charts, requiring larger price displacements relative to the average noise level before the filter advances. ▶ Built-in Alerts: Three alert conditions support automated monitoring of trend transitions. "Bullish Trend Signal" fires on the first bar trend direction flips from bearish to bullish. "Bearish Trend Signal" fires on the first bar trend direction flips from bullish to bearish. "Any Trend Change" triggers on either transition for traders who want a single unified alert regardless of direction. All alerts include the exchange, ticker, and timeframe in the message for immediate context. ▶ Visual Customisation: Six colour presets, Classic, Aqua, Cosmic, Cyber, Neon, and Custom, provide coordinated bullish and bearish colour pairings suited to different chart themes and personal preferences. Selecting Custom exposes independent colour pickers for full manual control over both states. Optional bar colouring tints price candles with the active trend colour using a configurable transparency level, and optional background colouring extends the trend state tint across the full chart pane at a separately configurable transparency. Pine Script® indicatorby QuantAlgo22314