EMA Spread Exhaustion DetectorEMA Spread Exhaustion – Reversal Scalper's Tool
Identifies trend exhaustion for high-probability counter-trend entries. Triggers when EMA(4/9/20) stack is fully aligned and spread stretches beyond ±ATR threshold. Ideal confluence for TDI hooks + strong rejection candles on 15s charts. Visual markers, fills, and alerts for quick scalps.
Analisis Tren
TWR of Bill WilliamsThis indicator was taken from the book “Trading Chaos Pt 1” by Bill Williams.
TWR contains 3 Moving Averages
Ripple - MA with 5 bars length
Wave - MA with 13 bars length
Tide - MA with 34 bars length
According to Bill Williams, you should take only a long position if the Ripple(5 bars length) is higher than Wave(13) and Tide(34).
Also, you should take only a short position, if the Ripple (the fastest MA) is lower than Wave MA and Tide MA(slowest MA).
This indicator is also used if you want to fill in the Profitunity Trading Partner table.
ORB | Feng FuturesThe ORB | Feng Futures indicator automatically detects the Opening Range Breakout (ORB) for each trading session, plotting the High, Low, and Midline in real time. This tool is built for futures traders who rely on ORB structure to confirm trends, identify breakout zones, and recognize reversal areas early in the session.
Features:
• Auto-calculated ORB High, Low, and Midline
• Multi-timezone session support (NY, Chicago, London, Tokyo, etc.)
• Customize ORB time range and time window for display
• Real-time updating lines that freeze at session close
• Optional labels with customizable size, color, and offset
• Save and view multiple previous ORB sessions
• Full color customization for all levels
• Automatically hides on higher timeframes (Daily+) to reduce clutter
• Works on ES, NQ, and all intraday futures charts
• Works on stocks, crypto, forex, and other tradeable assets where ORB is applicable
Disclaimer: This indicator is for educational purposes only and does not constitute financial advice. Trading futures involves significant risk and may not be suitable for all investors. Always do your own research and use proper risk management.
Strategy H4-H1-M15 Triple Screen + TableMaster of Multi-Timeframe Trading: "Triple Screen" Strategy
"▲▼ & BUY/SELL M15 Tags" — H1 Ready signals warn the trader in advance that a reversal is brewing on the medium timeframe.
Settings:
Stochastic Settings: Oscillator length and smoothing adjustment.
Overbought/Oversold: Overbought/oversold level settings (default 80/20).
SL Offset: Buffer in ticks/pips for setting stop-loss beyond extremes.
Usage Instructions:
Long: Background painted light green (H4 Trend UP + H1 Stoch Low), wait for green "BUY M15" tag.
Short: Background painted light red (H4 Trend DOWN + H1 Stoch High), wait for red "SELL M15" tag.
Entry → SL → TP = PROFIT
Short Description (for preview):
Comprehensive "Triple Screen" strategy based on MACD (H4) and Stochastic (H1, M15). Features trend monitoring panel and precise entry signals with automatic Stop Loss calculation.
Technical Notes (for developers):
Hardcoded Timeframes: "240" (H4) and "60" (H1) are hardcoded. For universal use on other timeframe combinations (D1-H4-H1), make these input.timeframe variables.
Repainting: request.security may cause repainting on historical bars (current bar is honest). Standard practice for multi-timeframe TradingView indicators.
Alerts: Built-in alert support for one-click trading convenience.
S&P 500 Momentum Coiling Tracker [20/200 MA]This indicator measures the absolute point distance between the 20-period SMA and the 200-period SMA, specifically optimized for the S&P 500 (ES/MES) index.
In the style of institutional trend following, it identifies the "Narrow State"—a period of low volatility where a major breakout is imminent.
How to read the Histogram:
🟢 GREEN (< 8 pts): Ultra-Narrow/Coiled State. Stored energy is high. Watch for an explosive breakout.
🟡 YELLOW (8-15 pts): Narrow/Transition. The averages are converging or just starting to fan out.
⚪ GRAY (15-30 pts): Neutral trending zone.
🔴 RED (> 30 pts): Extended State. Price is stretched far from the long-term mean; avoid chasing the move.
Engulfing Reversal PatternThe Engulfing Reversal Pattern indicator seeks out both bullish and bearish reversal patterns. This indicator offers the user numerous options to modify the indicator to their needs.
Key features:
Ability to adjust the size of the Engulfing candle in comparison to the prior candle
Ability to adjust the number of breakout candles
Indicator adapts to the Time Frame it is being used in
You can choose between identifying only Bearish patterns, only Bullish patterns or both.
Indicator Arrow size can be adjusted in size.
Bollinger Aurora Velocity [Pineify]Pineify - Bollinger Aurora Velocity
The Bollinger Aurora Velocity is an enhanced volatility and trend analysis indicator that transforms the classic Bollinger Bands into a visually stunning, multi-dimensional trading tool. By combining standard deviation bands with historical extreme tracking and dynamic momentum coloring, this indicator provides traders with deeper insights into volatility cycles, squeeze conditions, and trend strength all in one overlay.
Key Features
Classic Bollinger Bands with customizable period and standard deviation multiplier
Nebula Memory Cloud tracking historical band extremes for volatility context
Volatility Squeeze Detection with visual dot indicators on the basis line
Gradient-based candle coloring reflecting normalized price position
Multi-layer aurora gradient fills for intuitive visual analysis
How It Works
The indicator begins with a standard Bollinger Bands calculation using a simple moving average as the basis line, with upper and lower bands placed at a user-defined multiple of standard deviation. This core structure measures price volatility and identifies overbought/oversold conditions.
The Nebula Memory Cloud extends beyond traditional bands by tracking the highest point of the upper band and lowest point of the lower band over a configurable lookback period. This creates an outer envelope showing the maximum volatility expansion in recent history.
Trading Ideas and Insights
The Volatility Squeeze is a powerful concept where contracting Bollinger Bands often precede significant price breakouts. This indicator detects squeezes by comparing the current band width to its 100-period simple moving average. When the current range falls below this average, yellow dots appear on the basis line, alerting traders to potential explosive moves ahead.
When squeeze dots appear and the outer nebula cloud shows significant distance from the current bands, it suggests volatility is at a historical low relative to recent extremes—a setup often followed by strong directional moves.
How Multiple Indicators Work Together
Bollinger Bands establish the primary volatility envelope and mean-reversion zones
The Nebula Cloud provides historical context, showing how current volatility compares to recent extremes
Squeeze Detection identifies compression phases using relative bandwidth analysis
Normalized Scoring translates price position into a 0-100 scale for gradient coloring
Unique Aspects
Unlike standard Bollinger Bands indicators, the Aurora Velocity creates a heat-map effect on price bars. The normalized score calculates where price sits within the bands as a percentage, then applies a smooth gradient from bearish to bullish colors. This allows traders to instantly perceive momentum strength—saturated bullish colors near the upper band indicate strong upward pressure, while saturated bearish colors near the lower band signal selling dominance.
The aurora-style gradient fills between band layers create visual depth, making it easy to distinguish the core volatility zone from the historical extreme boundaries.
How to Use
Monitor candle colors for momentum direction—bright green indicates bullish positioning, bright red signals bearish pressure
Watch for yellow squeeze dots on the basis line as early warning for potential breakouts
Use the outer nebula cloud to assess if current volatility is testing historical extremes
Set alerts for price breakouts above the upper band or below the lower band
Combine squeeze conditions with the nebula cloud width to gauge breakout potential
Customization
Base Period - Controls Bollinger Bands calculation length (default: 20)
Standard Deviation Multiplier - Adjusts band width from the basis (default: 2.0)
Price Source - Select the price input for calculations (default: close)
Nebula Memory Length - Lookback period for tracking historical extremes (default: 50)
Color Settings - Customize bullish and bearish gradient colors
Conclusion
The Bollinger Aurora Velocity elevates traditional Bollinger Bands analysis by adding historical volatility context through the Nebula Cloud, precise squeeze detection for breakout anticipation, and intuitive momentum visualization through gradient candle coloring. This combination helps traders identify not just where price is relative to volatility bands, but how that volatility compares to recent history and when compression may lead to expansion.
Enterprise Adaptive RSI WeightDescription (TradingView)
Enterprise Adaptive RSI Weight is a clean, decision-support oscillator for XAUUSD & EURUSD (5m/15m).
It converts RSI into a normalized Weight (W) and smooths it with a Hull Moving Average (yellow) to highlight trend bias + momentum shifts.
What to watch
W (main line) = bias & momentum (above 0 = bullish, below 0 = bearish)
Yellow line (HMA) = signal filter
CROSS (W ↔ HMA) = key confirmation point
CROSS ↑ = bullish momentum confirmation
CROSS ↓ = bearish momentum confirmation
Built-in safety filters (enterprise-style)
Signals are filtered by:
Quality/Gate (model confidence)
Dead Zone (avoids weak/noise signals)
Optional HTF alignment (trade only when higher timeframe agrees)
Visual markers
L / S = entry triggers (valid cross + filters)
XL / XS = momentum exit warnings
0↑ / 0↓ = bias flip (crossing the 0 line)
REV = exit from extreme zones (OB/OS reversal hint)
STR = strong trend condition
How to use (simple workflow)
Check STATE in the panel: trade only BULL or BEAR
Enter on CROSS in the same direction
Manage/exit on XL/XS or loss of momentum
Tip: Best used as a confirmation tool, not as a standalone strategy.
CPR Call-Out Panel (Daily + Weekly Context)Use on 5 minute chart along with CPR by KGS indicator. My script helps to interpret potential nifty 50 index behaviour based on levels. DM for more questions.
TurboRSI Pro [JOAT]TurboRSI Pro - Multi-Length RSI Ensemble with Dynamic Momentum Analysis
Introduction
TurboRSI Pro is an open-source indicator that reimagines the classic RSI by calculating multiple RSI lengths simultaneously and combining them into a single, more reliable momentum reading. Instead of relying on a single RSI period that may lag or produce false signals, this indicator creates an ensemble of RSI values across a configurable range, providing a smoother and more robust momentum assessment.
The indicator is designed for traders who want deeper insight into momentum conditions without the noise that comes from single-period oscillators.
Originality and Purpose
This indicator is NOT a simple RSI with different settings. It is an original implementation that solves a fundamental problem with traditional RSI:
The Problem with Single-Period RSI: Traditional RSI uses a single lookback period (typically 14). The issue is that different market conditions favor different RSI lengths. A 14-period RSI might work well in one market phase but produce false signals in another. There's no "perfect" RSI length that works in all conditions.
The Multi-Length Solution: TurboRSI Pro calculates RSI across a range of lengths (default: 10 to 20) simultaneously, then averages all values to create a composite reading. This ensemble approach filters out period-specific noise while preserving genuine momentum shifts. When multiple RSI lengths agree, the signal is more reliable.
OB/OS Strength Percentage: The indicator tracks how many individual RSI lengths are in overbought or oversold territory. When 100% of lengths are overbought, it's a much stronger signal than when only 50% are. This percentage-based approach is original to this indicator and provides conviction assessment.
Candle Heatmap Innovation: An optional feature colors price bars based on deviation from a 200-bar linear regression line. This shows when price is statistically overextended (HOT/COLD) independent of RSI, providing another layer of analysis.
How the components work together:
Multi-length RSI ensemble provides a more robust momentum reading than single-period RSI
OB/OS Strength percentages quantify how many timeframes agree on the momentum condition
Dynamic channels expand/contract based on momentum strength across all calculated lengths
Candle heatmap adds statistical price deviation context independent of RSI
Core Concept: Multi-Length RSI Ensemble
Traditional RSI uses a single lookback period (typically 14). The problem is that different market conditions favor different RSI lengths. TurboRSI Pro solves this by:
Calculating RSI across a range of lengths (default: 10 to 20)
Averaging all RSI values to create a composite reading
Tracking how many individual RSI lengths are in overbought or oversold territory
Displaying this information as "OB Strength" and "OS Strength" percentages
This approach filters out noise while preserving genuine momentum shifts.
How the Multi-Length RSI Works
The calculation uses an efficient array-based approach:
int N = maxLength - minLength + 1
float diff = nz(srcInput - srcInput )
for i = 0 to N - 1
int len = minLength + i
float alpha = 1.0 / len
float numRma = alpha * diff + (1 - alpha) * array.get(numArr, i)
float denRma = alpha * math.abs(diff) + (1 - alpha) * array.get(denArr, i)
float rsiVal = denRma != 0 ? 50 * numRma / denRma + 50 : 50
avgRSI += rsiVal
Each RSI length is calculated using the RMA (Running Moving Average) formula, then all values are averaged. The result is a composite RSI that responds to momentum changes while filtering out period-specific noise.
Visual Components
1. Multi-Length RSI Line
The main oscillator line displays the averaged RSI value with a gradient color:
Green gradient when RSI is above 50 (bullish momentum)
Red gradient when RSI is below 50 (bearish momentum)
Color intensity increases as RSI approaches extreme levels
2. Dynamic Channels
Two adaptive channel lines track momentum extremes:
Upper Channel: Expands when multiple RSI lengths enter overbought territory
Lower Channel: Expands when multiple RSI lengths enter oversold territory
Channel width indicates momentum strength across all calculated lengths
3. Candle Heatmap
An optional feature that colors price bars based on deviation from a linear regression line:
Red/Orange bars: Price is significantly above the regression line (overextended to upside)
Blue bars: Price is significantly below the regression line (overextended to downside)
Yellow bars: Price is near the regression line (neutral)
The heatmap uses a 200-bar regression calculation to identify when price has deviated significantly from its statistical trend.
4. Reference Lines
Standard RSI reference levels are displayed:
80 and 20: Extreme overbought/oversold
70 and 30: Standard overbought/oversold thresholds
50: Neutral momentum line
5. Background Zones
Shaded areas indicate the percentage of RSI lengths in extreme territory:
Green shading from bottom: Percentage of lengths in overbought
Red shading from top: Percentage of lengths in oversold
Dashboard Panel
The dashboard displays real-time analysis in a 7-row table:
RSI Value: Current composite RSI reading (large text for visibility)
Momentum: Current state - OVERBOUGHT, OVERSOLD, BULLISH, BEARISH, or NEUTRAL
OB Strength: Percentage of RSI lengths currently above the overbought threshold
OS Strength: Percentage of RSI lengths currently below the oversold threshold
Heat Level: Current price deviation state - HOT, WARM, NEUTRAL, COOL, or COLD
Trend Bias: Overall trend assessment based on RSI level and channel direction
Optional Stochastic RSI
When enabled, an additional Stochastic RSI line is plotted. This applies the stochastic formula to the RSI itself, providing another layer of momentum analysis. The Stochastic RSI is more sensitive to short-term momentum shifts.
Input Parameters
RSI Settings:
Min RSI Length: Starting length for the RSI range (default: 10)
Max RSI Length: Ending length for the RSI range (default: 20)
Source: Price source for calculation (default: ohlc4)
Overbought: Upper threshold (default: 70)
Oversold: Lower threshold (default: 30)
Candle Heatmap:
Enable Heatmap: Toggle bar coloring on/off (default: enabled)
Regression Length: Lookback for linear regression calculation (default: 200)
Display:
Show Dashboard: Toggle the information panel (default: enabled)
Show Dynamic Channels: Toggle channel lines (default: enabled)
Show Stochastic RSI: Toggle additional Stoch RSI line (default: disabled)
Colors:
Bullish: Color for bullish conditions (default: teal)
Bearish: Color for bearish conditions (default: red)
Neutral: Color for neutral conditions (default: gray)
How to Use TurboRSI Pro
Identifying Momentum Shifts:
Watch for RSI crossing above 50 for bullish momentum confirmation
Watch for RSI crossing below 50 for bearish momentum confirmation
Use the gradient color to quickly assess momentum direction
Using OB/OS Strength:
When OB Strength reaches 100%, all RSI lengths are overbought - strong reversal potential
When OS Strength reaches 100%, all RSI lengths are oversold - strong bounce potential
Partial readings (e.g., 50%) indicate mixed conditions across timeframes
Heatmap Analysis:
HOT readings combined with high RSI suggest overextension - caution for longs
COLD readings combined with low RSI suggest oversold conditions - watch for reversal
Use heatmap divergence from RSI for additional confirmation
Channel Interpretation:
Expanding upper channel with rising RSI confirms strong bullish momentum
Expanding lower channel with falling RSI confirms strong bearish momentum
Channel contraction suggests momentum is weakening
Alert Conditions
Six alert conditions are available:
RSI Overbought: RSI crosses above overbought threshold
RSI Oversold: RSI crosses below oversold threshold
RSI Bullish Cross: RSI crosses above 50
RSI Bearish Cross: RSI crosses below 50
All RSI Overbought: Every RSI length is in overbought territory
All RSI Oversold: Every RSI length is in oversold territory
Best Practices
Use on higher timeframes (1H, 4H, Daily) for more reliable signals
Combine with price action analysis - RSI confirms, it does not predict
Pay attention to OB/OS Strength percentages for conviction assessment
The heatmap works best on assets with clear trending behavior
Adjust min/max RSI lengths based on your trading style - wider range for smoother signals
Limitations
Like all oscillators, can remain in overbought/oversold territory during strong trends
The heatmap regression may lag during rapid price movements
Multi-length calculation requires more processing than single RSI
Best suited for swing trading and position trading timeframes
Technical Notes
This indicator is written in Pine Script v6 and uses:
Array-based calculations for efficient multi-length RSI computation
Linear regression for heatmap deviation analysis
Gradient coloring for intuitive visual feedback
State management for dynamic channel calculations
The source code is open and available for review and modification.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management.
-Made with passion by officialjackofalltrades
Elliott Wave Pattern AnalyzerElliott Wave Pattern Analyzer
Overview
This indicator automatically detects Elliott Wave impulse patterns and diagonal formations on your chart. It analyzes price structure based on classic Elliott Wave rules and displays wave counts with confidence scores, Fibonacci projections, and invalidation levels.
Why I Built This
After reading Glenn Neely's book on Elliott Wave theory, I wanted to put my learning into practice by building something tangible. There's no better way to understand a concept than trying to code it!
I'll be honest – corrective wave patterns (zigzags, flats, triangles, combinations) were simply too complex for me to implement reliably. So instead, I focused on what I could manage: impulse waves and diagonal patterns. Maybe someday I'll tackle the corrections, but for now, this is my humble contribution.
The retracement visualization style was inspired by LuxAlgo's elegant approach – credit where credit is due!
How It Works
1. Wave Detection
The indicator uses pivot points to identify potential 5-wave structures:
WaveRuleWave 2Cannot retrace more than 100% of Wave 1Wave 3Cannot be the shortest among Waves 1, 3, 5Wave 4Should not overlap Wave 1 territory (impulse)Wave 5Completes the motive structure
2. Pattern Types
Impulse Waves
Classic 5-wave motive structure
Wave 3 typically extends (≥1.618 of Wave 1)
Strict mode enforces all Elliott rules
Diagonal Patterns
Ending diagonal (wedge-shaped)
Waves progressively contract
Lines 1-3 and 2-4 converge to an apex
Often signals trend exhaustion
3. Confidence Scoring
Each pattern receives a confidence score (0-100%) based on:
Fibonacci ratio adherence
Wave proportion relationships
Rule compliance
Structural clarity
Only patterns exceeding your threshold (default: 60%) are displayed.
4. Fibonacci Projections
After Wave 5 completion, the indicator projects potential retracement levels:
0.382, 0.500, 0.618, 0.786 of the entire impulse
5. Extension Channel
Connects Wave 0 origin to the retracement low, projecting:
0.618, 1.000, 1.272, 1.618 extensions
Optional extended levels: 2.000, 2.618, 4.236
6. Invalidation Levels
Shows the price level where the wave count becomes invalid – helping you know when your analysis is wrong.
Settings Explained
Impulse Wave Settings
Pivot Length: Sensitivity of wave detection (recommended: 5, 7, 14)
Strict Mode: Enforce all classic Elliott rules
Min Wave 3 Extension: Minimum ratio for Wave 3 (default: 1.618)
Diagonal Wave Settings
Allow Wave 4-1 Overlap: Required for valid diagonals
Extend Trendline: Project diagonal boundaries forward
Projection Settings
Fibonacci Levels: Customize retracement targets
Extension Bars: How far projections extend on chart
Pattern Management
Max Patterns: Limit displayed patterns to reduce clutter
Pattern Lifetime: Auto-remove old patterns after X bars
Use Cases
Trend Trading: Enter on Wave 3 or Wave 5 breakouts
Reversal Spotting: Diagonal completion often signals reversals
Target Setting: Use Fibonacci extensions for take-profit levels
Risk Management: Invalidation levels provide clear stop-loss references
Notes
This indicator uses pivot detection and may repaint – signals are confirmed after the specified pivot length
Designed for educational and analytical purposes, not as a signal generator
Elliott Wave analysis is subjective – this is my algorithmic interpretation
Works best on liquid markets with clear trend structure
Not financial advice – always do your own research
Re-publishing Notice
This indicator was previously blocked due to some house rule violations on my part. I've recently had time to review and fix those issues, and I'm now re-publishing a compliant version. Thanks for your patience!
Feedback Welcome
I'm still learning Elliott Wave theory myself, so if you spot any issues or have suggestions for improvement, please leave a comment. Let's learn together!
Happy trading! 📈
DERYA Dynamic Efficiency Regime Yield AnalyzerDERYA: Dynamic Efficiency Regime Yield Analyzer
Mathematical Concept and Problem Statement
Most traditional trend and momentum indicators (e.g., RSI, ADX, MACD) focus on price displacement across a series of bars. However, they are mathematically "blind" to the internal structure of each individual bar. The DERYA indicator solves the "Velocity Trap" and "Lagging Confirmation" issues by shifting the measurement space from price displacement to intrabar efficiency. It quantifies the ratio between net price progress and the total effort (range) expended within the bar.
Logic and Components
The script does not reuse any existing open-source library logic; the methodology is derived from original research. However, it utilizes standard built-in Pine Script functions for structural stabilization:
Efficiency Metaphor: The core logic calculates a proxy for microstructural health using the formula |Close - Close | / (High - Low).
Use of Exponential Moving Average (EMA): A standard ta.ema is applied to the raw efficiency data. Reason for use: Raw microstructural data is inherently noisy due to high-frequency fluctuations. The EMA is used here specifically as a low-pass filter to extract the underlying structural trend of efficiency without the overhead of more complex digital filters.
Use of Min-Max Normalization: The script utilizes ta.highest and ta.lowest over a lookback period. Reason for use: To convert an absolute efficiency metric into a bounded state variable (0-100). This ensures the indicator is adaptive to different volatility regimes, preventing the signal from becoming obsolete as market conditions change.
Interpretation
Expansion Regime (>60): Indicates a high-efficiency environment where price movement is achieved with minimal internal friction.
Collapse Regime (<40): Indicates a structural deterioration where price effort (range) significantly outweighs price progress (displacement), often signaling an imminent trend break.
Visual Integration: The script includes a barcolor feature that highlights bars where DERYA falls below 30, visually flagging points of extreme structural inefficiency directly on the price chart.
Compliance Note
This script is an original implementation of the DERYA methodology. It does not contain "copy-pasted" code from other public indicators. Standard functions (ta.ema, ta.highest, ta.lowest) are used only for their intended mathematical smoothing and normalization purposes as described above.
Scientific Documentation & Research Paper
This implementation is based on the following published research:
Title: DERYA: Dynamic Efficiency Regime Yield Analyzer - A New Microstructural State Variable for Financial Markets
Published on: Zenodo (CERN)
zenodo.org
DOI: 10.5281/zenodo.18181902
Author: Bülent Duman (Independent Researcher)
Copyright: (C) 2026 Bülent Duman
SEPA Sell Signal IndicatorSEPA Sell Signal Indicator - Documentation
Overview
A comprehensive exit signal indicator designed to work alongside the main SEPA (Stage, EMA, Price Action) indicator. It detects entry points via SEPA base breakouts and provides intelligent sell signals to protect profits and limit losses.
Core Features
Entry Detection
Automatically detects SEPA base breakout patterns
Tracks entry price and calculates swing low reference
Monitors position status (LONG/FLAT)
5 Sell Triggers
Price < EMA50 (Technical weakness)
Protected by EMA10 system (see below)
Trend Broken (Price < EMA150 AND EMA200)
Major trend reversal signal
Not protected - always fires
EMA Cross (EMA50 < EMA150)
Death cross indicating momentum shift
Not protected - always fires
Swing Low Broken (Price < Previous Swing Low)
Hard stop loss trigger
Lookback period: 10 bars (adjustable 5-50)
Not protected - always fires
Relative Strength Negative (RS vs NIFTY500 < 0)
Stock underperforming benchmark index
Based on 21-period EMA comparison
Not protected - always fires
EMA10 Protection System (Refinement Feature)
Purpose
Prevents premature exits during healthy pullbacks in strong uptrends.
Protection Criteria (All must be true)
✅ Stock in uptrend (EMA50 > EMA150 > EMA200)
✅ Price above EMA10
✅ Price above EMA50
✅ Only protects Condition 1 (Price < EMA50)
Two-Stage Warning System
Stage 1: Yellow "CAUTION" Signal
Appears when Condition 1 triggers but protection is active
Grace period begins (default: 5 bars)
Allows time for price to recover
Stage 2: Red "SELL" Signal
Fires when ANY of these occur:
Warning timer expires (5/5 bars)
Price drops below EMA10
Price drops below EMA50
Uptrend ends
Any other sell condition (2-5) triggers
Settings
Enable EMA10 Protection: ON/OFF toggle (default: ON)
Protection Time Limit: 1-20 bars (default: 5)
Visual Elements
Chart Signals
🔴 Red Triangle (SELL): Confirmed sell signal - exit position
🟡 Yellow Circle (CAUTION): Warning - monitor closely
🟢 Green Background Tint: Currently in position
Information Tables
Top Right - Sell Conditions Table
Shows real-time status of all 5 conditions
✓ (Green) = Condition NOT met (safe)
✓ (Red) = Condition met (danger)
⚠ (Yellow) = Warning active (monitoring)
Displays EMA10 protection status (ON/OFF)
Shows warning timer (e.g., "3/5")
Bottom Right - Position Details (when in position)
Entry price
Swing low level
Relative strength value (color-coded)
Current P&L percentage
Bottom Right - Status (when flat)
Shows "NO POSITION"
Indicates waiting for "BASE BREAKOUT"
Alert System
Entry Signal: SEPA base breakout detected
Warning Alert: Caution - price below EMA50 but protected
EMA50 Break: Sell confirmed after protection expires
Trend Break: Major reversal - exit immediately
EMA Cross: Death cross - exit immediately
Swing Low Break: Hard stop - exit immediately
RS Negative: Underperformance - exit immediately
Configuration Parameters
ParameterDefaultRangeDescriptionEMA 10101-50Fast moving average for protectionEMA 50501-200Primary trend indicatorEMA 1501501-300Medium-term trendEMA 2002001-500Long-term trendSwing Low Lookback105-50Bars to find previous swing lowRS EMA215-50Period for relative strength calcBenchmarkCNX500-Index for RS comparisonProtection Time Limit51-20Max bars for warning stateTable Text Size1 (Small)0-40=Tiny, 4=HugeEMA10 ProtectionONON/OFFEnable/disable protection
Trading Workflow
Entry: Indicator detects SEPA base breakout
Monitoring: Track 5 sell conditions in real-time
Warning: Yellow CAUTION if minor weakness (Condition 1 only)
Grace Period: 5 bars to recover or confirm breakdown
Exit: Red SELL signal when conditions confirm weakness
Reset: Returns to flat, waits for next base breakout
Key Advantages
✅ Selective Protection: Only protects shallow pullbacks, not real breakdowns
✅ Time-Limited: Won't delay exits indefinitely (5-bar max)
✅ Multi-Layered: 5 independent sell conditions
✅ Visual Clarity: Color-coded signals and comprehensive tables
✅ Customizable: All parameters adjustable for your style
✅ Alert System: Never miss a critical signal
Philosophy
The indicator balances two competing goals:
Stay in winning trades during healthy pullbacks
Exit quickly when trends genuinely reverse
The refined EMA10 protection system achieves this by giving breathing room for minor dips while ensuring swift exits on confirmed weakness.
Dow Theory Cockpit1. Evolution History
The system has reached its final form through five distinct development phases:
Phase 1: Logic Development (V1–V6)
Established four core logics: BREAK and DIP (Dow Theory), SNIPER (Reversal), and PUSH (Trend continuation).
Implemented the Multi-Timeframe (MTF) panel and Market Scanner.
Phase 2: Strategy Transition (V7–V9)
Integrated backtesting features, but found the Pine Script calculation load too heavy for real-time charting.
Phase 3: Optimization & Performance (V10–V11)
Prioritized smooth real-time execution by returning to a lightweight indicator format.
Introduced the on-chart stats panel for Win Rate and P&L tracking.
Phase 4: Visual Completion (V12–V13)
High-Vis Fib: Bold orange lines highlighting the Golden Zone (38.2%/61.8%).
Visual Zones: Introduced Green and Red bands for intuitive trade tracking.
Phase 5: Smart Adjust Implementation (V14 - Current)
Barrier Avoidance: Automatically detects nearby Support/Resistance boxes and shortens the TP to secure profits before a potential reversal.
Dynamic RR Optimization: Automatically adjusts the SL in tandem with the shortened TP to maintain a healthy Risk-Reward ratio.
2. Specifications
Name: Dow Theory Cockpit
Format: Indicator
Trading Style: Scalping to Day Trading
Timeframes: 5M, 15M (Recommended), 1H
Assets: All pairs (Gold, Crypto, Forex, Indices)
3. Features
① Quad-Logic Entry Signals
🎯 SNIPER: Reversal logic targeting "Tops and Bottoms" when the market is overextended.
🌊 DIP: Trend-following logic for "Deep Pullbacks" with clean Moving Average alignment.
⚡ PUSH: Scalping logic for "Shallow Pullbacks" during high-momentum trends.
🚀 BREAK: Classic Dow Theory momentum entry on recent High/Low breakouts.
② Visual Analysis Tools
S/R BOX: Displays key price levels as shaded zones to account for market noise and wick volatility.
High-Vis Auto Fib: Automatically plots Fibonacci levels, highlighting the Golden Zone with bold lines.
③ Bulletproof Money Management
Calculated Lot Size: Displays the precise lot size based on your account balance and Risk % directly on the signal label.
TP/SL Zones: Dynamic Green and Red bands show exactly where your profit and loss targets lie.
④ Smart Adjust Function (NEW)
Logic: Automatically scans for strong S/R walls near your entry.
Normal Condition: Displays TP/SL at your default Risk-Reward ratio.
Wall Detected: Automatically pulls the TP to the edge of the barrier and tightens the SL to maintain the ratio.
Alert: A "⚠️Adj" warning appears on the label when this adjustment is active.
⑤ Integrated Info Panel
Main Panel: Trends across all timeframes, real-time Win Rate, and Period Net P&L.
Scanner: Constant monitoring of Gold/JPY/BTC and major US/JP economic data.
4. How to Use
Configuration: In the settings under , input your balance and Risk %. Set your start date in .
Entry Decision: Wait for the "★ BUY" or "★ SELL" label.
"⚠️Adj" displayed: The system has detected a nearby barrier and narrowed the TP/SL for safety. This results in a higher win rate with smaller gains.
No warning: No barriers detected. Targets the default wide Risk-Reward ratio.
Execution: Enter using the exact Lot size on the label. Set your Limit/Stop orders at the provided TP/SL prices.
Exit: The trade concludes when the price reaches the Green or Red zone. Smart Adjust ensures you exit the market before a potential bounce.
1. 大幅なアップデート履歴 (Evolution History)
このシステムは、以下の5つのフェーズを経て完成しました。
フェーズ1:ロジック構築期 (V1〜V6)
ダウ理論に基づく「BREAK」「DIP」に加え、逆張り「SNIPER」、順張り追撃「PUSH」の4つのロジックを搭載。
マルチタイムフレーム(MTF)パネル、市場監視スキャナーの実装。
フェーズ2:ストラテジー化への挑戦 (V7〜V9)
バックテスト機能を搭載したが、Pine Scriptの計算負荷増大によりチャート動作が重くなる問題が発生。
フェーズ3:軽量化と原点回帰 (V10〜V11)
**「実戦での快適さ」**を最優先し、indicator 形式へ戻して超軽量化。
期間損益や勝率を、チャート上のパネルで簡易確認できる仕様に変更。
フェーズ4:視認性の完成 (V12〜V13)
High-Vis Fib: フィボナッチの重要ライン(38.2%/61.8%)を太いオレンジ実線で強調。
Visual Zone: トレード中、チャート上に「緑(利益)/赤(損失)」の帯を表示し、直感的な判断を可能に。
フェーズ5:スマート・アジャスト実装 (V14 - Current)
障害物回避機能: エントリー方向の直近に「逆側のレジサポBOX(壁)」がある場合、TPをその手前に自動短縮し、反発による含み益消滅リスクを回避。
RR自動最適化: TPの短縮に合わせて、最低限のリスクリワード(RR)を維持するようSLも自動調整する機能を搭載。
2. 全体の仕様 (Specifications)
名称: Dow Theory Cockpit
形式: インジケーター (Indicator)
※TradingViewの「ストラテジーテスター」タブは使用しません。
推奨スタイル: スキャルピング 〜 デイトレード
推奨時間足: 5分足、15分足(推奨)、1時間足
通貨ペア: 全通貨対応(Gold, Crypto, Forex, Index)
3. 特徴と機能 (Features)
① 4つの「高期待値」エントリーロジック
相場の状況に合わせて最適なサインが点灯します。
🎯 SNIPER: 行き過ぎた相場の反転(天底)を狙う逆張り。
🌊 DIP: 移動平均線の並びが良い状態での「深い押し目」を拾う順張り。
⚡ PUSH: 強いトレンド(ADX上昇中)の「浅い押し目」で飛び乗るスキャルピング用。
🚀 BREAK: ダウ理論の基本、直近高値・安値ブレイクでのエントリー。
② 視覚的環境認識ツール
レジサポ BOX: 重要価格帯を「面(ボックス)」で表示。ヒゲのダマシを許容します。
High-Vis Auto Fib: 直近の波を検知し、38.2%/61.8%(ゴールデンゾーン)を太線で強調表示。
③ 鉄壁の資金管理 (Money Management)
推奨ロット表示: 口座資金と許容リスク(%)に基づき、適正ロット数を自動計算して表示します。
TP/SL ゾーン: エントリー中、チャート上に「利確までの緑の帯」と「損切までの赤の帯」が表示され、価格の進行度合いが一目で分かります。
④ スマート・アジャスト機能 (Smart Adjust) ★NEW
機能: エントリー時、目標地点の手前に「強力なレジサポBOX」があるかを自動検知します。
動作:
通常時: 設定通りのRR(2.5倍など)でTP/SLを表示。
壁がある時: **「壁の手前」**にTPを引き下げ、それに合わせてSLも浅く調整します。
表示: 調整が行われた場合、ラベルに 「⚠️Adj(調整済み)」 と警告が出ます。
⑤ 情報集約パネル
Main Panel: 全時間足のトレンド方向、直近の勝率、期間内の純損益を表示。
Scanner: Gold / JPY / BTC の動向と、日米経済指標を常時監視。
4. 使い方 (How to Use)
STEP 1: 初期設定
インジケーター設定の 【F. 資金管理】 を開き、口座資金 と リスク(%) を入力します。
【T. バックテスト期間】 で損益計算を開始したい日付を設定します。
STEP 2: エントリー判断
チャートに 「★ BUY」 または 「★ SELL」 のラベルが出現するのを待ちます。
ラベルの確認:
「⚠️Adj」 と出ている場合 → 「近くに壁があるため、TP/SLを狭く調整しました」という意味です。勝率は上がりますが、値幅は小さくなります。
何も出ていない場合 → 「障害物なし。通常のRRで大きく狙います」という意味です。
STEP 3: 注文 (Execution)
ラベルの数値を信頼して注文を出します。
Lot: 表示された数量を入力。
TP/SL: 表示された価格に指値・逆指値を置く。
STEP 4: 決済 (Exit)
チャート上の 「緑の帯(TP)」 か 「赤の帯(SL)」 にローソク足が到達したら決済です。
**「スマートアジャスト」により、壁の手前で利確設定されているため、「反発して戻ってくる前に逃げ切る」**ことができます。
Dow Theory Cockpit [Final Fixed V15]1. Evolution History
The system has reached its final form through five distinct development phases:
Phase 1: Logic Development (V1–V6)
Established four core logics: BREAK and DIP (Dow Theory), SNIPER (Reversal), and PUSH (Trend continuation).
Implemented the Multi-Timeframe (MTF) panel and Market Scanner.
Phase 2: Strategy Transition (V7–V9)
Integrated backtesting features, but found the Pine Script calculation load too heavy for real-time charting.
Phase 3: Optimization & Performance (V10–V11)
Prioritized smooth real-time execution by returning to a lightweight indicator format.
Introduced the on-chart stats panel for Win Rate and P&L tracking.
Phase 4: Visual Completion (V12–V13)
High-Vis Fib: Bold orange lines highlighting the Golden Zone (38.2%/61.8%).
Visual Zones: Introduced Green and Red bands for intuitive trade tracking.
Phase 5: Smart Adjust Implementation (V14 - Current)
Barrier Avoidance: Automatically detects nearby Support/Resistance boxes and shortens the TP to secure profits before a potential reversal.
Dynamic RR Optimization: Automatically adjusts the SL in tandem with the shortened TP to maintain a healthy Risk-Reward ratio.
2. Specifications
Name: Dow Theory Cockpit
Format: Indicator
Trading Style: Scalping to Day Trading
Timeframes: 5M, 15M (Recommended), 1H
Assets: All pairs (Gold, Crypto, Forex, Indices)
3. Features
① Quad-Logic Entry Signals
🎯 SNIPER: Reversal logic targeting "Tops and Bottoms" when the market is overextended.
🌊 DIP: Trend-following logic for "Deep Pullbacks" with clean Moving Average alignment.
⚡ PUSH: Scalping logic for "Shallow Pullbacks" during high-momentum trends.
🚀 BREAK: Classic Dow Theory momentum entry on recent High/Low breakouts.
② Visual Analysis Tools
S/R BOX: Displays key price levels as shaded zones to account for market noise and wick volatility.
High-Vis Auto Fib: Automatically plots Fibonacci levels, highlighting the Golden Zone with bold lines.
③ Bulletproof Money Management
Calculated Lot Size: Displays the precise lot size based on your account balance and Risk % directly on the signal label.
TP/SL Zones: Dynamic Green and Red bands show exactly where your profit and loss targets lie.
④ Smart Adjust Function (NEW)
Logic: Automatically scans for strong S/R walls near your entry.
Normal Condition: Displays TP/SL at your default Risk-Reward ratio.
Wall Detected: Automatically pulls the TP to the edge of the barrier and tightens the SL to maintain the ratio.
Alert: A "⚠️Adj" warning appears on the label when this adjustment is active.
⑤ Integrated Info Panel
Main Panel: Trends across all timeframes, real-time Win Rate, and Period Net P&L.
Scanner: Constant monitoring of Gold/JPY/BTC and major US/JP economic data.
4. How to Use
Configuration: In the settings under , input your balance and Risk %. Set your start date in .
Entry Decision: Wait for the "★ BUY" or "★ SELL" label.
"⚠️Adj" displayed: The system has detected a nearby barrier and narrowed the TP/SL for safety. This results in a higher win rate with smaller gains.
No warning: No barriers detected. Targets the default wide Risk-Reward ratio.
Execution: Enter using the exact Lot size on the label. Set your Limit/Stop orders at the provided TP/SL prices.
Exit: The trade concludes when the price reaches the Green or Red zone. Smart Adjust ensures you exit the market before a potential bounce.
1. 大幅なアップデート履歴 (Evolution History)
このシステムは、以下の5つのフェーズを経て完成しました。
フェーズ1:ロジック構築期 (V1〜V6)
ダウ理論に基づく「BREAK」「DIP」に加え、逆張り「SNIPER」、順張り追撃「PUSH」の4つのロジックを搭載。
マルチタイムフレーム(MTF)パネル、市場監視スキャナーの実装。
フェーズ2:ストラテジー化への挑戦 (V7〜V9)
バックテスト機能を搭載したが、Pine Scriptの計算負荷増大によりチャート動作が重くなる問題が発生。
フェーズ3:軽量化と原点回帰 (V10〜V11)
**「実戦での快適さ」**を最優先し、indicator 形式へ戻して超軽量化。
期間損益や勝率を、チャート上のパネルで簡易確認できる仕様に変更。
フェーズ4:視認性の完成 (V12〜V13)
High-Vis Fib: フィボナッチの重要ライン(38.2%/61.8%)を太いオレンジ実線で強調。
Visual Zone: トレード中、チャート上に「緑(利益)/赤(損失)」の帯を表示し、直感的な判断を可能に。
フェーズ5:スマート・アジャスト実装 (V14 - Current)
障害物回避機能: エントリー方向の直近に「逆側のレジサポBOX(壁)」がある場合、TPをその手前に自動短縮し、反発による含み益消滅リスクを回避。
RR自動最適化: TPの短縮に合わせて、最低限のリスクリワード(RR)を維持するようSLも自動調整する機能を搭載。
2. 全体の仕様 (Specifications)
名称: Dow Theory Cockpit
形式: インジケーター (Indicator)
※TradingViewの「ストラテジーテスター」タブは使用しません。
推奨スタイル: スキャルピング 〜 デイトレード
推奨時間足: 5分足、15分足(推奨)、1時間足
通貨ペア: 全通貨対応(Gold, Crypto, Forex, Index)
3. 特徴と機能 (Features)
① 4つの「高期待値」エントリーロジック
相場の状況に合わせて最適なサインが点灯します。
🎯 SNIPER: 行き過ぎた相場の反転(天底)を狙う逆張り。
🌊 DIP: 移動平均線の並びが良い状態での「深い押し目」を拾う順張り。
⚡ PUSH: 強いトレンド(ADX上昇中)の「浅い押し目」で飛び乗るスキャルピング用。
🚀 BREAK: ダウ理論の基本、直近高値・安値ブレイクでのエントリー。
② 視覚的環境認識ツール
レジサポ BOX: 重要価格帯を「面(ボックス)」で表示。ヒゲのダマシを許容します。
High-Vis Auto Fib: 直近の波を検知し、38.2%/61.8%(ゴールデンゾーン)を太線で強調表示。
③ 鉄壁の資金管理 (Money Management)
推奨ロット表示: 口座資金と許容リスク(%)に基づき、適正ロット数を自動計算して表示します。
TP/SL ゾーン: エントリー中、チャート上に「利確までの緑の帯」と「損切までの赤の帯」が表示され、価格の進行度合いが一目で分かります。
④ スマート・アジャスト機能 (Smart Adjust) ★NEW
機能: エントリー時、目標地点の手前に「強力なレジサポBOX」があるかを自動検知します。
動作:
通常時: 設定通りのRR(2.5倍など)でTP/SLを表示。
壁がある時: **「壁の手前」**にTPを引き下げ、それに合わせてSLも浅く調整します。
表示: 調整が行われた場合、ラベルに 「⚠️Adj(調整済み)」 と警告が出ます。
⑤ 情報集約パネル
Main Panel: 全時間足のトレンド方向、直近の勝率、期間内の純損益を表示。
Scanner: Gold / JPY / BTC の動向と、日米経済指標を常時監視。
4. 使い方 (How to Use)
STEP 1: 初期設定
インジケーター設定の 【F. 資金管理】 を開き、口座資金 と リスク(%) を入力します。
【T. バックテスト期間】 で損益計算を開始したい日付を設定します。
STEP 2: エントリー判断
チャートに 「★ BUY」 または 「★ SELL」 のラベルが出現するのを待ちます。
ラベルの確認:
「⚠️Adj」 と出ている場合 → 「近くに壁があるため、TP/SLを狭く調整しました」という意味です。勝率は上がりますが、値幅は小さくなります。
何も出ていない場合 → 「障害物なし。通常のRRで大きく狙います」という意味です。
STEP 3: 注文 (Execution)
ラベルの数値を信頼して注文を出します。
Lot: 表示された数量を入力。
TP/SL: 表示された価格に指値・逆指値を置く。
STEP 4: 決済 (Exit)
チャート上の 「緑の帯(TP)」 か 「赤の帯(SL)」 にローソク足が到達したら決済です。
**「スマートアジャスト」により、壁の手前で利確設定されているため、「反発して戻ってくる前に逃げ切る」**ことができます。
HOHO Oscillator Squeeze With AGAIG TurnsHOHO OSCILLATOR SQUEEZE WITH AGAIG TURN DETECTION
═════════════════════════════════════════════════════════════
OVERVIEW
This powerful indicator combines three proven trading concepts into one visually stunning, highly accurate momentum and trend analysis tool:
• HOHO (Hump Oscillator) - Multi-timeframe momentum oscillator
• Squeeze Indicator - Bollinger Bands/Keltner Channel volatility compression detector
• AGAIG (As Good As It Gets) Turn Detection - Intelligent price reversal identification
The result is a comprehensive trading system that identifies high-probability entry and exit points with exceptional visual clarity.
═════════════════════════════════════════════════════════════
KEY FEATURES
HOHO OSCILLATOR
The foundation of this indicator is the Hump Oscillator, which creates distinctive wave patterns ("humps") above and below the zero line. These colorful columns provide instant visual feedback on momentum direction and strength:
• Fast oscillator (thin columns) - Responsive to immediate price action
• Slow oscillator (wide columns) - Confirms underlying trend momentum
• Color-coded bars shift from bright (strong momentum) to dark (weakening momentum)
• Fully customizable MA types (EMA/SMA) and lengths
SQUEEZE DETECTION
Integrated Bollinger Band and Keltner Channel analysis identifies volatility compression:
• Yellow zero-line dots signal active squeeze conditions
• Optional yellow background highlights compression zones
• Anticipates explosive breakout moves
• Adjustable BB and KC parameters for different markets and timeframes
AGAIG TURN DETECTION
Intelligent price reversal identification based on the "As Good As It Gets" methodology:
• Automatically identifies significant market turning points
• Adjustable sensitivity via "Turn Detection Length" (lower = more signals, higher = fewer signals)
• Strength filter ensures only quality setups are marked (1-10 scale)
• Eliminates noise and false signals common in traditional pivot indicators
VISUAL SIGNALS
• BUY arrows (green triangles) mark bullish reversal opportunities
• SELL arrows (red triangles) mark bearish reversal opportunities
• Text labels positioned for optimal readability
• All arrows appear at actual turning points with configurable lookback offset
FLEXIBLE CUSTOMIZATION
• Choose between EMA or SMA for all moving average calculations
• Adjustable oscillator lengths for different trading styles
• Configurable turn detection sensitivity
• Optional bar coloring based on Fast or Slow momentum
• Clean, professional visual design
═════════════════════════════════════════════════════════════
HOW TO USE
ENTRY SIGNALS
Look for BUY/SELL arrows combined with:
1. Squeeze conditions (yellow markers) for highest-probability setups
2. Oscillator color confirmation (green for longs, red for shorts)
3. Turn strength that meets your minimum requirements
TREND CONFIRMATION
• Strong green humps = bullish momentum building
• Strong red humps = bearish momentum building
• Oscillator crossing zero = momentum shift
• Color transitions = momentum strengthening or weakening
VOLATILITY ANALYSIS
• Yellow zero-line dots = consolidation/squeeze active
• Expansion after squeeze = high-probability breakout opportunity
• Combine with turn arrows for precise entry timing
PARAMETER TUNING
For scalping/day trading (5m-15m charts):
• Turn Detection Length: 3-5
• Turn Strength: 2-4
For swing trading (1H-4H charts):
• Turn Detection Length: 5-8
• Turn Strength: 3-5
For position trading (Daily charts):
• Turn Detection Length: 8-15
• Turn Strength: 5-7
═════════════════════════════════════════════════════════════
CREDITS & ATTRIBUTION
This indicator builds upon the excellent work of:
• HOHO (Hump Oscillator) - Original concept from ThinkorSwim community
• Squeeze Indicator - Based on TTM Squeeze by John Carter
• AGAIG (As Good As It Gets) - Turn detection methodology by NPR21
Converted and enhanced for TradingView with permission from the trading community.
═════════════════════════════════════════════════════════════
BEST PRACTICES
✓ Use on liquid markets (major indices, forex pairs, crypto)
✓ Combine with support/resistance levels for confluence
✓ Wait for oscillator color confirmation before entry
✓ Higher turn strength settings = fewer but higher-quality signals
✓ Squeeze breakouts offer exceptional risk/reward opportunities
✓ Practice proper risk management and position sizing
✗ Don't trade every arrow - wait for confluence
✗ Don't ignore the oscillator colors - they show momentum health
✗ Don't use overly sensitive settings in choppy markets
✗ Don't trade counter to the oscillator trend without strong confirmation
═════════════════════════════════════════════════════════════
WHAT MAKES THIS INDICATOR UNIQUE
Unlike standalone momentum oscillators or simple pivot indicators, this tool synthesizes three proven methodologies into a single, coherent visual system. The combination of momentum analysis (HOHO), volatility detection (Squeeze), and intelligent turn identification (AGAIG) provides traders with a comprehensive view of market conditions and high-probability trading opportunities.
The indicator's visual design uses color psychology and positioning to make complex market analysis instantly understandable at a glance - critical for fast-moving markets and quick decision-making.
═════════════════════════════════════════════════════════════
SUITABLE FOR
• Day traders on 5m-30m timeframes
• Swing traders on 1H-Daily timeframes
• Scalpers seeking momentum confirmation
• Options traders identifying reversal points
• Futures traders (especially /ES, /NQ, /YM)
• Forex traders on major pairs
• Cryptocurrency traders
DuoBlocks - ICT Order Block detectorDuoBlocks (ICT Order Block Detector)
(An ICT(Inner Circle Trading)-style Order Block(OB) tool that highlights only the most relevant and recent Demand/Supply zones using FVG and Engulfing based OB sources.)
Overview
DuoBlocks is an ICT-inspired Order Block detector that uses the mostly used two major order block types: FVG(Fair Value Gap) or Engulfing. There are many Order Block indicators out there, but I couldn’t find one that consistently highlights the most relevant, most recent OB relative to the current price without making the chart a mess and that's why so I built this script.
FVG-based OB (FVG-OB): OBs derived from 3-candle fair value gap logic.
Engulfing-based OB (Engulfing-OB): OBs derived from strong 2-candle reversal/displacement (engulf) logic.
Usage
FVG-OB (Fair Value Gap Order Blocks)
This script finds bullish/bearish FVGs and draws an Order Block zone from the candle that created the move. Think of these zones as your potential next support (bullish) and resistance (bearish) levels.
Engulfing-OB (Engulfing Order Blocks)
This script also finds strong bullish/bearish engulfing candles and draws an Order Block zone from the candle that got engulfed.
Same idea: treat them as potential next support (bullish) and resistance (bearish) levels.
**Use these zones like “next level” support/resistance areas. Don’t blindly buy/sell—wait for your own confirmation and manage risk properly.
Settings
Show FVG-OB
Toggle display of the selected FVG-based bullish/bearish OB (one per side).
Show Engulfing-OB
Toggle display of the selected Engulfing-based bullish/bearish OB (one per side).
Max Invalidation Attempts (FVG OB or Engulf OB)
Controls how many separate breach events a stored OB can absorb before it is marked invalid (discarded). The counting happens when either of below occurs.
Bullish OB: price prints a low below the OB bottom.
Bearish OB: price prints a high above the OB top.
Each time this happens, the OB’s invalidation counter increments by +1.
Once the counter reaches your Max Attempts, that OB is flagged as no longer live, so it will stop being eligible for selection. Then the script automatically falls through to the next best/next nearest valid OB in memory.
Right Extend (bars)
How far to extend the selected OB boxes to the right.
Lookback bars
Maximum historical bars scanned for detection. Lower values = faster/cleaner, higher values = more history retained.
Max stored OB per side
Maximum stored bullish and bearish OBs in memory (per source).
Bullish/Bearish OB Color
Controls border/midline coloring for bullish and bearish zones.
Disclaimer
This script is for educational and informational purposes only and does not constitute financial advice or investment recommendations. Trading cryptocurrencies and other financial instruments involves significant risk, and you are solely responsible for your own decisions based on your financial situation, objectives, and risk tolerance. The author assumes no liability for losses arising from the use of this indicator.
Demand Index - Metastock VersionThis script implements the Demand Index, a complex technical indicator originally developed by James Sibbet. This specific version is adapted from the classic MetaStock formula to ensure accuracy and consistency with the original methodology.
The Demand Index combines price and volume data to relate price pressure to volume intensity. It is often used as a leading indicator to predict price trends by assessing the balance between buying pressure (Demand) and selling pressure (Supply).
How It Works
The calculation involves several steps to normalize volume and price changes:
Weighted Close: It calculates a weighted close price giving extra weight to the closing price (High + Low + 2*Close) / 4.
Volatility & Volume Averages: It computes the Average True Range (ATR) proxy and an Exponential Moving Average (EMA) of the volume to establish a baseline.
Buying & Selling Pressure: The core logic compares the current weighted close to the previous one.
If prices rise, the volume is assigned to Buying Pressure.
If prices fall, the volume is assigned to Selling Pressure.
A decay factor (Constant) is applied based on volatility to smooth the reaction to extreme price moves.
The Index: The final oscillator is derived from the ratio of smoothed Buying Pressure to Selling Pressure.
How to Use It
The Demand Index oscillates around a zero line. Traders typically look for the following signals:
Divergence: This is the most common use.
Bullish Divergence: Prices are making new lows, but the Demand Index is making higher lows. This suggests selling pressure is waning and a reversal may be imminent.
Bearish Divergence: Prices are making new highs, but the Demand Index is making lower highs. This suggests buying pressure is drying up.
Zero Line Crossovers:
A cross above zero indicates that Buying Pressure has overtaken Selling Pressure (Bullish).
A cross below zero indicates that Selling Pressure has overtaken Buying Pressure (Bearish).
Trend Confirmation: In a strong trend, the Demand Index should generally move in the same direction as the price.
Settings
Length: The lookback period for the moving averages (Default is 19, consistent with the standard MetaStock setting).
Originality & Credits
This script is a direct translation of the mathematical formula used in MetaStock software. While the Demand Index concept belongs to James Sibbet, this specific Pine Script implementation is provided as open source for the community to study and utilize.
Disclaimer:
This script is for educational and informational purposes only. It DOES NOT constitute financial advice. Trading involves significant risk, and past performance is not indicative of future results. Always do your own research before making investment decisions.
Overlay MACD + EMA 12/26A price-overlay indicator that plots EMA 12 and EMA 26 on the chart and displays a normalized MACD and signal line slightly offset from price to visualize momentum directly on the main chart without using a separate pane.
Premarket High/Low (Today + Yesterday)Plots Premarket High and Low (04:00–09:30 ET) for the current day and previous day.
Designed for intraday traders who use premarket structure as key levels.
Stochastic RSI with DivergencesStochastic RSI with Divergences - Enhanced Edition
DESCRIPTION
- This is an enhanced version of the classic Stochastic RSI indicator with divergence detection, originally created by @fskrypt (Log RSI), @RicardoSantos (Divergences), @JustUncleL (edits), and @NeoButane (2018 modifications). Full credit to these talented developers for the foundational work.
ENHANCEMENTS & MODIFICATIONS
- This version adds several user-requested features for improved customization and clarity:
- Divergence Signal Labels: Regular divergence signals now display "Buy" (green) and "Sell" (red) instead of generic "R" markers. Hidden divergences show "H-Buy" and "H-Sell" for clearer identification.
- Customizable Colors: User-adjustable colors for both K line (default: blue) and D line (default: orange) allow traders to match their chart themes.
- Adjustable Transparency: Separate opacity controls for the K/D fill shading (default: 70%) and background zones (default: 98%) provide precise visual customization without overwhelming the chart.
- Optional Divergence Lines: Toggle the green and red divergence connecting lines on/off while keeping the Buy/Sell labels visible, reducing visual clutter when desired.
- Organized Settings: All inputs are logically grouped (StochRSI Settings, Divergence Settings, Colors, Opacity) for easier navigation and configuration.
HOW IT WORKS
- The indicator identifies regular and hidden divergences between price action and the Stochastic RSI oscillator:
- Regular Bullish Divergence (Buy): Price makes lower lows while StochRSI makes higher lows - potential reversal signal
- Regular Bearish Divergence (Sell): Price makes higher highs while StochRSI makes lower highs - potential reversal signal
- Hidden Bullish Divergence (H-Buy): Price makes higher lows while StochRSI makes lower lows - trend continuation signal
- Hidden Bearish Divergence (H-Sell): Price makes lower highs while StochRSI makes higher highs - trend continuation signal
- The Stochastic RSI oscillates between 0-100, with readings above 80 indicating overbought conditions and below 20 indicating oversold conditions.
SETTINGS
StochRSI Settings
RSI Length: 14 (default)
Stoch Length: 14 (default)
K Smoothing: 3 (default)
D Smoothing: 3 (default)
Log Scale: Optional logarithmic transformation
Average K & D: Optional blending of both lines
Divergence Settings
Show Divergences: Toggle all divergence signals
Show Hidden Divergences: Toggle H-Buy/H-Sell signals
Show Divergence Lines: Toggle connecting lines between divergence points
Show Divergences Channel: Display fractal channels
Colors
K Line Color: Customize the fast line
D Line Color: Customize the slow line
Opacity
- Background Opacity: Control 20-80 zone shading (0-100)
K/D Fill Opacity: Control area between K and D lines (0-100)
USE CASES
- Momentum trading: Identify overbought/oversold conditions
Divergence trading: Spot potential reversals and trend continuations
Multi-timeframe analysis: Confirm signals across different timeframes
Trend confirmation: Use with other indicators for confluence
CREDITS
- Original concept and code: @fskrypt (Log RSI), @RicardoSantos (Divergence detection), @JustUncleL (modifications), @NeoButane (2018 updates)
Enhanced by: NPR21 (User interface improvements, label modifications, transparency controls)
HTR Reclaim Hunter
🏹 HTR Reclaim Hunter
(1H Execution + Zones + 4H Bias)
HTR Reclaim Hunter is a trend-continuation indicator designed to identify high-probability pullback & reclaim entries using multi-timeframe bias, EMA structure, and dynamic reclaim zones.
This indicator is best suited for swing trading and intraday continuation setups, especially in trending markets.
🔑 CORE CONCEPT
Trade WITH the higher-timeframe trend.
Enter on pullbacks.
Confirm strength on reclaim.
HTR Reclaim Hunter combines:
4H trend bias
1H execution logic
EMA reclaim structure
Supply & demand reclaim zones
Built-in SL / TP visualization
🧭 RECOMMENDED SETTINGS
Best timeframe: 1H (designed for this)
Markets: Stocks, Crypto, Futures, Forex
Works best in: Trending markets (not chop)
📊 WHAT YOU SEE ON THE CHART
🔹 EMA Structure
EMA 50 (green): Trend filter
EMA 9 (colored): Momentum & pullback guide
🔹 Reclaim Zones
Green boxes: Support / demand zones
Red boxes: Resistance / supply zones
These zones highlight areas where price previously reacted and may reclaim.
🔹 Trade Signals
LONG label: Bullish reclaim setup
SHORT label: Bearish reclaim setup
🔹 Risk Levels (Optional)
Stop Loss (Red)
TP1 (Orange)
TP2 (Green)
🟢 LONG TRADE RULES
A LONG signal appears when ALL of the following are true:
4H trend is bullish
Price above 4H EMA 50
EMA 50 is rising
1H trend is bullish
Price above EMA 50
EMA 9 above EMA 50
Pullback occurs
Price pulls back below EMA 9
Reaches or taps EMA 50
Reclaim confirmation
Strong bullish candle closes back above EMA 9
Candle is not a doji
Signal prints
A green LONG label appears
👉 This indicates a trend continuation entry, not a reversal.
🔴 SHORT TRADE RULES
A SHORT signal appears when ALL of the following are true:
4H trend is bearish
Price below 4H EMA 50
EMA 50 is falling
1H trend is bearish
Price below EMA 50
EMA 9 below EMA 50
Pullback occurs
Price pulls back above EMA 9
Reaches or taps EMA 50
Reclaim confirmation
Strong bearish candle closes back below EMA 9
Candle is not a doji
Signal prints
A red SHORT label appears
🛑 STOP LOSS & TAKE PROFIT
When enabled, the indicator automatically plots:
Stop Loss
Based on recent swing high / low
TP1
1R (1× risk)
TP2
Configurable runner target (default 2R)
These are visual guides only — always manage risk according to your plan.
⚠️ IMPORTANT NOTES
This indicator is not meant for ranging or choppy markets
Best results occur when:
EMA 50 is clearly sloped
Price respects reclaim zones
Always confirm with:
Market structure
Volume
Higher-timeframe context
🔔 ALERTS
Alerts are available for:
HRH LONG
HRH SHORT
Alerts trigger on confirmed reclaim signals, not on every pullback.
❗ DISCLAIMER
This indicator is for educational purposes only.
It does not provide financial advice.
Always test and manage risk appropriately.
🏹 FINAL TIP
HTR Reclaim Hunter works best when you are patient.
Skip chop.
Wait for clean trends.
Hunt only high-quality reclaims.
If you want, I can also:
Write a short description version
Create a “Quick Start” section
Add example captions for screenshots
Help you choose TradingView tags & category
trend-following
ema reclaim
pullback strategy
multi-timeframe
price action






















