CustVolumeStudy - Stacked Buy/Sell + Sell% (top-right)Current Bar Sell + Stacked Buy/Sell. This indicator helps tell the story of momentum on the current bar. If the % is high then it is bearish. Low it is bullish.
Indicadores y estrategias
Santhosh ATR Buy/Sell with Consolidation OverlayUse this indicator to filter false signals, if you get signals within consolidation area , then wait for the market to break the consolidation zone to take the entry. Avoid entry within consolidation zones . For better performance use "lookback period:45", "Consolidation Length:2" for consolidation inputs. Feel free to use your inputs to match your strategy again any asset.
Tamu2.0Testing Oct 2025. Indicator tries to identify short periods of volatility and market manipulation.
Premarket Power Bar StrategyStep 1: Mark Your Levels Before the Open
When: Between 9:00–9:25 AM ET
Premarket High – the highest price before 9:30 AM
Premarket Low – the lowest price before 9:30 AM
Use extended hours view on your chart platform.
These levels act as magnets and turning points once the market opens. They form the foundation for your first trade of the day.
Step 2: Let Price Come to the Level
Do not chase early price action.
Wait for price to approach either the premarket high or low during regular market hours.
Look for a pause, hesitation, or test near the level.
This keeps you from overtrading and forces you to wait for structure to form.
Step 3: Watch for the Power Bar
A power bar is a large-bodied candle with strong momentum and little to no wick on the opposite side.
It should form directly at the premarket level—not near it, not after a breakout.
At the premarket low, a bullish power bar is your buy trigger.
At the premarket high, a bearish power bar signals a short opportunity.
No power bar? No trade. The level and the candle must come together to create the edge.
(BONUS: As you identify specific patterns, eg, double bottoms, double tops, etc. look for those patterns near the premarket high or low)
Step 4: Entry, Stop, and Target
Entry:
For longs: place your order just above the high of the bullish power bar
For shorts: enter just below the low of the bearish power bar
Stop:
Long trade: just under the low of the power bar
Short trade: just above the high of the power bar
Profit Target Options:
VWAP
Prior day’s close
Key support/resistance levels
Keep your trade logic mechanical and consistent.
Execution Guidelines
Only trade when price reacts at your marked level
Wait for the power bar to fully form before entering
Do not jump in early or chase candles that form away from your levels
Cosmik Z-TP [ZuperView]Cosmik Z-TP is a trend-following trading system for TradingView designed to keep things simple while delivering all the core elements for effective trading, including straightforward trend analysis, a dynamic trading zone, clear entry and exit points, and built-in take-profit and stop-loss levels.
It adapts to a wide range of styles – scalping, day trading, or swing trading – and works smoothly across different bar types, making it a practical choice for traders of any experience level.
📌 Key features
🔸 Trend
Cosmik Z-TP highlights market direction and strength through its Trend Vector and Trailing Stop line, providing clear visual cues for quick trend analysis and trend confirmation.
Uptrend: When price closes above the pink Trailing Stop, the chart background turns green.
Downtrend: When price closes below the blue Trailing Stop, the background turns pink.
The shape of the Trend Vector reveals momentum:
Strong trend: The vector stays flat briefly (fewer than 10 bars) before rising or falling sharply.
Weak trend: The vector remains flat for an extended period (more than 10 bars).
These visual cues make it easy to read both the direction and the intensity of the current trend at a glance.
The trading system identifies market trends across both time-based and non-time-based charts with 2 dedicated modes:
Tick mode: Tailored for non-time-based charts such as Renko or Range. In this setting, the Trend Vector and Trailing Stop react directly to pure price movement, delivering precise trend detection without time constraints.
ninZaATR mode: Designed for time-based charts such as Minute, Second, and Hour, as well as non-time-based charts like Tick and Volume. In this mode, the Trend Vector and Trailing Stop scale with a multiple of ninZaATR, providing a clear read of market volatility within the selected timeframe.
Note: ninZaATR is an enhanced version of the Average True Range (ATR) indicator, designed to deliver smoother trend behavior on lower timeframes.
🔸 Zone
The Trading Zone is a dynamic support/resistance zone formed by the space between the Trend Vector and the Trailing Stop. It pinpoints areas where price is likely to retrace before continuing its move.
You can fine-tune how closely the zone follows price: when it tracks price more tightly, it helps capture early pullbacks; when set farther away, it detects deeper, stronger retracements.
🔸 Pullback signal
Pullback signals come from a 3-oscillator blend of MFI, RSI, and Stochastics, all filtered by the principle of following the trend.
This layered design reduces noise and delivers faster, more dependable trade setups, complete with real-time buy or sell alerts to help you stay on top of every valid entry.
Rather than reacting to the usual overbought or oversold thresholds (70/80 or 30/20), Cosmik Z-TP focuses on the oscillators’ natural tendency to move around the 50 line.
This creates a distinctive pullback-signal method:
Uptrend: When all three oscillators dip below 50, the system flags a potential pullback entry without waiting for an oversold reading.
Downtrend: When all three rise above 50, the system highlights a pullback opportunity without requiring an overbought level.
🔸 Stop and Target Levels
Cosmik Z-TP provides 2 primary ways to place stop-loss (SL) levels, both derived from the behavior of the Trailing Stop, which acts as a dynamic support or resistance and a key guide to trend direction.
These levels are designed to support effective trade and risk management:
Flat Trailing Stop Levels
When the Trailing Stop remains flat, it signals potential market weakness and forms a strong support or resistance level. The system automatically extends these flat levels across the chart, creating natural areas for stop-loss placement that help limit risk as momentum fades.
Trailing Stop Plot
Stops can also be placed directly on the active Trailing Stop line. This approach allows trades to follow the trend until it concludes, reducing premature exits while maximizing profit potential.
For take-profit levels, the same flat Trailing Stop levels already plotted on the chart serve as natural profit objectives, marking key support or resistance levels where price often pauses or reverses.
📌 Customization
The system is built for easy adjustments, allowing each part to align with your unique approach and the market’s pace.
🔸 Trend
Adjust the Trailing Stop plot to focus on short-term or long-term trends.
Use Tick mode for Range and Renko charts.
Apply ninZaATR mode for all other chart types (Minute, Range, Second, Volume, Heiken Ashi, etc.).
🔸 Zone
Control the distance between the Trailing Stop and Trend Vector relative to price to capture either early pullbacks or stronger retracements.
🔸 Signal
Set the signal frequency by adjusting the periods of the MFI, RSI, and Stochastic oscillators.
Define the maximum number of trading signals within a trend phase.
Specify the maximum number of signals allowed during a flat phase of the Trend Vector.
Multi-Session Futures Range Boxes(NY, Europe, & Asia)Multi-Session Boxes — ASIA / EUROPE / NEW YORK
This indicator draws session boxes for three custom trading sessions and updates them live on intraday charts.
Each box tracks the high, low, and open of its session; the box color switches Up/Down based on whether the current price is above or below the session open.
Default setup
• ASIA — 20:00–02:59 (ET), Purple (bg/border), opacity 90
• EUROPE — 03:00–09:29 (ET), Turquoise (bg/border), opacity 90
• NEW YORK — 09:30–16:00 (ET), Yellow (bg/border), opacity 90
You can change times, time zones (IANA names like America/New_York, UTC, Europe/London), colors, opacity, and border width per session from the settings. Each session also has an Enable toggle.
How it works
• At each session’s first bar, the indicator records the open and initializes high/low.
• During the session, it updates the highest high / lowest low and stretches the box to the current bar.
• Box background & border use your Up/Down colors:
◦ Up if close > session open
◦ Down otherwise
• Works on intraday timeframes only (as with the original script).
Notes for futures
• The box schedule is based on your selected time zone.
• If you keep ASIA at 20:00, the gap between 16:00–20:00 ET (post-RTH / Globex evening) is intentionally unboxed so Asia’s H/L aren’t polluted by thin trade.
• If you prefer to fill that gap visually, you can add a separate “Evening” session later without changing Asia’s times.
Ghost Signal — MTF EMA/VWAP Confluence SystemGhost Signal — MTF EMA/VWAP Confluence System
Purpose
Ghost Signal is an intraday trend-entry tool that tries to do one thing well: only fire when multiple, independent edges agree. It looks for pullbacks to the EMA-20 or clean trend-continuations, then gates those raw triggers behind VWAP/Anchored-VWAP alignment, higher-timeframe structure, momentum, spacing (anti-chop), volume and ATR context. The goal is fewer, higher-quality entries that avoid “death-by-a-thousand scalps” in chop.
What it plots
EMA 20/50/200 for trend structure and spacing (no-braid filter).
VWAP (session) and optional Anchored VWAP (Daily/Weekly/Monthly).
ENTRY labels when all filters pass.
A compact status table: HTF score (M/W/D/4H/15/5), VWAP/AVWAP arrows, EMA regime, slopes %, ATR%, spacing %, and distance from EMA-50.
How signals are built
Raw triggers (on chart TF or a lower “signal TF” for intrabar precision):
PB20: trend pullback that crosses back through EMA-20.
TC: trend-continuation when price holds the side of EMA-20 with limited gap.
Confluence filters (must pass):
EMA regime & slopes: 20>50>200 for longs (reverse for shorts) with minimum slope on EMA-20/50.
VWAP/AVWAP alignment: price must be above both for longs / below for shorts, with a configurable margin.
HTF structure score: combines M/W/D/4H/15/5 states and penalizes corrections.
Anti-chop spacing: minimum separation between 20↔50 and 50↔200.
Context: volume ≥ SMA×mult, ATR% ≥ floor, max distance from EMA-50 to avoid late chases.
Optional breakout: close > prior high (long) / < prior low (short).
Time lockouts: exclude known messy windows (open/close, FX rollover, etc.).
Adaptive slope (optional): slopes auto-tighten/loosen with market heat (ATR% & relative volume).
How to use
Works on 1–5m best; designed for futures, stocks, FX, and crypto.
Use the status table to confirm context (HTF score, VWAP arrows, slopes/ATR/spacing).
Pair with your own risk model; common templates: stop ≈ 1.5–2× ATR, TP ≈ 1.2–1.8R or an ATR trail.
Turn the Signal TF to “1” on 3m/5m charts if you want intrabar PB20 detection.
Why it helps
Ghost Signal tries to stack institutional anchors (VWAP/AVWAP), higher-timeframe bias, and momentum/structure so you participate in moves with real sponsorship—and sit out the braid.
Notes & limits
No indicator removes risk. Expect fewer signals on range days, slippage around news, and thinner markets to require stricter volume/spacing. Past results don’t guarantee future returns.
Extreme Candle Pattern Visualizer🟠 OVERVIEW
This indicator compares the current candle's percentage change against historical data, then highlights past candles with equal or bigger magnitude of movement. Also, for all the highlighted past candles, it tracks how far price extends before recovering to its starting point. It also provides statistical context through percentile rankings.
IN SHORT: Quickly spot similar price movements in the past and understand how unusual the current candle is using percentile rankings.
🟠 CORE CONCEPT
The indicator operates on two fundamental principles:
1. Statistical Rarity Detection
The script calculates the percentage change (open to close) of every candle within a user-defined lookback period and determines where the current candle ranks in this distribution. A candle closing at -9% might fall in the bottom 5th percentile, indicating it's more extreme than 95% of recent candles. This percentile ranking helps traders identify statistically unusual moves that often precede reversals or extended trends.
2. Recovery Path Mapping
Once extreme candles are identified (those matching or exceeding the current candle's magnitude), the indicator tracks their subsequent price action. For bearish candles, it measures how far price dropped before recovering back to the candle's opening price. For bullish candles, it tracks how high price climbed before returning to the open. This reveals whether extreme moves typically extend further or reverse quickly.
🟠 PRACTICAL APPLICATIONS
Mean Reversion Trading:
Candles in extreme percentiles (below 10% or above 90%) often signal oversold/overbought conditions. The recovery lines show typical extension distances, helping traders set profit targets for counter-trend entries.
Momentum Continuation:
When extreme candles show small recovery percentages before price reverses back, it suggests strong directional momentum that may continue.
Stop Loss Placement:
Historical recovery data reveals typical extension ranges after extreme moves, informing more precise stop loss positioning beyond noise but before major reversals.
Pattern Recognition:
By visualizing how similar historical extremes resolved, traders gain context for current price action rather than trading in isolation.
🟠 VISUAL ELEMENTS
Orange Circles: Mark historical candles with similar or greater magnitude to current candle
Red Lines: Track downward extensions after bearish extreme candles
Green Lines: Track upward extensions after bullish extreme candles
Percentage Labels: Show exact extension distance from candle close to extreme point
Percentile Label: Color-coded box displaying current candle's statistical ranking
Hollow Candles: Background rendering for clean chart presentation
🟠 ORIGINALITY
This indicator uniquely combines statistical percentile analysis with forward-looking recovery tracking. While many indicators identify extreme moves, few show what happened next across multiple historical instances simultaneously. The dual approach provides both the "how rare is this?" question (percentile) and "what typically happens after?" answer (recovery paths) in a single visual framework.
Composite Trend AverageThis indicator combines 6 advanced trend-following indicators into a single consensus system:
• HalfTrend
• T3 (Tillson T3)
• FRAMA (Fractal Adaptive Moving Average)
• MAMA (MESA Adaptive Moving Average)
• McGinley Dynamic
• KAMA (Kaufman Adaptive Moving Average)
Features:
- Composite average line (average of all 6 indicators)
- Consensus zone showing the range between highest and lowest indicator values
- Dynamic color coding: GREEN when price closes above ALL indicators, RED when price closes below ALL indicators
- Toggle options for individual indicators, composite line, and consensus zone
Quarter Levels — Auto Recentering NQ onlyQuarter Levels — Auto Recentering (PERMANENT) + Big Offset Labels
What it is
This tool paints true horizontal key levels that traders naturally anchor to: the 00 / 25 / 50 / 75 quarter levels (black), the 35 / 65 / 90 reaction levels (red), and the 10 / 80 sweep/edge levels (purple).
Lines are infinite horizontals and the grid auto-recenters ±200 points around current price each new bar. Labels on the right show the last two digits (e.g., 25, 35, 50, 65, 75, 80, 90), so you instantly know which level you’re at.
Why it helps
Markets often “snap” to simple numbers. These levels create a clean scaffold for intraday structure, pullbacks, and rotations—without clutter or lagging math.
Color Legend
Black — 00 / 25 / 50 / 75:
Core quarter levels. Expect frequent pauses, re-tests, and rotations.
Use: default S/R map; bias for mean-reversion inside ranges.
Red — 35 / 65 / 90:
“Continuation / reaction” levels. Price often accelerates through these once momentum takes.
Use: breakout guides and precise take-profit targets.
Purple — 10 / 80:
Sweep / edge levels. Price often wicks into these and rejects.
Use: fade the last push, or confirm a sweep before a reversal.
How it works
The script draws the levels as extend.both horizontals (not derived from candle points).
Every new bar, it rebuilds the grid around close ± 200 pts (editable in code: RANGE_POINTS).
Prices are snapped to tick (syminfo.mintick) so lines lock to the Y-axis.
Labels show only the offset (two-digit number) to keep the chart clean.
Setup & Customization
No inputs required.
If you want tweaks, open the code and edit at the top:
RANGE_POINTS – widen/narrow the vertical coverage.
LABEL_OFFSET – push labels further to the right.
LABEL_SIZE – size.small / normal / large.
Color & width constants (per group).
Practical Use (playbook)
Use this grid as a price map, not a signal generator. Combine it with your execution tools.
1) In Range Conditions
Fade to Black: When price rotates inside a range, look for exhaustion into black levels (00/25/50/75).
Plan: wait for rejection (wick + failed follow-through), enter back toward the mid/next quarter. Stop just beyond the level; first target the next red or black.
Purple Sweeps: Watch quick spikes into 10/80 that immediately fail.
Plan: fade the sweep with tight risk; scale out at 25/75; hold a runner to 50.
2) In Trend / Momentum
Red Rails (35/65/90): When momentum is strong, price often steps through red levels cleanly.
Plan: use them as continuation targets or trail anchors. If pullback holds above a prior red level, consider continuation with stop below that level.
Quarter-to-Quarter Ladders: In clean trends, expect quarter-to-quarter traversals (00→25→50→75→00…).
Plan: add on pullbacks to 25 or 50 with trend confirmation (e.g., 9/21 EMA stack or anchored VWAP hold).
3) Confluence (AI-logic suggestions)
Pair the grid with any two of:
VWAP / Anchored VWAP: Rejections at a quarter level + VWAP = higher quality entry.
EMAs (9/21/50/200): Use as directional filter. Only take longs at quarters when fast EMAs > slow EMAs.
Liquidity cues: Prior high/low, session O/H/L, or liquidity pools aligning with a quarter level.
Orderflow / footprint: Aggressive delta through a red level? Expect follow-through to the next black or red.
Volatility (ATR): If ATR expands, lean more on red levels (continuations). In compression, lean more on black and purple (fades).
Risk & Management Tips
Stops: Just beyond the level you’re trading against. Let the level “be wrong” to prove you wrong.
Targets: Next red or black line. Scale at the first, hold a small runner to the next.
Session awareness: Levels interact differently in Asia/EU/US. In US RTH, expect sharper responses at red and purple.
Timeframes: Works across all. Intraday (1–15m) for entries; 1h/4h daily for context.
Do not chase: If you miss the touch, wait for the next level; the map is dense by design.
Limitations
This indicator does not generate buy/sell signals; it supplies a stable structure.
In runaway trends, price can cut through multiple lines—use trend filters and risk caps.
Auto-recentering means the visible band travels with price; if you need static levels far away, increase RANGE_POINTS.
Troubleshooting
No labels? Make sure max_labels_count isn’t hit and SHOW_LABELS = true.
Labels too close to price? Increase LABEL_OFFSET.
Too many lines? Reduce RANGE_POINTS or hide a color group in code.
Credits / License
Created by: TRC — The Refuge Camp
License: Free to use on TradingView with attribution.
If you fork or embed, please credit “TRC — The Refuge Camp” and link back to the original post/profile.
Quick Start (TL;DR)
Add the script.
Trade the map:
Fade purple/black in ranges.
Target red/black in trends.
Combine with VWAP/EMAs or your orderflow tool for confirmation.
Respect stops just beyond the level; scale at the next line.
Happy trading, and welcome to the Quarter-Level grid.
AI Bot Regime Feed (v6) — stableThis indicator generates real-time, structured JSON alerts for external trading bots or automation systems.
It combines multiple technical layers to identify market regimes and high-probability buy/sell events, and sends them to any webhook endpoint (e.g., a FastAPI or Zapier listener).
Multi-Timeframe Bollinger RSI SignalsIt's literally Free Money. Buy and Sell signal indicator based on RSI and Bollinger Bands Confluence.
TIME-Trading Indicator + AlertsWhat it is
A Pine Script study that profiles intraday behavior by day+time windows in CET/CEST, verifies it on history, colors the chart by the expected bias & strength, shows tables/heatmaps with backtest stats, and can alert at the start of each window with a full trading summary.
Core ideas
Day is split into 7 CET windows: 0–6, 6–9, 9–12, 12–15, 15–18, 18–22, 22–24
(NYC is unified as 15–18 and 18–22 across the whole script.)
For each weekday & window we have an expectation (Bull/Bear/Neutral/Chop) with a strength 1–5 and a label (e.g., “Skokový rast”, “Výplach”…).
Script backtests those expectations on your chart’s history:
Computes return of each window (log-return from first bar open to last bar close of the window).
Counts Hit-rate (bull window = return>0; bear window = return<0; neutral/chop excluded).
Tracks Avg % drift, t-stat, and sample size N.
Trend regime (Auto/Manual)
Auto (EMA): price vs EMA(length) on a higher timeframe (configurable) + optional slope filter.
Manual override: Bull / Bear / Neutral.
Regime is read without look-ahead (uses previous bar’s regime when closing a window).
What you see
Background shading of the current window
– color family by category (green=bull, red=bear, gray=neutral, orange=chop), shade by strength 1–5.
Optional labels on window change with regime + label text (“Bull • Najsilnejší rast týždňa”).
Forecast panel (bottom-right) listing the next X windows with label & strength.
Results tables (three views):
Heatmap 7×7 (default): weekday × window grid, each cell shows one metric (toggle among Hit-rate / Avg % / t-stat).
Deň (stránkovanie): full stats for a single day (N, Hit-rate, Avg %, t, label).
Split 2× (dlhá): two stacked tables (Mon–Thu, Fri–Sun) to fit small screens.
Alerts (window start)
Optionally fire at the start of every window.
Message includes: weekday + window, expectation label, strength, current regime, recommended action (Long/Short/Wait), Hit-rate %, Avg %, and N.
Create alerts in TV with Condition → Any alert() function call (so the script’s dynamic text is used).
Optional filters (easy to add/adjust): min N, min Hit-rate, only Bull/Bear windows.
Inputs you control
Regime mode, EMA length, higher-TF for trend check, require EMA slope.
CET/CEST timezone (uses “Europe/Bratislava” by default).
Toggles: background, labels, forecast, results view, table text size, heatmap metric.
Alert enable; (we can add min-N / min-HR filters if you want them by default).
How stats are computed (important)
A window’s return is measured strictly inside the window (open of first bar → close of last bar).
The window is credited to the correct weekday even across midnight.
Hit-rate uses only directional windows (Bull/Bear). Neutral/Chop are excluded.
Best practices
Use chart TF that divides an hour (5/15/30/60m) so window boundaries align cleanly.
Read the heatmap primarily by Hit-rate (signal reliability) and cross-check with Avg % (effect size) and t-stat (significance).
Trade at the start of a strong window in the direction of the current regime, exit time-based (end of window) or on PT/SL.
If you want, I can also:
mask/show only cells with N ≥ threshold,
add NYC sub-split toggle off/on,
export stats to CSV,
or add webhooks-friendly compact alert strings.
EMA+MACD动态0轴主图动态MACD,EMA55作为当前周期动态0轴使用。EMA13作为小4倍周期动态0轴。当前周期DIF线穿越0轴标记+MACD金死叉标记。
The main chart dynamic MACD and EMA55 are used as the dynamic 0-axis for the current cycle. EMA13 is used as the dynamic 0- axis for the smaller 4x cycle. The current cycle's DIF line has crossed the 0-axis, marked with a "+" sign indicating a golden cross on the MACD.
Asia Risk MonitorAsia Risk Monitor for all those monitoring the financial situation in the US, looking for a clue of a move to the down or upside.
First week of the yearA very simple indicator that marks a channel on the candlestick for the first week of the year.
The channel can serve as an entry/exit point with a medium and long term focus.
Note: This indicator should be observed exclusively on the weekly timeframe.
DASM MACDMACD rules:
The main trend is bullish when the MACD is above the zero line, and bearish when it’s below.
The histogram shows when a trend starts and when it’s losing strength.
The background color highlights the trend direction.
The EMA is easy to read — green means buy, red means sell.
For scalping, it’s best used during high-volume hours (9:30–11:00 New York time).
DASM CODE BUY/SELL EMASimple, Just Buy/Sell
For scalping, it’s best used during high-volume hours (9:30–11:00 New York time).
MANOLES MINDSETBEST STRATEGY AT SUPPORTS “This indicator combines Bollinger Bands, RSI, Stochastic RSI, MACD, and a Moving Average to identify potential buy/sell points. It also includes alert conditions for trade signals.”
DragonEye Strategy — Advanced Multi-Signal Trading SystemDragonEye Strategy combines Squeeze Momentum, Chandelier Exit, and Volume Confirmation into one smart trading system.
Detects market squeezes, confirms breakout direction, and manages trades with multi-level take-profit & stop logic.
Built for precision entries and adaptive exits. Perfect for trend followers and breakout traders.
#MS Topping Tail DetectorShows potential Topping Tails. A topping tail is a candlestick pattern feature often seen on price charts that signals potential selling pressure or a reversal from an uptrend. Here’s how it works:
🔍 Definition
A topping tail (also called an upper shadow or wick) is the thin line above the candlestick body showing how high the price went during a trading period before sellers pushed it back down.
It indicates that buyers were in control early, but sellers took over, causing the price to fall from its high before the close.
Relative Strength Ratio • Leader Shift Signals## Overview
This indicator computes a **Relative Strength (RS) ratio** between your chart’s symbol and a reference symbol (e.g. BTC or index), then overlays an EMA-based trend filter and detects **RS divergences** via RSI on that ratio. It highlights when your symbol is leading vs lagging, and spots potential turning points via bullish/negative divergences. No alerts are forced, you get visual cues (lines & labels) only.
---
## How It Works
1. **RS Ratio** = (base symbol price) ÷ (reference symbol price).
2. Two EMAs (fast & slow) filter trend context and help identify “leader shifts” (when ratio crosses the fast EMA under trend constraints).
3. **RSI on the ratio** is used to detect divergences. We find swing highs/lows in the *ratio* and compare their RSI values:
* **Bearish RS divergence**: ratio makes a higher high, but RSI makes a lower high
* **Bullish RS divergence**: ratio makes a lower low, but RSI makes a higher low
4. When divergence is confirmed, the script draws connecting lines (and optional markers) on the RS ratio pane to visually flag them.
5. You can customize pivot sensitivity, minimum separation, colors, and toggles for which graphics to show.
---
## Best Usage Suggestions
* Use a **reference symbol** that is meaningfully related (e.g. BTC for altcoins, SPX for equities, or a sector index for a stock). The interpretive power comes from seeing relative strength vs a meaningful peer.
* On **higher timeframes** (4H, daily), divergences tend to carry more weight. On lower intraday charts, tighten pivot settings to avoid noise.
* Prefer divergence signals when the RS ratio is also in a favorable trend (e.g. above its EMA for bullish divergences, below for bearish). Using the trend filter EMAs helps reduce false signals.
* Always confirm divergence signals with **price structure, volume, or other momentum indicators**. Divergence is a warning or a hint—not a standalone trigger.
* Because RSI on ratio is subject to noise, avoid over-tuning pivots too tight; broader pivot widths give more robust divergence lines.
---
## Inputs & Customization
* **Reference Symbol & Timeframe** for ratio comparison
* **Fast EMA / Slow EMA lengths** and slope threshold (trend filter)
* **RSI length** applied to the RS ratio
* **Pivot left / right bars** and **min separation** to define sturdy swings
* **Toggle lines / markers** visibility, and pick colors for divergence, ratio, EMAs
* Optional “shade” or fill modes (if you have them)
---
## Limitations & Disclaimers
* Divergence does **not guarantee** reversals—it often signals **weakening momentum or potential turning zones**, which may not always play out.
* In extremely volatile or fast-moving markets, divergence lines may lag or fail.
* The script relies on historical data (no future lookahead). Because pivots are confirmed after a few bars, some signals show with delay.
* As always: combine with price action, structure, risk management. This is a tool—not a magic eight ball.
---
Mean Reverting Suite [OmegaTools]Overview
The Mean Reverting Suits (MR Suite) by OmegaTools is an advanced analytical and visualization framework designed to identify directional exhaustion, statistical overextensions, and conditions consistent with mean-reversion dynamics. It integrates three pillars into a single display: a composite momentum-normalized oscillator, a percentile-based extension model with volume contextualization, and a dynamic structural mapping engine built on confirmed pivots. The indicator does not generate signals or prescribe trade actions; it provides objective context so users can evaluate market balance and the likelihood that price is departing from its recent statistical baseline.
Core logic
The composite oscillator blends MFI on two horizons and RSI on HL2, then averages them to produce a stabilized mean-reversion gauge. Candle and bar colors are mapped by a dual gradient centered at 50. Readings above 50 progressively shift from neutral gray toward the bearish accent color to reflect increasing momentum saturation; readings below 50 shift from the bullish accent color toward gray to reflect potential accumulation or temporary undervaluation. This continuous mapping avoids rigid thresholds and conveys the strength and decay of momentum as a smooth spectrum.
The percentile-based extension model measures the persistence of directional bias by tracking how many bars have elapsed since the last opposing condition. These rolling counts are compared to the 80th percentile of their own historical distributions stored in arrays. When a current streak exceeds its respective percentile, the environment is labeled as statistically extended in that direction. Background shading communicates this information and is modulated by relative volume, computed as live volume divided by a blended average of SMA(30) and EMA(11). Higher opacity implies greater liquidity participation during the extension.
The structural mapping module uses confirmed pivot highs and lows at the chosen length to create persistent horizontal levels that extend forward and automatically maintain themselves until price invalidates or refreshes them. These levels represent market memory zones and assist in reading where reactions previously formed. The engine updates in real time, ensuring the framework continuously reflects the prevailing structure.
Standard deviation and z-score overlay
The updated version introduces a mean and dispersion layer. A simple moving average of HL2 over twice the length provides the reference mean. Dispersion is estimated as the moving average of the absolute deviation between close and the mean over five times the length. The z-score is computed as the distance of price from the mean divided by this dispersion proxy. Visual arrows highlight observations where the absolute z-score exceeds two standard deviations, offering a concise view of statistically unusual departures from the local mean. This layer complements the percentile extension model by adding an orthogonal measure of extremity based on distributional distance rather than run length.
Visualization
Candle bodies and borders inherit the oscillator’s gradient color, creating an immediate sense of directional pressure and potential momentum fatigue. The chart background activates when the extension model detects a statistically rare streak, using blue tones for bearish extension and red tones for bullish extension, with intensity scaling by relative volume. Horizontal lines denote active pivot-based levels, automatically extending, truncating, and refreshing as structure evolves. The z-score arrows appear only when deviations exceed the ±2 threshold, keeping the display focused on noteworthy statistical events.
Inputs and configuration
Length controls the sensitivity of all modules. Lower values make the oscillator and pivot detection more reactive; higher values smooth readings and widen structural context. Bullish and Bearish colors are user-selectable to match platform themes or accessibility requirements.
Interpretation guidance
A strong red background indicates an unusually extended bullish run in the presence of meaningful volume; a strong blue background indicates an unusually extended bearish run in the presence of meaningful volume. Candle gradients near deep bearish tones suggest oscillator readings well above 50; gradients near deep bullish tones suggest oscillator readings well below 50. Pivot lines mark the most recently confirmed structural levels that the market has reacted to. Z-score arrows denote points where price has moved beyond approximately two standard deviations of its local mean, signaling statistically uncommon distance rather than directional persistence. None of these elements are directives; they are objective descriptors designed to improve situational awareness.
Advantages
The framework is adaptive by design and self-normalizes to each instrument’s volatility and rhythm through percentile logic and dispersion-based distance. It is volume-aware, visually encoding liquidity pressure so that users can distinguish thin extensions from structurally significant ones. It reduces chart clutter by unifying momentum state, statistical extension, standard deviation distance, and structural levels into a single coherent view. It is asset- and timeframe-agnostic, suitable for intraday through swing horizons across futures, equities, FX, and digital assets.
Usage notes
MR Suite is intended for analytical and educational purposes. It does not provide trading signals, risk parameters, or strategy instructions. Users may employ its context alongside their own methodologies, risk frameworks, and execution rules. The indicator’s value derives from quantifying how unusual a move is, showing how much liquidity supports it, and anchoring that information to evolving structural references, thereby improving the clarity and consistency of discretionary assessment without prescribing actions.