インジケーターとストラテジー
Volume Sampled Supertrend [BackQuant]Volume Sampled Supertrend
A Supertrend that runs on a volume sampled price series instead of fixed time. New synthetic bars are only created after sufficient traded activity, which filters out low participation noise and makes the trend much easier to read and model.
Original Script Link
This indicator is built on top of my volume sampling engine. See the base implementation here:
Why Volume Sampling
Traditional charts print a bar every N minutes regardless of how active the tape is. During quiet periods you accumulate many small, low information bars that add noise and whipsaws to downstream signals.
Volume sampling replaces the clock with participation. A new synthetic bar is created only when a pre-set amount of volume accumulates (or, in Dollar Bars mode, when pricevolume reaches a dollar threshold). The result is a non-uniform time series that stretches in busy regimes and compresses in quiet regimes. This naturally:
filters dead time by skipping low volume chop;
standardizes the information content per bar, improving comparability across regimes;
stabilizes volatility estimates used inside banded indicators;
gives trend and breakout logic cleaner state transitions with fewer micro flips.
What this tool does
It builds a synthetic OHLCV stream from volume based buckets and then applies a Supertrend to that synthetic price. You are effectively running Supertrend on a participation clock rather than a wall clock.
Core Features
Sampling Engine - Choose Volume buckets or Dollar Bars . Thresholds can be dynamic from a rolling mean or median, or fixed by the user.
Synthetic Candles - Plots the volume sampled OHLC candles so you can visually compare against regular time candles.
Supertrend on Synthetic Price - ATR bands and direction are computed on the sampled series, not on time bars.
Adaptive Coloring - Candle colors can reflect side, intensity by volume, or a neutral scheme.
Research Panels - Table shows total samples, current bucket fill, threshold, bars-per-sample, and synthetic return stats.
Alerts - Long and Short triggers on Supertrend direction flips for the synthetic series.
How it works
Sampling
Pick Sampling Method = Volume or Dollar Bars.
Set the dynamic threshold via Rolling Lookback and Filter (Mean or Median), or enable Use Fixed and type a constant.
The script accumulates volume (or pricevolume) each time bar. When the bucket reaches the threshold, it finalizes one or more synthetic candles and resets accumulation.
Each synthetic candle stores its own OHLCV and is appended to the synthetic series used for all downstream logic.
Supertrend on the sampled stream
Choose Supertrend Source (Open, High, Low, Close, HLC3, HL2, OHLC4, HLCC4) derived from the synthetic candle.
Compute ATR over the synthetic series with ATR Period , then form upperBand = src + factorATR and lowerBand = src - factorATR .
Apply classic trailing band and direction rules to produce Supertrend and trend state.
Because bars only come when there is sufficient participation, band touches and flips tend to align with meaningful pushes, not idle prints.
Reading the display
Synthetic Volume Bars - The non-uniform candles that represent equal information buckets. Expect more candles during active sessions and fewer during lulls.
Volume Sampled Supertrend - The main line. Green when Trend is 1, red when Trend is -1.
Markers - Small dots appear when a new synthetic sample is created, useful for aligning activity cycles.
Time Bars Overlay (optional) - Plot regular time candles to compare how the synthetic stream compresses quiet chop.
Settings you will use most
Data Settings
Sampling Method - Volume or Dollar Bars.
Rolling Lookback and Filter - Controls the dynamic threshold. Median is robust to outliers, Mean is smoother.
Use Fixed and Fixed Threshold - Force a constant bucket size for consistent sampling across regimes.
Max Stored Samples - Ring buffer limit for performance.
Indicator Settings
SMA over last N samples - A moving average computed on the synthetic close series. Can be hidden for a cleaner layout.
Supertrend Source - Price field from the synthetic candle.
ATR Period and Factor - Standard Supertrend controls applied on the synthetic series.
Visuals and UI
Show Synthetic Bars - Turn synthetic candles on or off.
Candle Color Mode - Green/Red, Volume Intensity, Neutral, or Adaptive.
Mark new samples - Puts a dot when a bucket closes.
Show Time Bars - Overlay regular candles for comparison.
Paint candles according to Trend - Colors chart candles using current synthetic Supertrend direction.
Line Width , Colors , and Stats Table toggles.
Some workflow notes:
Trend Following
Set Sampling Method = Volume, Filter = Median, and a reasonable Rolling Lookback so busy regimes produce more samples.
Trade in the direction of the Volume Sampled Supertrend. Because flips require real participation, you tend to avoid micro whipsaws seen on time bars.
Use the synthetic SMA as a bias rail and trailing reference for partials or re-entries.
Breakout and Continuation
Watch for rapid clustering of new sample markers and a clean flip of the synthetic Supertrend.
The compression of quiet time and expansion in busy bursts often makes breakouts more legible than on uniform time charts.
Mean Reversion
In instruments that oscillate, faded moves against the synthetic Supertrend are easier to time when the bucket cadence slows and Supertrend flattens.
Combine with the synthetic SMA and return statistics in the table for sizing and expectation setting.
Stats table (top right)
Method and Total Samples - Sampling regime and current synthetic history length.
Current Vol or Dollar and Threshold - Live bucket fill versus the trigger.
Bars in Bucket and Avg Bars per Sample - How much time data each synthetic bar tends to compress.
Avg Return and Return StdDev - Simple research metrics over synthetic close-to-close changes.
Why this reduces noise
Time based bars treat a 5 minute print with 1 percent of average participation the same as one with 300 percent. Volume sampling equalizes bar information content. By advancing the bar only when sufficient activity occurs, you skip low quality intervals that add variance but little signal. For banded systems like Supertrend, this often means fewer false flips and cleaner runs.
Notes and tips
Use Dollar Bars on assets where nominal price varies widely over time or across symbols.
Median filter can resist single burst outliers when setting dynamic thresholds.
If you need a stable research baseline, set Use Fixed and keep the threshold constant across tests.
Enable Show Time Bars occasionally to sanity check what the synthetic stream is compressing or stretching.
Link again for reference
Original Volume Based Sampling engine:
Bottom line
When you let participation set the clock, your Supertrend reacts to meaningful flow instead of idle prints. The result is a cleaner state machine, fewer micro whipsaws, and a trend read that respects when the market is actually trading.
Aurum Mindset — Zones ✅ Draws support and resistance only if they’re sufficiently far apart.
✅ Removes duplicate or very close lines (e.g., within 0.2% of price).
✅ Preserves history (not cleared weekly).
✅ Keeps dynamic behavior and weekly Fibonacci levels.
Scalp Recent High/Low (Stable v5 r4)UMA Scalp Levels(ウマ・スキャル・レベルズ)
UMA Scalp Levels
Automatically detects recent swing highs and lows —
the “psychological levels” most watched by traders —
and alerts you when a valid breakout occurs.
🔹 Detects swing highs/lows automatically (non-repainting)
🔹 Confirm breakouts by close or wick (configurable)
🔹 Filters small fakeouts using ATR / % thresholds
🔹 Supports breakout alerts (up / down / retest)
🔹 MTF compatible — e.g., show 15m levels on 5m chart
Ideal for scalpers and day traders who want to catch momentum
immediately after a breakout of key levels.
直近で“市場が意識している高値・安値ライン”を自動で検出し、
ブレイク時にサインとアラートを出す、順張り型のスキャルピング指標。
🔹 スイング高値・安値を自動抽出(リペイント耐性あり)
🔹 終値 or ヒゲ抜けでブレイク判定(選択可能)
🔹 ATRや%幅でノイズを除外(小さな抜けをフィルタリング)
🔹 アラート対応(上抜け/下抜け/リテスト検知)
🔹 MTF対応(例:15分足ラインを5分足チャートに表示)
短期トレードで最も意識される「節目の抜け」を視覚化し、
勢いに乗る順張りトレードの精度を高めます。
Options Position Size CalculatorOptions Position Size Calculator
Automate your options position sizing directly on the chart.
This indicator calculates the optimal number of options contracts to buy based on your risk management parameters, entry price, stop loss, and expected options decay.
📋 What It Does
Eliminates the need for external calculators by computing your position size directly on TradingView. Simply set your entry and stop loss prices, configure your risk parameters, and the indicator instantly shows you how many contracts to buy.
✨ Key Features
Visual Price Lines: Set entry and stop loss prices with draggable horizontal lines
Custom Loss Table: Input your own options loss percentages for distances from 0.1% to 1.5% (with interpolation between values)
Automatic Calculations: Calculates distance to stop loss, expected options loss, dollar risk, and final contract quantity
Live Display: All calculations shown in a clean info box on your chart
Accounts for Contract Multiplier: Correctly factors in the standard 100x options multiplier
🎯 How to Use
1. Configure Settings First
Add the indicator to your chart (set any initial prices when prompted)
Open indicator Settings (gear icon)
Enter your Portfolio Size (e.g., $10,000)
Set Risk Percentage (e.g., 2%)
Enter the Contract Price (the premium per contract, e.g., $1.50)
2. Fill Your Options Loss Table
This is crucial - you must input your own data
For each distance (0.1%, 0.2%, up to 1.5%), enter the expected % loss your options will suffer
Base this on your strategy (calls/puts), strike selection, and expiration
Use historical data from your trades or an options calculator
Example: If underlying moves 0.5% to your stop, your option might lose 30%
3. Set Entry & Stop Loss on Chart
Go back to indicator settings
Adjust Entry Price and Stop Loss Price to match your trade setup
The indicator calculates your position size instantly
4. Read Results
The indicator displays:
Distance to stop loss (%)
Expected options loss (%)
Dollar risk amount
CONTRACTS TO BUY - your position size
📊 Example
Portfolio: $10,000 | Risk: 2% | Entry: $150 | Stop: $149 (0.67% distance)
Expected loss: 38% | Contract price: $2.00
→ Buy 2 contracts
⚠️ Important
Your loss table values depend on your specific options strategy, strike, DTE, and IV
Different strategies require different loss tables
This is for educational purposes - always verify calculations
Never risk more than you can afford to lose
Made by traders, for traders. Trade safe, size smart.
AO Divergence RCT PRO//@description=This indicator, AO Divergence Pro, is a powerful tool designed to automatically identify and plot both classic and hidden divergences on the Awesome Oscillator (AO). Divergences occur when the price action and the oscillator move in opposite directions, often signaling a potential shift in market momentum.
//
// --- Key Features ---
// 1. Regular (Classic) Divergence Detection: This feature identifies potential trend reversals.
// - A **Bullish Regular Divergence** (labeled 'R') is found when the price makes a lower low, but the AO makes a higher low. This suggests that downward momentum is weakening and a reversal to the upside may be imminent.
// - A **Bearish Regular Divergence** (labeled 'R') is found when the price makes a higher high, but the AO makes a lower high. This suggests that upward momentum is fading and a reversal to the downside may be coming.
//
// 2. Hidden Divergence Detection: This feature identifies potential trend continuations.
// - A **Bullish Hidden Divergence** (labeled 'H') is found when the price makes a higher low, but the AO makes a lower low. This often occurs during a pullback in an uptrend, suggesting the trend is likely to resume.
// - A **Bearish Hidden Divergence** (labeled 'H') is found when the price makes a lower high, but the AO makes a higher high. This often occurs during a rally in a downtrend, suggesting the downtrend is likely to continue.
//
// 3. Full Customization: The indicator allows you to toggle the display of each type of divergence (Bullish/Bearish, Regular/Hidden) independently. You can also adjust the pivot detection sensitivity and the time range between divergences to filter signals according to your trading style.
//
// --- How to Use ---
// 1. **Identify Reversals:** Look for the 'R' labels on the chart. A bullish 'R' in a downtrend is a strong signal to consider a long position. A bearish 'R' in an uptrend is a signal to consider a short position.
// 2. **Confirm Continuations:** Look for the 'H' labels. A bullish 'H' during an uptrend pullback can be a good opportunity to add to your position. A bearish 'H' during a downtrend rally can be a signal to enter a short trade.
// 3. **Filter Signals:** Use the settings panel to control the number of signals. For example, increasing the "Min Bars Between" will show fewer, but potentially more reliable, divergences.
//
// --- Attribution ---
// Created by Carlos Mauricio Vizcarra.
//
// --- Disclaimer ---
// This script is for informational and educational purposes only. It is not financial advice. Past performance is not indicative of future results.
Smart Risk DCA Meter — Adaptive Market Risk EngineThe **Smart Risk DCA Meter** is an adaptive market-risk indicator that helps you invest smarter by scaling your DCA buys based on actual market conditions instead of emotion. It combines momentum, distance from trend, and drawdown factors into a single 0–1 risk score that automatically adjusts to each asset’s volatility — from stable indices like SPX to high-beta assets like BTC. Low readings (green zones) signal opportunity to buy heavier, while high readings (red zones) warn to slow down and protect capital.
Sri - Daily & Weekly Candle Strength Sri - Daily & Weekly Candle Strength
Short Title: Sri-Candle
Overlay: Yes
Description:
The Sri - Daily & Weekly Candle Strength indicator is designed to visually display recent daily and weekly candle activity directly on your chart, highlighting buyer and seller dominance for each candle. It helps traders quickly assess the strength of bullish vs bearish pressure over recent periods and can be used with both Normal and Heikin Ashi candles. This tool is particularly useful for swing traders, position traders, and technical analysts who want a clear view of candle momentum without switching timeframes.
Features:
Multi-Timeframe Candles:
Displays the last several daily candles and weekly candles on your chart.
Supports Normal or Heikin Ashi candles for both daily and weekly views.
Candle Strength Analysis:
Calculates buyer strength and seller strength as percentages based on candle body relative to the total candle range.
Highlights the dominant strength (higher of buyer or seller) above each candle.
Option to round dominant strength percentages to whole numbers.
Customizable Colors:
Set separate bullish and bearish colors for daily and weekly candles.
Customize wick colors independently for daily and weekly candles.
Positioning and Layout Options:
Adjust horizontal offset, candle thickness, and gap between candles for both daily and weekly candles.
Choose label positions for date labels (Top, Bottom, Absolute level).
Flexible Text Display:
Choose label text size (Tiny, Small, Normal, Large, Huge).
Daily candles display the day of the month on the candle optionally.
Dynamic Candle Rendering:
Each candle is plotted as a box with wicks, accurately reflecting open, high, low, and close.
Dominant strength percentage label is colored green for bullish dominance and red for bearish dominance.
Inputs:
Daily Settings:
Show Daily Candles – Toggle daily candle visibility.
Daily Candle Type – Choose between Normal or Heikin Ashi.
Daily Timeframe – Select Daily (D), Weekly (W), or Monthly (M).
Bull Candle Color (D) – Color for bullish daily candles.
Bear Candle Color (D) – Color for bearish daily candles.
Wick Color (D) – Color for candle wicks.
Horizontal Offset (D) – Distance from current bar to start drawing.
Candle Thickness (D) – Width of candle boxes.
Gap Between Candles (D) – Space between consecutive candles.
Daily Label Position – Position for the date label.
Absolute Level – Y-axis level when using absolute label position.
Strength Label Text Size – Size of the dominant strength label.
Round Dominant % (No Decimals) – Round the displayed strength to whole numbers.
Weekly Settings:
Show Weekly Candles – Toggle weekly candle visibility.
Weekly Candle Type – Choose Normal or Heikin Ashi.
Weekly Timeframe – Select Daily (D), Weekly (W), or Monthly (M).
Bull Candle Color (W) – Color for bullish weekly candles.
Bear Candle Color (W) – Color for bearish weekly candles.
Wick Color (W) – Wick color for weekly candles.
Horizontal Offset (W) – Distance from current bar for weekly candles.
Candle Thickness (W) – Width of weekly candle boxes.
Gap Between Candles (W) – Space between consecutive weekly candles.
How It Works:
The script fetches candle data using the request.security() function for the selected timeframe and type (Normal or Heikin Ashi).
Each candle’s buyer and seller strength is calculated as:
Buyer Strength (%) = ((Close - Low) / (High - Low)) * 100
Seller Strength (%) = ((High - Close) / (High - Low)) * 100
Candles are drawn as boxes with wicks on the chart at the specified horizontal offset.
The dominant strength is displayed above each candle, colored green for bullish dominance or red for bearish dominance.
Daily candles can optionally show the day of the month as a label.
Use Cases:
Quickly identify recent bullish or bearish trends on daily and weekly timeframes.
Compare strength of buyers vs sellers across multiple periods.
Combine with other technical indicators for multi-timeframe analysis.
KP_EMA_Cross_signal KP_EMA_Cross_signal : This signal removes a lot of false signals and will help in day trading.
DARVAS BOX V5 Darvas Box indicator from Pine Script v3 to v5 with these improvements:
Triangle breakout signals (green up, red down)
Toggle option to show/hide signals
Breakout detection logic that tracks when price exits the box
Alert conditions for both upside and downside breakouts
Color Options:
Customize all visual elements to match your preferences:
Adjustable colors for top and bottom box lines
Custom colors for bullish and bearish breakout triangles
Flexible styling to fit any chart theme"
RSI Bollinger Bands [DCAUT]█ RSI Bollinger Bands
📊 ORIGINALITY & INNOVATION
The RSI Bollinger Bands indicator represents a meaningful advancement in momentum analysis by combining two proven technical tools: the Relative Strength Index (RSI) and Bollinger Bands. This combination addresses a significant limitation in traditional RSI analysis - the use of fixed overbought/oversold thresholds (typically 70/30) that fail to adapt to changing market volatility conditions.
Core Innovation:
Rather than relying on static threshold levels, this indicator applies Bollinger Bands statistical analysis directly to RSI values, creating dynamic zones that automatically adjust based on recent momentum volatility. This approach helps reduce false signals during low volatility periods while remaining sensitive to genuine extremes during high volatility conditions.
Key Enhancements Over Traditional RSI:
Dynamic Thresholds: Overbought/oversold zones adapt to market conditions automatically, eliminating the need for manual threshold adjustments across different instruments and timeframes
Volatility Context: Band width provides immediate visual feedback about momentum volatility, helping traders distinguish between stable trends and erratic movements
Reduced False Signals: During ranging markets, narrower bands filter out minor RSI fluctuations that would trigger traditional fixed-threshold signals
Breakout Preparation: Band squeeze patterns (similar to price-based BB) signal potential momentum regime changes before they occur
Self-Referencing Analysis: By measuring RSI against its own statistical behavior rather than arbitrary levels, the indicator provides more relevant context
📐 MATHEMATICAL FOUNDATION
Two-Stage Calculation Process:
Stage 1: RSI Calculation
RSI = 100 - (100 / (1 + RS))
where RS = Average Gain / Average Loss over specified period
The RSI normalizes price momentum into a bounded 0-100 scale, making it ideal for statistical band analysis.
Stage 2: Bollinger Bands on RSI
Basis = MA(RSI, BB Length)
Upper Band = Basis + (StdDev(RSI, BB Length) × Multiplier)
Lower Band = Basis - (StdDev(RSI, BB Length) × Multiplier)
Band Width = Upper Band - Lower Band
The Bollinger Bands measure RSI's standard deviation from its own moving average, creating statistically-derived dynamic zones.
Statistical Interpretation:
Under normal distribution assumptions with default 2.0 multiplier, approximately 95% of RSI values should fall within the bands
Band touches represent statistically significant momentum extremes relative to recent behavior
Band width expansion indicates increasing momentum volatility (strengthening trend or increasing uncertainty)
Band width contraction signals momentum consolidation and potential regime change preparation
📊 COMPREHENSIVE SIGNAL ANALYSIS
Visual Color Signals:
This indicator features dynamic color fills that highlight extreme momentum conditions:
Green Fill (Above Upper Band):
Appears when RSI breaks above the upper band, indicating exceptionally strong bullish momentum
Represents dynamic overbought zone - not necessarily a reversal signal but a warning of extreme conditions
In strong uptrends, green fills can persist as RSI "rides the band" - this indicates sustained momentum strength
Exit of green zone (RSI falling back below upper band) often signals initial momentum weakening
Red Fill (Below Lower Band):
Appears when RSI breaks below the lower band, indicating exceptionally weak bearish momentum
Represents dynamic oversold zone - potential reversal or continuation signal depending on trend context
In strong downtrends, red fills can persist as RSI "rides the band" - this indicates sustained selling pressure
Exit of red zone (RSI rising back above lower band) often signals initial momentum recovery
Position-Based Signals:
Upper Band Interactions:
RSI Touching Upper Band: Dynamic overbought condition - momentum is extremely strong relative to recent volatility, potential exhaustion or continuation depending on trend context
RSI Riding Upper Band: Sustained strong momentum, often seen in powerful trends, not necessarily an immediate reversal signal but warrants monitoring for exhaustion
RSI Crossing Below Upper Band: Initial momentum weakening signal, particularly significant if accompanied by price divergence
Lower Band Interactions:
RSI Touching Lower Band: Dynamic oversold condition - momentum is extremely weak relative to recent volatility, potential reversal or continuation of downtrend
RSI Riding Lower Band: Sustained weak momentum, common in strong downtrends, monitor for potential exhaustion
RSI Crossing Above Lower Band: Initial momentum strengthening signal, early indication of potential reversal or consolidation
Basis Line Signals:
RSI Above Basis: Bullish momentum regime - upward pressure dominant
RSI Below Basis: Bearish momentum regime - downward pressure dominant
Basis Crossovers: Momentum regime shifts, more significant when accompanied by band width changes
RSI Oscillating Around Basis: Balanced momentum, often indicates ranging market conditions
Volatility-Based Signals:
Band Width Patterns:
Narrow Bands (Squeeze): Momentum volatility compression, often precedes significant directional moves, similar to price coiling patterns
Expanding Bands: Increasing momentum volatility, indicates trend acceleration or growing uncertainty
Narrowest Band in 100 Bars: Extreme compression alert, high probability of upcoming volatility expansion
Advanced Pattern Recognition:
Divergence Analysis:
Bullish Divergence: Price makes lower lows while RSI touches or stays above previous lower band touch, suggests downward momentum weakening
Bearish Divergence: Price makes higher highs while RSI touches or stays below previous upper band touch, suggests upward momentum weakening
Hidden Bullish: Price makes higher lows while RSI makes lower lows at the lower band, indicates strong underlying bullish momentum
Hidden Bearish: Price makes lower highs while RSI makes higher highs at the upper band, indicates strong underlying bearish momentum
Band Walk Patterns:
Upper Band Walk: RSI consistently touching or staying near upper band indicates exceptionally strong trend, wait for clear break below basis before considering reversal
Lower Band Walk: RSI consistently at lower band signals very weak momentum, requires break above basis for reversal confirmation
🎯 STRATEGIC APPLICATIONS
Strategy 1: Mean Reversion Trading
Setup Conditions:
Market Type: Ranging or choppy markets with no clear directional trend
Timeframe: Works best on lower timeframes (5m-1H) or during consolidation phases
Band Characteristic: Normal to narrow band width
Entry Rules:
Long Entry: RSI touches or crosses below lower band, wait for RSI to start rising back toward basis before entry
Short Entry: RSI touches or crosses above upper band, wait for RSI to start falling back toward basis before entry
Confirmation: Use price action confirmation (candlestick reversal patterns) at band touches
Exit Rules:
Target: RSI returns to basis line or opposite band
Stop Loss: Fixed percentage or below recent swing low/high
Time Stop: Exit if position not profitable within expected timeframe
Strategy 2: Trend Continuation Trading
Setup Conditions:
Market Type: Clear trending market with higher highs/lower lows
Timeframe: Medium to higher timeframes (1H-Daily)
Band Characteristic: Expanding or wide bands indicating strong momentum
Entry Rules:
Long Entry in Uptrend: Wait for RSI to pull back to basis line or slightly below, enter when RSI starts rising again
Short Entry in Downtrend: Wait for RSI to rally to basis line or slightly above, enter when RSI starts falling again
Avoid Counter-Trend: Do not fade RSI at bands during strong trends (band walk patterns)
Exit Rules:
Trailing Stop: Move stop to break-even when RSI reaches opposite band
Trend Break: Exit when RSI crosses basis against trend direction with conviction
Band Squeeze: Reduce position size when bands start narrowing significantly
Strategy 3: Breakout Preparation
Setup Conditions:
Market Type: Consolidating market after significant move or at key technical levels
Timeframe: Any timeframe, but longer timeframes provide more reliable breakouts
Band Characteristic: Narrowest band width in recent 100 bars (squeeze alert)
Preparation Phase:
Identify band squeeze condition (bands at multi-period narrowest point)
Monitor price action for consolidation patterns (triangles, rectangles, flags)
Prepare bracket orders for both directions
Wait for band expansion to begin
Entry Execution:
Breakout Confirmation: Enter in direction of RSI band breakout (RSI breaks above upper band or below lower band)
Price Confirmation: Ensure price also breaks corresponding technical level
Volume Confirmation: Look for volume expansion supporting the breakout
Risk Management:
Stop Loss: Place beyond consolidation pattern opposite extreme
Position Sizing: Use smaller size due to false breakout risk
Quick Exit: Exit immediately if RSI returns inside bands within 1-3 bars
Strategy 4: Multi-Timeframe Analysis
Timeframe Selection:
Higher Timeframe: Daily or 4H for trend context
Trading Timeframe: 1H or 15m for entry signals
Confirmation Timeframe: 5m or 1m for precise entry timing
Analysis Process:
Trend Identification: Check higher timeframe RSI position relative to bands, trade only in direction of higher timeframe momentum
Setup Formation: Wait for trading timeframe RSI to show pullback to basis in trending direction
Entry Timing: Use confirmation timeframe RSI band touch or crossover for precise entry
Alignment Confirmation: All timeframes should show RSI moving in same direction for highest probability setups
📋 DETAILED PARAMETER CONFIGURATION
RSI Source:
Close (Default): Standard price point, balances responsiveness and reliability
HL2: Reduces noise from intrabar volatility, provides smoother RSI values
HLC3 or OHLC4: Further smoothing for very choppy markets, slower to respond but more stable
Volume-Weighted: Consider using VWAP or volume-weighted prices for additional liquidity context
RSI Length Parameter:
Shorter Periods (5-10): More responsive but generates more signals, suitable for scalping or very active trading, higher noise level
Standard (14): Default and most widely used setting, proven balance between responsiveness and reliability, recommended starting point
Longer Periods (21-30): Smoother momentum measurement, fewer but potentially more reliable signals, better for swing trading or position trading
Optimization Note: Test across different market regimes, optimal length often varies by instrument volatility characteristics
RSI MA Type Parameter:
RMA (Default): Wilder's original smoothing method, provides traditional RSI behavior with balanced lag, most widely recognized and tested, recommended for standard technical analysis
EMA: Exponential smoothing gives more weight to recent values, faster response to momentum changes, suitable for active trading and trending markets, reduces lag compared to RMA
SMA: Simple average treats all periods equally, smoothest output with highest lag, best for filtering noise in choppy markets, useful for long-term position analysis
WMA: Weighted average emphasizes recent data less aggressively than EMA, middle ground between SMA and EMA characteristics, balanced responsiveness for swing trading
Advanced Options: Full access to 25+ moving average types including HMA (reduced lag), DEMA/TEMA (enhanced responsiveness), KAMA/FRAMA (adaptive behavior), T3 (smoothness), Kalman Filter (optimal estimation)
Selection Guide: RMA for traditional analysis and backtesting consistency, EMA for faster signals in trending markets, SMA for stability in ranging markets, adaptive types (KAMA/FRAMA) for varying volatility regimes
BB Length Parameter:
Short Length (10-15): Tighter bands that react quickly to RSI changes, more frequent band touches, suitable for active trading styles
Standard (20): Balanced approach providing meaningful statistical context without excessive lag
Long Length (30-50): Smoother bands that filter minor RSI fluctuations, captures only significant momentum extremes, fewer but higher quality signals
Relationship to RSI Length: Consider BB Length greater than RSI Length for cleaner signals
BB MA Type Parameter:
SMA (Default): Standard Bollinger Bands calculation using simple moving average for basis line, treats all periods equally, widely recognized and tested approach
EMA: Exponential smoothing for basis line gives more weight to recent RSI values, creates more responsive bands that adapt faster to momentum changes, suitable for trending markets
RMA: Wilder's smoothing provides consistent behavior aligned with traditional RSI when using RMA for both RSI and BB calculations
WMA: Weighted average for basis line balances recent emphasis with historical context, middle ground between SMA and EMA responsiveness
Advanced Options: Full access to 25+ moving average types for basis calculation, including HMA (reduced lag), DEMA/TEMA (enhanced responsiveness), KAMA/FRAMA (adaptive to volatility changes)
Selection Guide: SMA for standard Bollinger Bands behavior and backtesting consistency, EMA for faster band adaptation in dynamic markets, matching RSI MA type creates unified smoothing behavior
BB Multiplier Parameter:
Conservative (1.5-1.8): Tighter bands resulting in more frequent touches, useful in low volatility environments, higher signal frequency but potentially more false signals
Standard (2.0): Default setting representing approximately 95% confidence interval under normal distribution, widely accepted statistical threshold
Aggressive (2.5-3.0): Wider bands capturing only extreme momentum conditions, fewer but potentially more significant signals, reduces false signals in high volatility
Adaptive Approach: Consider adjusting multiplier based on instrument characteristics, lower multiplier for stable instruments, higher for volatile instruments
Parameter Optimization Workflow:
Start with default parameters (RSI:14, BB:20, Mult:2.0)
Test across representative sample period including different market regimes
Adjust RSI length based on desired responsiveness vs stability tradeoff
Tune BB length to match your typical holding period
Modify multiplier to achieve desired signal frequency
Validate on out-of-sample data to avoid overfitting
Document optimal parameters for different instruments and timeframes
Reference Levels Display:
Enabled (Default): Shows traditional 30/50/70 levels for comparison with dynamic bands, helps visualize the adaptive advantage
Disabled: Cleaner chart focusing purely on dynamic zones, reduces visual clutter for experienced users
Educational Value: Keeping reference levels visible helps understand how dynamic bands differ from fixed thresholds across varying market conditions
📈 PERFORMANCE ANALYSIS & COMPETITIVE ADVANTAGES
Comparison with Traditional RSI:
Fixed Threshold RSI Limitations:
In ranging low-volatility markets: RSI rarely reaches 70/30, missing tradable extremes
In trending high-volatility markets: RSI frequently breaks through 70/30, generating excessive false reversal signals
Across different instruments: Same thresholds applied to volatile crypto and stable forex pairs produce inconsistent results
Threshold Adjustment Problem: Manually changing thresholds for different conditions is subjective and lagging
RSI Bollinger Bands Advantages:
Automatic Adaptation: Bands adjust to current volatility regime without manual intervention
Consistent Logic: Same statistical approach works across different instruments and timeframes
Reduced False Signals: Band width filtering helps distinguish meaningful extremes from noise
Additional Information: Band width provides volatility context missing in standard RSI
Objective Extremes: Statistical basis (standard deviations) provides objective extreme definition
Comparison with Price-Based Bollinger Bands:
Price BB Characteristics:
Measures absolute price volatility
Affected by large price gaps and outliers
Band position relative to price not normalized
Difficult to compare across different price scales
RSI BB Advantages:
Normalized Scale: RSI's 0-100 bounds make band interpretation consistent across all instruments
Momentum Focus: Directly measures momentum extremes rather than price extremes
Reduced Gap Impact: RSI calculation smooths price gaps impact on band calculations
Comparable Analysis: Same RSI BB appearance across stocks, forex, crypto enables consistent strategy application
Performance Characteristics:
Signal Quality:
Higher Signal-to-Noise Ratio: Dynamic bands help filter RSI oscillations that don't represent meaningful extremes
Context-Aware Alerts: Band width provides volatility context helping traders adjust position sizing and stop placement
Reduced Whipsaws: During consolidations, narrower bands prevent premature signals from minor RSI movements
Responsiveness:
Adaptive Lag: Band calculation introduces some lag, but this lag is adaptive to current conditions rather than fixed
Faster Than Manual Adjustment: Automatic band adjustment is faster than trader's ability to manually modify thresholds
Balanced Approach: Combines RSI's inherent momentum lag with BB's statistical smoothing for stable yet responsive signals
Versatility:
Multi-Strategy Application: Supports both mean reversion (ranging markets) and trend continuation (trending markets) approaches
Universal Instrument Coverage: Works effectively across equities, forex, commodities, cryptocurrencies without parameter changes
Timeframe Agnostic: Same interpretation applies from 1-minute charts to monthly charts
Limitations and Considerations:
Known Limitations:
Dual Lag Effect: Combines RSI's momentum lag with BB's statistical lag, making it less suitable for very short-term scalping
Requires Volatility History: Needs sufficient bars for BB calculation, less effective immediately after major regime changes
Statistical Assumptions: Assumes RSI values are somewhat normally distributed, extreme trending conditions may violate this
Not a Standalone System: Like all indicators, should be combined with price action analysis and risk management
Optimal Use Cases:
Best for swing trading and position trading timeframes
Most effective in markets with alternating volatility regimes
Ideal for traders who use multiple instruments and timeframes
Suitable for systematic trading approaches requiring consistent logic
Suboptimal Conditions:
Very low timeframes (< 5 minutes) where lag becomes problematic
Instruments with extreme volatility spikes (gap-prone markets)
Markets in strong persistent trends where mean reversion rarely occurs
Periods immediately following major structural changes (new trading regime)
USAGE NOTES
This indicator is designed for technical analysis and educational purposes to help traders understand the interaction between momentum measurement and statistical volatility bands. The RSI Bollinger Bands has limitations and should not be used as the sole basis for trading decisions.
Important Considerations:
No Predictive Guarantee: Past band touches and patterns do not guarantee future price behavior
Market Regime Dependency: Indicator performance varies significantly between trending and ranging market conditions
Complementary Analysis Required: Should be used alongside price action, support/resistance levels, and fundamental analysis
Risk Management Essential: Always use proper position sizing, stop losses, and risk controls regardless of signal quality
Parameter Sensitivity: Different instruments and timeframes may require parameter optimization for optimal results
Continuous Monitoring: Band characteristics change with market conditions, requiring ongoing assessment
Recommended Supporting Analysis:
Price structure analysis (support/resistance, trend lines)
Volume confirmation for breakout signals
Multiple timeframe alignment
Market context awareness (news events, session times)
Correlation analysis with related instruments
The indicator aims to provide adaptive momentum analysis that adjusts to changing market volatility, but traders must apply sound judgment, proper risk management, and comprehensive market analysis in their decision-making process.
CustVolumeStudy - Stacked Buy/Sell + Sell% (top-right)Current Bar Sell + Stacked Buy/Sell. This indicator helps tell the story of momentum on the current bar. If the % is high then it is bearish. Low it is bullish.
Santhosh ATR Buy/Sell with Consolidation OverlayUse this indicator to filter false signals, if you get signals within consolidation area , then wait for the market to break the consolidation zone to take the entry. Avoid entry within consolidation zones . For better performance use "lookback period:45", "Consolidation Length:2" for consolidation inputs. Feel free to use your inputs to match your strategy again any asset.
Tamu2.0Testing Oct 2025. Indicator tries to identify short periods of volatility and market manipulation.
Premarket Power Bar StrategyStep 1: Mark Your Levels Before the Open
When: Between 9:00–9:25 AM ET
Premarket High – the highest price before 9:30 AM
Premarket Low – the lowest price before 9:30 AM
Use extended hours view on your chart platform.
These levels act as magnets and turning points once the market opens. They form the foundation for your first trade of the day.
Step 2: Let Price Come to the Level
Do not chase early price action.
Wait for price to approach either the premarket high or low during regular market hours.
Look for a pause, hesitation, or test near the level.
This keeps you from overtrading and forces you to wait for structure to form.
Step 3: Watch for the Power Bar
A power bar is a large-bodied candle with strong momentum and little to no wick on the opposite side.
It should form directly at the premarket level—not near it, not after a breakout.
At the premarket low, a bullish power bar is your buy trigger.
At the premarket high, a bearish power bar signals a short opportunity.
No power bar? No trade. The level and the candle must come together to create the edge.
(BONUS: As you identify specific patterns, eg, double bottoms, double tops, etc. look for those patterns near the premarket high or low)
Step 4: Entry, Stop, and Target
Entry:
For longs: place your order just above the high of the bullish power bar
For shorts: enter just below the low of the bearish power bar
Stop:
Long trade: just under the low of the power bar
Short trade: just above the high of the power bar
Profit Target Options:
VWAP
Prior day’s close
Key support/resistance levels
Keep your trade logic mechanical and consistent.
Execution Guidelines
Only trade when price reacts at your marked level
Wait for the power bar to fully form before entering
Do not jump in early or chase candles that form away from your levels
Cosmik Z-TP [ZuperView]Cosmik Z-TP is a trend-following trading system for TradingView designed to keep things simple while delivering all the core elements for effective trading, including straightforward trend analysis, a dynamic trading zone, clear entry and exit points, and built-in take-profit and stop-loss levels.
It adapts to a wide range of styles – scalping, day trading, or swing trading – and works smoothly across different bar types, making it a practical choice for traders of any experience level.
📌 Key features
🔸 Trend
Cosmik Z-TP highlights market direction and strength through its Trend Vector and Trailing Stop line, providing clear visual cues for quick trend analysis and trend confirmation.
Uptrend: When price closes above the pink Trailing Stop, the chart background turns green.
Downtrend: When price closes below the blue Trailing Stop, the background turns pink.
The shape of the Trend Vector reveals momentum:
Strong trend: The vector stays flat briefly (fewer than 10 bars) before rising or falling sharply.
Weak trend: The vector remains flat for an extended period (more than 10 bars).
These visual cues make it easy to read both the direction and the intensity of the current trend at a glance.
The trading system identifies market trends across both time-based and non-time-based charts with 2 dedicated modes:
Tick mode: Tailored for non-time-based charts such as Renko or Range. In this setting, the Trend Vector and Trailing Stop react directly to pure price movement, delivering precise trend detection without time constraints.
ninZaATR mode: Designed for time-based charts such as Minute, Second, and Hour, as well as non-time-based charts like Tick and Volume. In this mode, the Trend Vector and Trailing Stop scale with a multiple of ninZaATR, providing a clear read of market volatility within the selected timeframe.
Note: ninZaATR is an enhanced version of the Average True Range (ATR) indicator, designed to deliver smoother trend behavior on lower timeframes.
🔸 Zone
The Trading Zone is a dynamic support/resistance zone formed by the space between the Trend Vector and the Trailing Stop. It pinpoints areas where price is likely to retrace before continuing its move.
You can fine-tune how closely the zone follows price: when it tracks price more tightly, it helps capture early pullbacks; when set farther away, it detects deeper, stronger retracements.
🔸 Pullback signal
Pullback signals come from a 3-oscillator blend of MFI, RSI, and Stochastics, all filtered by the principle of following the trend.
This layered design reduces noise and delivers faster, more dependable trade setups, complete with real-time buy or sell alerts to help you stay on top of every valid entry.
Rather than reacting to the usual overbought or oversold thresholds (70/80 or 30/20), Cosmik Z-TP focuses on the oscillators’ natural tendency to move around the 50 line.
This creates a distinctive pullback-signal method:
Uptrend: When all three oscillators dip below 50, the system flags a potential pullback entry without waiting for an oversold reading.
Downtrend: When all three rise above 50, the system highlights a pullback opportunity without requiring an overbought level.
🔸 Stop and Target Levels
Cosmik Z-TP provides 2 primary ways to place stop-loss (SL) levels, both derived from the behavior of the Trailing Stop, which acts as a dynamic support or resistance and a key guide to trend direction.
These levels are designed to support effective trade and risk management:
Flat Trailing Stop Levels
When the Trailing Stop remains flat, it signals potential market weakness and forms a strong support or resistance level. The system automatically extends these flat levels across the chart, creating natural areas for stop-loss placement that help limit risk as momentum fades.
Trailing Stop Plot
Stops can also be placed directly on the active Trailing Stop line. This approach allows trades to follow the trend until it concludes, reducing premature exits while maximizing profit potential.
For take-profit levels, the same flat Trailing Stop levels already plotted on the chart serve as natural profit objectives, marking key support or resistance levels where price often pauses or reverses.
📌 Customization
The system is built for easy adjustments, allowing each part to align with your unique approach and the market’s pace.
🔸 Trend
Adjust the Trailing Stop plot to focus on short-term or long-term trends.
Use Tick mode for Range and Renko charts.
Apply ninZaATR mode for all other chart types (Minute, Range, Second, Volume, Heiken Ashi, etc.).
🔸 Zone
Control the distance between the Trailing Stop and Trend Vector relative to price to capture either early pullbacks or stronger retracements.
🔸 Signal
Set the signal frequency by adjusting the periods of the MFI, RSI, and Stochastic oscillators.
Define the maximum number of trading signals within a trend phase.
Specify the maximum number of signals allowed during a flat phase of the Trend Vector.
Multi-Session Futures Range Boxes(NY, Europe, & Asia)Multi-Session Boxes — ASIA / EUROPE / NEW YORK
This indicator draws session boxes for three custom trading sessions and updates them live on intraday charts.
Each box tracks the high, low, and open of its session; the box color switches Up/Down based on whether the current price is above or below the session open.
Default setup
• ASIA — 20:00–02:59 (ET), Purple (bg/border), opacity 90
• EUROPE — 03:00–09:29 (ET), Turquoise (bg/border), opacity 90
• NEW YORK — 09:30–16:00 (ET), Yellow (bg/border), opacity 90
You can change times, time zones (IANA names like America/New_York, UTC, Europe/London), colors, opacity, and border width per session from the settings. Each session also has an Enable toggle.
How it works
• At each session’s first bar, the indicator records the open and initializes high/low.
• During the session, it updates the highest high / lowest low and stretches the box to the current bar.
• Box background & border use your Up/Down colors:
◦ Up if close > session open
◦ Down otherwise
• Works on intraday timeframes only (as with the original script).
Notes for futures
• The box schedule is based on your selected time zone.
• If you keep ASIA at 20:00, the gap between 16:00–20:00 ET (post-RTH / Globex evening) is intentionally unboxed so Asia’s H/L aren’t polluted by thin trade.
• If you prefer to fill that gap visually, you can add a separate “Evening” session later without changing Asia’s times.
Ghost Signal — MTF EMA/VWAP Confluence SystemGhost Signal — MTF EMA/VWAP Confluence System
Purpose
Ghost Signal is an intraday trend-entry tool that tries to do one thing well: only fire when multiple, independent edges agree. It looks for pullbacks to the EMA-20 or clean trend-continuations, then gates those raw triggers behind VWAP/Anchored-VWAP alignment, higher-timeframe structure, momentum, spacing (anti-chop), volume and ATR context. The goal is fewer, higher-quality entries that avoid “death-by-a-thousand scalps” in chop.
What it plots
EMA 20/50/200 for trend structure and spacing (no-braid filter).
VWAP (session) and optional Anchored VWAP (Daily/Weekly/Monthly).
ENTRY labels when all filters pass.
A compact status table: HTF score (M/W/D/4H/15/5), VWAP/AVWAP arrows, EMA regime, slopes %, ATR%, spacing %, and distance from EMA-50.
How signals are built
Raw triggers (on chart TF or a lower “signal TF” for intrabar precision):
PB20: trend pullback that crosses back through EMA-20.
TC: trend-continuation when price holds the side of EMA-20 with limited gap.
Confluence filters (must pass):
EMA regime & slopes: 20>50>200 for longs (reverse for shorts) with minimum slope on EMA-20/50.
VWAP/AVWAP alignment: price must be above both for longs / below for shorts, with a configurable margin.
HTF structure score: combines M/W/D/4H/15/5 states and penalizes corrections.
Anti-chop spacing: minimum separation between 20↔50 and 50↔200.
Context: volume ≥ SMA×mult, ATR% ≥ floor, max distance from EMA-50 to avoid late chases.
Optional breakout: close > prior high (long) / < prior low (short).
Time lockouts: exclude known messy windows (open/close, FX rollover, etc.).
Adaptive slope (optional): slopes auto-tighten/loosen with market heat (ATR% & relative volume).
How to use
Works on 1–5m best; designed for futures, stocks, FX, and crypto.
Use the status table to confirm context (HTF score, VWAP arrows, slopes/ATR/spacing).
Pair with your own risk model; common templates: stop ≈ 1.5–2× ATR, TP ≈ 1.2–1.8R or an ATR trail.
Turn the Signal TF to “1” on 3m/5m charts if you want intrabar PB20 detection.
Why it helps
Ghost Signal tries to stack institutional anchors (VWAP/AVWAP), higher-timeframe bias, and momentum/structure so you participate in moves with real sponsorship—and sit out the braid.
Notes & limits
No indicator removes risk. Expect fewer signals on range days, slippage around news, and thinner markets to require stricter volume/spacing. Past results don’t guarantee future returns.
Extreme Candle Pattern Visualizer🟠 OVERVIEW
This indicator compares the current candle's percentage change against historical data, then highlights past candles with equal or bigger magnitude of movement. Also, for all the highlighted past candles, it tracks how far price extends before recovering to its starting point. It also provides statistical context through percentile rankings.
IN SHORT: Quickly spot similar price movements in the past and understand how unusual the current candle is using percentile rankings.
🟠 CORE CONCEPT
The indicator operates on two fundamental principles:
1. Statistical Rarity Detection
The script calculates the percentage change (open to close) of every candle within a user-defined lookback period and determines where the current candle ranks in this distribution. A candle closing at -9% might fall in the bottom 5th percentile, indicating it's more extreme than 95% of recent candles. This percentile ranking helps traders identify statistically unusual moves that often precede reversals or extended trends.
2. Recovery Path Mapping
Once extreme candles are identified (those matching or exceeding the current candle's magnitude), the indicator tracks their subsequent price action. For bearish candles, it measures how far price dropped before recovering back to the candle's opening price. For bullish candles, it tracks how high price climbed before returning to the open. This reveals whether extreme moves typically extend further or reverse quickly.
🟠 PRACTICAL APPLICATIONS
Mean Reversion Trading:
Candles in extreme percentiles (below 10% or above 90%) often signal oversold/overbought conditions. The recovery lines show typical extension distances, helping traders set profit targets for counter-trend entries.
Momentum Continuation:
When extreme candles show small recovery percentages before price reverses back, it suggests strong directional momentum that may continue.
Stop Loss Placement:
Historical recovery data reveals typical extension ranges after extreme moves, informing more precise stop loss positioning beyond noise but before major reversals.
Pattern Recognition:
By visualizing how similar historical extremes resolved, traders gain context for current price action rather than trading in isolation.
🟠 VISUAL ELEMENTS
Orange Circles: Mark historical candles with similar or greater magnitude to current candle
Red Lines: Track downward extensions after bearish extreme candles
Green Lines: Track upward extensions after bullish extreme candles
Percentage Labels: Show exact extension distance from candle close to extreme point
Percentile Label: Color-coded box displaying current candle's statistical ranking
Hollow Candles: Background rendering for clean chart presentation
🟠 ORIGINALITY
This indicator uniquely combines statistical percentile analysis with forward-looking recovery tracking. While many indicators identify extreme moves, few show what happened next across multiple historical instances simultaneously. The dual approach provides both the "how rare is this?" question (percentile) and "what typically happens after?" answer (recovery paths) in a single visual framework.
Composite Trend AverageThis indicator combines 6 advanced trend-following indicators into a single consensus system:
• HalfTrend
• T3 (Tillson T3)
• FRAMA (Fractal Adaptive Moving Average)
• MAMA (MESA Adaptive Moving Average)
• McGinley Dynamic
• KAMA (Kaufman Adaptive Moving Average)
Features:
- Composite average line (average of all 6 indicators)
- Consensus zone showing the range between highest and lowest indicator values
- Dynamic color coding: GREEN when price closes above ALL indicators, RED when price closes below ALL indicators
- Toggle options for individual indicators, composite line, and consensus zone
Quarter Levels — Auto Recentering NQ onlyQuarter Levels — Auto Recentering (PERMANENT) + Big Offset Labels
What it is
This tool paints true horizontal key levels that traders naturally anchor to: the 00 / 25 / 50 / 75 quarter levels (black), the 35 / 65 / 90 reaction levels (red), and the 10 / 80 sweep/edge levels (purple).
Lines are infinite horizontals and the grid auto-recenters ±200 points around current price each new bar. Labels on the right show the last two digits (e.g., 25, 35, 50, 65, 75, 80, 90), so you instantly know which level you’re at.
Why it helps
Markets often “snap” to simple numbers. These levels create a clean scaffold for intraday structure, pullbacks, and rotations—without clutter or lagging math.
Color Legend
Black — 00 / 25 / 50 / 75:
Core quarter levels. Expect frequent pauses, re-tests, and rotations.
Use: default S/R map; bias for mean-reversion inside ranges.
Red — 35 / 65 / 90:
“Continuation / reaction” levels. Price often accelerates through these once momentum takes.
Use: breakout guides and precise take-profit targets.
Purple — 10 / 80:
Sweep / edge levels. Price often wicks into these and rejects.
Use: fade the last push, or confirm a sweep before a reversal.
How it works
The script draws the levels as extend.both horizontals (not derived from candle points).
Every new bar, it rebuilds the grid around close ± 200 pts (editable in code: RANGE_POINTS).
Prices are snapped to tick (syminfo.mintick) so lines lock to the Y-axis.
Labels show only the offset (two-digit number) to keep the chart clean.
Setup & Customization
No inputs required.
If you want tweaks, open the code and edit at the top:
RANGE_POINTS – widen/narrow the vertical coverage.
LABEL_OFFSET – push labels further to the right.
LABEL_SIZE – size.small / normal / large.
Color & width constants (per group).
Practical Use (playbook)
Use this grid as a price map, not a signal generator. Combine it with your execution tools.
1) In Range Conditions
Fade to Black: When price rotates inside a range, look for exhaustion into black levels (00/25/50/75).
Plan: wait for rejection (wick + failed follow-through), enter back toward the mid/next quarter. Stop just beyond the level; first target the next red or black.
Purple Sweeps: Watch quick spikes into 10/80 that immediately fail.
Plan: fade the sweep with tight risk; scale out at 25/75; hold a runner to 50.
2) In Trend / Momentum
Red Rails (35/65/90): When momentum is strong, price often steps through red levels cleanly.
Plan: use them as continuation targets or trail anchors. If pullback holds above a prior red level, consider continuation with stop below that level.
Quarter-to-Quarter Ladders: In clean trends, expect quarter-to-quarter traversals (00→25→50→75→00…).
Plan: add on pullbacks to 25 or 50 with trend confirmation (e.g., 9/21 EMA stack or anchored VWAP hold).
3) Confluence (AI-logic suggestions)
Pair the grid with any two of:
VWAP / Anchored VWAP: Rejections at a quarter level + VWAP = higher quality entry.
EMAs (9/21/50/200): Use as directional filter. Only take longs at quarters when fast EMAs > slow EMAs.
Liquidity cues: Prior high/low, session O/H/L, or liquidity pools aligning with a quarter level.
Orderflow / footprint: Aggressive delta through a red level? Expect follow-through to the next black or red.
Volatility (ATR): If ATR expands, lean more on red levels (continuations). In compression, lean more on black and purple (fades).
Risk & Management Tips
Stops: Just beyond the level you’re trading against. Let the level “be wrong” to prove you wrong.
Targets: Next red or black line. Scale at the first, hold a small runner to the next.
Session awareness: Levels interact differently in Asia/EU/US. In US RTH, expect sharper responses at red and purple.
Timeframes: Works across all. Intraday (1–15m) for entries; 1h/4h daily for context.
Do not chase: If you miss the touch, wait for the next level; the map is dense by design.
Limitations
This indicator does not generate buy/sell signals; it supplies a stable structure.
In runaway trends, price can cut through multiple lines—use trend filters and risk caps.
Auto-recentering means the visible band travels with price; if you need static levels far away, increase RANGE_POINTS.
Troubleshooting
No labels? Make sure max_labels_count isn’t hit and SHOW_LABELS = true.
Labels too close to price? Increase LABEL_OFFSET.
Too many lines? Reduce RANGE_POINTS or hide a color group in code.
Credits / License
Created by: TRC — The Refuge Camp
License: Free to use on TradingView with attribution.
If you fork or embed, please credit “TRC — The Refuge Camp” and link back to the original post/profile.
Quick Start (TL;DR)
Add the script.
Trade the map:
Fade purple/black in ranges.
Target red/black in trends.
Combine with VWAP/EMAs or your orderflow tool for confirmation.
Respect stops just beyond the level; scale at the next line.
Happy trading, and welcome to the Quarter-Level grid.
AI Bot Regime Feed (v6) — stableThis indicator generates real-time, structured JSON alerts for external trading bots or automation systems.
It combines multiple technical layers to identify market regimes and high-probability buy/sell events, and sends them to any webhook endpoint (e.g., a FastAPI or Zapier listener).