Kernel Channel [BackQuant]Kernel Channel
A non-parametric, kernel-weighted trend channel that adapts to local structure, smooths noise without lagging like moving averages, and highlights volatility compressions, expansions, and directional bias through a flexible choice of kernels, band types, and squeeze logic.
What this is
This indicator builds a full trend channel using kernel regression rather than classical averaging. Instead of a simple moving average or exponential weighting, the midline is computed as a kernel-weighted expectation of past values. This allows it to adapt to local shape, give more weight to nearby bars, and reduce distortion from outliers.
You can think of it as a sliding local smoother where you define both the “window” of influence (Window Length) and the “locality strength” (Bandwidth). The result is a flexible midline with optional upper and lower bands derived from kernel-weighted ATR or kernel-weighted standard deviation, letting you visualize volatility in a structurally consistent way.
Three plotting modes help demonstrate this difference:
When the midline is shown alone, you get a smooth, adaptive baseline that behaves almost like a regression moving average, as shown in this view:
When full channels are enabled, you see how standard deviation reacts to local structure with dynamically widening and tightening bands, a mode illustrated here:
When ATR mode is chosen instead of StdDev, band width reflects breadth of movement rather than variance, creating a volatility-aware envelope like the example here:
Why kernels
Classical moving averages allocate fixed weights. Kernels let the user define weighting shape:
Epanechnikov — emphasizes bars near the current bar, fades fast, stable and smooth.
Triangular — linear decay, simple and responsive.
Laplacian — exponential decay from the current point, sharper reactivity.
Cosine — gentle periodic decay, balanced smoothness for trend filters.
Using these in combination with a bandwidth parameter gives fine control over smoothness vs responsiveness. Smaller bandwidths give sharper local sensitivity, larger bandwidths give smoother curvature.
How it works (core logic)
The indicator computes three building blocks:
1) Kernel-weighted midline
For every bar, a sliding window looks back Window Length bars. Each bar in this window receives a kernel weight depending on:
its index distance from the present
the chosen kernel shape
the bandwidth parameter (locality)
Weights form the denominator, weighted values form the numerator, and the resulting ratio is the kernel regression mean. This midline is the central trend.
2) Kernel-based width
You choose one of two band types:
Kernel ATR — ATR values are kernel-averaged, producing a smooth, volatility-based width that is not dependent on variance. Ideal for directional trend channels and regime separation.
Kernel StdDev — local variance around the midline is computed through kernel weighting. This produces a true statistical envelope that narrows in quiet periods and widens in noisy areas.
Width is scaled using Band Multiplier , controlling how far the envelope extends.
3) Upper and lower channels
Provided midline and width exist, the channel edges are:
Upper = midline + bandMult × width
Lower = midline − bandMult × width
These create smooth structures around price that adapt continuously.
Plotting modes
The indicator supports multiple visual styles depending on what you want to emphasize.
When only the midline is displayed, you get a pure kernel trend: a smooth regression-like curve that reacts to local structure while filtering noise, demonstrated here: This provides a clean read on direction and slope.
With full channels enabled, the behavior of the bands becomes visible. Standard deviation mode creates elastic boundaries that tighten during compressions and widen during turbulence, which you can see in the band-focused demonstration: This helps identify expansion events, volatility clusters, and breakouts.
ATR mode shifts interpretation from statistical variance to raw movement amplitude. This makes channels less sensitive to outliers and more consistent across trend phases, as shown in this ATR variation example: This mode is particularly useful for breakout systems and bar-range regimes.
Regime detection and bar coloring
The slope of the midline defines directional bias:
Up-slope → green
Down-slope → red
Flat → gray
A secondary regime filter compares close to the channel:
Trend Up Strong — close above upper band and midline rising.
Trend Down Strong — close below lower band and midline falling.
Trend Up Weak — close between midline and upper band with rising slope.
Trend Down Weak — close between lower band and midline with falling slope.
Compression mode — squeeze conditions.
Bar coloring is optional and can be toggled for cleaner charts.
Squeeze logic
The indicator includes non-standard squeeze detection based on relative width , defined as:
width / |midline|
This gives a dimensionless measure of how “tight” or “loose” the channel is, normalized for trend level.
A rolling window evaluates the percentile rank of current width relative to past behavior. If the width is in the lowest X% of its last N observations, the script flags a squeeze environment. This highlights compression regions that may precede breakouts or regime shifts.
Deviation highlighting
When using Kernel StdDev mode, you may enable deviation flags that highlight bars where price moves outside the channel:
Above upper band → bullish momentum overextension
Below lower band → bearish momentum overextension
This is turned off in ATR mode because ATR widths do not represent distributional variance.
Alerts included
Kernel Channel Long — midline turns up.
Kernel Channel Short — midline turns down.
Price Crossed Midline — crossover or crossunder of the midline.
Price Above Upper — early momentum expansion.
Price Below Lower — downward volatility expansion.
These help automate regime changes and breakout detection.
How to use it
Trend identification
The midline acts as a bias filter. Rising midline means trend strength upward, falling midline means downward behavior. The channel width contextualizes confidence.
Breakout anticipation
Kernel StdDev compressions highlight areas where price is coiling. Breakouts often follow narrow relative width. ATR mode provides structural expansion cues that are smooth and robust.
Mean reversion
StdDev mode is suitable for fade setups. Moves to outer bands during low volatility often revert to the midline.
Continuation logic
If price breaks above the upper band while midline is rising, the indicator flags strong directional expansion. Same logic for breakdowns on the lower band.
Volatility characterization
Kernel ATR maps raw bar movements and is excellent for identifying regime shifts in markets where variance is unstable.
Tuning guidance
For smoother long-term trend tracking
Larger window (150–300).
Moderate bandwidth (1.0–2.0).
Epanechnikov or Cosine kernel.
ATR mode for stable envelopes.
For swing trading / short-term structure
Window length around 50–100.
Bandwidth 0.6–1.2.
Triangular for speed, Laplacian for sharper reactions.
StdDev bands for precise volatility compression.
For breakout systems
Smaller bandwidth for sharp local detection.
ATR mode for stable envelopes.
Enable squeeze highlighting for identifying setups early.
For mean-reversion systems
Use StdDev bands.
Moderate window length.
Highlight deviations to locate overextended bars.
Settings overview
Kernel Settings
Source
Window Length
Bandwidth
Kernel Type (Epanechnikov, Triangular, Laplacian, Cosine)
Channel Width
Band Type (Kernel ATR or Kernel StdDev)
Band Multiplier
Visuals
Show Bands
Color Bars By Regime
Highlight Squeeze Periods
Highlight Deviation
Lookback and Percentile settings
Colors for uptrend, downtrend, squeeze, flat
Trading applications
Trend filtering — trade only in direction of the midline slope.
Breakout confirmation — expansion outside the bands while slope agrees.
Squeeze timing — compression periods often precede the next directional leg.
Volatility-aware stops — ATR mode makes channel edges suitable for adaptive stop placement.
Structural swing mapping — StdDev bands help locate midline pullbacks vs distributional extremes.
Bias rotation — bar coloring highlights when regime shifts occur.
Notes
The Kernel Channel is not a signal generator by itself, but a structural map. It helps classify trend direction, volatility environment, distribution shape, and compression cycles. Combine it with your entry and exit framework, risk parameters, and higher-timeframe confirmation.
It is designed to behave consistently across markets, to avoid the bluntness of classical averages, and to reveal subtle curvature in price that traditional channels miss. Adjust kernel type, bandwidth, and band source to match the noise profile of your instrument, then use squeeze logic and deviation highlighting to guide timing.
Индикаторы и стратегии
Mancini Levels Fixed 11/26/25Updated existing script via ChatGPT. Fixed Runtime Errors. Thank you, @bitjanitor
Intra-Day SMAsIntra-Day SMAs is a simple yet essential tool for intraday traders who need to see daily moving average levels while working on lower timeframes. When you're trading on 5-minute, 15-minute, or hourly charts, it's critical to know where the key daily SMAs sit—these levels often act as significant support and resistance zones where price reacts. This indicator overlays up to four daily Simple Moving Averages directly onto your intraday chart, with default periods set to the most commonly watched levels: 5, 10, 20, and 50-day SMAs. Each SMA can be individually toggled on or off, with fully customizable colors and line widths to match your chart theme and visual preferences. While the indicator defaults to daily timeframe SMAs (the most common use case), an optional custom timeframe selector allows you to display SMAs from any higher timeframe—weekly, monthly, or any interval you choose. Whether you're scalping, day trading, or managing intraday entries for swing positions, having daily moving averages visible on your execution timeframe helps you anticipate potential turning points and avoid entering trades directly into overhead resistance or support. Clean, lightweight, and fully configurable.
AP Capital – Volatility + High/Low Projection v1.1📌 AP Capital – Volatility + High/Low Projection v1.1
Predictive Daily Volatility • Session Logic • High/Low Projection Indicator
This indicator is designed to help traders visually understand daily volatility conditions, identify session-based turning points, and anticipate potential highs and lows of the day using statistical behavior observed across thousands of bars of intraday data.
It combines intraday session structure, volatility regime classification, and context from the previous day’s expansion to highlight high-probability areas where the market may set its daily high or daily low.
🔍 What This Indicator Does
1. Volatility Regime Detection
Each day is classified into:
🔴 High Volatility (trend continuation & expansion likely)
🟡 Normal Volatility
🔵 Low Volatility (chop, false breaks, mean-reversion common)
The background color automatically adapts so you always know what environment you're trading in.
2. Session-Based High/Low Identification
Different global sessions tend to create different market behaviors:
Asia session frequently sets the LOW of day
New York & Late US sessions frequently set the HIGH of day
This indicator uses those probabilities to highlight potential turning points.
3. Potential High / Low of Day Projections
The script plots:
🟢 Potential LOW of Day
🔴 Potential HIGH of Day
These appear only when:
Price hits the session-statistical turning zone
Volatility conditions match
Yesterday’s expansion or compression context agrees
This keeps signals clean and prevents over-marking.
4. Clean Visuals
Instead of cluttering the chart, highs and lows are marked only when conditions align, making this tool ideal for:
Session scalpers
Day traders
Gold / NAS100 / FX intraday traders
High-probability reversal traders
🧠 How It Works
The engine combines:
Daily range vs 20-day average
Real-time intraday high/low formation
Session-specific probability weighting
Previous day expansion and volatility filters
This results in highly reliable signals for:
Fade trades
Reversal setups
Timing entries more accurately
✔️ Best Uses
Identifying where the day’s range is likely to complete
Avoiding trades during low-volatility compression days
Detecting where the market is likely to turn during major sessions
Using potential HIGH/LOW levels as take-profit zones
Enhancing breakout or reversal strategies
⚠️ Disclaimer
This indicator does not repaint, but it is not a standalone entry tool.
It is designed to provide context, session awareness, and volatility-driven turning points to assist your existing strategy.
Always combine with sound risk management.
Volume Analysis v1.0Volume Analysis v1.0 is a feature-rich volume indicator designed to help traders identify significant volume events at a glance. Volume bars are automatically colored based on price action (up, down, or neutral), while powerful detection algorithms highlight exceptional volume occurrences. HVE (Highest Volume Ever) marks the single highest volume bar in the instrument's entire history, while HVY (Highest Volume Year) identifies the highest volume bar of the current calendar year—both essential for spotting potential climactic or capitulation events. HVC (High Volume Close) flags bars where volume exceeds a user-defined multiple of the average volume (default 2x), helping you identify institutional activity or breakout confirmation. For traders focused on low-float momentum plays, the Float Rotation feature calculates what percentage of the float traded on each bar and displays visual markers when volume exceeds your threshold (e.g., 25% of float)—simply enter the stock's actual float shares to activate this powerful feature. A clean info table displays real-time metrics including current volume, average volume, highest volume ever, highest volume year, and current float rotation percentage. Every color, marker style, label size, and display option is fully customizable, and built-in alert conditions for HVE, HVY, HVC, and Float Rotation events ensure you never miss a significant volume spike. Perfect for momentum traders, swing traders, and anyone who understands that volume precedes price.
Multi-Timeframe Supertrend + MACD + MTF Dashboard if you like it click source code and save it in notepad for back up .
The Multi-Timeframe Supertrend Dashboard is a powerful tool designed to give traders a clear view of market trends across multiple timeframes, all from a single dashboard. This indicator leverages the Supertrend method to calculate buy and sell signals based on the direction of price relative to dynamically calculated support and resistance lines. The dashboard is optimized for dark mode and provides easy-to-interpret color-coded signals for each timeframe.
How It Works
The Supertrend indicator is a trend-following indicator that uses the Average True Range (ATR) to set upper and lower bands around the price, adapting dynamically as volatility changes. When the price is above the Supertrend line, the market is considered in an uptrend, triggering a "BUY" signal. Conversely, when the price falls below the Supertrend line, the market is in a downtrend, triggering a "SELL" signal.
This Multi-Timeframe Supertrend Dashboard calculates Supertrend signals for the following timeframes:
1 minute
5 minutes
15 minutes
1 hour
Daily
Weekly
Monthly
For each timeframe, the dashboard shows either a "BUY" or "SELL" signal, allowing traders to assess whether trends align across timeframes. A "BUY" signal displays in green, and a "SELL" signal displays in red, giving a quick visual reference of the overall trend direction for each timeframe.
Customization Options
ATR Period: Defines the period for the Average True Range (ATR) calculation, which determines how responsive the Supertrend lines are to changes in market volatility.
Multiplier: Sets the sensitivity of the Supertrend bands to price movements. Higher values make the bands less sensitive, while lower values increase sensitivity, allowing quicker reactions to changes in price.
How to Interpret the Dashboard
The Multi-Timeframe Supertrend Dashboard allows traders to see at a glance if trends across multiple timeframes are aligned. Here’s how to interpret the signals:
BUY (Green): The current timeframe’s price is in an uptrend based on the Supertrend calculation.
SELL (Red): The current timeframe’s price is in a downtrend based on the Supertrend calculation.
For example:
If all timeframes display "BUY," the asset is in a strong uptrend across multiple time horizons, which may indicate a bullish market.
If all timeframes display "SELL," the asset is likely in a strong downtrend, signaling a bearish market.
Mixed signals across timeframes suggest market consolidation or differing trends across short- and long-term periods.
Use Cases
Trend Confirmation: Use the dashboard to confirm trends across multiple timeframes before entering or exiting a position.
Quick Market Analysis: Get a snapshot of market conditions across timeframes without having to change charts.
Multi-Timeframe Alignment: Identify alignment across timeframes, which is often a strong indicator of market momentum in one direction.
Dark Mode Optimization
The dashboard has been optimized for dark mode, with white text and contrasting background colors to ensure easy readability on darker TradingView themes.
Nov 4, 2024
Release Notes
Multi-Timeframe Supertrend Dashboard with Alerts
Overview
The Multi-Timeframe Supertrend Dashboard with Alerts is a powerful indicator designed to give traders a comprehensive view of market trends across multiple timeframes. This dashboard uses the Supertrend method to calculate buy and sell signals based on the direction of price relative to dynamic support and resistance levels. The indicator is optimized for dark mode and provides a color-coded display of buy and sell signals for each timeframe, along with optional alerts for trend alignment.
How It Works
The Supertrend indicator is a trend-following indicator that uses the Average True Range (ATR) to set upper and lower bands around the price, adjusting dynamically with market volatility. When the price is above the Supertrend line, the market is considered in an uptrend, triggering a "BUY" signal. Conversely, when the price falls below the Supertrend line, the market is in a downtrend, triggering a "SELL" signal.
The Multi-Timeframe Supertrend Dashboard displays Supertrend signals for the following timeframes:
1 minute
5 minutes
15 minutes
1 hour
Daily
Weekly
Monthly
For each timeframe, the dashboard shows either a "BUY" or "SELL" signal, allowing traders to assess trend alignment across multiple timeframes with a single glance. A "BUY" signal displays in green, and a "SELL" signal displays in red.
Alerts for Trend Alignment
This indicator includes built-in alert conditions that allow traders to receive notifications when all timeframes simultaneously align in a "BUY" or "SELL" signal. This is particularly useful for identifying moments of strong trend alignment across short-term and long-term timeframes. The alerts can be set to notify the trader when:
All timeframes display a "BUY" signal, indicating a strong bullish alignment across all time horizons.
All timeframes display a "SELL" signal, signaling a strong bearish alignment.
Customization Options
ATR Period: Defines the period for the Average True Range (ATR) calculation, which determines how responsive the Supertrend lines are to changes in market volatility.
Multiplier: Sets the sensitivity of the Supertrend bands to price movements. Higher values make the bands less sensitive, while lower values increase sensitivity, allowing quicker reactions to changes in price.
How to Interpret the Dashboard
BUY (Green): The price is above the Supertrend line, indicating an uptrend for that timeframe.
SELL (Red): The price is below the Supertrend line, indicating a downtrend for that timeframe.
Examples:
If all timeframes display "BUY," the asset is in a strong uptrend across multiple time horizons, signaling potential buying opportunities.
If all timeframes display "SELL," the asset is likely in a strong downtrend, signaling potential selling opportunities.
Mixed signals suggest a consolidation phase or differing trends across short- and long-term periods.
Use Cases
Trend Confirmation: Use the dashboard to confirm trends across multiple timeframes before entering or exiting a position.
Alert Notifications: Set alerts to receive notifications when all timeframes align in a "BUY" or "SELL" signal.
Quick Market Analysis: Get an instant overview of market conditions without switching between charts.
Multi-Timeframe Alignment: Identify alignment across timeframes, often a strong indicator of market momentum in one direction.
Dark Mode Optimization
The dashboard has been optimized for dark mode, with white text and contrasting background colors to ensure easy readability on darker TradingView themes.
Nov 6, 2024
Release Notes
Multi-Timeframe Supertrend Dashboard with Custom Alerts
Description:
This Multi-Timeframe Supertrend Dashboard indicator provides a powerful tool for traders who want to monitor multiple timeframes simultaneously and receive alerts when all timeframes align on a single trend (either BUY or SELL). The indicator uses the popular Supertrend calculation, with customizable ATR (Average True Range) period and multiplier values to tailor sensitivity to your trading style.
Key Features:
Customizable Timeframes:
Track and display up to six timeframes, fully configurable to meet any trading strategy. The default timeframes include 1 Minute, 5 Minutes, 15 Minutes, 1 Hour, 1 Day, and 1 Week but can be changed to any intervals supported by TradingView.
Selective Display Options:
With a user-friendly display selection, you can choose which timeframes to show on the dashboard. For example, you may choose to view only Timeframe 1 through Timeframe 5 or any combination of the six.
Real-Time Alignment Alerts:
Alerts can be set to trigger when all selected timeframes align on a BUY or SELL signal. This feature enables traders to catch strong trends across timeframes without constant monitoring. Alerts are fully configurable, allowing for sound notifications, email alerts, or even webhook notifications to automated trading systems.
Custom Supertrend Settings:
Adjust the ATR Period and Multiplier values to control the Supertrend's sensitivity. Lower values result in more frequent trend changes, while higher values smooth out the trend and focus on larger market moves.
Intuitive Color-Coded Dashboard:
The dashboard is visually optimized for quick insights:
Green cells indicate a BUY trend.
Red cells indicate a SELL trend.
Background color changes when all selected timeframes align, giving an instant visual cue for strong trends.
How to Use:
Select Timeframes:
Go to the input settings to choose the timeframes you want to monitor. Each timeframe is labeled (e.g., Timeframe 1, Timeframe 2) for easy reference.
Configure Display Preferences:
Enable or disable specific timeframes to customize your dashboard view. This is useful for focusing only on timeframes relevant to your strategy.
Set ATR and Multiplier Values:
Adjust these settings to define the Supertrend calculation's responsiveness. This customization allows adaptation to various markets, including stocks, forex, and cryptocurrencies.
Enable Alerts:
Turn on alerts to receive notifications when all active timeframes align. Customize the alert type and delivery (sound, popup, email, etc.) to ensure you’re notified on time.
Ideal For:
Trend Traders who want confirmation of trends across multiple timeframes.
Scalpers and Day Traders looking for quick trend changes with smaller timeframes.
Swing Traders who want a broader overview of market alignment across hourly and daily frames.
Automated System Developers looking for reliable signals across multiple timeframes to integrate with other strategies.
PRESTIJLO ULTIMATE CHART — V2 PRO (Stable)⭐ WORKS BEST IN 5 MINUTES
Why?
Fake signals decrease
The trend appears cleaner
Liquidity (EQH/EQL) works properly
FVG boxes form clearly
TP–SL targets hit most accurately in 5 minutes
Momentum + EMA combination is healthiest here
BTC vs US2000 – Ratio & Spread (BarDai v6 CLEAN)📌 How the Indicator Works
BTC vs US2000 — Ratio & Spread
The indicator shows:
who is stronger right now — crypto-risk (BTC) or equity-risk (US2000 / Russell-2000)
📈 Top Panel — RATIO + Risk Regime Signals
🎯 Ratio (cyan line)
Measures BTC’s relative strength versus US2000:
📈 Ratio rising → BTC outperforming → Risk-ON environment
📉 Ratio falling → BTC underperforming → Risk-OFF environment
📉 EMA (white line)
A smoothed benchmark.
➡ Key signal — when Ratio crosses the EMA
That marks a shift in the risk regime.
🟩🟥 Background Coloring (Risk Mode)
Condition Regime Meaning Trading Logic
Ratio above EMA 🟩 Risk-ON Capital flows into risk assets Favor BTC longs
Ratio below EMA 🟥 Risk-OFF Capital flows out of risk Prefer shorts / hedge / cash
🧭 SpreadNorm — Bottom Panel
🎯 SpreadNorm shows how strong the deviation is:
🟩 Above 0 → BTC risk premium
🟥 Below 0 → Equity-side risk premium (US2000 stronger)
It helps to:
✔ confirm regime signals
✔ filter false crossovers
✔ measure strength of risk move
(Yellow dots mark extreme deviations → mean-reversion potential)
📌 Trading Usage Guide
Scenario Interpretation Action
Ratio above EMA + SpreadNorm green Stable Risk-ON Look for BTC long entries
Ratio below EMA + SpreadNorm red Stable Risk-OFF Avoid aggressive longs
SpreadNorm extreme + yellow dot Reversal potential Take profit / wait for crossover
📌 Best used on 30–60m timeframes for intraday decision making.
🎁 Final Takeaway
The indicator tracks where risk-capital is flowing.
If BTC outperforms equities → we buy BTC.
If BTC underperforms → we don’t buy (or short it).
CVD – Visible Range Candles & Line (Cumulative Delta Volume)Disclaimer:
This indicator is provided for informational and educational purposes only. It does not constitute investment advice, trading advice, or a recommendation to buy or sell any financial instrument. The author assumes no liability for any losses, damages, or errors arising from use or misuse of this script. Please test thoroughly and use at your own risk.
________________________________________________________________________________
Purpose
This indicator provides a fast and clear visualization of Cumulative Delta Volume (CVD) for the currently visible chart range in TradingView. It helps traders identify buy/sell volume pressure and market sentiment over any custom timeframe, with full control over reset intervals and chart style.
Key Features
CVD by Visible Bars: Dynamically calculates CVD only for bars currently visible on the chart, so scrolling and zooming always rescale the line and candles to your view.
Style Selection: Choose line or candlestick display. Candles include both standard OHLC and optional Heikin Ashi smoothing.
Automatic Resets: Restart CVD accumulation at the beginning of every day, week, month, or quarter. Choose ‘None’ for ongoing accumulation.
Fully Custom Colors: Line color, candle body, wick, border – all optimized for clarity and customizable via the indicator’s Style tab.
Autoscale Support: Always fits your timeframe. No need to adjust scale manually.
Zero-Level Reference: Includes a horizontal zero line for quick reversal detection.
Input Parameters
Style: "Line" or "Candles" – controls visual type
Heikin Ashi candles: Enable smoothing for candle view
Show Line: Toggle CVD line visibility
Reset CVD: Options: None, Daily, Weekly, Monthly, Quarterly
How To Use
Add the indicator to your TradingView chart.
Select your preferred visual style (Line or Candles).
Choose reset frequency based on your trading timeframe.
Customize colors in the Style tab (line, candle up/down, wick, border).
Scroll or zoom on the chart – the indicator’s range always fits the currently visible bars.
Typical Use Cases
Intraday traders tracking open/close session volume delta
Swing traders identifying quarterly or monthly market accumulations
Visualizing buy/sell pressure divergence at reversal points
Comparing volume sentiment across flexible chart intervals
Formula
Delta calculation: Delta=volume×(sign(close−open))
Accumulation: Resets at user-chosen intervals, CVD plotted for only visible bars
Author
Created by Ronen Cohen
Global Liquidity Score
Global Liquidity Score – Simple Risk-On / Risk-Off Gauge
This indicator measures overall market liquidity conditions using a single, normalized score.
It takes several macro and crypto variables, standardizes each one (z-score), and combines them into one clear Liquidity Score Line.
You only follow one line (your pink/white line).
The background color shows the current liquidity regime.
⸻
What the indicator measures
The algorithm looks at four major liquidity sources:
1. USD Liquidity (tightening or easing)
• DXY (strong dollar = tighter global liquidity)
• US10Y yield (higher yields = liquidity drain)
2. Risk Sentiment (risk-on vs risk-off)
• VIX index (volatility)
• S&P 500 index (SPX)
3. Credit Market Strength
• High-yield ETFs: HYG, JNK
• Investment-grade corporate credit: LQD
Stronger credit = easier liquidity.
Weaker credit = tightening risk.
4. Internal Crypto Liquidity
• USDT dominance (higher = risk-off in crypto)
• Bitcoin price
• TOTAL2 (crypto market cap excluding BTC)
These are all converted into z-scores and combined into one metric:
Total Liquidity Score =
USD Block + Risk Block − Credit Block − 0.5 × Crypto Block
⸻
How to read the colors
The indicator uses background colors to show the liquidity regime:
Color Meaning
Dark Red Severe liquidity tightening / strong risk-off
Red Mild-to-moderate tightening
Green Liquidity easing / soft risk-on
Dark Green Strong easing, high liquidity / risk-on
Your pink/white line = the final liquidity score.
You only need to follow that single line.
⸻
How to interpret the score
📉 Positive score → Liquidity Tightening (Risk-Off)
• USD stronger
• Yields rising
• Volatility rising
• Credit markets weakening
• Crypto rotating to stablecoins
📈 Negative score → Liquidity Easing (Risk-On)
• USD weakening
• Yields falling
• Stocks rising
• Volatility low
• Credit markets strong
• Crypto beta assets outperform
⸻
What this indicator is NOT
This is not a price predictor.
It does not follow BTC directly.
It tells you liquidity conditions, not immediate price direction.
It answers the macro question:
“Is liquidity flowing INTO the market or OUT of the market?”
If liquidity is tightening (red), crypto rallies are harder to sustain.
If liquidity is easing (green), crypto rallies have more fuel.
Ultimate VFI Adv FilterThe Volume Flow Indicator (VFI) is a technical analysis tool designed to measure the strength, direction, and conviction of market trends using price and volume data. It builds upon traditional volume indicators by factoring in the flow of volume behind price movements, helping traders identify potential accumulation and distribution phases. VFI incorporates noise filtering, adjustable smoothing, and volatility thresholds, making it robust for various market conditions.
Use Cases
Trend Confirmation : VFI helps validate price trends by ensuring that significant moves are supported by strong volume flow, reducing the risk of false signals caused by low-volume price spikes.
Divergence Detection : Spot divergences between volume flow and price to anticipate possible reversals or entries before typical momentum indicators show them.
Breakout and Reversal Signals: When VFI sharply rises or falls above/below its threshold, it can signal high conviction moves, aiding traders to participate in breakouts or anticipate corrections.
Examples
Bullish Confirmation : If price breaks a resistance level accompanied by VFI crossing above zero (or a defined threshold), this confirms a buy signal—volume supports the breakout.
Bearish Divergence : Price forms a new high but VFI fails to do so, indicating weakening momentum—possible shorting opportunity or exit point.
Trend Continuation : Sustained positive VFI readings affirm accumulation and trend strength in uptrends, while persistent negative readings confirm downtrends.
Effectiveness
Noise Reduction : VFI integrates volatility and price movement filtering, reducing sensitivity to market “noise” and accidental spikes, unlike raw volume or basic OBV indicators.
Adaptive Smoothing : Traders can adjust smoothing parameters to match their style (e.g., day trading vs. swing trading).
Versatility : Works across stocks, forex, crypto, and commodities, effective in trending and range-bound markets.
Early Signals : Provides timely alerts to potential trend changes, enabling better risk management and signal confidence.
Micro Pullback Entry SystemMicro Pullback Entry System - Quick Reference
The Pattern
▲ ENTRY (first green to break high)
│
┌──┴───┐
│ 1-3 │ ← PULLBACK (red candles)
│ red │ Stop = Low of this zone
└──────┘
│
┌──┴───┐
│ 3+ │ ← THE MOVE (green candles)
│green │ Strong momentum
└──────┘
Pattern Checklist
Requirement: Why It Matters
3+ green candlesConfirms momentum
1-3 red pullback Brief = momentum intact< 50% retracementShallow = buyers in controlVolume on entryConfirms breakout Above EMA Trend support
Status Flow
Scanning... → 📈 TRENDING → 👀 WATCHING → ⏳ FORMING → 🎯 ENTRY!
StatusMeaningActionScanningLooking for setupWait📈 TRENDINGGreen streak buildingMonitor👀 WATCHINGPullback startedPrepare⏳ FORMINGValid pullback readyGet ready!🎯 ENTRY!Signal triggeredExecute
Entry/Stop/Target
LevelLine ColorHow to SetEntryLime solidClose of signal candleStopRed dashedLow of pullbackTarget 1Aqua dottedEntry + (2 × Risk)Target 2Yellow dottedEntry + (3 × Risk)
Example
Entry: $5.00
Stop: $4.80
Risk: $0.20
Target 1 (2R): $5.00 + $0.40 = $5.40
Target 2 (3R): $5.00 + $0.60 = $5.60
Quality Grades
GradeScoreActionA+5/5 ✓Best setup - full sizeA4/5 ✓Good setup - standard sizeB3/5 ✓Average - reduced sizeC2/5 ✓Weak - skip or tiny size
Scoring Factors
✓ Green streak met minimum
✓ Pullback length valid (1-3)
✓ Retracement shallow (<50%)
✓ Volume confirmed
✓ Above EMA
Trade Execution
Entry
Wait for "⏳ FORMING" status
Watch for green candle forming
Entry triggers when green candle closes above pullback high
Enter at market or small limit above current price
Stop Loss
Set at pullback low (red dashed line)
Non-negotiable - this is your max risk
Trade Management
If no immediate follow-through → exit early
Take 50% off at Target 1 (aqua line)
Move stop to breakeven
Let remainder run to Target 2
Settings Guide
Default (Recommended)
Min Green Candles: 3
Min Pullback: 1
Max Pullback: 3
Max Retracement: 50%
Volume Multiplier: 1.2x
EMA Filter: ON (20)
Conservative (Fewer, Better)
Min Green Candles: 4
Min Pullback: 2
Max Pullback: 3
Max Retracement: 40%
Volume Multiplier: 1.5x
EMA Filter: ON (20)
Aggressive (More Signals)
Min Green Candles: 2
Min Pullback: 1
Max Pullback: 4
Max Retracement: 60%
Volume Multiplier: 1.0x
EMA Filter: OFF
Common Mistakes
❌ Entering before signal
Wait for green triangle
"FORMING" ≠ "ENTRY"
❌ Wide stop
Stop must be at pullback low
If too wide, skip the trade
❌ Ignoring volume
Low volume entries fail more often
Look for ✓ in volume row
❌ Fighting trend
Check EMA status
Should show "Above ✓"
❌ Chasing after entry
If you miss entry by 3+ candles, wait for next setup
Don't chase extended moves
Best Setups
A+ Quality Setup ✓
4-5 green candles (strong move)
2 candle pullback (brief)
25-35% retracement (shallow)
2x+ volume on entry
Well above EMA
Stock already up 5%+ on day
Avoid These ✗
Only 2 green candles
4+ candle pullback (losing momentum)
50%+ retracement (too deep)
Below average volume
Below or at EMA
Against market direction
Timeframe Guide
TFSignalsQualityBest For1mMostLowerScalping5mBalancedGoodDay trading15mFewestHigherSwing entries
Quick Decision Tree
1. Status showing "FORMING"?
NO → Wait
YES → Continue
2. Quality grade A or better?
NO → Skip or small size
YES → Continue
3. Volume confirmed (✓)?
NO → Caution, reduce size
YES → Continue
4. Above EMA (✓)?
NO → Skip
YES → Continue
5. Risk acceptable? (Stop not too wide)
NO → Skip
YES → TAKE THE TRADE
Alert Setup
Essential Alert
"Micro Pullback Entry" - Main signal
How to Set
Right-click chart → Add Alert
Condition: Micro Pullback Entry System
Select "Micro Pullback Entry"
Set notification preferences
Combining with Other Indicators
IndicatorHow to Use5 PillarsFind stocks meeting criteria firstGap & GoLook for micro pullbacks after gap breakoutsR2G TrackerConfirm stock is green before enteringFloat RotationHigh rotation + micro pullback = best setupsBull FlagMicro pullback is a "mini" bull flag
Example Trade
Stock: XYZ
Pre-market: Gapped up 15%
9:35 - 9:38: 4 green candles (move from $4.50 to $5.00)
9:39 - 9:40: 2 red candles (pullback to $4.85)
9:41: Green candle breaks $4.90 (pullback high)
ENTRY: $4.92
STOP: $4.82 (pullback low)
RISK: $0.10
TARGET 1: $5.12 (+$0.20 = 2R)
TARGET 2: $5.22 (+$0.30 = 3R)
Result: Hit Target 2 by 9:55 → +$0.30 per share
Key Takeaways
Micro = 1-3 candles - Brief pullback
Entry = First green to break high - Specific trigger
Stop = Pullback low - Tight risk
Quality matters - Focus on A/A+ setups
Breakout or bailout - Exit if no follow-through
Red to Green / Green to Red Tracker# Red to Green / Green to Red Tracker - Quick Reference
## Core Concept
```
PRIOR CLOSE = Yesterday's closing price = The "zero line" for today
Above Prior Close = 🟢 GREEN (profitable for yesterday's buyers)
Below Prior Close = 🔴 RED (losing for yesterday's buyers)
```
---
## The Two Key Moves
### 🟢 Red to Green (R2G)
```
OPEN: Below prior close (RED)
↓
CROSS: Price moves above prior close
↓
RESULT: Now GREEN - Bullish signal
```
**Why it matters:**
- Bears who shorted get squeezed
- Creates FOMO buying
- Momentum often continues
---
### 🔴 Green to Red (G2R)
```
OPEN: Above prior close (GREEN)
↓
CROSS: Price moves below prior close
↓
RESULT: Now RED - Bearish signal
```
**Why it matters:**
- Longs who bought get trapped
- Triggers stop losses
- Panic selling follows
---
## Signals Explained
| Signal | Shape | Location | Meaning |
|--------|-------|----------|---------|
| R2G | ▲ Green Triangle | Below bar | Crossed to green |
| G2R | ▼ Red Triangle | Above bar | Crossed to red |
---
## Level Lines
| Line | Color | Style | What It Is |
|------|-------|-------|------------|
| Prior Close | Orange | Solid | KEY R2G/G2R level |
| Prior High | Green | Dashed | Yesterday's high |
| Prior Low | Red | Dashed | Yesterday's low |
| Today Open | White | Dotted | Gap reference |
---
## Info Table Reference
| Field | What It Shows |
|-------|---------------|
| Status | 🟢 GREEN / 🔴 RED / ⚪ FLAT |
| Day Change | % change from prior close |
| Prior Close | The key level price |
| Distance | How far from prior close |
| Opened | Did today open green or red |
| R2G | R2G status + price if triggered |
| G2R | G2R status + price if triggered |
| Rel Vol | Current relative volume |
| Prior High | Yesterday's high + distance |
| Prior Low | Yesterday's low + distance |
---
## Trading R2G (Long Setup)
### Entry Checklist
- Stock opened RED (below prior close)
- R2G cross signal triggered (green triangle)
- Volume confirmation (1.5x+ preferred, 2x+ ideal)
- Price holding above prior close
- Overall market not tanking
### Entry Method
1. **Aggressive:** Enter immediately on R2G cross
2. **Conservative:** Wait for pullback to prior close (now support)
### Stop Loss
- Below the R2G cross candle low
- OR below prior close (tighter)
### Target
- Prior day high (first target)
- 2:1 risk-reward minimum
---
## Trading G2R (Short Setup)
### Entry Checklist
- Stock opened GREEN (above prior close)
- G2R cross signal triggered (red triangle)
- Volume confirmation
- Price staying below prior close
- Overall market not ripping
### Entry Method
1. **Aggressive:** Enter immediately on G2R cross
2. **Conservative:** Wait for bounce to prior close (now resistance)
### Stop Loss
- Above the G2R cross candle high
- OR above prior close (tighter)
### Target
- Prior day low (first target)
- Gap fill (if gapped up)
---
## Signal Quality
### High Quality R2G ✓
- Opened significantly red (-2% or more)
- Strong volume on cross (2x+)
- First R2G of the day
- Market trending up
- News catalyst present
### Low Quality R2G ✗
- Opened barely red (-0.5%)
- Low volume cross
- Multiple R2G/G2R already today (choppy)
- Fighting market direction
- No clear catalyst
---
## Common Patterns
### Clean R2G (Best)
```
Open red → Steady climb → Cross prior close → Continue higher
```
### Failed R2G (Avoid/Exit)
```
Open red → Cross to green → Immediately fail back to red
```
### Choppy R2G/G2R (Avoid)
```
Multiple crosses back and forth = Indecision, no clear direction
```
---
## First Cross Rule
**The FIRST R2G or G2R of the day is usually the most significant.**
Why?
- Catches traders off guard
- Largest reaction from market
- Sets tone for rest of day
If you miss the first cross, be more selective on subsequent crosses.
---
## Volume Guide
| Rel Volume | Quality | Action |
|------------|---------|--------|
| < 1.0x | Weak | Skip or small size |
| 1.0-1.5x | Average | Standard position |
| 1.5-2.0x | Good | Full position |
| 2.0x+ | Strong | High conviction |
---
## Settings Recommendations
### Default (Balanced)
```
Require Opposite Open: ON
Require Volume: ON (1.5x)
Candle Close Confirm: OFF
Min Cross %: 0
```
### Conservative (Fewer, Better Signals)
```
Require Opposite Open: ON
Require Volume: ON (2.0x)
Candle Close Confirm: ON
Min Cross %: 0.5
```
### Aggressive (More Signals)
```
Require Opposite Open: OFF
Require Volume: OFF
Candle Close Confirm: OFF
Min Cross %: 0
```
---
## Alert Setup
### Essential Alerts
1. **First R2G of Day** - Highest value alert
2. **R2G with Strong Volume** - High conviction
### How to Set
1. Right-click chart → Add Alert
2. Condition: R2G/G2R Tracker
3. Select alert type
4. Set notification method
---
## Combining with Other Indicators
| Indicator | How to Use |
|-----------|------------|
| **Gap & Go** | R2G on gap-down stock = strong reversal |
| **Bull Flag** | Look for bull flag after R2G confirmation |
| **Float Rotation** | R2G + high rotation = explosive potential |
| **VWAP** | R2G above VWAP = strongest setup |
---
## Common Mistakes
❌ **Chasing late R2G**
- If price is already 3-5% green, you missed the move
- Wait for pullback or next setup
❌ **Ignoring volume**
- Low volume R2G often fails
- Always check relative volume
❌ **Fighting the market**
- R2G in a tanking market often fails
- G2R in a ripping market often fails
❌ **No stop loss**
- Failed R2G can reverse hard
- Always have a defined stop
❌ **Overtrading choppy stocks**
- Multiple R2G/G2R = no clear direction
- Skip stocks that keep crossing back and forth
---
## Quick Decision Framework
```
1. Did it open opposite color? (Red for R2G, Green for G2R)
- NO → Lower probability, be cautious
- YES → Continue
2. Is volume confirming? (1.5x+ relative volume)
- NO → Skip or small size
- YES → Continue
3. Is this the first cross of the day?
- YES → Higher probability
- NO → Be more selective
4. Is market direction supportive?
- NO → Skip
- YES → Take the trade
5. Can you define risk? (Clear stop level)
- NO → Skip
- YES → Execute
```
---
## Key Takeaways
1. **Prior close is THE key level** - everyone watches it
2. **First cross matters most** - sets daily tone
3. **Volume confirms** - low volume crosses often fail
4. **Failed crosses reverse hard** - always use stops
5. **Don't overtrade choppy action** - multiple crosses = stay out
---
Happy Trading! 🟢🔴
Colored HMA [Trend Trigger]This indicator replaces the RSI as a visual "Timing Trigger."
The Wait: As the stock drops to your support level (Volume Wall / VWAP), the HMA line will be Red/Maroon and sloping down.
The Trigger: You wait for the line to Turn Teal.
Why: This confirms the momentum has physically shifted. You aren't guessing the bottom; you are waiting for the "U-Turn" to complete.
Ultimate Trend System — Multi-Timeframe State MachineThis indicator is built for high-frequency and intraday trading (such as Micro Silver futures) and features advanced multi-timeframe signal logic:
Signal stability: BUY, SELL, and STOP are managed as a state machine. Trade signals appear only when the state changes, preventing clutter and making execution cleaner.
Multi-timeframe filtering: Trade signals on your main chart (e.g., 2-minute) are filtered by the dominant trend from higher timeframes (15min SMA and VWAP). Entry signals only appear when aligned with the higher timeframe trend.
Momentum confirmation: ATR (volatility) and QQE (momentum) must also confirm the trend direction before a signal appears.
STOP state: Only appears after a BUY or SELL state if a reversal or noise situation is detected (such as a fake breakout), helping you step aside during poor conditions.
Fakeout detection: The script identifies fake breakouts to avoid entering trades on unreliable price moves.
Optional SuperTrend module: Enable for additional trend filtering if required.
Easy to tune: All main logic and filters are parameters you can further adjust based on your own strategy tests.
Designed for day trading, trend-following algorithms, and backtesting workflows. Gives clear, uncluttered execution signals only in meaningful market regimes. Test, share your results, and feel free to optimize parameters for your own style!
本脚本针对微型银等高频短线交易场景设计,信号逻辑采用多时间框架趋势过滤 + 动能共振。具体特性如下:
主信号只在状态切换时显示,BUY/SELL/STOP互斥,避免信号堆积,更便于实盘执行。
信号触发条件需同时满足短周期动能(ATR、QQE)及15分钟趋势(SMA、VWAP)过滤,仅在趋势顺势区间出现BUY或SELL。
STOP信号仅在出现实际交易信号后才有可能触发,严格控制观望/退出点,提高策略稳健性。
FAKEOUT逻辑干扰信号,避免假突破和无效行情参与。
可选SuperTrend模块开关,进一步增强趋势识别过滤。
适合日内交易、算法跟随、程序化回测场景。欢迎回测、交流及参数联调优化!
ORB 15min: Break & ConfirmUsing the 15-minute opening candle range, this generates an alert when a 5-minute candle breaks the range and another 5-minute candle closes above the breakout candle's high or the high of any other candle that attempted to break the range.
bows//@version=5
indicator("NQ EMA+RSI+ATR Alerts with SL/TP", overlay=true, shorttitle="NQ Alerts SLTP")
// === Inputs ===a
fastLen = input.int(9, "Fast EMA", minval=1)
slowLen = input.int(21, "Slow EMA", minval=1)
rsiLen = input.int(14, "RSI Length", minval=1)
rsiLongMax = input.int(70, "Max RSI to allow LONG", minval=50, maxval=90)
rsiShortMin = input.int(30, "Min RSI to allow SHORT", minval=10, maxval=50)
atrLen = input.int(14, "ATR Length", minval=1)
atrMultSL = input.float(1.5, "ATR Stop-Loss Multiplier", step=0.1)
atrMultTP = input.float(2.5, "ATR Take-Profit Multiplier", step=0.1)
// === Indicator calculations ===
price = close
fastEMA = ta.ema(price, fastLen)
slowEMA = ta.ema(price, slowLen)
rsiVal = ta.rsi(price, rsiLen)
atr = ta.atr(atrLen)
// === Entry signals ===
longSignal = ta.crossover(fastEMA, slowEMA) and rsiVal < rsiLongMax
shortSignal = ta.crossunder(fastEMA, slowEMA) and rsiVal > rsiShortMin
// === SL/TP Levels ===
longSL = price - atr * atrMultSL
longTP = price + atr * atrMultTP
shortSL = price + atr * atrMultSL
shortTP = price - atr * atrMultTP
// === Plotting ===
plot(fastEMA, color=color.orange, title="Fast EMA")
plot(slowEMA, color=color.blue, title="Slow EMA")
plotshape(longSignal, title="Buy Signal", style=shape.triangleup, color=color.new(color.green, 0), location=location.belowbar, size=size.tiny)
plotshape(shortSignal, title="Sell Signal", style=shape.triangledown, color=color.new(color.red, 0), location=location.abovebar, size=size.tiny)
// Optional visualization of SL/TP
plot(longSignal ? longSL : na, "Long Stop-Loss", color=color.new(color.red, 50), style=plot.style_linebr)
plot(longSignal ? longTP : na, "Long Take-Profit", color=color.new(color.green, 50), style=plot.style_linebr)
plot(shortSignal ? shortSL : na, "Short Stop-Loss", color=color.new(color.red, 50), style=plot.style_linebr)
plot(shortSignal ? shortTP : na, "Short Take-Profit", color=color.new(color.green, 50), style=plot.style_linebr)
// === Alerts with SL/TP info ===
alertcondition(longSignal, title="BUY Signal",
message="BUY Alert — NQ LONG: Entry @ {{close}} | SL: {{plot_1}} | TP: {{plot_2}} | {{ticker}}")
alertcondition(shortSignal, title="SELL Signal",
message="SELL Alert — NQ SHORT: Entry @ {{close}} | SL: {{plot_3}} | TP: {{plot_4}} | {{ticker}}")
// === Visual labels ===
if (longSignal)
label.new(bar_index, low, "BUY SL: " + str.tostring(longSL, format.mintick) + " TP: " + str.tostring(longTP, format.mintick),
style=label.style_label_up, color=color.new(#be14c4, 0), textcolor=color.white)
if (shortSignal)
label.new(bar_index, high, "SELL SL: " + str.tostring(shortSL, format.mintick) + " TP: " + str.tostring(shortTP, format.mintick),
style=label.style_label_down, color=color.new(color.red, 0), textcolor=color.white)
Nifty Breakout Levels Strategy (v7 Hybrid)Nifty Breakout Levels Strategy (v7 Hybrid – Compounding from Start Date)
Instrument / TF: Designed for current-month NIFTY futures on 1-hour timeframe, with at most 1 trade per day.
Entry logic: Uses a 10-bar breakout box with a 0.3% buffer, plus EMA-based trend + proximity filter.
Longs: price in breakout-high zone, above EMA50/EMA200 and within proximityPts.
Shorts: price in breakout-low zone and strong downtrend (EMA10 < EMA20 < EMA50 < EMA200, price below EMA200).
Trades only when ATR(14) > atrTradeThresh and during regular hours (till 15:15).
Risk / exits: Stop loss is ATR-adaptive – max of slBasePoints (100 pts) and ATR * atrSLFactor; TP is fixed (tpPoints, e.g. 350 pts).
Longs have stepped trailing profit levels (100/150/200/250/320 pts) that lock in gains on pullbacks.
Shorts have trailing loss-reduction levels (80/120/140 pts) to cut improving losses.
Additional exit: 1H EMA50 2-bar reversal against the position, plus optional EOD flatten at 3:15 PM.
Compounding engine: From a chosen start date, equity is rebased to startCapital, and lot size scales dynamically as equity / capitalPerLot, with automatic lot reductions at three drawdown thresholds (ddCut1 / 2 / 3).
Automation: All entries and exits are exposed via alertconditions (long/short entry & exit) so the strategy can be connected to broker/webhook automation.
[CT] Kurutoga MTF HistogramWhat is Kurutoga MTF Histogram?
The Kurutoga MTF Histogram is a multi-time-frame momentum and mean-deviation tool.
It measures how far the current close is trading away from a rolling midpoint of price and then displays that deviation as a color-coded histogram.
Instead of looking only at one lookback, this version plots three Kurutoga “leads” at the same time:
Kurutoga Lead (x1) – base length
Kurutoga Lead 2x – slower, 2 × base length
Kurutoga Lead 4x – slowest, 4 × base length
Each lead is calculated both on the chart’s timeframe (LTF) and on a Higher Time Frame (HTF) of your choice, so you can see short-term deviation inside a higher-time-frame structure.
4-color Kurutoga scheme
Each Kurutoga lead uses a 4-color MACD-style scheme:
For a given lead:
Up Light – divergence ≥ 0 and rising compared to the previous bar
Up Dark – divergence ≥ 0 and falling (positive but losing momentum)
Down Light – divergence < 0 and falling (bearish momentum increasing)
Down Dark – divergence < 0 and rising (negative but contracting)
By default the same four teal / red hues are shared across x1, x2, and x4. The only difference between the leads is transparency:
x1 = strongest (least transparent)
x2 = medium opacity
x4 = faintest
This lets you see all three layers at once without the chart becoming a solid block of color.
The HTF areas use the same palette but with an extra transparency offset applied, so they appear as soft background bands rather than competing with the histograms.
Inputs and how to use them
1. Base Length
Defines the lookback for the main Kurutoga Lead.
The script automatically creates:
len1 = baseLength
len2 = baseLength × 2
len3 = baseLength × 4
Smaller base lengths → faster, more reactive histograms.
Larger base lengths → smoother, trend-focused behavior.
2. Higher Time Frame
This is the HTF used for the area plots and HTF midpoints.
Examples:
5-minute chart with HTF = 30 or 60 minutes
15-minute chart with HTF = 4H or 1D
The idea is to trade on the lower timeframe while seeing how far price is stretched relative to a higher-time-frame range midpoint.
3. Show / Hide toggles
Under “Show / Hide” you can independently turn on/off:
Kurutoga Lead (x1)
Kurutoga Lead 2x
Kurutoga Lead 4x
HTF Lead, HTF Lead 2x, HTF Lead 4x
This lets you:
Run only a single Kurutoga if you want a clean panel, or
Stack multiple leads for a “multi-speed” view of extension and mean reversion.
4. Color Scheme (4-color Kurutoga)
Up Light / Up Dark / Down Light / Down Dark – base hues used for every lead.
Lead opacity (x1, 2x, 4x) – sets how strong or faint each lead appears.
x1 is usually your primary “trading speed.”
x2 and x4 can be faded so they act as context.
Extra transparency for HTF areas – additional opacity applied on top of each lead’s opacity when drawing HTF areas. This keeps the HTF layer subtle.
You can fine-tune the exact teal/red values here to match your personal palette.
Practical reading & trade ideas
Trend alignment
When all three Kurutoga leads (x1, 2x, 4x) are above zero, price is trading above its rolling mid-range on multiple speeds → bullish environment.
When all three are below zero, you have a multi-speed bearish environment.
Mixed readings (e.g., x1 above zero, x4 below zero) can signal transition or mean-reversion areas.
Momentum vs exhaustion
Up Light / Down Light (light colors) show momentum expanding in that direction.
Up Dark / Down Dark (dark colors) show momentum contracting – price still on that side of zero, but the push is weakening.
After a run of Up Light bars, a shift to Up Dark may hint at a stall or pullback.
After a run of Down Light bars, a shift to Down Dark may hint at short covering / bounce potential.
Multi-time-frame confluence
Use the HTF areas as a backdrop:
If LTF Kurutoga leads are above zero while the HTF area is also positive (and ideally expanding), that’s strong bullish alignment.
If LTF leads are trying to flip up while HTF divergence is still deeply negative, you may be looking at a counter-trend bounce rather than a true trend change.
Example setups
Trend-following entries:
Look for x2 & x4 leads on the same side of zero as the HTF area, then use x1 color shifts (from Down Dark → Up Light or vice versa) to fine-tune entries in the direction of that higher-time-frame bias.
Mean-reversion fades:
Watch for extreme Kurutoga values where x1/x2 are strongly extended beyond zero while color flips from Light to Dark (momentum stalling) against an opposing HTF backdrop .
Notes
The indicator is non-directional by itself – it measures distance from a rolling midpoint rather than trend structure or order flow. It works best when combined with your existing price action/trend tools (moving averages, HLBO, structure zones, etc.).
Because HTF values are brought down via request.security, choose HTF settings that make sense for your product and session (for example, don’t use very high HTFs on thin intraday markets).
Use the Kurutoga MTF Histogram as a visual scanner for extension, momentum regime, and multi-speed alignment, then layer your own entry/exit rules on top.
15m ORB Breakout NAS100 (5m Mgmt) v6 - OptimizedOpening Range Breakout Strategy
Buy and sell signals are given upon break of market session opening range. Best utilized for 30 minute NY opening range, managed on 5 min timeframe on NAS100. Tweak the settings for higher win rate on backtesting dashboard before implementing strategy.






















