Hurst-Optimized Adaptive Channel [Kodexius]Hurst-Optimized Adaptive Channel (HOAC) is a regime-aware channel indicator that continuously adapts its centerline and volatility bands based on the market’s current behavior. Instead of using a single fixed channel model, HOAC evaluates whether price action is behaving more like a trend-following environment or a mean-reverting environment, then automatically selects the most suitable channel structure.
At the core of the engine is a robust Hurst Exponent estimation using R/S (Rescaled Range) analysis. The Hurst value is smoothed and compared against user-defined thresholds to classify the market regime. In trending regimes, the script emphasizes stability by favoring a slower, smoother channel when it proves more accurate over time. In mean-reversion regimes, it deliberately prioritizes a faster model to react sooner to reversion opportunities, similar in spirit to how traders use Bollinger-style behavior.
The result is a clean, professional adaptive channel with inner and outer bands, dynamic gradient fills, and an optional mean-reversion signal layer. A minimalist dashboard summarizes the detected regime, the current Hurst reading, and which internal model is currently preferred.
🔹 Features
🔸 Robust Regime Detection via Hurst Exponent (R/S Analysis)
HOAC uses a robust Hurst Exponent estimate derived from log returns and Rescaled Range analysis. The Hurst value acts as a behavioral filter:
- H > Trend Start threshold suggests trend persistence and directional continuation.
- H < Mean Reversion threshold suggests anti-persistence and a higher likelihood of reverting toward a central value.
Values between thresholds are treated as Neutral, allowing the channel to remain adaptive without forcing a hard bias.
This regime framework is designed to make the channel selection context-aware rather than purely reactive to recent volatility.
🔸 Dual Channel Engine (Fast vs Slow Models)
Instead of relying on one fixed channel, HOAC computes two independent channel candidates:
Fast model: shorter WMA basis and standard deviation window, intended to respond quickly and fit more reactive environments.
Slow model: longer WMA basis and standard deviation window, intended to reduce noise and better represent sustained directional flow.
Each model produces:
- A midline (basis)
- Outer bands (wider deviation)
- Inner bands (tighter deviation)
This structure gives you a clear core zone and an outer envelope that better represents volatility expansion.
🔸 Rolling Optimization Memory (Model Selection by Error)
HOAC includes an internal optimization layer that continuously measures how well each model fits current price action. On every bar, each model’s absolute deviation from the basis is recorded into a rolling memory window. The script then compares total accumulated error between fast and slow models and prefers the one with lower recent error.
This approach does not attempt curve fitting on multiple parameters. It focuses on a simple, interpretable metric: “Which model has tracked price more accurately over the last X bars?”
Additionally:
If the regime is Mean Reversion, the script explicitly prioritizes the fast model, ensuring responsiveness when reversals matter most.
🔸 Optional Output Smoothing (User-Selectable)
The final selected channel can be smoothed using your choice of:
- SMA
- EMA
- HMA
- RMA
This affects the plotted midline and all band outputs, allowing you to tune visual stability and responsiveness without changing the underlying decision engine.
🔸 Premium Visualization Layer (Inner Core + Outer Fade)
HOAC uses a layered band design:
- Inner bands define the core equilibrium zone around the midline.
- Outer bands define an extended volatility envelope for extremes.
Gradient fills and line styling help separate the core from the extremes while staying visually clean. The midline includes a subtle glow effect for clarity.
🔸 Adaptive Bar Tinting Strength (Regime Intensity)
Bar coloring dynamically adjusts transparency based on how far the Hurst value is from 0.5. When market behavior is more decisively trending or mean-reverting, the tint becomes more pronounced. When behavior is closer to random, the tint becomes more subtle.
🔸 Mean-Reversion Signal Layer
Mean-reversion signals are enabled when the environment is not classified as Trending:
- Buy when price crosses back above the lower outer band
- Sell when price crosses back below the upper outer band
This is intentionally a “return to channel” logic rather than a breakout logic, aligning signals with mean-reversion behavior and avoiding signals in strongly trending regimes by default.
🔸 Minimalist Dashboard (HUD)
A compact table displays:
- Current regime classification
- Smoothed Hurst value
- Which model is currently preferred (Fast or Slow)
- Trend flow direction (based on midline slope)
🔹 Calculations
1) Robust Hurst Exponent (R/S Analysis)
The script estimates Hurst using a Rescaled Range approach on log returns. It builds a returns array, computes mean, cumulative deviation range (R), standard deviation (S), then converts RS into a Hurst exponent.
calc_robust_hurst(int length) =>
float r = math.log(close / close )
float returns = array.new_float(length)
for i = 0 to length - 1
array.set(returns, i, r )
float mean = array.avg(returns)
float cumDev = 0.0
float maxCD = -1.0e10
float minCD = 1.0e10
float sumSqDiff = 0.0
for i = 0 to length - 1
float val = array.get(returns, i)
sumSqDiff += math.pow(val - mean, 2)
cumDev += (val - mean)
if cumDev > maxCD
maxCD := cumDev
if cumDev < minCD
minCD := cumDev
float R = maxCD - minCD
float S = math.sqrt(sumSqDiff / length)
float RS = (S == 0) ? 0.0 : (R / S)
float hurst = (RS > 0) ? (math.log10(RS) / math.log10(length)) : 0.5
hurst
This design avoids simplistic proxies and attempts to reflect persistence (trend tendency) vs anti-persistence (mean reversion tendency) from the underlying return structure.
2) Hurst Smoothing
Raw Hurst values can be noisy, so the script applies EMA smoothing before regime decisions.
float rawHurst = calc_robust_hurst(i_hurstLen)
float hVal = ta.ema(rawHurst, i_smoothHurst)
This stabilized hVal is the value used across regime classification, dynamic visuals, and the HUD display.
3) Regime Classification
The smoothed Hurst reading is compared to user thresholds to label the environment.
string regime = "NEUTRAL"
if hVal > i_trendZone
regime := "TRENDING"
else if hVal < i_chopZone
regime := "MEAN REV"
Higher Hurst implies more persistence, so the indicator treats it as a trend environment.
Lower Hurst implies more mean-reverting behavior, so the indicator enables MR logic and emphasizes faster adaptation.
4) Dual Channel Models (Fast and Slow)
HOAC computes two candidate channel structures in parallel. Each model is a WMA basis with volatility envelopes derived from standard deviation. Inner and outer bands are created using different multipliers.
Fast model (more reactive):
float fastBasis = ta.wma(close, 20)
float fastDev = ta.stdev(close, 20)
ChannelObj fastM = ChannelObj.new(fastBasis, fastBasis + fastDev * 2.0, fastBasis - fastDev * 2.0, fastBasis + fastDev * 1.0, fastBasis - fastDev * 1.0, math.abs(close - fastBasis))
Slow model (more stable):
float slowBasis = ta.wma(close, 50)
float slowDev = ta.stdev(close, 50)
ChannelObj slowM = ChannelObj.new(slowBasis, slowBasis + slowDev * 2.5, slowBasis - slowDev * 2.5, slowBasis + slowDev * 1.25, slowBasis - slowDev * 1.25, math.abs(close - slowBasis))
Both models store their structure in a ChannelObj type, including the instantaneous tracking error (abs(close - basis)).
5) Rolling Error Memory and Model Preference
To decide which model fits current conditions better, the script stores recent errors into rolling arrays and compares cumulative error totals.
var float errFast = array.new_float()
var float errSlow = array.new_float()
update_error(float errArr, float error, int maxLen) =>
errArr.unshift(error)
if errArr.size() > maxLen
errArr.pop()
Each bar updates both error histories and computes which model has lower recent accumulated error.
update_error(errFast, fastM.error, i_optLookback)
update_error(errSlow, slowM.error, i_optLookback)
bool preferFast = errFast.sum() < errSlow.sum()
This is an interpretable optimization approach: it does not attempt to brute-force parameters, it simply prefers the model that has tracked price more closely over the last i_optLookback bars.
6) Winner Selection Logic (Regime-Aware Hybrid)
The final model selection uses both regime and rolling error performance.
ChannelObj winner = regime == "MEAN REV" ? fastM : (preferFast ? fastM : slowM)
rawMid := winner.mid
rawUp := winner.upper
rawDn := winner.lower
rawUpInner := winner.upper_inner
rawDnInner := winner.lower_inner
In Mean Reversion, the script forces the fast model to ensure responsiveness.
Otherwise, it selects the lowest-error model between fast and slow.
7) Optional Output Smoothing
After the winner is selected, the script optionally smooths the final channel outputs using the chosen moving average type.
smooth(float src, string type, int len) =>
switch type
"SMA" => ta.sma(src, len)
"EMA" => ta.ema(src, len)
"HMA" => ta.hma(src, len)
"RMA" => ta.rma(src, len)
=> src
float finalMid = i_enableSmooth ? smooth(rawMid, i_smoothType, i_smoothLen) : rawMid
float finalUp = i_enableSmooth ? smooth(rawUp, i_smoothType, i_smoothLen) : rawUp
float finalDn = i_enableSmooth ? smooth(rawDn, i_smoothType, i_smoothLen) : rawDn
float finalUpInner = i_enableSmooth ? smooth(rawUpInner, i_smoothType, i_smoothLen) : rawUpInner
float finalDnInner = i_enableSmooth ? smooth(rawDnInner, i_smoothType, i_smoothLen) : rawDnInner
This preserves decision integrity since smoothing happens after model selection, not before.
8) Dynamic Visual Intensity From Hurst
Transparency is derived from the distance of hVal to 0.5, so stronger behavioral regimes appear with clearer tints.
int dynTrans = int(math.max(20, math.min(80, 100 - (math.abs(hVal - 0.5) * 200))))
Полосы и каналы
Advanced Multi-Level S/R ZonesAdvanced Multi-Level S/R Zones: The Comprehensive Guide
1. Introduction: The Evolution of Support & Resistance:
Support and Resistance (S/R) is the backbone of technical analysis. However, traditional methods of drawing these levels are often plagued by subjectivity. Two traders looking at the same chart will often draw two different lines. Furthermore, standard indicators often treat every price point equally, ignoring the critical context of Volume and Time.
The Advanced Multi-Level S/R Zones script represents a paradigm shift. It moves away from subjective line drawing and toward Quantitative Zoning. By utilizing statistical measures of variability (Standard Deviation, MAD, IQR) combined with Volume-Weighting and Time-Decay algorithms, this tool identifies where price is mathematically most likely to react. It treats S/R not as thin lines, but as dynamic zones of probability.
2. Core Logic and Mathematical Foundation:
To understand how to use this tool optimally, one must understand the "engine" under the hood. The script operates on four distinct pillars of logic:
A. Session-Based Data Collection:
The script does not look at every single tick. Instead, it aggregates data into "Sessions" (daily bars by default logic). It extracts the High, Low, and Total Volume for every session within the user-defined lookback period. This filters out intraday noise and focuses on the macro structure of the market.
B. Adaptive Statistical Variability:
Most Bollinger Band-style indicators use Standard Deviation (StdDev) to measure width. However, StdDev is heavily influenced by outliers (extreme wicks). This script offers a sophisticated Adaptive Method-Skewness Detection: The script calculates the skewness of the price distribution. Adaptive Selection: If the data is highly skewed (lots of outliers, typical in Crypto), it switches to MAD (Median Absolute Deviation). MAD is robust and ignores outliers. If the data is moderately skewed, it uses IQR (Interquartile Range). If the data is normal (Gaussian), it uses StdDev.
Benefit: This ensures the zone widths are accurate regardless of whether you are trading a stable Forex pair or a volatile Altcoin.
C. The Weighting Engine (Volume + Time)
Not all price history is equal. This script assigns a "Weight Score" to every session based on two factors:
Volume Weighting: Sessions with massive volume (institutional activity) are given higher importance. A high formed on low volume is less significant than a high formed on peak volume.
Time Decay: Recent price action is more relevant than price action from 50 bars ago. The script applies a decay factor (default 0.85). This means a session from yesterday has 100% impact, while a session from 10 days ago has significantly less influence on the zone calculation.
D. Clustering Algorithm
Once the data is weighted, the script runs a clustering algorithm. It looks for price levels where multiple session Highs (for Resistance) or Lows (for Support) congregate.
It requires a minimum number of points to form a zone (User Input: minPoints).
It merges nearby levels based on the Cluster Separation Factor.
This results in "Primary," "Secondary," and "Tertiary" zones based on the strength and quantity of data points in that cluster.
3. Detailed Features and Inputs Breakdown:
Group 1: Main Settings
Lookback Sessions (Default: 10): Defines how far back the script looks for pivots. A higher number (e.g., 50) creates long-term structural zones. A lower number (e.g., 5) creates short-term scalping zones.
Variability Method (Adaptive): As described above, leave this on "Adaptive" for the best results across different assets.
Zone Width Multiplier (Default: 0.75): Controls the vertical thickness of the zones. Increase this to 1.0 or 1.5 for highly volatile assets to ensure you catch the wicks.
Minimum Points per Zone: The strictness filter. If set to 3, a price level must be hit 3 times within the lookback to generate a zone. Higher numbers = fewer, but stronger zones.
Group 2: Weighting
Volume-Weighted Zones: Crucial for identifying "Smart Money" levels. Keep this TRUE.
Time Decay: Ensures the zones update dynamically. If price moves away from a level for a long time, the zone will fade in significance.
ATR-Normalized Zone Width: This is a dynamic volatility filter. If TRUE, the zone width expands and contracts based on the Average True Range. This is vital for maintaining accuracy during market breakouts or crashes.
Group 3: Zone Strength & Scoring
The script calculates a "Score" (0-100%) for every zone based on:
-Point Count: More hits = higher score.
-Touches: How many times price wicked into the zone recently.
-Intact Status: Has the zone been broken?
-Weight: Volume/Time weight of the constituent points.
-Track Zone Touches: Looks back n bars to see how often price respected this level.
-Touch Threshold: The sensitivity for counting a "touch."
Group 4: Visuals & Display
Extend Bars: How far to the right the boxes are drawn.
Show Labels: Displays the Score, Tier (Primary/Secondary), and Status (Retesting).
Detect Pivot Zones (Overlap): This is a killer feature. It detects where a Support Zone overlaps with a Resistance Zone.
Significance: These are "Flip Zones" (Old Resistance becomes New Support). They are colored differently (Orange by default) and represent high-probability entry areas.
Group 5: Signals & Alerts
Entry Signals: Plots Buy/Sell labels when price rejects a zone.
Detect Break & Retest: specifically looks for the "Break -> Pullback -> Bounce" pattern, labeled as "RETEST BUY/SELL".
Proximity Alert: Triggers when price gets within x% of a zone.
4. Understanding the Visuals (Interpreting the Chart)
When you load the script, you will see several visual elements. Here is how to read them:
The Boxes (Zones)
Red Shades: Resistance Zones.
Dark Red (Solid Border): Primary Resistance. The strongest wall.
Lighter Red (Dashed Border): Secondary/Tertiary. Weaker, but still relevant.
Green Shades: Support Zones.
Dark Green (Solid Border): Primary Support. The strongest floor.
Orange Boxes: Pivot Zones. These are areas where price has historically reacted as both support and resistance. These are the "Line in the Sand" for trend direction.
The Labels & Emojis
The script assigns emojis to zone strength:
🔥 (Fire): Score > 80%. A massive level. Expect a strong reaction.
⭐ (Star): Score > 60%. A solid structural level.
✓ (Check): Score > 40%. A standard level.
"⟳ RETESTING": Appears when a zone was broken, and price is currently pulling back to test it from the other side.
The Dashboard (Top Right)
A statistics table provides a "Head-Up Display" for the asset:
High/Low σ (Sigma): The variability of the highs and lows. If High σ is much larger than Low σ, it implies the tops are erratic (wicks) while bottoms are clean (flat).
Method: Shows which statistical method the Adaptive engine selected (e.g., "MAD (auto)").
ATR: Current volatility value used for normalization.
5. Strategies for Optimum Output
To get the most out of this script, you should not just blindly follow the lines. Use these specific strategies:
Strategy A: The "Zone Fade" (Range Trading)
This works best in sideways markets.
Identify a Primary Support (Green) and Primary Resistance (Red).
Wait for price to enter the zone.
Look for the "SUPPORT BOUNCE" or "RESISTANCE REJECTION" signal label.
Entry: Enter against the zone (Buy at support, Sell at resistance).
Stop Loss: Place just outside the zone width. Because the zones are calculated using volatility stats, a break of the zone usually means the trade is invalid.
Strategy B: The "Pivot Flip" (Trend Following)
This is the highest probability setup in trending markets.
Look for an Orange Pivot Zone.
Wait for price to break through a Resistance Zone cleanly.
Wait for the price to return to that zone (which may now turn Orange or act as Support).
Look for the "RETEST BUY" label.
Logic: Old resistance becoming new support is a classic sign of trend continuation. The script automates the detection of this exact geometric phenomenon.
Strategy C: The Volatility Squeeze
Look at the Dashboard. Compare High σ and Low σ.
If the values are dropping rapidly or becoming very small, the zones will contract (become narrow).
Narrow zones indicate a "Squeeze" or compression in price.
Prepare for a violent breakout. Do not fade (trade against) narrow zones; look to trade the breakout.
6. Optimization & Customization Guide
Different markets require different settings. Here is how to tune the script:
For Crypto & Volatile Stocks (Tesla, Nvidia)
Method: Set to Adaptive (Mandatory, as these assets have "Fat Tails").
Multiplier: Increase to 1.0 - 1.25. Crypto wicks are deep; you need wider zones to avoid getting stopped out prematurely.
Lookback: 20-30 sessions. Crypto has a long memory; short lookbacks generate too much noise.
For Forex (EURUSD, GBPJPY)
Method: You can force StdDev or IQR. Forex is more mean-reverting and Gaussian.
Multiplier: Decrease to 0.5 - 0.75. Forex levels are often very precise to the pip.
Volume Weighting: You may turn this OFF for Forex if your broker's volume data is unreliable (since Forex has no centralized volume), though tick volume often works fine.
For Scalping (1m - 15m Timeframes)
Lookback: Decrease to 5-10. You only care about the immediate session history.
Decay Factor: Decrease to 0.5. You want the script to forget about yesterday's price action very quickly.
Touch Lookback: Decrease to 20 bars.
For Swing Trading (4H - Daily Timeframes)
Lookback: Increase to 50.
Decay Factor: Increase to 0.95. Structural levels from weeks ago are still highly relevant.
Min Points: Increase to 3 or 4. Only show levels that have been tested multiple times.
7. Advantages Over Standard Tools:
Feature Standard S/R Indicator, Advanced Multi-Level S/R Calculation, Uses simple Pivots or Fractals, Uses Statistical Distributions (MAD/IQR). Zone Width Arbitrary or Fixed Adaptive based on Volatility & ATR.
Context Ignores Volume Volume Weighted (Smart Money tracking).
Time Relevance Old levels = New levels Time Decay (Recency bias applied).
Overlaps Usually ignores overlaps Detects Pivot Zones (Res/Sup Flip).
Scoring None 0-100% Strength Score per zone.
8. Conclusion:
The Advanced Multi-Level S/R Zones script is not just a drawing tool; it is a statistical analysis engine. By accounting for the skewness of data, the volume behind the moves, and the decay of time, it provides a strictly objective roadmap of the market structure.
For the optimum output, combine the Pivot Zone identification with the Retest Signals. This aligns you with the underlying flow of order blocks and prevents trading against the statistical probabilities of the market.
Price Prediction Forecast ModelPrice Prediction Forecast Model
This indicator projects future price ranges based on recent market volatility.
It does not predict exact prices — instead, it shows where price is statistically likely to move over the next X bars.
How It Works
Price moves up and down by different amounts each bar. This indicator measures how large those moves have been recently (volatility) using the standard deviation of log returns.
That volatility is then:
Projected forward in time
Scaled as time increases (uncertainty grows)
Converted into future price ranges
The further into the future you project, the wider the expected range becomes.
Volatility Bands (Standard Deviation–Based)
The indicator plots up to three projected volatility bands using standard deviation multipliers:
SD1 (1.0×) → Typical expected price movement
SD2 (1.25×) → Elevated volatility range
SD3 (1.5×) → High-volatility / stress range
These bands are based on standard deviation of volatility, not fixed probability guarantees.
Optional Drift
An optional drift term can be enabled to introduce a long-term directional bias (up or down).
This is useful for markets with persistent trends.
Keltner Channels Re-entry when a candle closes outside of the outer channel that we show a dot and once price closes back in to the channel with a candle in the same direction we get in arrow.
9 HMA Direction Scalper (Pure Flip)new easier 9hma directional pure flip, it will help you with scalping short trends
4MA / 4MA[1] Forward Projection with 4 SD Forecast Bands4MA / 4MA Projection + 4 SD Bands + Cross Table is a forward-projection tool built around a simple moving average pair: the 4-period SMA (MA4) and its 1-bar lagged value (MA4 ). It takes a prior MA behavior pattern, projects that structure forward, and wraps the projected mean path with four Standard Deviation (SD) bands to visualize probable future price ranges.
This indicator is designed to help you anticipate:
Where the MA structure is likely to travel next
How wide the “expected” future price corridor may be
Where a future MA4 vs MA4 crossover is most likely to occur
When the real (live) crossover actually prints on the chart
What you see on the chart
1) Live moving averages (current market)
MA4 tracks the short-term mean of price.
MA4 is simply the previous bar’s MA4 value (a 1-bar lag).
Their relationship (MA4 above/below MA4 ) gives a clean, minimal read on trend alignment and directional bias.
2) Projected MA path (forward curve)
A forward “ghost” of the MA structure is drawn ahead of price. This projected curve represents the indicator’s best estimate of how the moving average structure may evolve if the market continues to rhyme with the selected historical behavior window.
3) 4 Standard Deviation bands (predictive future price ranges)
Surrounding the projected mean path are four SD envelopes. Think of these as forecast corridors:
Inner bands = tighter “expected” range
Outer bands = wider “stress / extreme” range
These bands are not a guarantee—rather, they’re a structured way to visualize “how far price can reasonably swing” around the projected mean based on observed volatility.
4) Vertical projection lines (most probable cross zone)
Within the projected region you’ll see vertical lines running through the bands. These lines mark the most probable zone where MA4 and MA4 are expected to cross in the projection.
In plain terms:
The projected MAs are two curves.
When those curves are forecasted to intersect, the script marks the intersection region with a vertical line.
This gives you a forward “timing window” for a potential MA shift.
5) Cross Table (top-right)
The table is your confirmation layer. It reports:
Current MA4 value
Current MA4 value
Whether MA4 is above or below MA4
The most recent BUY / SELL cross event
When a real, live crossover happens on the actual chart:
It registers as BUY (MA4 crosses above MA4 )
Or SELL (MA4 crosses below MA4 )
…and the table updates immediately so you can confirm the event without guessing.
How to use it
Practical workflow
Use the projected SD bands as future range context
If price is projected to sit comfortably inside inner bands, the market is behaving “normally.”
If price reaches outer bands, you’re in a higher-volatility / stretched scenario.
Use vertical lines as a “watch zone”
Vertical lines do not force a trade.
They act like a forward “heads-up”: this is the most likely window for an MA crossover to occur if the projection holds.
Use the table for confirmation
When the crossover happens for real, the table is your confirmation signal.
Combine it with structure (support/resistance, trendlines, market context) rather than trading it in isolation.
Notes and best practices
This is a projection tool: it helps visualize a structured forward hypothesis, not a certainty.
SD bands are best used as forecast corridors (risk framing, range planning, and expectation management).
The table is the execution/confirmation layer: it tells you what the MAs are doing now.
VWAP2 --ClaireVolume Weighted Average Price (VWAP) is a popular trading indicator used primarily in intraday trading. It represents the average price at which a security (such as a stock) has traded throughout the day, weighted by the volume of each transaction. Unlike a simple average price, VWAP gives more importance to periods with higher trading volume, providing a more accurate reflection of the true average price paid by market participants.
BK AK-Warfare Formations👑 BK AK-Warfare Formations — Form the pride. Take the high ground. Strike with wisdom. 👑
Built for traders who think like commanders: see the formation, plan the maneuver, execute the strike.
🎖️ Full Credit (Engine + Logic — Trendoscope)
Original foundation (Trendoscope Auto Chart Patterns):
The entire pattern engine (multi-zigzag scanning, pivot logic, trendline-pair validation, geometric classification, drawing framework, overlap handling, and pattern caps) is by Trendoscope—one of the best coders on TradingView and the creator of this indicator’s core.
I’m not rewriting his war machine. I’m upgrading the interface and tactical readability so you can see structure faster and act cleaner.
🧩 BK Enhancements (on top of Trendoscope)
Built for clarity under pressure:
Short-form formation tags so your chart stays readable (AC/DC/RC/RWE/FWE/CT/DT/etc.)
Label transparency controls (text + background), including separate controls for short labels
Hover tooltips (toggle): hover a label to see the full pattern name + bias (Bullish/Bearish/Neutral)
Alerts upgraded with bias + category filtering (Channel / Wedge / Triangle)
Pattern border extension (optional): extends the two boundary lines forward by N bars so the battlefield edges stay visible (not extending random zigzag legs)
Everything else remains Trendoscope’s architecture and detection logic.
🧠 What It Does
Auto-detects and labels:
Channels
AC — Ascending Channel
DC — Descending Channel
RC — Ranging Channel
Wedges
RWE / FWE — Rising/Falling Wedge (Expanding)
RWC / FWC — Rising/Falling Wedge (Contracting)
Triangles
ATC / DTC — Asc/Desc Triangle (Contracting)
ATE / DTE — Asc/Desc Triangle (Expanding)
CT — Converging Triangle
DT — Diverging Triangle
You get clean battlefield tags (short codes) and optional hover briefings (full name + bias) without clutter.
🧭 How It Detects (So You Know It’s Not Random)
Trendoscope’s engine does this in a disciplined sequence:
Multi-Zigzag Sweep
Multiple zigzag levels scan the same market from different swing sensitivities.
Pivot Structure Validation (5 or 6 pivots)
A formation is only valid when pivot sequencing produces a legit trendline pair.
Trendline-Pair Rules
Upper boundary anchors to pivot highs
Lower boundary anchors to pivot lows
Geometry is measured (parallel / converging / diverging) to classify channel vs wedge vs triangle
Optional quality filters reduce warped/low-quality shapes (bar ratio checks, overlap avoidance, max pattern caps)
You’re not getting “art.” You’re getting validated geometry.
⚙️ Core Controls (What You Actually Tune)
Zigzag length/depth per level: swing sensitivity (faster vs cleaner)
Pivots used (5 or 6): tighter vs broader structures
Error/Flat thresholds: tolerance + what qualifies as “flat”
Avoid overlap: prevents stacking junk on top of junk
Max patterns: keeps the chart from becoming noise
Label system: short codes, transparency, tooltips, bias visibility
Border extension: projects the structure edges forward for planning
🗺️ Read the Battlefield (Tactical Translation)
AC (Ascending Channel): trend carry; buy pullbacks to the lower wall, manage risk outside structure
DC (Descending Channel): late down-leg; watch for momentum shift + reclaim = tactical reversal zone
RWE (Rising Wedge): distribution bias; break + failed retest is where weakness shows
CT / DT (Triangles): compression → expansion; plan edges, not the middle
Structure is the map. Bias is the compass. Your risk plan is the sword.
🧑🏫 Mentor A.K. (Respect Where It’s Due)
A.K. is the discipline behind this project.
Patience. Clean execution. No gambling. No chasing.
His standard is in every choice: reduce noise, sharpen structure, force clarity.
This is why the labels are tight, the tooltips are direct, and the features serve execution—not ego.
🤝 Give Forward (The Code of the Camp)
If this indicator sharpens your edge:
Teach one trader how to read structure with discipline (not hype)
Share process, not just screenshots (entries, invalidation, management)
If you build on open work, credit loudly and improve responsibly
A king builds men. A lion builds courage. A camp survives because knowledge moves forward.
👑 King Solomon’s Standard
This is warfare—market warfare—so we move by wisdom, not emotion:
“By wise counsel you will wage your own war, and in a multitude of counselors there is safety.” — Proverbs 24:6
BK AK-Warfare Formations — where formation meets judgment, and judgment meets execution.
Gd bless. 🙏
Info Box with VPINfo box with turnover
it has all the % of SL
it also has VOlume and turnover with it
It is lighter version of prov
BK AK-Flag Formations🏴☠️ BK AK-Flag Formations — Raise the standard. Drive the line. Continue the assault. 🏴☠️
Built for traders who exploit momentum with discipline: flagpoles, flags, and pennants detected, tagged, and briefed—so you press advantage instead of hesitating.
🎖️ Full Credit (Engine + Logic — Trendoscope)
Original foundation (Trendoscope Flags & Pennants):
The entire detection engine—multi-zigzag swing extraction, pivot logic, pattern validation, classification framework, and drawing architecture—is Trendoscope. He’s the architect of the core system.
I’m not claiming the engine. I’m shipping a cleaner, more tactical interface layer on top of his work.
🧩 BK Enhancements (on top of Trendoscope)
Purpose: read continuation faster with less chart noise.
Short-form pattern tags so structure stays obvious without burying price:
BF / BeF / BP / BeP / F / P / UF / DF / RF / FF / AF / DeF
Label transparency controls (text + background), plus separate transparency control for short labels
Hover tooltips (toggle): hover the tag to reveal full pattern name + bias (Bullish / Bearish / Neutral)
Upgraded alert system: filters by Bias (Bullish/Bearish/Neutral) and Type (Flag / Pennant), with clearer alert messages
Pattern border extension (optional): extends the two pattern boundary lines forward by N bars so your levels stay mapped for break/retest planning
Everything else is Trendoscope’s architecture and math.
🧠 What It Does (The Mission)
This script hunts continuation formations that form after a strong impulse move:
Detects the flagpole (impulse)
Validates a consolidation structure (flag or pennant)
Tags it cleanly with short codes
Optional hover-briefing gives the long name + bias exactly when you need it
You get continuation structure in real time, across multiple swing sensitivities.
🧭 How It Detects (So You Know It’s Not Random)
This isn’t “pattern art.” It’s rule-based geometry + swing logic:
1) Multi-Zigzag Sweep (micro → macro)
Runs up to 4 zigzag engines so it catches both tight and larger continuations.
(Default BK tuning uses 4 levels with different swing lengths/depths.)
2) Quality Filters (you control strictness)
Key scanning controls:
Error Threshold: tolerance used during trendline validation
Flat Threshold: what qualifies as “flat” vs sloped
Max Retracement (default 0.618): limits how deep the consolidation can retrace the impulse
Verify Bar Ratio (optional): checks proportion/spacing of pivots, not just price
Avoid Overlap: prevents stacking formations on top of each other
Repaint option: allows refinement if better coordinates form (for real-time users)
3) Classification (Flag vs Pennant)
Once the engine confirms an impulse + valid consolidation, it classifies:
Flag = orderly channel/wedge-style consolidation after the pole
Pennant = tighter triangle-style compression after the pole
Then it labels with bias based on direction and formation context.
🏳️ Read the Continuation (Short Codes that Actually Matter)
BF — Bull Flag: strong pole → controlled pullback; watch for break + continuation expansion
BP — Bull Pennant: thrust → tight compression; expansion confirms carry
BeF — Bear Flag: down impulse → weak rallies; breakdown favors continuation lower
BeP — Bear Pennant: pause beneath resistance; release favors trend continuation
F / P: generic flag / pennant tags when the system can’t (or shouldn’t) over-specify
Standards aren’t decoration—they’re orders.
🧑🏫 Mentor A.K.
A.K. is the discipline behind this release.
No chasing. No gambling. No emotional entries.
He drilled one rule into everything: structure first, then execution—never the reverse.
This indicator exists to make that possible under pressure.
🤝 Give Forward (The Code of the Crew)
If this tool sharpens your edge:
Teach one trader how to read continuation properly (pole → base → trigger → invalidation)
Share process, not just screenshots (entry logic, stop logic, management plan)
If you build on open work: credit loudly and contribute improvements back when you can
Tools multiply force. Character decides the outcome.
👑 Respect to King Solomon (Wisdom > Impulse)
“Plans are established by counsel; by wise guidance wage war.” — Proverbs 20:18
Continuation trading is the same: impulse → formation → execution.
BK AK-Flag Formations — when the standard rises, the line advances.
Gd bless. 🙏
Bens Platypus Dual VWAP_Rolling 7D vs Weekly AnchoredBen’s Platypus Dual VWAP: Rolling 7D vs Weekly Anchored (optional σ bands)
Weekly-anchored VWAP resets on Monday (exchange time). That makes sense for assets tied to a traditional weekly “market open,” but BTC trades 24/7 and often doesn’t respect Monday as a real regime boundary—so the Monday reset can create a mechanical jump that looks like signal but is just arithmetic. If you drive entries/exits off that reset, some algos will get spooked into early entries, fake “stretch” readings, or sudden mean shifts that aren’t actually market behaviour.
This indicator fixes that by plotting:
• Rolling 7D VWAP (thick aqua): a continuous trailing VWAP that does not reset on Mondays, giving you a stable mean for reversion logic.
• Weekly Anchored VWAP (thin purple): kept for context, so you can see the reset effect rather than accidentally trade it.
Result: you can visually compare the two means and quantify when “weekly structure” is useful versus when it’s just a calendar artifact on a 24/7 market.
Multitime ATR with ATR Heat Line# Multi-Timeframe ATR Supertrend with ATH Finder
## Overview
This advanced Pine Script indicator combines multi-timeframe ATR-based Supertrend analysis with an All-Time High (ATH) tracking system. Designed for swing traders who need comprehensive trend analysis across multiple timeframes while monitoring key price levels.
## Key Features
### 1. Multi-Timeframe ATR Supertrend (1H, 4H, 1D)
- **1 Hour Supertrend** (Blue): Short-term trend identification
- **4 Hour Supertrend** (Purple): Medium-term trend confirmation
- **1 Day Supertrend** (Green/Red): Primary trend direction
- Each timeframe displays independent trend lines with customizable colors and visibility
### 2. Dual ATR Data System (1D Only)
- **Previous Day ATR** (lookahead_off): Used for main ATR lines - enables pre-market study and avoids intraday crossover issues
- **Current Day ATR** (lookahead_on): Used for Overheating Line calculation - provides real-time profit-taking signals
### 3. Overheating Line
- Dynamically calculated as: `1D ATR + (ATR Width × 1.3)`
- Orange line indicating potential overextension zones
- Uses current day real-time ATR for intraday decision-making
- Only displays during uptrends
- Customizable multiplier (default: 1.3)
### 4. ATH (All-Time High) Finder
- Automatically tracks and displays the all-time high with a horizontal line
- **Line Color**: Lime green (customizable)
- **Label System**:
- Green label when price is at ATH
- Red label when ATH is historical
- Toggle label visibility independently
- **Bug Fix**: Prevents vertical line display when ATH occurs on current bar
- Line extends to the right for easy visualization
### 5. Warning & Break Signals
Each timeframe provides two types of alerts:
- **Warning Signal** (⚠️): Price closes below uptrend line (potential reversal warning)
- **Break Signal** (⚡): Price closes above downtrend line (potential breakout)
- Smart timing intervals prevent signal spam:
- 1H: Checks every 4 hours (warning) / 1 hour (break)
- 4H/1D: Max 2 signals per day
### 6. Trend Change Indicators
- Small circles mark the exact bar where trend changes occur
- Color-coded for each timeframe
- Helps identify reversal points and trend strength
### 7. Master Control Switches
Efficiently manage all visual elements:
- **Master Highlighter**: Toggle all background fills on/off
- **Master Signals**: Toggle all warning/break signals
- **Master Up Trend**: Toggle all uptrend lines and circles
- **Master Down Trend**: Toggle all downtrend lines and circles
### 8. Fast Cut Lines (Optional)
- Additional support/resistance lines offset by a percentage from main ATR lines
- Useful for tighter stop-loss management
- Separate controls for up and down trends
- Default: OFF (customizable offset percentage)
### 9. Timeframe Visibility Control
- **Hide on Daily+**: Automatically hides indicators (except 1D ATR) on daily timeframes and above
- Reduces chart clutter on higher timeframes
- 1D ATR always visible regardless of chart timeframe
### 10. EMA Integration (Optional)
- Display 20/50/200 EMAs for confluence with ATR trends
- Toggle on/off independently
## Use Cases
### For Swing Traders
1. **Entry Timing**: Wait for multiple timeframe alignment (1H, 4H, 1D all in uptrend)
2. **Trend Confirmation**: Use trend change circles to identify momentum shifts
3. **Profit Taking**: Monitor Overheating Line for potential exit zones
### For Position Management
1. **Stop Loss Placement**: Use 1D ATR line or Fast Cut lines as dynamic stop levels
2. **Risk Assessment**: Distance between timeframe ATR lines indicates volatility
3. **Breakout Trading**: Break signals (⚡) identify potential breakout opportunities
### For Pre-Market Analysis
- 1D ATR uses previous day data, allowing traders to:
- Study support/resistance levels before market open
- Plan entry/exit strategies based on confirmed data
- Avoid false signals from incomplete daily candles
## Settings Guide
### ATH Finder Settings
- **Show ATH Line**: Toggle ATH line visibility
- **Show ATH Label**: Toggle ATH label display (can hide label while keeping line)
- **ATH Line Color**: Customize line color (default: lime)
- **ATH Line Width**: Adjust line thickness (1-5)
### Timeframe Settings (Each timeframe has independent controls)
- **ATR Period**: Lookback period for ATR calculation (default: 10)
- **ATR Multiplier**: Distance multiplier from price (default: 1.0)
- **Show Label**: Display " " / " " / " " text labels
- **Show Warning/Break Signals**: Toggle alert symbols
- **Highlighter**: Toggle background fill between price and ATR line
### Overheating Line Settings
- **Show Overheating Line**: Toggle visibility
- **Overheating Multiplier**: Adjust distance above 1D ATR (default: 1.3)
### Cut Lines Settings
- **Show Fast Cut Line (Up/Down)**: Toggle visibility
- **Fast Cut Offset %**: Percentage distance from ATR lines (default: 1.0%)
## Color Scheme
- **Current TF**: Green (up) / Red (down)
- **1H ATR**: Blue (#1848cc) / Dark Blue (#210ba2)
- **4H ATR**: Purple (#7b1fa2) / Dark Purple (#4e0f60)
- **1D ATR**: Green (#4caf50) / Dark Red (#8c101a)
- **Overheating Line**: Orange (#ff9800)
- **ATH Line**: Lime (customizable)
## Technical Notes
### ATR Calculation
- Uses True Range for volatility measurement
- Option to switch between SMA and EMA calculation methods
- Adapts to both volatile and stable market conditions
### Performance Optimization
- Maximum 500 lines and 500 labels to prevent memory issues
- Bar index limitations prevent historical data errors
- Efficient repainting prevention for 1D timeframe
### Alert System
Built-in alert conditions for:
- Buy/Sell signals (Current TF)
- Warning signals (all timeframes)
- Break signals (all timeframes)
## Best Practices
1. **Multiple Timeframe Confirmation**: Don't trade against higher timeframe trends
2. **Overheating Awareness**: Consider profit-taking when price reaches orange line
3. **ATH Monitoring**: Exercise caution near all-time highs (increased volatility risk)
4. **Signal Filtering**: Use warning signals as alerts, not immediate action triggers
5. **Stop Loss Management**: Place stops below the most relevant ATR line for your timeframe
## Version Information
- Pine Script Version: 5
- Indicator Type: Overlay
- Max Lines: 500
- Max Labels: 500
## Credits
Created by @yohei ogura with <3
Modified for Multi-Timeframe functionality with ATH tracking
Swing Stockpicking Dashboard//@version=5
indicator("Swing Stockpicking Dashboard (Mansfield RS + Trend Template)", overlay=true, max_labels_count=500)
// ---------- Inputs ----------
bench = input.symbol("SPY", "Benchmark (para RS)")
rsLen = input.int(252, "52w lookback (barras)", minval=20)
rsMaLen = input.int(252, "RS base MA (barras)", minval=20)
ma50Len = input.int(50, "SMA rápida", minval=1)
ma150Len = input.int(150, "SMA media", minval=1)
ma200Len = input.int(200, "SMA lenta", minval=1)
slopeLookback = input.int(22, "Pendiente MA200 (barras)", minval=1)
scoreThreshold = input.int(5, "Umbral score (0–7)", minval=0, maxval=7)
showMAs = input.bool(true, "Dibujar medias")
showTable = input.bool(true, "Mostrar tabla dashboard")
// ---------- Benchmark & Mansfield RS ----------
benchClose = request.security(bench, timeframe.period, close)
ratio = (benchClose > 0) ? (close / benchClose) : na
rsBase = ta.sma(ratio, rsMaLen)
mansfield = (rsBase != 0 and not na(rsBase)) ? ((ratio / rsBase - 1) * 100) : na
// ---------- Price MAs ----------
ma50 = ta.sma(close, ma50Len)
ma150 = ta.sma(close, ma150Len)
ma200 = ta.sma(close, ma200Len)
// ---------- 52w High/Low ----------
hi52 = ta.highest(high, rsLen)
lo52 = ta.lowest(low, rsLen)
// ---------- Minervini-style checks ----------
c1 = close > ma150 and close > ma200
c2 = ma150 > ma200
c3 = ma200 > ma200 // MA200 subiendo vs hace ~1 mes (en D)
c4 = ma50 > ma150 and ma50 > ma200
c5 = close >= lo52 * 1.25 // ≥ +25% desde mínimo 52w
c6 = close >= hi52 * 0.75 // dentro del 25% de máximos 52w
c7 = (mansfield > 0) and (mansfield > mansfield ) // RS > 0 y mejorando
score = (c1 ? 1 : 0) + (c2 ? 1 : 0) + (c3 ? 1 : 0) + (c4 ? 1 : 0) + (c5 ? 1 : 0) + (c6 ? 1 : 0) + (c7 ? 1 : 0)
qualified = score >= scoreThreshold
// ---------- Plots ----------
if showMAs
plot(ma50, "SMA 50", linewidth=1)
plot(ma150, "SMA 150", linewidth=1)
plot(ma200, "SMA 200", linewidth=2)
plotshape(qualified, title="PICK", style=shape.triangleup, location=location.belowbar, size=size.tiny, text="PICK")
// ---------- Dashboard table ----------
var table t = table.new(position.top_right, 2, 9, frame_width=1)
f_row(_r, _name, _ok) =>
table.cell(t, 0, _r, _name)
table.cell(t, 1, _r, _ok ? "OK" : "—")
if showTable and barstate.islast
table.cell(t, 0, 0, "Check")
table.cell(t, 1, 0, "Pass")
f_row(1, "Price > SMA150 & SMA200", c1)
f_row(2, "SMA150 > SMA200", c2)
f_row(3, "SMA200 rising (" + str.tostring(slopeLookback) + ")", c3)
f_row(4, "SMA50 > SMA150 & SMA200", c4)
f_row(5, "≥ +25% from 52w low", c5)
f_row(6, "Within 25% of 52w high", c6)
f_row(7, "Mansfield RS > 0 & rising", c7)
table.cell(t, 0, 8, "Score")
table.cell(t, 1, 8, str.tostring(score) + "/7")
// ---------- Alerts ----------
alertcondition(qualified, "Qualified stock (PICK)", "El activo supera el score mínimo para stock-picking swing.")
Relative Strength vs S&P 500 (SPX/ES) Relative Strength vs S&P 500
This indicator measures the relative performance of an asset compared to the S&P 500, helping traders and investors identify whether an asset is outperforming or underperforming the broader market.
The calculation is based on a price ratio between the selected asset and the S&P 500, optionally normalized to a base value (100) for easier interpretation.
How to read it:
Above the baseline (100) → the asset is outperforming the S&P 500
Below the baseline (100) → the asset is underperforming the S&P 500
Rising line → strengthening relative performance
Falling line → weakening relative performance
Why it’s useful:
Helps focus on market leaders, not just assets that “look cheap”
Filters trades and investments in the direction of relative strength
Useful for swing trading, long-term investing, and portfolio allocation
Widely used in institutional and professional asset management
This indicator is best used as a trend and selection filter, in combination with technical setups (support/resistance, VWAP, structure).
SETUP XANDAO ETFEste setap é usado para operar nos futuros, usamos essas métricas para poder achar entradas
BTC Valuation ZonesBTC Valuation – Distance From 200 MA
This indicator provides a simple but powerful Bitcoin valuation framework based on how far price is from the 200-period Moving Average, a level that has historically acted as Bitcoin’s long-term equilibrium.
Instead of predicting tops or bottoms, this tool focuses on mean-reversion behavior:
When price deviates too far above the 200 MA → risk increases
When price deviates deeply below the 200 MA → long-term opportunity increases
SR Channel + EMA + RSI MTF + VolHighlightSR + Volume + RSI MTF – edited by Mochi
This indicator combines three tools into a single script:
SR Zones from Pivots
Automatically detects clusters of pivot highs/lows and groups them into support and resistance zones.
Zone width is tightened using a percentage of the pivot cluster range so levels are more precise and cleaner.
Each zone includes:
A colored box (SR area),
A dashed midline,
A POC line (price level with the highest traded volume inside the zone),
A label showing the zone price and distance (%) from current price.
Zone color is dynamic but simple and stable:
If price closes below the mid of the zone → it is treated as resistance (red).
If price closes above the mid of the zone → it is treated as support (green).
Box, lines, and label always share the same color.
Volume Inside the Zone + POC
Calculates buy/sell volume for candles whose close lies inside each zone.
Uses abs(buyVol − sellVol) / (buyVol + sellVol) to measure volume imbalance and control box opacity:
Stronger, more one‑sided volume → darker box (stronger zone).
POC is drawn as a thin line with the same color as the zone to highlight the best liquidity level for entries/TP.
Multi‑Timeframe RSI Dashboard
Shows RSI(14) values for multiple timeframes (1m, 5m, 15m, 30m, 1h, 4h, 8h, 1d), each can be toggled on/off.
Background color of each RSI cell:
RSI > 89 → red (strong overbought),
80–89 → orange (warning area),
RSI < 28 → lime (strong oversold),
Otherwise → white (neutral).
The goal of this script is to give traders a clear view of:
Key support/resistance zones,
Their volume quality and POC,
And multi‑TF overbought/oversold conditions via the RSI dashboard – all in one indicator to support retest/flip‑zone trading.
Multi-Fractal Trading Plan [Gemini] v22Multi-Fractal Trading Plan
The Multi-Fractal Trading Plan is a quantitative market structure engine designed to filter noise and generate actionable daily strategies. Unlike standard auto-trendline indicators that clutter charts with irrelevant data, this system utilizes Fractal Geometry to categorize market liquidity into three institutional layers: Minor (Intraday), Medium (Swing), and Major (Institutional).
This tool functions as a Strategic Advisor, not just a drawing tool. It calculates the delta between price and structural pivots in real-time, alerting you when price enters high-probability "Hot Zones" and generating a live trading plan on your dashboard.
Core Features
1. Three-Tier Fractal Engine The algorithm tracks 15 distinct fractal lengths simultaneously, aggregating them into a clean hierarchy:
Minor Structure (Thin Lines): Captures high-frequency volatility for scalping.
Medium Structure (Medium Lines): Identifies significant swing points and intermediate targets.
Major Structure (Thick Lines): Maps the "Institutional" defense lines where trend reversals and major breakouts occur.
2. The Strategic Dashboard A dynamic data panel in the bottom-right eliminates analysis paralysis:
Floor & Ceiling Targets: Displays the precise price levels of the nearest Support and Resistance.
AI Logic Output: The script analyzes market conditions to generate a specific command, such as "WATCH FOR BREAKOUT", "Near Lows (Look Long?)", or "WAIT (No Setup)".
3. "Hot Zone" Detection Never miss a critical test of structure.
Dynamic Alerting: When price trades within 1% (adjustable) of a Major Trend Line, the indicator’s labels turn Bright Yellow and flash a warning (e.g., "⚠️ WATCH: MAJOR RES").
Focus: This visual cue highlights the exact moment execution is required, reducing screen fatigue.
4. The Quant Web & Markers
Pivot Validation: Deep blue fractal markers (▲/▼) identify the exact candles responsible for the structure.
Inter-Timeframe Web: Faint dotted lines connect Minor pivots directly to Major pivots, visualizing the "hidden" elasticity between short-term noise and long-term trend anchors.
5. Enterprise Stability Engine Engineered to solve the "Vertical Line" and "1970 Epoch" glitches common in Pine Script trend indicators. This engine is optimized for Futures (NQ/ES), Forex, and Crypto, ensuring stability across all timeframes (including gaps on ETH/RTH charts).
Operational Guide
Consult the Dashboard: Before executing, check the "Strategy" output. If it says "WAIT", the market is in chop. If it says "WATCH FOR BOUNCE", prepare your entry criteria.
Monitor Hot Zones: A Yellow Label indicates price is testing a major liquidity level. This is your signal to watch for a rejection wick or a high-volume breakout.
Utilize the Web: Use the faint web lines to find "confluence" where a short-term pullback aligns with a long-term trend line.
Configuration
Show History: Toggles "Ghost Lines" (Blue) to display historical structure and broken trends.
Fractal Points: Toggles the geometric pivot markers.
Hot Zone %: Adjusts the sensitivity of the Yellow Warning system (Default: 1%).
Max Line Length: A noise filter that removes stale or "spiderweb" lines that are no longer statistically relevant.
SR Channel + EMA + RSI MTF + VolHighlight - Edited by MochiSR + Volume + RSI MTF – edited by Mochi
This indicator combines three tools into a single script:
SR Zones from Pivots
Automatically detects clusters of pivot highs/lows and groups them into support and resistance zones.
Zone width is tightened using a percentage of the pivot cluster range so levels are more precise and cleaner.
Each zone includes:
A colored box (SR area),
A dashed midline,
A POC line (price level with the highest traded volume inside the zone),
A label showing the zone price and distance (%) from current price.
Zone color is dynamic but simple and stable:
If price closes below the mid of the zone → it is treated as resistance (red).
If price closes above the mid of the zone → it is treated as support (green).
Box, lines, and label always share the same color.
Volume Inside the Zone + POC
Calculates buy/sell volume for candles whose close lies inside each zone.
Uses abs(buyVol − sellVol) / (buyVol + sellVol) to measure volume imbalance and control box opacity:
Stronger, more one‑sided volume → darker box (stronger zone).
POC is drawn as a thin line with the same color as the zone to highlight the best liquidity level for entries/TP.
Multi‑Timeframe RSI Dashboard
Shows RSI(14) values for multiple timeframes (1m, 5m, 15m, 30m, 1h, 4h, 8h, 1d), each can be toggled on/off.
Background color of each RSI cell:
RSI > 89 → red (strong overbought),
80–89 → orange (warning area),
RSI < 28 → lime (strong oversold),
Otherwise → white (neutral).
The goal of this script is to give traders a clear view of:
Key support/resistance zones,
Their volume quality and POC,
And multi‑TF overbought/oversold conditions via the RSI dashboard – all in one indicator to support retest/flip‑zone trading.
SR Channel + EMA + RSI MTF + VolHighlight - Edited by MochiSR + Volume + RSI MTF – edited by Mochi
This indicator combines three tools into a single script:
SR Zones from Pivots
Automatically detects clusters of pivot highs/lows and groups them into support and resistance zones.
Zone width is tightened using a percentage of the pivot cluster range so levels are more precise and cleaner.
Each zone includes:
A colored box (SR area),
A dashed midline,
A POC line (price level with the highest traded volume inside the zone),
A label showing the zone price and distance (%) from current price.
Zone color is dynamic but simple and stable:
If price closes below the mid of the zone → it is treated as resistance (red).
If price closes above the mid of the zone → it is treated as support (green).
Box, lines, and label always share the same color.
Volume Inside the Zone + POC
Calculates buy/sell volume for candles whose close lies inside each zone.
Uses abs(buyVol − sellVol) / (buyVol + sellVol) to measure volume imbalance and control box opacity:
Stronger, more one‑sided volume → darker box (stronger zone).
POC is drawn as a thin line with the same color as the zone to highlight the best liquidity level for entries/TP.
Multi‑Timeframe RSI Dashboard
Shows RSI(14) values for multiple timeframes (1m, 5m, 15m, 30m, 1h, 4h, 8h, 1d), each can be toggled on/off.
Background color of each RSI cell:
RSI > 89 → red (strong overbought),
80–89 → orange (warning area),
RSI < 28 → lime (strong oversold),
Otherwise → white (neutral).
The goal of this script is to give traders a clear view of:
Key support/resistance zones,
Their volume quality and POC,
And multi‑TF overbought/oversold conditions via the RSI dashboard – all in one indicator to support retest/flip‑zone trading.






















