UniMacro: Scalp Mod + AutoTrailing⚡ Don't guess the direction. Follow the "Market Driver".
The UniMacro Scalp is a specialized correlation-based indicator designed for scalping indices, specifically optimized for DAX (DE40/GER40) and its reaction to the US Market.
European markets often lag behind or mirror the strong moves of their US counterparts. This script mathematically identifies which US index (S&P 500, Dow Jones, or Nasdaq) is currently "driving" the price action and generates signals only when the correlation is statistically significant.
How It Works
The "Driver" Logic: The script monitors SPX500, US30, and NAS100 in real-time. It automatically detects which index has the highest correlation with your current chart (e.g., DAX).
Signal Filter: Trades are only taken if:
The Correlation Coefficient is > 0.80 (Strong Link).
The "Driver" index is trending (Above/Below SMA 50).
Scalping Risk Management: The indicator comes with built-in ATR-based SL/TP settings tuned for quick scalps (tight stops, quick profits).
Auto-Trailing: Includes an automatic Trailing Stop that activates instantly to lock in profits during volatility spikes.
The Dashboard
A compact table in the top-right corner displays:
Real-time correlation with US Indices.
Highlights the current "Driver" (Green = Strong Correlation).
Best Setup for DAX
Asset: DAX (GER40 / DE40), UK100, or CAC40.
Timeframe: 1m or 5m (Scalping Mode).
Settings: Default settings are tuned for high volatility. Adjust the Correlation Period to 10-15 for even faster reactions on the 1-minute chart.
Risk Warning: This is a scalping tool based on historical correlations. Correlations can break during news events. Use with proper risk management.
👇 Boost this script if you trade the Open! 🚀
Indicadores y estrategias
Bob's Whale Hunter - V7 (Jorge's Algo)Trade like a whale, not the bait.
The Whale Hunter V7 is a high-performance toolkit specifically engineered for traders following Smart Money Concepts (SMC) and Institutional Price Action. This indicator automates the identification of high-probability zones based on the AMD (Accumulation, Manipulation, Distribution) cycle.
🚀 Key Features:
Institutional Liquidity Sweeps: Automatically detects liquidity grabs at key highs and lows. These are the exact spots where institutional "whales" enter the market by triggering retail stop losses.
Dynamic Fair Value Gaps (FVG): Highlights market imbalances that act as price magnets. This allows you to time your entries during the "rebalance" with surgical precision.
Multi-Timeframe Dashboard (HTF Matrix): A real-time panel showing the Macro bias (4H) versus the Entry trend (15m). Stay aligned with the higher-timeframe order flow at all times.
Elite Market Structure: An institutional-grade trend filter that shifts color based on market dominance, helping you distinguish between a deep retracement and a true trend reversal.
🛠 How to Trade it (The Institutional Checklist):
Macro Alignment: Check the Dashboard. If 4H is green, look for buy setups only. Never trade against the "Big Money" flow.
Identify the Sweep: Wait for the triangle signal (Sweep). This confirms that liquidity has been cleared and the "Manipulation Phase" is likely complete.
The Trigger (FVG): Once a Break of Structure (ChoCH) occurs after the sweep, look for entries within the highlighted FVG boxes that align with your OTE (Optimal Trade Entry) Fibonacci levels.
Targeting: Aim for the opposing liquidity pools or the next institutional level identified by the script.
"Trading is a game of probabilities. Follow the footprints left by the giants."
WaveTrend Oscillator Lite [SolQuant]The WaveTrend Oscillator Lite indicator provides single-timeframe WaveTrend momentum analysis with overbought and oversold zone detection. It displays the core WT1/WT2 oscillator lines with color-coded gradient fills, making it easy to identify momentum extremes at a glance.
This is the free version of WaveTrend Oscillator , offering the core oscillator engine on a single timeframe without the multi-timeframe overlays, chart signals, alignment stars, or dashboard available in the full version.
█ USAGE
Reading the Oscillator
Two WaveTrend lines (WT1 and WT2) oscillate around a zero line. When WT1 is above WT2, momentum is bullish (default: blue). When below, momentum is bearish (default: magenta). A gradient fill extends between the lines and toward zero, providing an intuitive visual cue of momentum strength and direction.
Extreme Zones
When either WT line crosses above the overbought level, the lines turn red and a red fill highlights the extreme zone. When below the oversold level, the lines turn green with a green fill. These extreme readings indicate potential reversal areas where momentum has stretched to unsustainable levels.
█ DETAILS
The WaveTrend oscillator is calculated in three steps:
1 — An EMA of the typical price (HLC3) is computed over the channel length
2 — The absolute deviation from this EMA is smoothed with another EMA
3 — The normalized difference (CI) is smoothed with an EMA of the average length to produce WT1, and a simple SMA of WT1 produces WT2
█ SETTINGS
• Channel Length: EMA period for the price channel (default: 10).
• Average Length: EMA period for final smoothing (default: 21).
• Over Bought Level 1 / 2: Upper threshold levels for extreme zone detection (default: 60 / 53).
• Over Sold Level 1 / 2: Lower threshold levels for extreme zone detection (default: -60 / -53).
This indicator is an oscillator-based tool and does not constitute financial advice. Overbought and oversold conditions do not guarantee reversals. Past performance does not guarantee future results.
VWAP Trader NXiThe VWAP (Volume-Weighted Average Price) is a technical indicator that calculates the average price of a security based on price and volume. It serves as a key benchmark for intraday trends for day traders: If the price is above it, the market is considered bullish; below it, bearish. The VWAP is usually recalculated daily to find fair entry or exit points. Key facts about the VWAP: Calculation: (Sum(Price) × Volume) / Total Volume). Application: Particularly popular in day trading to identify intraday trends and as a "fair value." Comparison to the Moving Average: Unlike the simple moving average (MA), the VWAP weights trading volume, making it more reliable during strong trending phases. Interpretation: If the price is above the VWAP line, this indicates an upward trend. including a downward trend. Anchored VWAP: Allows the calculation to be started at any point (e.g., a significant high or low) instead of automatically at the market open. Many institutional traders use VWAP to execute large orders in a way that minimizes their impact on the market price.
My setup:
Reverse setup = VWAP is telling your if price is cheap or expensive. Buy after price reverses in discount zone and sell when price in Premium zone. I use big trade as a combination in ATAS to see stop buy/stop sell order.
Trend following = VWAP has a 0.0 center line. This can be use as Resistance or Support. I use trend VWAP with IB (initial balance) zone to determine buy or sell upportunity.
Visit us and more:
www.tradernxi.com
Initial Balance Trader NXiIB (Initial Balance) can be trade at IBL or IBH. My setup based on 30min IB zone. This strategy can be trade in GOLD, SP500 or Currencies etc. Can be combine with VP (Volume profile)
Visit us for more:
www.traderxi.com
Retail Stop-Loss PredictorThe Psychology of Retail Stop-Loss Placement
The "Safe" Buffer Trap
Retail traders are taught to find a recent high or low and place their stop "just a few pips away" to avoid being wicked out.
The Reality: Institutions know exactly where these "buffers" are. They look for clusters of these orders to create the volume they need to fill their large positions.
The Indicator Solution: The SL Predictor automatically calculates these clusters by identifying "Pivots" and applying a Buffer Offset to show the actual zone where the "pain" is felt.
2. Detailed Description of the SL Predictor
A. Multi-Timeframe (MTF) Anchoring
The indicator doesn't just look at your current chart. It "anchors" zones from Higher Timeframes (HTF) like the 4-Hour or Daily.
Why it matters: A stop-loss cluster on a 1-minute chart is a "speed bump." A stop-loss cluster on a Daily chart is a Liquidity Ocean.
Visuals: These zones are drawn as shaded boxes that stay locked to the candle index, ensuring they don't move or repaint when you scroll.
B. Round Number "Magnet" Logic
Retailers have a psychological bias toward Round Numbers (e.g., $100.00, $1.2500).
The Feature: The script identifies these psychological levels and marks them as secondary stop-loss zones. Institutions often "front-run" these levels or sweep them entirely to trigger mass liquidations.
C. Mitigation & Clearing
Once price enters a predicted stop-loss zone, the indicator changes the color to gray or removes the label.
What this means: The "Fuel" has been used. The stops have been triggered. The market has found the liquidity it was looking for and is now ready to reverse or move to the next "pool."
3. Best Use Case: The "Liquidity Hunt" Strategy
Step 1: Identify "Engineered" Liquidity
Look for Equal Highs (Double Tops) or Equal Lows (Double Bottoms). Retailers see these as "Strong Resistance/Support" and pile their stops behind them.
The Indicator: Will highlight these areas with a Red (Short Stops) or Green (Long Stops) shaded box.
Step 2: Wait for the "Stop Run"
Do not enter a trade when price is inside the zone. Wait for price to pierce the zone and then show a sign of rejection (like a long wick).
Institutional Secret: This is the moment the "Smart Money" has finished buying from the retail sellers or selling to the retail buyers.
Step 3: Execution (The "Reverse" Entry)
Once the "Probable Stop" label disappears or the zone turns gray:
Short Entry: If price swept a Red Zone and closed back below it.
Long Entry: If price swept a Green Zone and closed back above it.
Target: The Opposite stop-loss zone. You are trading from one pool of retail "fuel" to the next.
[src] [uxo, @envyisntfake] accurate strike -> futures conversioni accidetnally clicked protected script and not open source the script lolololol
no trader should ever fear a tool that they rely on to be hidden unless its a niche concept
check out @envyisntfake discord / github, i used his convertor as a base, i only improved the porting to make this live, and added smoothing to make the conversions better rather than manually inputting it into his calculator
Sessions [LuxAlgo & TrendRiderIO]Visualize and track trading sessions with customizable ranges, VWAP bands, and high/low levels. Enhanced version of LuxAlgo's Sessions indicator.
Track up to 3 customizable trading sessions (NY, London, Tokyo) with session range boxes, session-specific anchored VWAP with standard deviation bands, and high/low extension lines for the last 3 completed sessions. Includes peak hours visualization, session overlap highlighting, and breach alerts with direction indication.
Perfect for identifying key support/resistance levels, analyzing session strength, finding entry/exit points, and breakout trading.
License: CC BY-NC-SA 4.0 | Based on work by @LuxAlgo, enhanced by TrendRiderIO.
Daily RVOL (Raw) SMA/EMA + Surge Marker - TP## Daily RVOL (Raw) SMA/EMA + Surge Marker (TP)
This indicator helps you spot **unusual institutional-style participation** by measuring **Daily Relative Volume (RVOL)** and highlighting **sudden RVOL “surges”** compared to the prior day.
### What it shows
**RVOL (raw)** is a ratio:
**RVOL = Today’s Daily Volume ÷ Average Daily Volume (lookback)**
* **1.00x** = normal volume
* **1.50x** = ~50% above normal
* **2.00x** = ~2x normal
The “Average Daily Volume” baseline can be calculated using either:
* **SMA** (simple average), or
* **EMA** (faster-reacting average)
The baseline uses **completed daily bars only**, so it won’t be distorted by a partially completed day.
### Surge Marker (Circle)
The circle prints when **today’s RVOL jumps significantly vs yesterday’s RVOL**:
**RVOL Surge % = (RVOL Today ÷ RVOL Prev − 1) × 100**
So if your surge threshold is **80%**, the circle triggers when:
**RVOL Today ≥ 1.80 × RVOL Prev**
This is meant to detect **volume acceleration**—not just “high volume,” but a **step-change** in participation.
### How to use it (in plain English)
Think of RVOL as a **crowd-size meter**, and the surge circle as a **“big money showed up today”** alert.
It does **not** directly label buy vs sell—it highlights **participation**. Direction comes from price action and context.
### Bullish vs Bearish clues (price + volume together)
Use the circle as a clue, then read the candle and key levels:
**Potential bullish signs**
* Breakout/reclaim of resistance + surge circle (strong confirmation)
* Strong up day (wide range, closes near highs) + surge circle
* **High volume down-close that *does NOT* break lower lows** (holds support)
→ Often means selling pressure was absorbed and price held the line. This can be a **bullish “support/absorption” tell**, especially if the next day confirms with strength.
**Potential bearish signs**
* Breakdown below support + surge circle (distribution confirmation)
* Rejection at resistance on surge circle (supply showing up)
* **High volume up-close that *fails to make higher highs* / can’t push through resistance**
→ Often suggests buying effort was met by strong supply (selling into strength). This can be a **bearish “stall/failure” tell**, especially if the next day confirms with weakness.
### Suggested settings
* **RVOL Length:** 20 is a solid default
* **SMA vs EMA:**
* SMA = smoother baseline
* EMA = reacts faster to recent volume changes
* **Surge Threshold:**
* **80–150%** = rare “shock” participation (fewer, stronger signals)
* **40–80%** = balanced signals
* **10–40%** = more signals, more noise
### Best practice
Use RVOL + surge circles as **confirmation**, not a standalone entry/exit:
* Combine with trend, support/resistance, and candle structure.
* The surge circle says **“participation surged”**—price action tells you **whether it’s accumulation (support) or distribution (supply).**
*(Educational use only. Not financial advice.)*
Session LinesSession Lines is an intraday indicator that marks global trading sessions and their key levels. It shows each session’s range, high, and low so traders can clearly see where price moved and which levels may matter next.
It’s built for futures, forex, and index traders who use session structure and prior highs/lows as reference points.
Draws a box around each session’s price range
Fully customizable session names, times, timezones, and colors
Supports up to three sessions (commonly Tokyo, London, and New York)
Session Information (Optional)
Session range displayed in ticks
Average price for the session
Session name label inside the box
Session Open & Close
Optional dashed lines marking session open and close
Useful for tracking acceptance and rejection during the session
Session High & Low Levels
Live High / Low Tracking
Tracks the session high and low as price develops
Lines update in real time during the session
Extended High / Low Lines
After a session ends, its high and low can be extended forward
Extension length is adjustable in days
Helps identify common reaction and liquidity levels
High / Low Labels
Optional labels for each session’s high and low
Can be shown live or only after the session finishes
Adjustable text size and horizontal offset
Intended Use
Marking Asia, London, and New York ranges
Watching reactions to prior session highs and lows
Using session ranges as context for breakouts or reversals
Keeping key intraday levels on the chart without manual drawing
HTF Ghost Candles + SMTBroken Indicator that shows HTF candles to the right. We have SMT integrated that also includes the SMT on the HTF ghost candles. Feel free to check out my other indicators.
stelaraX - BSL/SSL LiquiditystelaraX – BSL/SSL Liquidity
stelaraX – BSL/SSL Liquidity is a technical analysis indicator that identifies and tracks buy-side and sell-side liquidity levels based on swing highs and swing lows. The script uses pivot detection to mark potential liquidity pools, then monitors price action to highlight when those levels are swept.
The indicator is designed to visualize liquidity as either lines, zones, or both, and to keep the chart clean through configurable level limits and optional extensions.
Core logic
Swing highs and swing lows are detected using ta.pivothigh and ta.pivotlow with a user-defined swing length.
Each detected swing high creates a BSL level, and each detected swing low creates an SSL level.
For every created level, the script stores:
* the price
* the bar index where the swing formed
* sweep status and sweep bar
* optional drawn objects (line, zone box, label)
A level is considered swept when:
* BSL is swept if high trades above the stored swing high price
* SSL is swept if low trades below the stored swing low price
When a sweep occurs, the corresponding visuals are updated to a “swept” style (higher transparency and dashed line), and the level is stopped/closed at the sweep bar.
Display and styling
The indicator supports three display modes:
* Lines: horizontal liquidity lines
* Zones: rectangular zones with adjustable width in percent
* Both: lines and zones together
Additional options:
* extend levels forward by a fixed amount if not swept
* show labels at creation (BSL / SSL)
* optional swept marker at the sweep bar
* customizable colors for active and swept states
* maximum number of levels to keep on chart (older levels are removed automatically)
Dashboard
An optional dashboard summarizes:
* total BSL levels and swept BSL levels
* total SSL levels and swept SSL levels
* sweep rate percentages for both sides
The dashboard position and text size are configurable.
Alerts
The script provides:
* alert conditions for new BSL and SSL levels (new pivot high / new pivot low)
* optional real-time alert messages when a sweep is detected (BSL swept or SSL swept)
Disclaimer
This indicator is intended for technical analysis purposes only and does not provide financial advice or trade recommendations. Trading decisions and risk management remain the responsibility of the user.
HA EMA10.30 Pullback, Trend Bias, No ConsolidationThis script is a trend-bias + entry signal indicator built around the Heikin-Ashi pullback strategy you shared.
It does three main jobs:
Decides the market bias (LONG only, SHORT only, or NO TRADE)
Filters out consolidation / chop
Signals entries only when momentum aligns
RSI Primed [ChartPrime] with AlertRSI Primed with Alert
Signal alert functionality added to the original version. Signal logic is as follows:
1. Uses EMA100 slope to filter trend direction
2. During EMA100 bullish trend, triggers oversold zone alert when RSI-MA turns in the oversold zone, consider buying the pullback;
3. During EMA100 bearish trend, triggers overbought zone alert when RSI-MA turns in the overbought zone, consider shorting the bounce;
4. Signal alerts are for reference only to improve chart monitoring efficiency. Not recommended for direct entry conditions - should be considered in conjunction with other factors.
RSI Primed with Alert
在原版基础上增加信号警报功能,信号逻辑如下:
1. 使用EMA100的斜率来过滤趋势方向
2. EMA100多头趋势时,RSI-MA在超卖区拐头时发出超卖区警报,可以考虑回调做多;
3. EMA100空头趋势时,RSI-MA在超买区拐头时发出超买区警报,可以考虑反弹做空;
4. 信号警报仅作为提高盯盘效率的参考,不建议直接用于入场条件,需参考其他条件综合考虑。
Anchored VWAP (2 anchors)Allows you to set two anchors to get an anchored VWAP. I personally use this in my swing trading. For example,
Set one anchor to the base of wave 2, and another to the top of wave 3.
Set one anchor to a previous major support, and another to a previous/current major high
What to anchor to (ranked)
1. Major impulse low (start of the trend you’re trading)
2. Earnings gap / news expansion
3. High-volume short squeeze pivot
4. All-time high / major swing high (for distribution analysis)
Mine Shaft + Drift + Ore Pocket Detector (Gap+Touch)Mine Shaft + Drift + Ore Pocket Detector (Gap+Touch) — Full Description (v1.6.1, Pine v6)
*Experimental - *Test Phase*
1) What this indicator is intended to do
This indicator attempts to algorithmically discover “mine shaft” price structure on a chart by:
Collecting structural anchor points (gaps and optionally pivots),
Generating candidate trend “rails” (centerline + parallel upper/lower borders) from pairs of anchors,
Fitting an optimal channel width around each candidate centerline,
Scoring candidates based on how well price action conforms to the channel (touches + containment),
Selecting and rendering:
the main shaft channel (primary),
additional drifts (secondary shafts per direction),
And then detecting Ore Pockets: time locations where multiple selected lines intersect (time confluence / intersection clustering).
The conceptual model is:
A shaft = a best-fit channel that price respects over time (the “main tunnel”).
Drifts = alternate channels close in quality to the main shaft (secondary tunnels).
Ore pockets = future/past time coordinates where multiple channels’ centerlines intersect densely (confluence in time, not necessarily in price).
2) What it is doing right now (current behavior)
In its current form, the script does a bounded, performance-limited scan:
It stores a limited number of anchor points in arrays.
It only considers a bounded number of recent anchors per direction.
It constructs candidate lines from anchor pairs and evaluates channel fitness using sampled bars.
On the last bar, it selects top candidates per direction and draws:
a “main” channel per mode (single best overall, or separate up/down),
plus optional drift channels,
plus ore pocket markers.
It is producing meaningful channels and drifts, but it is currently more likely to lock onto a strong “local” shaft than the one macro shaft spanning the entire market structure.
3) Core mechanics (how the script finds shafts)
3.1 Anchor generation (what points it uses)
Anchors are the “support points” used to build candidate shaft centerlines.
Two anchor families are supported:
A) Gap anchors (from your selected gap mode)
These attempt to capture “displacement events” and their boundaries/mids.
B) Pivot anchors (optional structural anchors)
These use pivots to inject macro structure points that are not strictly gap-based.
All anchors are stored as:
anchorX: bar_index of anchor
anchorY: price of anchor
anchorD: direction flag (+1 for up, -1 for down)
Anchors are capped by maxAnchors with FIFO trimming.
3.2 Candidate generation (how it produces centerlines)
For each direction (+1 and -1):
Collect “recent” anchors of that direction within lookbackBars (bounded to maxDirAnchors).
For each pair of anchors (x1,y1) and (x2,y2) that satisfy:
spacing within ,
slope sign consistent with direction,
Construct the line equation:
slope m and intercept b
Fit a channel width w around that line (via width mode).
Score it (touches + inside count minus width penalty).
Keep the top K rails (K = driftCount+1 typically).
3.3 Scoring model (what “best” means right now)
For a candidate centerline:
At sampled bars (stride sampling), compute:
channel top = y(x) + w
channel bot = y(x) - w
Evaluate:
Inside: candle range fits within the channel ± tolerance
Touches: high near top border, low near bottom border (within tolerance)
Score formula:
score = insideCount * insideWeight
+ touchCount * touchWeight
- (w / ATR) * widthPenalty
So:
Higher inside and touch counts increase score
Wider channels are penalized (in ATR units) to avoid “cheating” via enormous width
3.4 Width fitting (how the channel thickness is chosen)
Width is either:
Fit (scan widths): scans widths between a min width and a max deviation cap and selects the best scoring width.
Fixed ATR Envelope: uses a fixed width derived from ATR (currently hard-coded to a 2.0 ATR envelope in your present draft).
Fixed Max Deviation: width is max observed deviation from line in sampled window.
This matters because “macro shaft” detection is strongly influenced by whether the width-fitting is allowed to expand enough to contain large historical moves, without being penalized into losing to a smaller local shaft.
3.5 Rendering (what gets drawn)
For any selected rail, it draws:
Upper border line (top rail)
Lower border line (bottom rail)
Optional centerline (main only)
Optional fill between borders (main only)
Label at current bar with touches and inside count
Drifts render similarly but without main-only features (depending on flags).
3.6 Ore Pocket detection (time confluence)
Ore pockets are not “price zones” directly.
They are computed as follows:
Collect selected centerlines (m,b) for:
the main selected shaft(s),
and all drift centerlines (both directions if present)
For each pair of selected lines, compute intersection x-coordinate:
x* = (b2 - b1) / (m1 - m2)
Only keep intersections within:
Cluster intersections by time proximity (clusterBars)
Mark the strongest clusters (highest counts) as “Ore Pocket” vertical dotted lines with labels.
Interpretation:
A dense cluster indicates many selected rails converge around a similar time coordinate.
It is a “time confluence” hypothesis point.
4) Full settings reference (what each setting is for)
01) Gap Anchors
Gap Mode
FVG (3-candle)
Uses a classic 3-candle fair value gap pattern:
Up gap if low > high
Down gap if high < low
Anchors are derived from the gap boundaries.
Candle Gap (open-close)
Gap based on open vs close of the same bar with a tick threshold.
Candle Gap (open-prev close)
Gap based on open vs close with a tick threshold.
Gap Threshold (ticks)
Only used for the candle gap modes.
Controls the minimum gap size required to register an anchor.
Anchor Price
Boundary: anchors at one gap boundary (more “structural edge”)
Mid: anchors at midpoint of the gap (more “center of displacement”)
Include Pivot Anchors (structure)
When enabled, adds pivots as additional anchors to stabilize macro detection.
Pivot Length
Pivot sensitivity (how many bars left/right define a pivot).
Larger values = fewer, more structural pivots.
02) Channel Fit + Touch Scoring
Lookback Bars
The historical window used to:
filter which anchors are considered “recent enough”
evaluate channel fitness (sampled evaluation)
Larger lookback tends to favor macro shafts, but also increases computational risk (mitigated by evalBars and stride).
ATR Length
ATR period used for tolerance and width penalty scaling.
Tolerance (ATR mult)
Defines how close price must be to a rail to count as “touch” and how strict the “inside channel” containment is.
Higher tolerance = easier to score high on touch/inside.
Min Border Touches (keep rail)
Minimum number of border touches required before a candidate is even eligible.
Score: Inside Weight
Weight of inside count in score.
Score: Border Touch Weight
Weight of border touches in score.
This is a strong driver of “shaft-like” behavior.
Score: Width Penalty (in ATRs)
Penalizes wide channels relative to ATR.
Higher penalty biases toward narrow/local shafts.
03) Performance Controls
Max Stored Anchors (global)
Maximum anchor points kept in memory arrays.
Too low can cause loss of macro structure; too high increases candidate noise.
Max Anchors / Direction (scan)
Hard cap on how many anchors are used in candidate generation per direction.
Critical: this strongly influences whether macro shaft can be found, because if you only keep the most recent anchors, you lose the early-structure anchor points.
Eval Bars (max)
Maximum historical bars actually evaluated for scoring.
Even if lookbackBars is large, evaluation is capped here.
Eval Stride (sample every N bars)
Sampling step for evaluation.
Larger stride = faster but less accurate scoring.
04) Candidate Generation
Min Anchor Spacing (bars)
Minimum distance between the two anchors used to define a candidate line.
Prevents micro-noise lines from being evaluated.
Max Anchor Spacing (bars)
Maximum distance between the two anchors used to define a candidate line.
If this is too low, you cannot generate truly macro candidate lines.
05) Shaft + Drift Display
Main Shaft Mode
Best Overall (Single Shaft): chooses one best rail among Up/Down and draws it as main.
Up Only: show only the best upward rail.
Down Only: show only the best downward rail.
Up + Down: show both main up rail and main down rail simultaneously.
Show Ascending Shaft
Toggles rendering for the “up” main shaft (when mode allows it).
Show Descending Shaft
Toggles rendering for the “down” main shaft (when mode allows it).
Drifts per Direction
Number of additional top-ranked rails to draw per direction (after the best one).
Extend Lines
Right: extend lines to the right only.
Both: extend both left and right.
Fill Main Shaft Channel
Fill between upper and lower borders for main shaft.
Main Shaft Fill Transparency
Transparency level for main fill.
Show Main Shaft Centerline
Draw the dashed centerline for the main shaft.
06) Ore Pocket (Intersection-Time Confluence)
Show Ore Pockets (Time Confluence)
Enables ore pocket discovery and rendering.
Intersection Window Forward (bars)
How far into the future intersections are considered.
Intersection Window Backward (bars)
How far into the past intersections are considered.
Cluster Radius (bars)
How close in time intersections must be to merge into a cluster.
Min Intersections per Cluster
Minimum cluster count required before a pocket is shown.
Max Pocket Markers
Limit how many pocket clusters are drawn.
07) Visual Controls
Show Gap Anchors
Displays the gap anchor dots for debugging.
Show Pivot Anchors
Displays pivot anchor dots for debugging.
5) How to use it (practical workflow)
Step A — Confirm anchor behavior
Turn on Show Gap Anchors.
Choose your Gap Mode.
Verify you are seeing anchors where you expect (displacement boundaries).
If anchors are sparse:
Reduce gap threshold (ticks) for candle-gap modes
Enable pivots to inject structure
Increase lookbackBars and maxAnchors so early anchors are not dropped
Step B — Get stable main shaft candidate discovery
Enable Include Pivot Anchors with a medium pivotLen.
Use Fit (scan widths) initially.
Increase Max Anchors / Direction (scan) so you’re not only using recent anchors.
Increase Max Anchor Spacing so macro pairs are eligible.
If you keep getting only local shafts:
That is usually because the candidate pool does not include enough old anchors, or the maxSpacing prevents long-span lines.
Step C — Tune scoring so the “whole-structure” shaft wins
If the script picks a small local channel instead of the macro channel:
Increase insideWeight relative to touchWeight (macro channels tend to contain longer structure even with fewer perfect “touches”)
Reduce widthPenalty, because macro channels may need to be wider to accommodate historical volatility
Increase lookbackBars and evalBars to make “whole-structure fit” matter
Step D — Drifts as secondary shafts
Once main shaft is good:
Increase Drifts per Direction
Validate that drifts represent meaningful alternate sub-shafts rather than noisy duplicates.
If drifts look too similar:
This is expected if many candidates differ only slightly; future refinements should diversify drift selection (see “what still needs done”).
Step E — Ore pockets interpretation
Ore pockets indicate time confluence of multiple rails.
Use them as:
“Time windows to watch”
Not as deterministic price levels
Tune:
clusterBars (cluster tightness)
minClusterSize (signal strength)
6) What still needs done (explicit backlog)
The macro “main mining shaft channel” spanning the entire market structure, and
Smaller shafts/drifts nested inside the macro structure.
To accomplish that, the current algorithm needs additional architecture. Concretely:
A) True multi-scale / hierarchical discovery (primary missing feature)
Right now: one pass, one lookback, one score objective.
Still Needed:
Macro pass: discover a primary shaft using a very long evaluation window and anchor set.
Micro pass(es): discover drifts/secondary shafts using:
residuals (distance from macro centerline),
or segmented time windows (regime partitions),
or anchor subsets constrained to local regions.
This is the single biggest reason we are not consistently getting the full-structure shaft.
B) Anchor retention strategy for macro detection
Right now:
anchors are FIFO capped and direction scanning uses “recent anchors only.”
To reliably find 10-year shafts we need:
an option to store/retain representative anchors across the entire history, not only the most recent ones.
Examples of necessary improvements:
“Stratified anchor sampling” across time (keep some old anchors even when maxAnchors is hit)
“Macro anchor bank” (separate storage for pivots or major gaps)
C) Candidate generation constraints must support macro lines
If we want a shaft spanning the whole structure:
maxSpacing must allow it
the candidate pool must contain anchors far apart in time
So the algorithm needs:
better selection of anchor pairs for long-span candidates (e.g., include earliest/oldest anchors + newest anchors deliberately, not accidentally)
D) Drift diversification
Right now drifts are “next best by score,” which often yields near-duplicates.
We want:
“diverse” secondary shafts:
enforce minimum angular difference,
enforce minimum offset difference,
or penalize candidates too similar to the already-selected shaft.
E) Width fitting logic for macro channels
Macro channels often require:
either a higher width cap,
or a different penalty profile.
Current width penalty is simple and can bias against macro channels.
Needed:
width penalty that scales by timescale or by total evaluated bars,
or separate macro/micro scoring.
F) Ore pocket semantics enhancement (optional but aligned)
Currently pockets are time intersections only.
If you want “pocket zones,” improvements could include:
projecting intersection price and drawing a zone box,
clustering in (time, price) space instead of only time,
adding “importance” weighting based on which lines intersect (macro line intersections weighted higher).
7) Known limitations (current version)
Heavy compute only runs on last bar (good for performance), but means:
changes in anchors/parameters can reselect rails abruptly
Candidate set is bounded; macro shaft can be missed if not in pool
Drift selection can be redundant
Ore pockets are time clusters, not price clusters
QuantumPips Session Trend StructureQuantumPips Session Trend Structure is an indicator built to help you read session structure and spot higher-quality breakout → retest opportunities when trend and momentum conditions agree.
It does three main things:
Maps sessions (Asia / London / New York) with live High/Low boxes
Adds trend direction using EMA bias (50/200 + optional slope)
Prints BUY/SELL labels only after a clean breakout + retest sequence, optionally filtered by volume, range expansion (ATR), and candle body strength
Educational tool only — not financial advice. Always manage risk.
What you’ll see on the chart
Session boxes (structure)
The indicator draws a box for each session and updates the session High/Low while the session is active.
Default settings (Timezone Europe/London):
Asia: 00:00–09:00
London: 08:00–17:00
New York: 13:00–22:00
Optional: vertical dotted lines at session starts.
EMA bias (direction)
Two EMAs are plotted:
EMA Fast (50)
EMA Slow (200)
Bias is:
Bullish: EMA50 above EMA200 (and optionally EMA50 rising)
Bearish: EMA50 below EMA200 (and optionally EMA50 falling)
This is designed to reduce counter-trend signals.
The core idea (simple)
Each major session often reacts to the previous session’s range.
This script uses that concept by selecting a reference range:
During London, reference = Asia High/Low
During New York, reference = London High/Low
During Asia (optional), reference = New York High/Low
The panel shows Ref Range, which is just:
Ref Range = Reference High − Reference Low
Signal logic: Breakout → Retest (with confluence)
A signal is only considered when you are inside a session you enabled (Asia/London/NY toggles).
BUY (Long)
Trend bias is Bullish
Price closes above the reference High (breakout)
Price returns to retest near the broken High (ATR tolerance)
Optional: retest candle must close back up (confirm-close)
Optional confirmations pass (volume / expansion / body)
SELL (Short)
Trend bias is Bearish
Price closes below the reference Low (breakout)
Price returns to retest near the broken Low (ATR tolerance)
Optional: retest candle must close back down (confirm-close)
Optional confirmations pass (volume / expansion / body)
This approach is meant to avoid “first-touch” entries and focus on structured moves.
Filters (optional, but useful)
Volume Spike Filter
Requires elevated participation:
volume ≥ SMA(volume) × multiplier
(Volume varies by market/data feed; use discretion on symbols where volume is not meaningful.)
Range Expansion Filter (ATR)
Requires a candle with enough “energy” to avoid weak breakouts:
(high − low) ≥ ATR × range multiplier
Strong Body Filter (optional)
Filters wick-heavy candles around key levels:
body % of candle range ≥ threshold
Side Panel (Top Right) — how to read it
Session
Shows the active session: Asia / London / New York / Off
EMA Bias
Shows: Bullish / Bearish / Neutral
Ref Range
Shows the size of the reference session range being used for the current session:
London uses Asia range
NY uses London range
Asia (optional) uses NY range
Volume
Shows status of the volume filter:
High = passes
Normal = fails
Off = filter disabled
Expansion
Shows status of the ATR expansion filter:
Yes = passes
No = fails
Off = filter disabled
Body
Shows status of the strong-body filter:
Yes = passes
No = fails
Off = filter disabled
Confluence Example
Recommended starting settings
If you want fewer, higher-quality setups:
Enable London + New York
Keep EMA bias ON
Volume filter ON (1.2–1.5×)
Expansion ON (0.8–1.0× ATR)
Body filter optional (0.55–0.70)
Confirm-close ON
If you want more signals:
Lower volume multiplier (1.1–1.2×)
Lower expansion (0.6–0.8× ATR)
Body filter OFF
Best timeframes (TF) to use
Best overall: 5m, 15m, 30m
Best Pairs for Sessions: EURUSD, GBPUSD, GBPJPY, USDJPY, XAUUSD
S21 SETUP! by TophengzkyThis script is intended only for a specific strategy or set up! Only to be use by Lightning Strategy Group T3 Snipers!
It was developed for us to make our trading strategy handy and easily to navigate and execute our set ups!
Moonboys BTC Liquidation Heatmap═════════════════════════════════════════════════════════════
MoonBoys BTC LIQUIDATION HEATMAP
═════════════════════════════════════════════════════════════
Visualize high-probability liquidation zones across Bitcoin futures markets using multi-exchange data and algorithmic pivot detection.
═══ OVERVIEW ═══
This indicator tracks where leveraged positions cluster and highlights areas where cascading liquidations are likely to occur. By combining Open Interest data from major exchanges with volume-weighted pivot analysis, it shows you where the market's leverage is stacked before price gets there.
Perfect for:
• Anticipating volatility zones
• Identifying potential reversal areas
• Avoiding stop-hunt regions
• Confirming breakout/breakdown levels
═══ KEY FEATURES ═══
🎨 HEAT-MAPPED LIQUIDATION ZONES
└─ Green zones = Long liquidations (below price)
└─ Purple zones = Short liquidations (above price)
└─ Color intensity = Volume significance
⚡ SMART SIGNIFICANCE DETECTION
└─ Top 30% of levels automatically highlighted
└─ Lightning bolt icon (⚡) marks critical zones
└─ Enhanced with borders, brighter colors, and bold labels
└─ Weak levels stay subtle to reduce noise
📊 MULTI-EXCHANGE DATA
└─ Binance Futures Open Interest
└─ Bybit Futures Open Interest
└─ Coinbase Spot Volume
└─ Toggle exchanges individually
🕐 MULTI-TIMEFRAME COMPATIBLE
└─ Works on all timeframes: 1m to Monthly
└─ Auto-adjusts filters and aggregation per timeframe
└─ Consistent performance across different chart scales
🎯 CLEAN VISUAL DESIGN
└─ Labels positioned right of chart (off candles)
└─ Connector lines show which label belongs to which zone
└─ Hit levels fade automatically
└─ Only active zones are labeled
═══ HOW TO READ IT ═══
┌─────────────────────────────────────────────────────────┐
│ ZONE TYPE │ MEANING │
├─────────────────────────────────────────────────────────┤
│ 🟢 Green (below) │ Long liquidation cluster │
│ │ → Potential bounce/support zone │
├─────────────────────────────────────────────────────────┤
│ 🟣 Purple (above)│ Short liquidation cluster │
│ │ → Potential rejection/resistance │
├─────────────────────────────────────────────────────────┤
│ ⚡ With icon │ Top 30% most significant levels │
│ │ → Higher probability of reaction │
└─────────────────────────────────────────────────────────┘
═══ TRADING APPLICATIONS ═══
📈 TREND CONTINUATION
→ Price rejects from liquidation zone = trend strength
→ Watch for bounces at green zones in uptrends
→ Watch for rejections at purple zones in downtrends
🔄 REVERSAL SETUPS
→ Price diving into dense liquidation clusters
→ Heavy volume + liquidation zone = potential turning point
→ Combine with momentum divergence for confirmation
⚠️ RISK MANAGEMENT
→ Avoid entries near untouched significant levels
→ High probability of stop hunts and slippage
→ Wait for price to sweep and confirm before entry
🧩 CONFLUENCE TRADING
→ Layer with support/resistance
→ Combine with volume profile nodes
→ Use alongside order flow indicators
→ Validate with moving averages or trend tools
═══ SETTINGS GUIDE ═══
📡 DATA FEEDS
├─ Binance Futures OI: Toggle Binance data
├─ Bybit Futures OI: Toggle Bybit data
└─ Coinbase Spot Vol: Toggle Coinbase data
🔍 LIQUIDATION DETECTION
├─ Lookback Bars (100-2000): Historical scan range
├─ Pivot Width (1-20): Detection sensitivity
│ └─ Higher = fewer, stronger levels
├─ Target Leverage Tier: Distance from pivot
│ ├─ 25x-50x: 2-4% zones
│ ├─ 50x-100x: 0.8-2% zones (default)
│ └─ 100x+: 0.3-0.8% zones
├─ Min Activity Filter: Remove weak signals
└─ Extend Levels (0-200): Project zones forward
🎨 VISUAL OPTIONS
├─ Long/Short Colors: Customize zone colors
├─ Heat Contrast (0.1-3.0): Intensity scaling
├─ Significance Threshold (0.3-0.95): Top % to highlight
├─ Touched Transparency: Fade amount for hit levels
└─ Label Offset: Distance from chart edge
═══ HOW IT WORKS ═══
1. PIVOT IDENTIFICATION
Scans historical data for swing highs/lows using pivot detection
2. VOLUME AGGREGATION
Combines Open Interest + Volume at each pivot point
Creates weighted metric for liquidation probability
3. ZONE PROJECTION
Calculates liquidation bands based on selected leverage tier
Projects zones where stop losses are likely stacked
4. SIGNIFICANCE RANKING
Normalizes all levels against historical range
Top percentile gets enhanced visual treatment
5. REAL-TIME TRACKING
Monitors price interaction with each zone
Active zones extend forward | Hit zones fade and lock
Memory management removes outdated levels
═══ BEST PRACTICES ═══
✅ DO:
• Use on high-liquidity BTC pairs (BTCUSDT, BTCUSD)
• Combine with volume and order flow analysis
• Look for confluences with key technical levels
• Use higher timeframes for more reliable zones
• Adjust leverage tier based on market volatility
❌ DON'T:
• Trade liquidation zones blindly without confirmation
• Ignore broader market context and trend direction
• Overtrade every single level that appears
• Use as sole entry/exit criteria
• Forget proper position sizing and risk management
═══ TECHNICAL NOTES ═══
• Built with Pine Script v6
• Max 500 boxes, 100 labels for optimal performance
• Auto-scales for different timeframe data availability
• Uses request.security() for multi-exchange aggregation
• Dynamic memory management prevents chart lag
═══ DISCLAIMER ═══
This indicator visualizes potential liquidation zones based on historical volume and open interest data. It does NOT:
• Predict future price movements with certainty
• Guarantee reversals or continuations
• Provide buy/sell signals
• Replace proper risk management
Liquidation zones show where leverage is concentrated — not where price will definitely react. Always use this tool as part of a comprehensive trading strategy alongside technical analysis, risk management, and market context.
📚 EDUCATIONAL USE ONLY | NOT FINANCIAL ADVICE
═══ RESOURCES ═══
Pine Script Documentation
→ www.tradingview.com
Understanding Liquidations
→ academy.binance.com
Open Interest Data
→ www.coinglass.com
Leverage Trading Education
→ www.investopedia.com
═══════════════════════════════════════════════════════════
Built for the Bitcoin trading community 🚀
Because knowing where the leverage sits is half the battle 💎
═══════════════════════════════════════════════════════════






















