DTR & ATR with live zonesThis indicator is designed to help traders gauge the day's volatility in real-time. It compares the current Daily True Range (DTR)—the distance between the session's high and low—to the historical Average True Range (ATR).
The main purpose is to project potential price levels where the market might reach based on its average volatility. These levels (100% ATR, 150%, 200%, etc.) can be used as price targets. For instance, if you're in a long trade, you might consider taking partial or full profits as the price approaches these upper ATR extension levels. The indicator is highly customisable, allowing you to control the appearance of the ATR lines, zones, and labels to fit your charting preferences.
Core Concepts: ATR and DTR
To use this indicator effectively, it's important to understand its two main components:
Average True Range (ATR): This is a classic technical analysis indicator that measures market volatility. It calculates the average range of price movement over a specific period (e.g., 14 days). A higher ATR means the price is, on average, moving more, while a low ATR indicates less volatility. This script uses a higher timeframe ATR (e.g., Daily) to establish a stable volatility baseline for the current trading day.
Daily True Range (DTR): This is simply the difference between the current trading session's highest high and lowest low (session high - session low). It tells you how much the price has actually moved so far today.
The indicator's logic revolves around comparing the live, unfolding DTR to the historical, baseline ATR. An on-screen table conveniently shows this comparison as a percentage, to show how volatile the day has been.
How It Works: The Dynamic & Locked Mechanism
The most clever part of this indicator is how it draws the ATR levels. It operates in two distinct phases during the trading session:
Phase 1: Dynamic Expansion (Before DTR meets ATR)
At the start of the session, the DTR is small. The indicator calculates the remaining range needed to "complete" the 100% ATR level (difference = avg_atr - dtr). It then adds this remaining amount to the session high and subtracts it from the session low. This creates a "floating" 100% ATR range that expands dynamically as the session high or low is extended.
Phase 2: The Lock-in (After DTR meets or exceeds ATR)
Once the day's range (DTR) becomes equal to or greater than the avg_atr, the day has met its "expected" volatility. At this point, the levels lock in place. The indicator intelligently determines the anchor point for the locked range.
Once this primary 100% ATR range is established (either dynamically or locked), the script projects the other levels (150%, 200%, 250%, and 300%) by adding or subtracting multiples of the avg_atr from this base.
How to Use It for Trading
The primary use of this indicator is to set logical, volatility-based price targets.
Setting Profit Targets: If you enter a long position, the upper ATR levels (100%, 150%, 200%) serve as excellent areas to consider taking profits. A move to the 200% or 250% level often signifies an overextended or "exhaustion" move, making it a high-probability exit zone. For short positions, the lower ATR levels serve the same purpose.
Assessing Intraday Momentum: The on-screen table tells you how much of the expected daily range has been used. If it's early in the session and the DTR is only at 30% of the ATR, you can anticipate more significant price movement is likely to come. Conversely, if the DTR is already at 150% of ATR, the bulk of the day's move may already be complete.
Mean Reversion Signals: If the price pushes to an extreme level (e.g., 250% ATR) and shows signs of stalling (e.g., bearish divergence on an oscillator), it could signal a potential reversal or pullback, offering an opportunity for a counter-trend trade.
Key Settings
ATR Length & Smoothing Type: These settings control how the baseline ATR is calculated. The default 14 period and RMA smoothing are standard, but you can adjust them to your preference.
Session Settings: This is crucial. You must set the Market Session and Time Zone to match the primary trading hours of the asset you are analysing (e.g., "0930-1600" for the NYSE session).
Show Lines / Show Labels / Show Zones: The script gives you full control over the visual display. You can toggle each ATR level's lines, labels, and background zones individually to avoid a cluttered chart and focus only on the levels that matter to your strategy.
อินดิเคเตอร์และกลยุทธ์
Renko BandsThis is renko without the candles, just the endpoint plotted as a line with bands around it that represent the brick size. The idea came from thinking about what renko actually gives you once you strip away the visual brick format. At its core, renko is a filtered price series that only updates when price moves a fixed amount, which means it's inherently a trend-following mechanism with built-in noise reduction. By plotting just the renko price level and surrounding it with bands at the brick threshold distances, you get something that works like regular volatility bands while still behaving as a trend indicator.
The center line is the current renko price, which trails actual price based on whichever brick sizing method you've selected. When price moves enough to complete a brick in the renko calculation, the center line jumps to the new brick level. The bands sit at plus and minus one brick size from that center line, showing you exactly how far price needs to move before the next brick would form. This makes the bands function as dynamic breakout levels. When price touches or crosses a band, you know a new renko brick is forming and the trend calculation is updating.
What makes this cool is the dual-purpose nature. You can use it like traditional volatility bands where the outer edges represent boundaries of normal price movement, and breaks beyond those boundaries signal potential trend continuation or exhaustion. But because the underlying calculation is renko rather than standard deviation or ATR around a moving average, the bands also give you direct insight into trend state. When the center line is rising consistently and price stays near the upper band, you're in a clean uptrend. When it's falling and price hugs the lower band, downtrend. When the center line is flat and price is bouncing between both bands, you're ranging.
The three brick sizing methods work the same way as standard renko implementations. Traditional sizing uses a fixed price range, so your bands are always the same absolute distance from the center line. ATR-based sizing calculates brick range from historical volatility, which makes the bands expand and contract based on the ATR measurement you chose at startup. Percentage-based sizing scales the brick size with price level, so the bands naturally widen as price increases and narrow as it decreases. This automatic scaling is particularly useful for instruments that move proportionally rather than in fixed increments.
The visual simplicity compared to full renko bricks makes this more practical for overlay use on your main chart. Instead of trying to read brick patterns in a separate pane or cluttering your price chart with boxes and lines, you get a single smoothed line with two bands that convey the same information about trend state and momentum. The center line shows you the filtered trend direction, the bands show you the threshold levels, and the relationship between price and the bands tells you whether the current move has legs or is stalling out.
From a trend-following perspective, the renko line naturally stays flat during consolidation and only moves when directional momentum is strong enough to complete bricks. This built-in filter removes a lot of the whipsaw that affects moving averages during choppy periods. Traditional moving averages continue updating with every bar regardless of whether meaningful directional movement is happening, which leads to false signals when price is just oscillating. The renko line only responds to sustained moves that meet the brick size threshold, so it tends to stay quiet when price is going nowhere and only signals when something is actually happening.
The bands also serve as natural stop-loss or profit-target references since they represent the distance price needs to move before the trend calculation changes. If you're long and the renko line is rising, you might place stops below the lower band on the theory that if price falls far enough to reverse the renko trend, your thesis is probably invalidated. Conversely, the upper band can mark levels where you'd expect the current brick to complete and potentially see some consolidation or pullback before the next brick forms.
What this really highlights is that renko's value isn't just in the brick visualization, it's in the underlying filtering mechanism. By extracting that mechanism and presenting it in a more traditional band format, you get access to renko's trend-following properties without needing to commit to the brick chart aesthetic or deal with the complications of overlaying brick drawings on a time-based chart. It's renko after all, so you get the trend filtering and directional clarity that makes renko useful, but packaged in a way that integrates more naturally with standard technical analysis workflows.
🔥 ANDINO Risk Ultimate 🔥Indicator for profitable trading, allowing buy, sell, stop-loss, and 3 take-profit entries, providing profitability and simplifying your trading.
MILLION MEN - Greed Fear MatrixWhat it is
MILLION MEN — Greed Fear Matrix is a sentiment oscillator based on a Stochastic Momentum Index (SMI) core with optional smart percentile levels, an EMA signal line, HTF filter, histogram, and lightweight emoji markers for tops/bottoms/warnings. It’s a context tool, not a buy/sell signal generator.
How it works
SMI core: computes SMI (K/D smoothing + signal EMA).
Levels: choose fixed Greed/Fear bands or Smart Levels (percentiles over a configurable lookback).
Fills & histogram: shaded regions above/below bands; histogram = SMI − Signal.
HTF filter (optional): confirm bias via higher timeframe (midline or signal rule).
Emoji pivots & lite divergence: labels at SMI pivots beyond bands; simple price/SMI divergence on the last two pivots.
How to use
Greed zone suggests crowd chasing / potential exhaustion; Fear zone suggests panic/liquidity pockets.
Use crossings (SMI vs bands / SMI vs Signal) and HTF bias as confluence, not standalone entries.
Tune percentile thresholds, lookback, and HTF timeframe to your market and style.
Originality & value
Unlike standard SMI/RSI overlays, this matrix adds percentile-driven adaptive levels, HTF validation, and on-chart context (fills/emoji/mini-divergence) to keep sentiment readable across regimes while staying lightweight and non-repainting.
Tested markets
Primarily tested on Gold (XAUUSD) . Behavior on other markets may vary; validate before use.
Limitations
Extremes can persist in strong trends; always add structure/volume confirmation.
Non-standard chart types aren’t supported for signal logic.
No future data is used; this is not financial advice.
Arabic summary (optional)
أداة زخم/معنويات مبنية على SMI مع مستويات ثابتة أو ذكية (Percentiles)، خط إشارة، فلتر إطار أعلى، تظليل للمناطق، وإيموجي للقمم/القيعان، ودايفرجنس خفيف. الهدف تحليل سياقي وليس إشارات بيع/شراء. مُجرّبة أساسًا على Gold (XAUUSD) وقد يختلف السلوك في أسواق أخرى.
10Y–2Y Treasury Yield Curve Spread & MES % Change📝 Description:
This indicator tracks the U.S. 10-Year minus 2-Year Treasury yield spread — a powerful macroeconomic signal often used by professional traders to gauge market sentiment and recession risk — and overlays an optional MES % change line to help intraday futures traders spot macro–price divergences in real time.
Features:
🏦 Plots the 10Y–2Y spread, with optional EMA smoothing.
📉 Highlights yield curve inversion (background turns red when spread < 0).
📊 Optional MES % change line from daily or RTH open for directional bias.
🔔 Alert conditions for:
Yield curve inversion / un-inversion.
Sudden spread spikes in basis points (customizable).
🧮 Optional correlation plot to visualize relationship strength between MES and the yield curve.
🧭 Z-score normalization allows both series to be viewed in one pane without scaling issues.
Why it matters:
A falling or inverted 2s10s spread often signals risk-off behavior and pressure on equities.
A steepening curve tends to support risk-on rallies.
Divergences between MES price action and the spread can provide early warning signals of reversals or fakeouts.
Best used with:
MES (MES1!) or MYM charts for intraday & swing bias.
Fed event days, CPI/NFP, or any macro-sensitive sessions.
VWAP or structure-based intraday trading strategies.
⚠️ Note: This indicator is for informational purposes only and does not constitute financial advice. Always combine macro context with your own trade plan and risk management.
GAMMA REGIME PROXYProxy to calculate gamma regime based on implied volatility
A short gamma regime can enhance the probabilities to have a breakout with a trend
A long gamma regime can enhance the probabilities to see reversal
CVD with DivergenceThis indicator combines Cumulative Volume Delta with divergence signals to help spot potential market reversals and trend changes. It visually highlights key shifts in buying and selling pressure, making it easier to see when momentum is building or fading and helping you make more informed trading decisions.
Asia Market OpenAsia Market Open at 5pm CST - marked with a narrow (1) yellow vertical line.
It's simply a yellow vertical line to mark the CST of 5pm (17:00) when the Asian market opens.
Several Asian market open times exist; I use this one.
Peter Brandt's 3-Day Trailing StopPeter Brandt's 3-day trailing stop rule is a trend-following exit strategy where a sell signal is triggered after a stock has reached a new high, followed by a close below the low of that high day, and then a break below the low of the next day, which is called the "setup day". The rule can be reversed to exit a short position. For long positions, Day 1 is the "high day" with a new price high, Day 2 is the "setup day" where the price closes below the low of Day 1, and Day 3 is the "trigger day" where a sell is executed if the price falls below the low of the setup day.
Long exit signal
Day 1: High Day: — The stock makes a new high.
Day 2: Setup Day: — The stock closes below the low of Day 1. At this point, the exit signal is now active.
Day 3: Trigger Day: — A sell to close is triggered when the price breaks below the low of the "setup day" (Day 2).
Short exit signal
Day 1: Low Day: — The stock makes a new low.
Day 2: Setup Day: — The stock closes above the high of Day 1.
Day 3: Trigger Day: — A buy to close is triggered when the price breaks above the high of the "setup day" (Day 2).
Multi-Moving Average (4x)Configurable moving average indicator where user can select up to 4 MA and configure SMA or EMA , color and width.
EMA HI/LO Cloud Shift + Extra EMA//@version=6
indicator("EMA HI/LO Cloud Shift + Extra EMA + Shift EMA Line", overlay=true, max_lines_count=6, max_labels_count=0)
// ------------------------
// Inputs
// ------------------------
emaLength = input.int(22, "Main EMA Length", minval=1, maxval=200)
emaLineColor = input.color(color.blue, "Main EMA Lines Color")
// Main Cloud colors
cloudAboveColor = input.color(color.new(color.green, 80), "Main Cloud Color (Price Above)")
cloudBelowColor = input.color(color.new(color.red, 80), "Main Cloud Color (Price Below)")
cloudInsideColor = input.color(color.new(color.orange, 80), "Main Cloud Color (Price Inside)")
// ------------------------
// Shift EMA (new logic)
// ------------------------
showShiftEMA = input.bool(true, "Show Shift EMA Line?")
shiftEMALength = input.int(26, "Shift EMA Length", minval=1, maxval=500)
shiftEMASource = input.source(close, "Shift EMA Source") // fully customizable source
shiftEMAColor = input.color(color.purple, "Shift EMA Color")
shiftEMAWide = input.int(2, "Shift EMA Line Width", minval=1, maxval=5)
shiftEMAOffset = input.int(0, "Shift EMA Offset", minval=-100, maxval=100)
// ------------------------
// Second EMA (independent)
// ------------------------
showSecondEMA = input.bool(true, "Show Second EMA?")
secondEMALength = input.int(200, "Second EMA Length", minval=1, maxval=1000)
secondEMAColor = input.color(color.yellow, "Second EMA Color")
secondEMAWide = input.int(2, "Second EMA Line Width", minval=1, maxval=5)
// ------------------------
// Main EMA Cloud Calculations
// ------------------------
emaHigh = ta.ema(high, emaLength)
emaLow = ta.ema(low, emaLength)
// ------------------------
// Main Cloud logic
// ------------------------
priceAboveMain = close > emaHigh
priceBelowMain = close < emaLow
priceInsideMain = not priceAboveMain and not priceBelowMain
cloudColorMain = priceAboveMain ? cloudAboveColor : priceBelowMain ? cloudBelowColor : cloudInsideColor
p1_main = plot(emaHigh, title="Main EMA High", color=emaLineColor, linewidth=2)
p2_main = plot(emaLow, title="Main EMA Low", color=emaLineColor, linewidth=2)
fill(p1_main, p2_main, color=cloudColorMain, title="Main EMA Cloud")
// ------------------------
// Shift EMA Line (replaces cloud offset)
// ------------------------
shiftEMA = ta.ema(shiftEMASource, shiftEMALength)
plot(showShiftEMA ? shiftEMA : na, title="Shift EMA Line", color=shiftEMAColor, linewidth=shiftEMAWide, offset=shiftEMAOffset)
// ------------------------
// Second EMA Plot (Independent)
// ------------------------
secondEMA = ta.ema(close, secondEMALength)
plot(showSecondEMA ? secondEMA : na, title="Second EMA", color=secondEMAColor, linewidth=secondEMAWide)
EDGAR Signal System (ESS)
EDGAR SIGNAL SYSTEM (ESS)
This indicator is designed for clear institutional-level trade signals using daily reference levels to guide entries across all timeframes.
It combines three core systems in one:
📊 Daily Base Line — detects key institutional zones where price is likely to react or revers
🎯 Precision Signals — generates BUY/SELL labels only when price aligns with institutional levels
With the ESS System, you no longer need to guess market direction — it highlights real-time signals where price respects institutional zones, allowing you to synchronize your entries with professional trading levels.
TRADING RULES:
BUY when:
There is a "BUY" label
Price is BELOW the blue base line
SELL when:
There is a "SELL" label
Price is ABOVE the blue base line
WAIT when:
No signal present, OR
Signal and base line position don't match
Dashboard Guide:
SIGNAL: Shows current BUY/SELL/WAIT status
POSITION: Shows if price is ABOVE/BELOW base line
Green = Good for entry
Red = Good for exit
Orange = Wait for better setup
EDGAR Daily Overview (EDO)EDGAR Daily Overview (EDO) is a professional all-in-one market guide that helps traders identify where price is likely to move — no more guessing.
The indicator automatically detects key daily base, support (S1–S3), and resistance (R1–R3) levels, allowing you to instantly see potential bounce, rejection, or breakout zones.
Combined with advanced tools such as trendlines, Ichimoku Cloud, MACD, RSI, and Volume Strength, EDO gives you a full real-time picture of the market’s current direction.
Whether you trade intraday or short-term swings, this tool helps you understand where the market is heading today — empowering you to plan precise entries, take profits, and manage risk effectively.
🔒 Invite-Only Script – exclusive access for authorized users only.
EDGAR Weekly Overview (EWO)EDGAR Weekly Overview (EWO) helps you trade with confidence — no more guessing where price will go next.
This indicator clearly shows where the market is likely to reach, reject, or bounce, using dynamic weekly base, support, and resistance levels.
You’ll instantly see key zones for your take profit (TP) and stop loss (SL), helping you plan trades with precision instead of emotion.
🔒 Invite-Only Script – access available only to authorized users.
Cumulative Volume Delta Divergence Periodic EMACumulative Volume Delta Divergence Periodic EMA
extended indicator
Nadaraya-Watson Envelope [Dynamic Adaptive Working]LuxAlgo'a kernel channel-based, modified for dynamic stochastic bandwidth adaptation.
Nadaraya-Watson Envelope , "NWE Adaptive (Working)"
Relative Momentum Rotation [CHE] Relative Momentum Rotation — Ranks assets by multi-horizon momentum for guided rotational selection with regime overlay
Summary
This indicator evaluates a universe of assets using a blended momentum measure across three time horizons, then ranks them to highlight top performers for potential portfolio rotation. It incorporates a regime filter to contextualize signals, tinting the background to indicate favorable or unfavorable market conditions and labeling transitions for awareness. By focusing on relative strength within a selectable universe, it helps identify leaders without relying on absolute thresholds, reducing noise from isolated trends and promoting disciplined asset switching.
Motivation: Why this design?
Traders often struggle with momentum signals that perform unevenly across market phases, such as overreacting in volatile periods or lagging in steady uptrends, leading to suboptimal rotations in multi-asset portfolios. The core idea of relative momentum rotation addresses this by comparing assets head-to-head within a defined group, blending short- and long-term changes to capture sustained strength while a regime overlay adds a macro layer to avoid fighting broader trends. This setup prioritizes peer-relative outperformance over standalone measures, aiding consistent selection in rotational strategies.
What’s different vs. standard approaches?
- Reference baseline: Traditional rate-of-change indicators track absolute price shifts over a single window, which can generate whipsaws in sideways markets or miss cross-asset opportunities.
- Architecture differences:
- Blends three distinct horizons into one composite score for a fuller momentum picture, rather than isolating one period.
- Applies ranking across a customizable universe (e.g., crypto or tech stocks) to emphasize relatives, not absolutes.
- Integrates a simple regime check via moving average crossover on a reference symbol, gating selections without overcomplicating the core logic.
- Outputs a dynamic table for visual ranking, plus subtle visual cues like background tints, instead of cluttered plots.
- Practical effect: Charts show clearer hierarchy among assets, with regime tints providing at-a-glance context—top ranks stand out more reliably in bull regimes, helping traders focus rotations without constant recalibration.
How it works (technical)
The indicator starts by assembling a list of symbols from the selected universe, including only those marked as active to keep the group focused. For each symbol, it gathers change rates over three specified horizons on a higher timeframe, blends them using user-defined weights (automatically normalized if they do not sum to one), and computes a single composite score. Scores are then ranked to select the top performers up to a set number, forming a rotation candidate list.
To add context, a regime state is determined by comparing the reference symbol's price to its moving average on daily bars—above signals a positive environment, below a negative one, with an option to invert this logic. The current chart's symbol is checked against the top list for inclusion status. All higher-timeframe data pulls are set to avoid lookahead bias, though updates may shift slightly until bars close. Persistent variables track the table state and prior regime to handle redraws efficiently, ensuring the display rebuilds only when the selection count changes.
Parameter Guide
Universe — Switches between predefined crypto or US-tech symbol sets for ranking peers. Default: Crypto. Trade-offs/Tips: Crypto for volatile assets; US-Tech for equities—match to your portfolio to avoid mismatched volatility.
Include Symbol 1–12 — Toggles individual symbols in the universe on or off. Default: Varies (true for top 10, false for extras). Trade-offs/Tips: Start with defaults for a balanced group; disable laggards to sharpen focus, but keep at least 5–8 for robust ranking.
Scoring Timeframe — Sets the aggregation period for momentum changes (e.g., monthly bars). Default: Monthly. Trade-offs/Tips: Monthly for long-term rotation; weekly for faster signals—increases noise if too short.
Weight 12m / 6m / 3m — Adjusts emphasis on long/medium/short horizons in the blend. Default: 0.50 / 0.30 / 0.20. Trade-offs/Tips: Heavier long-term for stability in trends; balance to fit asset class—test sums near 1.0 to avoid auto-normalization surprises.
ROC over MA instead of Close — Uses smoothed averages for change rates to reduce chop. Default: False. Trade-offs/Tips: Enable in noisy markets for fewer false tops; adds slight lag, so monitor for delayed rotations.
Top N to hold — Limits selections to this many highest-ranked assets. Default: 10. Trade-offs/Tips: Lower for concentrated bets (higher risk/reward); higher for diversification—align with your position sizing.
Mark current symbol if in Top N — Highlights if the chart's asset ranks in the selection. Default: True. Trade-offs/Tips: Useful for self-scanning; disable in multi-chart setups to declutter.
Enable Regime Filter — Activates macro overlay using reference symbol. Default: True. Trade-offs/Tips: Core for trend-aware trading; disable for pure momentum plays, but risks counter-trend entries.
Regime Symbol — Chooses the benchmark for regime (e.g., broad index). Default: QQQ. Trade-offs/Tips: Broad market proxy like SPY for equities; swap for BTC in crypto to match universe.
SMA Length (D) — Sets the averaging window for regime comparison. Default: 100. Trade-offs/Tips: Longer for fewer flips (smoother regimes); shorter for quicker detection—default suits daily checks.
Invert (rare) — Flips the regime logic (price above average becomes negative). Default: False. Trade-offs/Tips: Only if your view inverts the benchmark; test thoroughly as it reverses all tints/labels.
Show Ranking Table — Displays the ranked list with scores and regime status. Default: True. Trade-offs/Tips: Essential for selection; position tweaks help on crowded charts.
Table X / Y — Places the table on the chart (e.g., top-right). Default: Right / Top. Trade-offs/Tips: Corner placement avoids price overlap; middle for central focus in reviews.
Dark Theme — Applies inverted colors for visibility. Default: True. Trade-offs/Tips: Matches most TradingView themes; toggle for light backgrounds without losing contrast.
Text Size — Scales table font for readability. Default: Normal. Trade-offs/Tips: Smaller for dense data; larger on big screens—impacts only last-bar render.
Background Tint by Regime — Colors the chart faintly green/red based on state. Default: True. Trade-offs/Tips: Subtle cue for immersion; disable if it distracts from price action.
Label on Regime Flip — Adds text markers at state changes. Default: True. Trade-offs/Tips: Aids journaling flips; space them by disabling in low-vol periods to cut clutter.
Reading & Interpretation
The ranking table lists top assets by position, symbol, percentage score (higher indicates stronger blended momentum), and regime status—green "ON" for favorable, red "OFF" for cautionary. Background shifts to a light teal in positive regimes (suggesting alignment for longs) or pale red in negative ones (hinting at reduced exposure). Flip labels appear as green "Regime ON" above bars or red "Regime OFF" below, marking transitions without ongoing noise. If the current symbol appears in the top rows with a solid score, it signals potential hold or entry priority within rotations.
Practical Workflows & Combinations
- Trend following: Scan the table weekly on monthly charts for top entrants; confirm with higher highs/lows in price structure before rotating in. Use regime tint as a veto—skip buys in red phases.
- Exits/Stops: Rotate out of bottom-half ranks monthly; tighten stops below recent lows during regime flips to protect against reversals. Pair with volatility filters like average true range for dynamic sizing.
- Multi-asset/Multi-TF: Defaults work across crypto/equities on daily+ timeframes; for intraday, shorten scoring to weekly but expect more interim noise. Scale universe size with portfolio count—e.g., top 5 for aggressive crypto rotations.
Behavior, Constraints & Performance
Signals update on bar close to confirm higher-timeframe data, but live bars may preview shifts from security calls, introducing minor repaint until finalized—mitigated by non-lookahead settings, though daily regime checks can lag by one session. Arrays handle up to 12 symbols efficiently, with loops capped at selection size; max bars back at 5000 supports historical depth without overload. Resource use stays low, but dense universes on very long charts may slow initial loads.
Known limits include sensitivity to universe composition (skewed groups amplify biases) and regime lag at sharp market turns, potentially delaying rotations by a period.
Sensible Defaults & Quick Tuning
Defaults assume a 10-asset crypto rotation on monthly scoring with balanced weights and QQQ regime—ideal for intermediate-term equity-like plays. For too-frequent table reshuffles, extend scoring timeframe or weight longer horizons more. If selections feel sluggish, shorten the 3-month weight or enable MA smoothing off. In high-vol environments, raise top N and SMA length for stability; for crypto bursts, drop to weekly scoring and invert regime if using a volatile proxy.
What this indicator is—and isn’t
This is a selection and visualization tool for momentum-based rotations, layering relative ranks and regime context onto charts to inform asset picks. It is not a standalone system—pair it with entry/exit rules, position sizing, and risk limits. Nor is it predictive; it reacts to past changes and may underperform in prolonged ranges or during universe gaps.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Where does it come from, specifically?
The principle of “composite momentum across multiple horizons” is common in TAA/rotation strategies. As a documented example: Keller/Butler use a composite 1/3/6/12-month momentum (“13612W”)—same idea, different windows/weights.
Robot Wealth
A practical vendor example: EPS Momentum calculates an RMR composite as a weighted mix of 12/6/3/1-month ranks (very close to “12/6/3”).
EPS Momentum
Related but not identical: StockCharts’ RRG measures the momentum rotation of relative strength—often mentioned in the same context, but it doesn’t have a fixed “12/6/3” composite.
chartschool.stockcharts.com
How is it typically computed?
ROC_12 + ROC_6 + ROC_3 (often scaled/weighted), then ranked vs. peers; the rotation periodically holds the top ranks in the portfolio. (Variants use different weights or additionally include 1-month—see the sources above.)
robotwealth.com
epsmomentum.com
Average True Range Stop Loss Finder with KAMAATR SL finder with bands
Kaufmann adaptive moving average
ATR SL finder with bands
Kaufmann adaptive moving average
Integrated Volatility Intelligence System (IVIS)"Integrated Volatility Intelligence System (IVIS)", shorttitle="VolMind™: Adaptive Volatility Intelligence for Modern Markets"
TFT VIP TRADE BODY & VOLUME RANGE x-times (LAST BAR): Body & Volume vs Last 10 compares the current candle’s body size and volume to the SMA of the last N candles (default 10) and shows the result as “×ratio”. It’s designed to keep the chart uncluttered while giving you two key reads from the 5-minute timeframe:
• Previous 5m (closed) bar → fixed label with its final ratios.
• Current 5m (running) bar → live-updating label with real-time ratios.
Multi-timeframe behavior
• On 1-minute charts:
• A stamp for the last closed 5m is placed on that 5m block’s final 1-minute bar.
• A live label shows the current 5m ratios on the current 1-minute bar.
→ You’ll always see two labels max (closed 5m + running 5m).
• On 5-minute charts:
• One label on the previous 5m candle (closed).
• One label on the current 5m candle (running).
• On other timeframes:
• A single label shows the current 5m ratios on the last bar.
What the numbers mean
• Body ×r = abs(Close − Open) compared to SMA(body, N) on the reference TF.
• Vol ×r = Volume compared to SMA(Volume, N) on the reference TF.
• Color cue: ≥3× red, ≥2× orange, otherwise teal.
Inputs
• Lookback (bars): N for the SMA comparison (default 10).
• Decimals: number of decimals in the ×ratios.
• Vertical position: Above bar / Below bar.
• Layout: Side by side (previous left, current right) or Stacked.
• Horizontal offset (bars): space left/right from the anchor bar (for side-by-side).
• Vertical offset (ATR×): lift/drop labels using ATR for consistent spacing.
Notes & Tips
• Focuses on candle body, not high–low range.
• Keeps the chart clean: at most two labels on 1m/5m.
• Great for spotting impulsive 5m moves (body expansion) and volume surges relative to recent history.
Limitations
• No alerts baked in (by design).
• Ratios use SMA of the last N bodies/volumes; change N to suit volatility.
⸻
If you want, I can add a short tagline version for the “short description” box or wire in alert conditions (e.g., trigger when Body ≥ 2× or Vol ≥ 3×).
Advanced Liquidity Pools (Revention)Overview
This indicator provides a sophisticated visualization of potential Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL) zones based on recent market structure swing points (pivots). It goes beyond simply plotting levels by incorporating a dynamic probability estimation to highlight the liquidity pool calculated as most likely to be targeted next. The goal is to offer traders a clearer view of potential stop-hunt zones and areas where market manipulation might occur.
Key Features
Dynamic Liquidity Boxes: Identifies BSL (above price) and SSL (below price) using pivot highs/lows and visualizes them as filled boxes extending into the future.
Hunt Odds Visualization: The color intensity and transparency of each box dynamically adjust based on a calculated "hunt odds" score. This score estimates the likelihood of the zone being targeted based on its age, current market volatility (ranging vs. trending), and the direction of the most recent liquidity sweep. Boxes with higher calculated odds appear more prominent.
Most Probable Target Highlight: The single BSL or SSL box with the highest calculated odds, adjusted for the last sweep direction, is highlighted with a distinct background color (default yellow), drawing attention to the area deemed most likely for the next liquidity grab.
Contextual Information: Optionally displays text directly on the highlighted box showing:
The calculated "Hunt Odds" percentage.
A Higher Timeframe (HTF) Alignment Score (0-4), indicating how many selected higher timeframes show a trend (based on EMA crossover) that aligns with the direction needed to reach the highlighted target.
How It Works
Pivot Detection: Identifies swing highs and lows based on the user-defined Pivot Lookback.
Zone Creation: Creates a box around each pivot, extending forward in time. The height is based on a multiple of the Average True Range (ATR).
Odds Calculation: For each active (non-mitigated) box, it calculates a "Hunt Odds" score using weighted factors:
Age: Older zones have lower odds.
Market Condition: Zones have higher odds during detected ranging periods.
Last Sweep: The zone opposite the most recently swept liquidity side receives higher odds.
Highlighting: Determines the highest-odds BSL and SSL, then selects the "most probable" target based primarily on the last_sweep_dir (prioritizing the opposite side) or secondarily on the highest overall odds.
HTF Alignment: Checks the trend direction (via EMA cross) on up to four user-selected higher timeframes and counts how many align with the direction towards the highlighted target.
Visualization: Updates the background color, border width, and text display for each box based on its odds and whether it's the highlighted target. Mitigated boxes are removed.
Disclaimer
The "Hunt Odds" percentage displayed is a speculative estimate derived solely from the indicator's internal logic and simplified market factors (age, range detection, last sweep). It is NOT a statistically validated probability of future price movement. Market dynamics are complex, and liquidity hunts are influenced by numerous factors not captured by this indicator. This tool should be used as a visual aid to supplement your own market analysis, confluence finding, and risk management strategies. Do not base trading decisions solely on the highlighted zone or the calculated odds.
Potential Use Cases
Identifying potential areas where stop-loss orders may be clustered.
Visualizing how market conditions (ranging) might increase the likelihood of stop hunts.
Gauging higher timeframe trend alignment towards key liquidity zones.
Serving as a component within a broader trading strategy focused on liquidity concepts and market manipulation patterns (e.g., waiting for rejection or acceptance at highlighted zones).






















