Timeframe Continuity BarsTimeframe Continuity Bars is a script that is extremely simple for good reason
So please, do not remove this post because it seems 'simple'
Now that's over with. Lets dive in to understand what timeframe continuity IS and what this indicator does.
Timeframe continuity is defined by 4 or more timeframes and it is the relationship of the last price traded to those 4 opening prices. Standard timeframe continuity would be using the M,W,D,60min timeframes.
The reason we use MTF analysis is because of the truth of what price is and how it works.
Price movement is SOLELY caused due to aggressive buying / selling. Some may attempt to refute this however at the end of the day. If the price is at 100.00 it is because a buyer is willing to buy there and a seller is willing to sell there. If those market participants did not want to buy or sell at 100.00 price would go up or down to meet the more aggressive participant.
So what does this look like you may ask...
If an aggressive buyer takes the offer we will see prices go up if they were willing to pay more than the last guy who took the offer.
So price may go from 100.00 to 100.01 because you decided to invest in that stock that day at that time with a market order
This same thing occurs when every other institution creates, adds, reduces, or exits a position. They have to buy or sell and they have to either do it aggressively or do it passively by sitting on the bid / ask and waiting.
So since this is true, we know that the relationship to the opening price is extremely important. This is because if price is above it's open that means buyers were willing to take the offer and buy at higher prices. If price is below it's open it means that sellers were willing to sell at the bid and they sold at lower prices.
So any candlestick chart is simply an aggregation of this aggressive buying/selling that is taking place at all times.
By using the timeframe continuity bars indicator we can measure the distance from the current open across 4 or more timeframes.
By doing this we can identify monthly participation groups, weekly participation groups, daily participation groups, and 60min participation groups.
When all those groups align green or red this is considered full timeframe continuity. Where the monthly weekly daily 60min groups are all taking the offer and buying, or all selling at the bid!
When this aligns this is when price is for CERTAIN going in one direction.
However, It is subject to change every 60 minutes as the 60min determines if those monthly weekly daily buyers are present RIGHT NOW.
So if the 60min changes we go into direct conflict against the month/week/day groups.
If we see the 60min and day align we go into direct conflict against the month/week
if the 60min day and week are red we over-take the monthly group for control. At the time of the week day and 60 being red we have ZERO evidence of the previous monthly buyer/seller that was present.
Now that you understand a little bit about continuity.. Check it out on the chart!
P.S Here is some tips
1) it is not about just all timeframes aligning, we want to see long green / red bars!
2) The opens reset on a cyclical basis. Each day, each week, each month... When the new timeframes open we will see timeframes have the SAME open. When the opens are the same price we have LESS evidence versus having all opens seperate.
3) Investors can use the Y Q M W as their 4 timeframes to see when institutional buying is occurring [go do a case study on AMEX:GLD and AMEX:SLV weekly timeframe with these settings]
4) You need to add 4 separate indicators and change the timeframes. It is ideal to then save this layout!
5) The best way to do price analysis is using #TheStrat across all 4 timeframes instead of one timeframe with this indicator. This is soley a tool we use to show changing of control between participation groups!
Wskaźniki i strategie
Regression Slope Oscillator [BigBeluga]🔵 OVERVIEW
The Regression Slope Oscillator is a trend–momentum tool that applies multiple linear regression slope calculations over different lookback ranges, then averages them into a single oscillator line. This design helps traders visualize when price is extending beyond typical regression behavior, as well as when momentum is shifting up or down.
🔵 CONCEPTS
Regression Slope – Measures the steepness and direction of price trends over a selected length.
f_log_regression(src, length) =>
float sumX = 0.0
float sumY = 0.0
float sumXSqr = 0.0
float sumXY = 0.0
for i = 0 to length - 1
val = math.log(src )
per = i + 1.0
sumX += per
sumY += val
sumXSqr += per * per
sumXY += val * per
slope = (length * sumXY - sumX * sumY) / (length * sumXSqr - sumX * sumX)
slope*-1
Multi–Sample Averaging – Instead of relying on one regression slope, the indicator loops through many lengths (from Min Range to Max Range with Step increments) and averages their slopes.
multiSlope(length)=>
// Get regression slope
slope = f_log_regression(close, length)
slopAvg.push(slope)
for i = minRange to maxRange by step
multiSlope(i)
Color Gradient – The oscillator and candles are colored dynamically from oversold (orange) to overbought (aqua), based on slope extremes observed within the user–defined Color Range.
Trend Oscillation – When the oscillator rises, price trend is strengthening; when it falls, momentum weakens.
🔵 FEATURES
Calculates regression slopes across a user–defined range (e.g., 10–100 with steps of 5).
Averages all sampled slopes into a single oscillator line.
Dynamic coloring of oscillator and chart candles based on slope values.
User–controlled Color Range :
High values (e.g., 50–100) → interpret as overbought vs oversold zones.
Low values (e.g., 2–5) → interpret as slope rising vs falling momentum shifts.
Dashboard table (top–right) displaying number of slope samples and current averaged slope value.
Candle coloring mode (optional) – candles take on the oscillator gradient color for at–a–glance reading of trend bias.
Signal Line (SMA) – A moving average of the slope oscillator used to identify momentum reversals.
Bullish Reversal Signal – Triggered when the oscillator crosses above the signal line while below zero, indicating downside momentum exhaustion and potential trend recovery.
Bearish Reversal Signal – Triggered when the oscillator crosses below the signal line while above zero, indicating upside momentum exhaustion and potential trend rollover.
Dual Placement Signals – Reversal signals are plotted both:
On the oscillator pane (for momentum context)
On the price chart (for execution alignment)
Confirmation Logic – Signals are only printed on confirmed bars to reduce repainting and false triggers.
🔵 HOW TO USE
Watch the oscillator cross above/below zero: signals shifts in regression slope direction.
Use the signal line crossovers near zero to identify early trend reversals.
Use high Color Range settings to identify potential overbought/oversold extremes in trend slope.
Use low Color Range settings for a faster, momentum–driven color change that tracks slope rising/falling.
Candle coloring highlights short–term trend pressure in sync with the oscillator.
Combine reversal signals with structure, support/resistance, or volume for higher–probability entries.
🔵 CONCLUSION
The Regression Slope Oscillator transforms raw regression slope data into a smooth, color–coded oscillator. By averaging across multiple regression lengths, it avoids the noise of single–range analysis while still capturing trend extensions and momentum shifts.
With the addition of signal line crossovers and confirmed reversal markers, the indicator now provides both trend context and actionable momentum signals within a single regression-based framework.
Reversal Detection v3.0 - Real-Time Pro (Non-Repainting)═══════════════════════════════════════════════════════
REVERSAL DETECTION PRO v3.0 - NON-REPAINTING
Adaptive Zigzag Reversal Detection for Scalpers & Day Traders
═══════════════════════════════════════════════════════
CHART EXAMPLE
The indicator is shown running on MNQ1! (Micro E-mini Nasdaq-100
futures) on a 2-minute chart. The indicator works on all symbols
and timeframes, but is optimized for futures scalping on 1-5
minute charts.
WHY I BUILT THIS
Most reversal indicators out there repaint like crazy, flipping
signals after the fact and making you second-guess every trade.
Plus they're too noisy in choppy markets or way too laggy in
trends, so I kept missing entries or getting faked out. I wanted
something solid that sticks to its guns without repainting and
adapts to volatility without me tweaking it every 5 minutes.
This indicator solves those problems by using an adaptive zigzag
algorithm that adjusts to market volatility automatically. Once a
reversal signal appears, it's locked in place - no repainting, no
disappearing signals. The ATR-based sensitivity system means it
works across different market conditions without constant adjustment.
WHAT YOU'LL SEE ON YOUR CHART
When you add this indicator, here's what shows up:
- GREEN LABELS with "REVERSAL" and price level = Bullish reversal
confirmed at swing low
- RED LABELS with "REVERSAL" and price level = Bearish reversal
confirmed at swing high
- HORIZONTAL LINES extending from each reversal = Reference for
stops and targets
- PREVIEW LABELS (lighter colors) = Potential reversals forming in
real-time (optional)
- CANDLE COLORS: Green for bullish trends, red for bearish, purple
for neutral
- PURPLE BOXES = Supply/demand zones marking reversal areas
- INFO TABLE (top corner) = Shows sensitivity, current ATR,
threshold, and trend status
The indicator uses three EMAs (9/14/21 periods) to determine trend
direction, which drives the candle coloring system. This helps you
see whether you're in a bullish, bearish, or choppy market at a
glance.
HOW IT WORKS
The core reversal detection uses a zigzag calculation that tracks
price swings and identifies reversals when price moves by a
dynamically calculated threshold. The reversal amount is determined
by taking the maximum of three values:
1. Percentage-based threshold (adjusts to instrument price level)
2. Absolute price movement threshold (minimum move required)
3. ATR-based threshold (adapts to current volatility)
This multi-factor approach ensures the indicator works consistently
across different assets and market conditions. The non-repainting
mechanism uses confirmed bar data - once a pivot is detected at a
swing high or low, the label and horizontal line are permanently
locked at that exact wick price.
Five sensitivity presets automatically adjust the ATR multiplier:
- Very High (0.8x ATR) = More signals, captures small moves
- High (1.2x ATR) = Active trading
- Medium (2.0x ATR) = Balanced (default)
- Low (2.8x ATR) = Filters noise
- Very Low (3.5x ATR) = Only major reversals
Advanced users can select "Custom" to manually tune ATR multiplier,
percentage threshold, and calculation method.
HOW I USE IT
I mainly trade /MNQ futures on 1-5 minute charts for scalping -
that's my bread and butter. The indicator works decent on other
stuff like stocks or forex too, but I dial sensitivity up for
faster scalps during volatile sessions.
My typical trade setup:
1. Wait for a confirmed REVERSAL label (green for long, red for
short)
2. Check that it lines up with the EMA trend color (bullish candles
for longs, bearish for shorts)
3. If it's a "strong" signal where the reversal hits during a trend
flip, that's my green light
4. Quick check for nearby supply/demand zones to avoid fighting
them
5. Enter with a tight stop below/above the reversal line
6. Target 1:1 or 2:1 risk/reward, usually out in 5-10 minutes
The horizontal lines from each reversal give me logical stop
placement levels, and the supply/demand zones help identify
potential profit targets or areas to avoid.
SETTINGS & CUSTOMIZATION
Signal Modes:
- Confirmed Only = Most reliable, only shows locked-in signals
(recommended)
- Confirmed + Preview = Shows both confirmed and potential signals
- Preview Only = For testing/development
Sensitivity Presets:
Start with "Medium" and adjust based on your trading style:
- Scalping volatile sessions = "High" or "Very High"
- Day trading = "Medium"
- Swing trading = "Low" or "Very Low"
Display Options:
- Choose candle display type (Solid, Trend, Bars, Volume, None)
- Show/hide supply/demand zones
- Adjust zone box extension length
- Customize info table position and size
- Control maximum lines displayed
Alert System:
- Bullish/Bearish reversal alerts
- EMA trend change alerts
- Strong signal alerts (reversal + trend alignment)
- "Any reversal" catch-all alert
IMPORTANT - READ THIS FIRST
Don't rely on this indicator alone. Always pair it with your own
price action or volume confirmation, because no indicator is
perfect. Avoid cranking sensitivity too high in ranging markets or
you'll get whipped. Test on demo first, and remember it's
non-repainting so signals are final, but preview mode can tease
you into early entries if you're not patient.
Risk management is key - don't size up just because a signal looks
good. This indicator helps identify potential reversals, but YOU
still need to manage your trades, set proper stops, and control
position size based on your account risk tolerance.
WHAT MAKES THIS DIFFERENT
Unlike simple pivot indicators or manual support/resistance drawing:
- Adapts automatically to volatility changes (ATR-based)
- Never repaints - signals lock in place permanently
- Reversal detection works with trend context (EMAs)
- Supply/demand zones mark key structural levels
- One-click sensitivity adjustment via presets
- Works across multiple timeframes and instruments
The zigzag reversal algorithm adapts to volatility using ATR, while
the EMA system provides trend context so you're not trading
reversals blindly against the trend. The supply/demand zones help
identify key levels where price has reversed before. It's built
specifically for active traders who need reliable, non-repainting
signals.
BEST PRACTICES
✅ DO:
- Start with "Medium" sensitivity on demo account
- Wait for confirmed signals before entering
- Use horizontal lines for stop placement
- Check trend context (candle colors) before trading reversals
- Combine with volume analysis or price action
- Test different sensitivity settings for your instrument
❌ DON'T:
- Trade every signal blindly without context
- Use "Very High" sensitivity in choppy/ranging markets
- Ignore the trend direction (candle colors)
- Enter on preview labels (they can disappear)
- Skip proper risk management
- Overtrade just because signals appear
TECHNICAL SPECIFICATIONS
- Pine Script Version: v6
- Non-Repainting: Yes (confirmed signals only)
- Uses security(): No (no higher timeframe data)
- Uses non-standard chart types: No (all calculations on real OHLC)
- Alert Compatible: Yes (7 alert types)
- Calculations: Current timeframe only, no lookahead bias
DISCLAIMER
This indicator is for educational purposes only and does not
constitute financial advice. Trading futures, stocks, and forex
involves substantial risk of loss and is not suitable for all
investors. Past performance is not indicative of future results.
Always use proper risk management, never risk more than you can
afford to lose, and test thoroughly on demo accounts before live
trading.
═══════════════════════════════════════════════════════
© 2025 NPR21 - Reversal Detection Pro v3.0
Built by a trader, for traders
═══════════════════════════════════════════════════════
Adaptive RSI [BOSWaves]Adaptive RSI - Percentile-Based Momentum Detection with Dynamic Regime Thresholds
Overview
Adaptive RSI is a self-calibrating momentum oscillator that identifies overbought and oversold conditions through historical percentile analysis, constructing dynamic threshold boundaries that adjust to evolving market volatility and momentum characteristics.
Instead of relying on traditional fixed RSI levels (30/70 or 20/80) or static overbought/oversold zones, regime detection, threshold placement, and signal generation are determined through rolling percentile calculation, smoothed momentum measurement, and divergence pattern recognition.
This creates adaptive boundaries that reflect actual momentum distribution rather than arbitrary fixed levels - tightening during low-volatility consolidation periods, widening during trending environments, and incorporating divergence analysis to reveal momentum exhaustion or continuation patterns.
Momentum is therefore evaluated relative to its own historical context rather than universal fixed thresholds.
Conceptual Framework
Adaptive RSI is founded on the principle that meaningful momentum extremes emerge relative to recent price behavior rather than at predetermined numerical levels.
Traditional RSI implementations identify overbought and oversold conditions using fixed thresholds that remain constant regardless of market regime, often generating premature signals in strong trends or missing reversals in range-bound markets. This framework replaces static threshold logic with percentile-driven adaptive boundaries informed by actual momentum distribution.
Three core principles guide the design:
Threshold placement should correspond to historical momentum percentiles, not fixed numerical levels.
Regime detection must adapt to current market volatility and momentum characteristics.
Divergence patterns reveal momentum exhaustion before price reversal becomes visible.
This shifts oscillator analysis from universal fixed levels into adaptive, context-aware regime boundaries.
Theoretical Foundation
The indicator combines smoothed RSI calculation, rolling percentile tracking, adaptive threshold construction, and multi-pattern divergence detection.
A Hull Moving Average (HMA) pre-smooths the price source to reduce noise before RSI computation, which then undergoes optional post-smoothing using configurable moving average types. Confirmed oscillator values populate a rolling historical buffer used for percentile calculation, establishing upper and lower thresholds that adapt to recent momentum distribution. Regime state persists until the oscillator crosses the opposing threshold, preventing whipsaw during consolidation. Pivot detection identifies swing highs and lows in both price and oscillator values, enabling regular divergence pattern recognition through comparative analysis.
Five internal systems operate in tandem:
Smoothed Momentum Engine : Computes HMA-preprocessed RSI with optional post-smoothing using multiple MA methodologies (SMA, EMA, HMA, WMA, DEMA, RMA, LINREG, TEMA).
Historical Buffer Management : Maintains a rolling array of confirmed oscillator values for percentile calculation with configurable lookback depth.
Percentile Threshold Calculation : Determines upper and lower boundaries by extracting specified percentile values from sorted historical distribution.
Persistent Regime Detection : Establishes bullish/bearish/neutral states based on threshold crossings with state persistence between signals.
Divergence Pattern Recognition : Identifies regular bullish and bearish divergences through synchronized pivot analysis of price and oscillator values with configurable range filtering.
This design allows momentum interpretation to adapt to market conditions rather than reacting mechanically to universal thresholds.
How It Works
Adaptive RSI evaluates momentum through a sequence of self-calibrating processes:
Source Pre-Smoothing: Input price undergoes 4-period HMA smoothing to reduce bar-to-bar noise before oscillator calculation.
RSI Calculation: Standard RSI computation applied to smoothed source over configurable length period.
Optional Post-Smoothing: Raw RSI value undergoes additional smoothing using selected MA type and length for cleaner regime detection.
Historical Buffer Population: Confirmed oscillator values accumulate in a rolling array with size limit determined by adaptive lookback parameter.
Percentile Threshold Extraction: Array sorts on each bar to calculate upper percentile (bullish threshold) and lower percentile (bearish threshold) values.
Regime State Persistence: Bullish regime activates when oscillator crosses above upper threshold, bearish regime activates when crossing below lower threshold, neutral regime persists until directional threshold breach.
Pivot Identification: Swing highs and lows detected in both oscillator and price using configurable left/right parameters.
Divergence Pattern Matching: Compares pivot relationships between price and oscillator within min/max bar distance constraints to identify regular bullish (price LL, oscillator HL) and bearish (price HH, oscillator LH) divergences.
Together, these elements form a continuously updating momentum framework anchored in statistical context.
Interpretation
Adaptive RSI should be interpreted as context-aware momentum boundaries:
Bullish Regime (Blue): Activated when oscillator crosses above upper percentile threshold, indicating momentum strength relative to recent distribution favors upside continuation.
Bearish Regime (Red): Established when oscillator crosses below lower percentile threshold, identifying momentum weakness relative to recent distribution favors downside continuation.
Upper Threshold Line (Blue)**: Dynamic resistance level calculated from upper percentile of historical oscillator distribution - adapts higher during trending markets, lower during ranging conditions.
Lower Threshold Line (Red): Dynamic support level calculated from lower percentile of historical oscillator distribution - adapts lower during downtrends, higher during consolidation.
Regime Fill: Gradient coloring between oscillator and baseline (50) visualizes current momentum intensity - stronger color indicates greater distance from neutral.
Extreme Bands (15/85): Upper and lower extreme zones with strength-modulated transparency reveal momentum extremity - darker shading during powerful moves, lighter during moderate momentum.
Divergence Lines: Connect price and oscillator pivots when divergence pattern detected, appearing on both price chart and oscillator pane for confluence identification.
Reversal Markers (✦): Diamond signals appear at 80+ (bearish extreme) and sub-15 (bullish extreme) levels, marking potential exhaustion zones independent of regime state.
Percentile context, divergence confirmation, and regime persistence outweigh isolated oscillator readings.
Signal Logic & Visual Cues
Adaptive RSI presents four primary interaction signals:
Regime Switch - Long : Oscillator crosses above upper percentile threshold after previously being in bearish or neutral regime, suggesting momentum strength shift favoring bullish continuation.
Regime Switch - Short : Oscillator crosses below lower percentile threshold after previously being in bullish or neutral regime, indicating momentum weakness shift favoring bearish continuation.
Regular Bullish Divergence (𝐁𝐮𝐥𝐥) : Price forms lower low while oscillator forms higher low, revealing positive momentum divergence during downtrends - often precedes reversal or consolidation.
Regular Bearish Divergence (𝐁𝐞𝐚𝐫) : Price forms higher high while oscillator forms lower high, revealing negative momentum divergence during uptrends - often precedes reversal or correction.
Alert generation covers regime switches, threshold crossings, and divergence detection for systematic monitoring.
Strategy Integration
Adaptive RSI fits within momentum-informed and mean-reversion trading approaches:
Adaptive Regime Following : Use threshold crossings as primary trend inception signals where momentum confirms directional breakouts within statistical context.
Divergence-Based Reversals : Enter counter-trend positions when divergence patterns appear at extreme oscillator levels (above 80 or below 20) for high-probability mean-reversion setups.
Threshold-Aware Scaling : Recognize that tighter percentile spreads (e.g., 45/50) generate more signals suitable for ranging markets, while wider spreads (e.g., 30/70) filter for stronger trend confirmation.
Extreme Zone Confluence : Combine reversal markers (✦) with divergence signals for maximum-conviction exhaustion entries.
Multi-Timeframe Regime Alignment : Apply higher-timeframe regime context to filter lower-timeframe entries, taking only setups aligned with dominant momentum direction.
Smoothing Optimization : Increase smoothing length in choppy markets to reduce false signals, decrease in trending markets for faster response.
Technical Implementation Details
Core Engine : HMA-preprocessed RSI with configurable smoothing (SMA, HMA, EMA, WMA, DEMA, RMA, LINREG, TEMA)
Adaptive Model : Rolling percentile calculation over confirmed oscillator values with size-limited historical buffer
Threshold Construction : Linear interpolation percentile extraction from sorted distribution array
Regime Detection : State-persistent threshold crossing logic with confirmed bar validation
Divergence Engine : Pivot-based pattern matching with range filtering and duplicate prevention
Visualization : Gradient-filled regime zones, adaptive threshold lines, strength-modulated extreme bands, dual-pane divergence lines
Performance Profile : Optimized for real-time execution with efficient array management and minimal computational overhead
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Micro-structure momentum detection for scalping and intraday reversals
15 - 60 min : Intraday regime identification with divergence-validated turning points
4H - Daily : Swing and position-level momentum analysis with macro divergence context
Suggested Baseline Configuration:
RSI Length : 18
Source : Close
Smooth Oscillator : Enabled
Smoothing Length : 20
Smoothing Type : SMA
Adaptive Lookback : 1000
Upper Percentile : 50
Lower Percentile : 45
Divergence Pivot Left : 15
Divergence Pivot Right : 15
Min Pivot Distance : 5
Max Pivot Distance : 60
These suggested parameters should be used as a baseline; their effectiveness depends on the asset's volatility profile, momentum characteristics, and preferred signal frequency, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Too many whipsaw signals : Widen percentile spread (e.g., 40/60 instead of 45/50) to demand stronger momentum confirmation, or increase "Smoothing Length" to filter noise.
Missing legitimate regime changes : Tighten percentile spread (e.g., 48/52 instead of 45/50) for earlier detection, or decrease "Smoothing Length" for faster response.
Oscillator too choppy : Increase "Smoothing Length" for cleaner readings, or switch "Smoothing Type" to RMA/TEMA for heavier smoothing.
Thresholds not adapting properly : Reduce "Adaptive Lookback" to emphasize recent behavior (500-800 bars), or increase it for more stable thresholds (1500-2000 bars).
Too many divergence signals : Increase "Pivot Left/Right" values to demand stronger swing confirmation, or widen "Min Pivot Distance" to space out detections.
Missing significant divergences : Decrease "Pivot Left/Right" for faster pivot detection, or increase "Max Pivot Distance" to compare more distant swings.
Prefer different momentum sensitivity : Adjust "RSI Length" - lower values (10-14) for aggressive response, higher values (21-28) for smoother trend confirmation.
Divergences appearing too late : Reduce "Pivot Right" parameter to detect divergences closer to current price action.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Markets with mean-reverting characteristics and consistent momentum cycles
Instruments where momentum extremes reliably precede reversals or consolidations
Ranging environments where percentile-based thresholds adapt to volatility contraction
Divergence-driven strategies targeting momentum exhaustion before price confirmation
Reduced Effectiveness:
Extremely strong trending markets where oscillator remains persistently extreme
Low-liquidity environments with erratic momentum readings
News-driven or gapped markets where momentum disconnects from price temporarily
Markets with regime shifts faster than adaptive lookback can recalibrate
Integration Guidelines
Confluence : Combine with BOSWaves structure, volume analysis, or traditional support/resistance
Threshold Respect : Trust signals that occur after clean threshold crossings with sustained momentum
Divergence Context : Prioritize divergences appearing at extreme oscillator levels (80+/15-) over those in neutral zones
Regime Awareness : Consider whether current market regime matches historical momentum patterns used for calibration
Multi-Pattern Confirmation : Seek divergence patterns coinciding with reversal markers or threshold rejections for maximum conviction
Disclaimer
Adaptive RSI is a professional-grade momentum and divergence analysis tool. It uses percentile-based threshold calculation that adapts to recent market behavior but cannot predict future regime shifts or guarantee reversal timing. Results depend on market conditions, parameter selection, lookback period appropriateness, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates price structure, volume context, and comprehensive risk management.
Reversal Detection v3.0 - Real-Time Pro (Non-Repainting)═══════════════════════════════════════════════════════
REVERSAL DETECTION PRO v3.0 - NON-REPAINTING
Adaptive Zigzag Reversal Detection for Scalpers & Day Traders
═══════════════════════════════════════════════════════
WHY I BUILT THIS
Most reversal indicators out there repaint like crazy, flipping signals after the fact and making you second-guess every trade. Plus they're too noisy in choppy markets or way too laggy in trends, so I kept missing entries or getting faked out. I wanted something solid that sticks to its guns without repainting and adapts to volatility without me tweaking it every 5 minutes.
This indicator solves those problems by using an adaptive zigzag algorithm that adjusts to market volatility automatically. Once a reversal signal appears, it's locked in place - no repainting, no disappearing signals. The ATR-based sensitivity system means it works across different market conditions without constant adjustment.
WHAT YOU'LL SEE ON YOUR CHART
When you add this indicator, here's what shows up:
- GREEN LABELS with "REVERSAL" and price level = Bullish reversal confirmed at swing low
- RED LABELS with "REVERSAL" and price level = Bearish reversal confirmed at swing high
- HORIZONTAL LINES extending from each reversal = Reference for stops and targets
- PREVIEW LABELS (lighter colors) = Potential reversals forming in real-time (optional)
- CANDLE COLORS: Green for bullish trends, red for bearish, purple for neutral
- PURPLE BOXES = Supply/demand zones marking reversal areas
- INFO TABLE (top corner) = Shows sensitivity, current ATR, threshold, and trend status
The indicator uses three EMAs (9/14/21 periods) to determine trend direction, which drives the candle coloring system. This helps you see whether you're in a bullish, bearish, or choppy market at a glance.
HOW IT WORKS
The core reversal detection uses a zigzag calculation that tracks price swings and identifies reversals when price moves by a dynamically calculated threshold. The reversal amount is determined by taking the maximum of three values:
1. Percentage-based threshold (adjusts to instrument price level)
2. Absolute price movement threshold (minimum move required)
3. ATR-based threshold (adapts to current volatility)
This multi-factor approach ensures the indicator works consistently across different assets and market conditions. The non-repainting mechanism uses confirmed bar data - once a pivot is detected at a swing high or low, the label and horizontal line are permanently locked at that exact wick price.
Five sensitivity presets automatically adjust the ATR multiplier:
- Very High (0.8x ATR) = More signals, captures small moves
- High (1.2x ATR) = Active trading
- Medium (2.0x ATR) = Balanced (default)
- Low (2.8x ATR) = Filters noise
- Very Low (3.5x ATR) = Only major reversals
Advanced users can select "Custom" to manually tune ATR multiplier, percentage threshold, and calculation method.
HOW I USE IT
I mainly trade /MNQ futures on 1-5 minute charts for scalping - that's my bread and butter. The indicator works decent on other stuff like stocks or forex too, but I dial sensitivity up for faster scalps during volatile sessions.
My typical trade setup:
1. Wait for a confirmed REVERSAL label (green for long, red for short)
2. Check that it lines up with the EMA trend color (bullish candles for longs, bearish for shorts)
3. If it's a "strong" signal where the reversal hits during a trend flip, that's my green light
4. Quick check for nearby supply/demand zones to avoid fighting them
5. Enter with a tight stop below/above the reversal line
6. Target 1:1 or 2:1 risk/reward, usually out in 5-10 minutes
The horizontal lines from each reversal give me logical stop placement levels, and the supply/demand zones help identify potential profit targets or areas to avoid.
SETTINGS & CUSTOMIZATION
Signal Modes:
- Confirmed Only = Most reliable, only shows locked-in signals (recommended)
- Confirmed + Preview = Shows both confirmed and potential signals
- Preview Only = For testing/development
Sensitivity Presets:
Start with "Medium" and adjust based on your trading style:
- Scalping volatile sessions = "High" or "Very High"
- Day trading = "Medium"
- Swing trading = "Low" or "Very Low"
Display Options:
- Choose candle display type (Solid, Trend, Bars, Volume, None)
- Show/hide supply/demand zones
- Adjust zone box extension length
- Customize info table position and size
- Control maximum lines displayed
Alert System:
- Bullish/Bearish reversal alerts
- EMA trend change alerts
- Strong signal alerts (reversal + trend alignment)
- "Any reversal" catch-all alert
IMPORTANT - READ THIS FIRST
Don't rely on this indicator alone. Always pair it with your own price action or volume confirmation, because no indicator is perfect. Avoid cranking sensitivity too high in ranging markets or you'll get whipped. Test on demo first, and remember it's non-repainting so signals are final, but preview mode can tease you into early entries if you're not patient.
Risk management is key - don't size up just because a signal looks good. This indicator helps identify potential reversals, but YOU still need to manage your trades, set proper stops, and control position size based on your account risk tolerance.
WHAT MAKES THIS DIFFERENT
Unlike simple pivot indicators or manual support/resistance drawing:
- Adapts automatically to volatility changes (ATR-based)
- Never repaints - signals lock in place permanently
- Reversal detection works with trend context (EMAs)
- Supply/demand zones mark key structural levels
- One-click sensitivity adjustment via presets
- Works across multiple timeframes and instruments
The zigzag reversal algorithm adapts to volatility using ATR, while the EMA system provides trend context so you're not trading reversals blindly against the trend. The supply/demand zones help identify key levels where price has reversed before. It's built specifically for active traders who need reliable, non-repainting signals.
BEST PRACTICES
✅ DO:
- Start with "Medium" sensitivity on demo account
- Wait for confirmed signals before entering
- Use horizontal lines for stop placement
- Check trend context (candle colors) before trading reversals
- Combine with volume analysis or price action
- Test different sensitivity settings for your instrument
❌ DON'T:
- Trade every signal blindly without context
- Use "Very High" sensitivity in choppy/ranging markets
- Ignore the trend direction (candle colors)
- Enter on preview labels (they can disappear)
- Skip proper risk management
- Overtrade just because signals appear
TECHNICAL SPECIFICATIONS
- Pine Script Version: v6
- Non-Repainting: Yes (confirmed signals only)
- Uses security(): No (no higher timeframe data)
- Uses non-standard chart types: No (all calculations on real OHLC)
- Alert Compatible: Yes (7 alert types)
- Calculations: Current timeframe only, no lookahead bias
DISCLAIMER
This indicator is for educational purposes only and does not constitute financial advice. Trading futures, stocks, and forex involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always use proper risk management, never risk more than you can afford to lose, and test thoroughly on demo accounts before live trading.
═══════════════════════════════════════════════════════
© 2025 NPR21 - Reversal Detection Pro v3.0
Built by a trader, for traders
═══════════════════════════════════════════════════════
Reversal Detection v3.0 - Real-Time Pro (Non-Repainting)═══════════════════════════════════════════════════════
REVERSAL DETECTION PRO v3.0 - NON-REPAINTING
Adaptive Zigzag Reversal Detection for Scalpers & Day Traders
═══════════════════════════════════════════════════════
WHY I BUILT THIS
Most reversal indicators out there repaint like crazy, flipping signals after the fact and making you second-guess every trade. Plus they're too noisy in choppy markets or way too laggy in trends, so I kept missing entries or getting faked out. I wanted something solid that sticks to its guns without repainting and adapts to volatility without me tweaking it every 5 minutes.
This indicator solves those problems by using an adaptive zigzag algorithm that adjusts to market volatility automatically. Once a reversal signal appears, it's locked in place - no repainting, no disappearing signals. The ATR-based sensitivity system means it works across different market conditions without constant adjustment.
WHAT YOU'LL SEE ON YOUR CHART
When you add this indicator, here's what shows up:
- GREEN LABELS with "REVERSAL" and price level = Bullish reversal confirmed at swing low
- RED LABELS with "REVERSAL" and price level = Bearish reversal confirmed at swing high
- HORIZONTAL LINES extending from each reversal = Reference for stops and targets
- PREVIEW LABELS (lighter colors) = Potential reversals forming in real-time (optional)
- CANDLE COLORS: Green for bullish trends, red for bearish, purple for neutral
- PURPLE BOXES = Supply/demand zones marking reversal areas
- INFO TABLE (top corner) = Shows sensitivity, current ATR, threshold, and trend status
The indicator uses three EMAs (9/14/21 periods) to determine trend direction, which drives the candle coloring system. This helps you see whether you're in a bullish, bearish, or choppy market at a glance.
HOW IT WORKS
The core reversal detection uses a zigzag calculation that tracks price swings and identifies reversals when price moves by a dynamically calculated threshold. The reversal amount is determined by taking the maximum of three values:
1. Percentage-based threshold (adjusts to instrument price level)
2. Absolute price movement threshold (minimum move required)
3. ATR-based threshold (adapts to current volatility)
This multi-factor approach ensures the indicator works consistently across different assets and market conditions. The non-repainting mechanism uses confirmed bar data - once a pivot is detected at a swing high or low, the label and horizontal line are permanently locked at that exact wick price.
Five sensitivity presets automatically adjust the ATR multiplier:
- Very High (0.8x ATR) = More signals, captures small moves
- High (1.2x ATR) = Active trading
- Medium (2.0x ATR) = Balanced (default)
- Low (2.8x ATR) = Filters noise
- Very Low (3.5x ATR) = Only major reversals
Advanced users can select "Custom" to manually tune ATR multiplier, percentage threshold, and calculation method.
HOW I USE IT
I mainly trade /MNQ futures on 1-5 minute charts for scalping - that's my bread and butter. The indicator works decent on other stuff like stocks or forex too, but I dial sensitivity up for faster scalps during volatile sessions.
My typical trade setup:
1. Wait for a confirmed REVERSAL label (green for long, red for short)
2. Check that it lines up with the EMA trend color (bullish candles for longs, bearish for shorts)
3. If it's a "strong" signal where the reversal hits during a trend flip, that's my green light
4. Quick check for nearby supply/demand zones to avoid fighting them
5. Enter with a tight stop below/above the reversal line
6. Target 1:1 or 2:1 risk/reward, usually out in 5-10 minutes
The horizontal lines from each reversal give me logical stop placement levels, and the supply/demand zones help identify potential profit targets or areas to avoid.
SETTINGS & CUSTOMIZATION
Signal Modes:
- Confirmed Only = Most reliable, only shows locked-in signals (recommended)
- Confirmed + Preview = Shows both confirmed and potential signals
- Preview Only = For testing/development
Sensitivity Presets:
Start with "Medium" and adjust based on your trading style:
- Scalping volatile sessions = "High" or "Very High"
- Day trading = "Medium"
- Swing trading = "Low" or "Very Low"
Display Options:
- Choose candle display type (Solid, Trend, Bars, Volume, None)
- Show/hide supply/demand zones
- Adjust zone box extension length
- Customize info table position and size
- Control maximum lines displayed
Alert System:
- Bullish/Bearish reversal alerts
- EMA trend change alerts
- Strong signal alerts (reversal + trend alignment)
- "Any reversal" catch-all alert
IMPORTANT - READ THIS FIRST
Don't rely on this indicator alone. Always pair it with your own price action or volume confirmation, because no indicator is perfect. Avoid cranking sensitivity too high in ranging markets or you'll get whipped. Test on demo first, and remember it's non-repainting so signals are final, but preview mode can tease you into early entries if you're not patient.
Risk management is key - don't size up just because a signal looks good. This indicator helps identify potential reversals, but YOU still need to manage your trades, set proper stops, and control position size based on your account risk tolerance.
WHAT MAKES THIS DIFFERENT
Unlike simple pivot indicators or manual support/resistance drawing:
- Adapts automatically to volatility changes (ATR-based)
- Never repaints - signals lock in place permanently
- Reversal detection works with trend context (EMAs)
- Supply/demand zones mark key structural levels
- One-click sensitivity adjustment via presets
- Works across multiple timeframes and instruments
The zigzag reversal algorithm adapts to volatility using ATR, while the EMA system provides trend context so you're not trading reversals blindly against the trend. The supply/demand zones help identify key levels where price has reversed before. It's built specifically for active traders who need reliable, non-repainting signals.
BEST PRACTICES
✅ DO:
- Start with "Medium" sensitivity on demo account
- Wait for confirmed signals before entering
- Use horizontal lines for stop placement
- Check trend context (candle colors) before trading reversals
- Combine with volume analysis or price action
- Test different sensitivity settings for your instrument
❌ DON'T:
- Trade every signal blindly without context
- Use "Very High" sensitivity in choppy/ranging markets
- Ignore the trend direction (candle colors)
- Enter on preview labels (they can disappear)
- Skip proper risk management
- Overtrade just because signals appear
TECHNICAL SPECIFICATIONS
- Pine Script Version: v6
- Non-Repainting: Yes (confirmed signals only)
- Uses security(): No (no higher timeframe data)
- Uses non-standard chart types: No (all calculations on real OHLC)
- Alert Compatible: Yes (7 alert types)
- Calculations: Current timeframe only, no lookahead bias
DISCLAIMER
This indicator is for educational purposes only and does not constitute financial advice. Trading futures, stocks, and forex involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always use proper risk management, never risk more than you can afford to lose, and test thoroughly on demo accounts before live trading.
═══════════════════════════════════════════════════════
© 2025 NPR21 - Reversal Detection Pro v3.0
Built by a trader, for traders
═══════════════════════════════════════════════════════
ORB + Key Session Levels (QC)Overview
A comprehensive session-based levels indicator that plots Opening Range Breakout (ORB) levels alongside key session highs and lows from Asian, London, and New York trading sessions.
Features
• Opening Range Breakout (ORB) with configurable duration (5m/15m/30m/1hr/custom)
• Previous Day High/Low with two modes: RTH Only (9:30-4:00 ET) or Full Session (6pm-5pm ET for futures)
• Asian, London, NY AM, and NY PM session levels
• Kill Zones mode (non-overlapping) vs Full Sessions mode
• Fair Value Gap detection with optional mitigation removal
• HTF Bias dashboard showing market structure
• Lines extend from the exact candle where highs/lows occurred
• Alerts for all level breaks
Kill Zone Defaults (ET)
• Asian: 8:00 PM - 12:00 AM
• London: 2:00 AM - 5:00 AM
• NY AM: 8:30 AM - 11:00 AM
• NY PM: 1:30 PM - 4:00 PM
How To Use
1. Select Session Mode (Kill Zones or Full Sessions)
2. Choose PDH/PDL Source (RTH for equities, Full Session for futures)
3. Customize session times as needed
4. Set up alerts for level breaks
All times are in Eastern Time (ET) and fully customizable.
This indicator is for educational purposes only. Not financial advice.
Smart Range ProfilerSmart Market Structure Viewer: Gaps, Swings & Dealing Ranges
Overview
This script is a comprehensive technical analysis viewer designed to provide a clear and objective visualization of market structure. By mapping liquidity gaps, multi-tier swing points, and dynamic dealing ranges, it helps traders identify key institutional levels and price action context without the clutter of predictive signals.
Key Features
1. Gap Analysis (FVG & Breakaway)
The tool identifies and tracks price imbalances to help visualize market inefficiency:
Fair Value Gaps (FVG): Highlights standard price imbalances.
Breakaway Gaps: Specifically marks gaps where the candle close remains outside the previous range, indicating strong directional commitment.
Sophisticated Mitigation: Users can choose how gaps are cleared from the chart (e.g., when price touches, leaves, or completely covers the gap), ensuring only relevant imbalances are displayed.
2. Hierarchical Swing Points
To help distinguish between minor fluctuations and major trend shifts, the viewer categorizes market structure into three hierarchical levels:
Short-Term (ST): Localized swing points identified in relation to gap formations.
Intermediate-Term (IT): Structural points derived from the relationship between short-term swings.
Long-Term (LT): High-level structural points that define the broader market framework.
3. Dynamic Dealing Range & Profiling
The script calculates and projects the current "Dealing Range" based on the selected structural hierarchy (ST, IT, or LT).
Range Geometry: Displays the Range Top, Range Bottom, and the Equilibrium (50%) level.
MTP (Most Traded Price): A volume-based profile indicating the price level with the highest trading activity within the current range.
MTS (Most Time Spent): A time-based profile highlighting the price level where the market spent the most duration.
How to use this Viewer
Structural Context: Use the multi-tier swings to identify the current market phase (Bullish/Bearish) and seniority of the trend.
Imbalance Tracking: Monitor how price interacts with Fair Value and Breakaway gaps to gauge the strength of a move.
Premium vs. Discount: Utilize the Dealing Range Equilibrium in conjunction with MTP/MTS levels to identify where price sits relative to its value distribution.
RSI Chebyshev Pro with Goldilocks Fractals - NR [NPR21]RSI Chebyshev Pro with Goldilocks Fractals - Non-Repaint
CHART INFORMATION
Instrument: /MNQ (Micro E-mini Nasdaq-100 Futures)
Timeframe: 2-minute
Indicator: RSI Chebyshev Pro with Goldilocks Fractals - NR
THE PROBLEM
Standard RSI is too choppy and noisy – it whipsaws all over the place in volatile markets like futures, giving false oversold/overbought signals that burn you on entries. I was sick of missing real reversals or getting stopped out on fakeouts. I wanted something smoother that still catches the big momentum shifts without lagging too much, plus actual market structure to make it more reliable for quick trades.
WHAT MAKES THIS UNIQUE
Unlike basic RSI indicators that use simple moving average smoothing, this combines several advanced techniques that aren't commonly found together:
1. Chebyshev Type I Filtering - Signal processing mathematics (not basic EMAs) that kills noise while keeping real swings sharp. Most RSI smoothing just blurs everything - this keeps responsiveness without the chop.
2. MAMA Adaptive Period - The moving average adapts to actual market cycles using the MESA algorithm, not fixed periods that lag in changing conditions.
3. RSI Pivot Fractals - These aren't price fractals slapped onto RSI. The fractals detect pivots directly on RSI values at extreme levels, with signals appearing back at the exact pivot bar (not current bar), showing you where the actual reversal happened.
4. True Non-Repainting Implementation - Signals appear delayed BUT locked at the historical pivot location forever. What you see in backtests is exactly what appeared live - no vanishing signals, no shifting.
5. All-in-One Integration - Instead of running 3-4 separate indicators (RSI + fractals + patterns + smoothing), everything works together in a single, optimized calculation with confluence built in.
This isn't just RSI with some Williams Fractals thrown on top - it's a complete rethink of how to identify high-probability RSI reversals using signal processing and adaptive algorithms.
ORIGIN & ENHANCEMENTS
Original Source: ChartPrime RSI Chebyshev indicator
Converted & Enhanced by: NPR21
What I Added:
✅ Converted to Pine Script v6 - Made this available to TradingView traders
✅ Goldilocks Fractals - RSI alone doesn't tell you about price structure. These fractals nail those "just right" pivot points where highs/lows confirm. I kept seeing RSI extremes that reversed hard when they lined up with fractals - this was the missing piece for confluence.
✅ 100% Non-Repainting - I've been burned by repainters. You'd backtest something, looks amazing, then live it vanishes or shifts. Lost real money on that. This is rock-solid: signals show delayed but once they're there, they're locked forever. Makes backtesting trustworthy.
✅ Candlestick Patterns - Engulfing, Morning Star, Evening Star detection for confluence
✅ Customizable Visuals - BUY/SELL labels, multiple display styles, full color/size control
✅ Complete Alert System - Get notified on all signal types
HOW IT WORKS
Chebyshev Filtering:
Like putting noise-canceling on your RSI – smooths out jittery ups and downs from random price spikes without flattening into useless lag. It's signal processing math that keeps important swings sharp while killing BS noise. Way better than simple EMA smoothing that blurs everything.
The Components:
Ultra-Smooth RSI - Chebyshev Type I filtering + adaptive MAMA algorithm
Goldilocks Fractals - Pivot detection confirmed after N bars (default 5)
Pattern Recognition - Detects Engulfing, Morning/Evening Star patterns
Visual Styles - Candle Trend (hollow green/solid red) or traditional candles
SIGNAL DELAY vs REPAINTING
✅ THIS HAS SIGNAL DELAY (GOOD) - NOT REPAINTING (BAD)
Signal Delay:
Signals appear after N bars (default 5 bar delay)
Once visible, NEVER disappears or moves
Perfect for backtesting - 100% reliable
What you see in history is what you'd see live
Why the Delay:
To confirm a pivot, we need to see price didn't go lower/higher in the next N bars. This confirmation makes signals reliable. The delay is the price for trustworthy signals.
Want faster? Drop Fractal Periods to 2-3 (more signals, less confirmation).
HOW I TRADE IT
My /MNQ Scalping (1-3 min charts):
LONG: BUY label appears (down fractal + maybe morning star/engulfing) → Check RSI crossing up from oversold (<30) → Confirm with volume → Long with stop below fractal low → Target 1-2R
SHORT: SELL label (up fractal + maybe evening star) → RSI from overbought → Short with stop above
Filter: Only longs in uptrends (watch the MA). Exit partials if momentum fades.
Best Timeframes: 1-5 min for futures scalping. Works on 15 min for swings but for pure scalping, stay under 5 min in high-vol sessions.
SETTINGS I USE
Standard Setup:
Length: 24, Smoothing: 3
Auto MA: ON, Multiplier: 1-2
Fractal Periods: 5 (good confirmation)
Choppy Days:
Smoothing to 5
Aggressive:
Fractal Periods to 3
Pro Tip: Pair with volume or price EMA. Love when fractal BUY + engulfing bull align. Use Candle Trend style. Test on demo first.
KEY SETTINGS
RSI: Length (24), Smoothing (3), Auto MA, Style (Candle/Candle Trend)
Fractals: Periods (5 = more reliable, 3 = faster/riskier), Label colors/sizes, Offsets
Alerts: All signals fire only on confirmed, non-repainting events
DISCLAIMERS
⚠️ Tool, not a complete system - use proper risk management
⚠️ Signals have delay for reliability - not for instant entries
⚠️ Best with price action, volume, other analysis
⚠️ Test on demo before live trading
Questions? Comment below!
NPR21
Order Blocks ScannerHighlights order blocks with inneficiencies onto the chart, while removing mitigated blocks if price has touched that supply or demand area.
Also by default changes the candle color of the order block origin candle to make it easier to see already mitigated blocks for potential breaker block zones.
Accumulation/Distribution Oscillator [MarkitTick]💡 This script presents a statistically normalized evolution of the classic Accumulation/Distribution (A/D) indicator, designed to transform unbounded volume flow into a bounded, actionable oscillator. By integrating Relative Volume (RVOL) weighting and Z-Score standardization, this tool isolates genuine institutional buying and selling pressure from market noise, offering a clear view of volume momentum regimes.
✨ Originality and Utility
The standard Accumulation/Distribution line is a cumulative total of volume flow, which often results in an unbounded line that drifts indefinitely with price trends. This makes it difficult for traders to identify overextended conditions or specific turning points.
This script solves that problem through a three-stage quantitative process:
Smart Volume Weighting: Instead of treating all volume equally, this indicator amplifies the impact of high-volume nodes using a Relative Volume (RVOL) filter. This ensures that significant institutional activity carries more weight than low-liquidity chopping.
Detrending: It subtracts a smoothed average (using ALMA, EMA, or others) from the raw A/D line to create a raw oscillator.
Normalization: Finally, it applies a Z-Score calculation to normalize the data. This bounds the oscillator around a zero mean, allowing for the application of Bollinger Bands to detect statistical extremes (2 or 3 standard deviations).
🔬 Methodology and Concepts
The calculation logic follows a strict quantitative pipeline:
● Money Flow Multiplier (MFM)
The core engine is the classic MFM calculation, which determines the location of the Close relative to the High-Low range. A Close near the High results in +1, while a Close near the Low results in -1.
● Advanced Volume Filtering
Before accumulation, the volume is processed through two filters:
RVOL Multiplier: If the current bar's volume exceeds its simple moving average (`rvol_len`), the volume is multiplied by a user-defined factor (`rvol_mult`). This emphasizes breakout candles.
Candle Strength (Optional): If enabled, weight is increased based on how close the price closes to the absolute high or low, rewarding decisive candle shapes.
● Z-Score Standardization
The script calculates the "Raw Oscillator" by subtracting a moving average (Signal Line) from the cumulative A/D Line. It then calculates the Z-Score of this raw value over a lookback period (`z_len`).
Formula: Z = (Value - Mean) / Standard Deviation
🎨 Visual Guide
The indicator renders a complex data set into an easy-to-read interface:
• The Oscillator (Line & Histogram)
The primary output is the Z-Score value.
Teal Histogram/Line: Represents Bullish momentum (Accumulation). Darker Teal indicates accelerating momentum (`osc > previous`), while lighter Teal indicates decaying momentum.
Red Histogram/Line: Represents Bearish momentum (Distribution). Darker Red indicates accelerating selling pressure, while lighter Red indicates exhaustion.
Gray: If the Trend Filter (200 EMA) or VWAP Filter is enabled and the signal opposes the trend, the histogram turns Gray to indicate a low-probability counter-trend signal.
• Bollinger Bands (Blue Bands)
These bands wrap around the oscillator line.
Upper Band: Usually set to +2 Standard Deviations. When the oscillator pierces this band, accumulation is statistically extreme (potential mean reversion or strong breakout).
Lower Band: Usually set to -2 Standard Deviations. Indicates statistically extreme distribution.
• Divergences
The script automatically detects and plots structural divergences:
Green Lines/Labels: Bullish Divergence. Price makes a Lower Low while the Oscillator makes a Higher Low.
Red Lines/Labels: Bearish Divergence. Price makes a Higher High while the Oscillator makes a Lower High.
• Multi-Timeframe (MTF) Dashboard
Located in the top right, this table displays the momentum status (BULL/BEAR) of the oscillator across three user-defined timeframes (default: 60min, 240min, Daily), allowing for fractal trend analysis.
📖 How to Use
This tool is best used for identifying trend exhaustion and hidden volume strength.
1. Trend Continuation
In a strong uptrend, look for the Histogram to remain Teal and above the Zero line. A pullback to the Zero line that bounces back up suggests buyers are stepping in to defend the trend.
2. Statistical Extremes
When the oscillator line breaks outside the Bollinger Bands, volume flow is significantly deviated from the norm.
If price is ranging, this often signals a reversal (Reversion to Mean).
If price is breaking out, this confirms strong impulse participation.
3. Divergence Reversals
A divergence is a leading signal. If price is pushing new highs but the A/D Oscillator fails to make a new high (Red Divergence Line), it indicates that the volume supporting the move is drying up, often preceding a correction.
⚙️ Inputs and Settings
● Oscillator Settings
Smoothing Type/Length: Choose between ALMA, EMA, SMA, etc., to smooth the A/D line. ALMA is default for its zero-lag properties.
ALMA Offset/Sigma: Fine-tune the responsiveness of the Arnaud Legoux Moving Average.
● Quant Filters
RVOL Lookback & Multiplier: Determines the threshold for "High Volume." Default is 1.5x average volume.
Z-Score Lookback: The period used to establish statistical significance (Default: 100).
Use VWAP/Trend Filter: Logical switches to gray out signals that contradict the macro trend (200 EMA) or the intraday mean (VWAP).
● Dashboard
Customize the three timeframes displayed in the MTF table to match your trading horizon (e.g., Scalpers might use 5m, 15m, 1h).
🔍 Deconstruction of the Underlying Scientific and Academic Framework
This indicator relies on the Law of Supply and Demand quantified through Standard Score (Z-Score) Statistics .
Standard Accumulation/Distribution is derived from the work of Marc Chaikin, positing that the proximity of the close to the high/low on high volume indicates the "smart money" flow. However, raw cumulative data suffers from heteroscedasticity (varying variance).
By applying Z-Score normalization:
Z = (x - μ) / σ
We transform the data into a standard normal distribution. This allows us to apply probability theory to volume analysis. A value of +2.0 is not merely "high"; it represents a volume flow intensity that falls within the top 2.2% of the data set (assuming normal distribution), providing a mathematically robust definition of "Overbought" or "Oversold" volume conditions.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
RSI Chebyshev Pro with Goldilocks Fractals - NR [NPR21]RSI Chebyshev Pro with Goldilocks Fractals - Non-Repaint
==================================================================================
**CHART INFORMATION**
The example chart shown displays:
- Instrument: /MNQ (Micro E-mini Nasdaq-100 Futures)
- Timeframe: 2-minute
- Indicator: RSI Chebyshev Pro with Goldilocks Fractals - NR
==================================================================================
═════════════════════════════════════════════════════════════
THE PROBLEM
Standard RSI is too choppy and noisy – it whipsaws all over the place in volatile markets like futures, giving false oversold/overbought signals that burn you on entries. I was sick of missing real reversals or getting stopped out on fakeouts. I wanted something smoother that still catches the big momentum shifts without lagging too much, plus actual market structure to make it more reliable for quick trades.
═════════════════════════════════════════════════════════════
WHAT MAKES THIS UNIQUE
Unlike basic RSI indicators that use simple moving average smoothing, this combines several advanced techniques that aren't commonly found together:
1. Chebyshev Type I Filtering - Signal processing mathematics (not basic EMAs) that kills noise while keeping real swings sharp. Most RSI smoothing just blurs everything - this keeps responsiveness without the chop.
2. MAMA Adaptive Period - The moving average adapts to actual market cycles using the MESA algorithm, not fixed periods that lag in changing conditions.
3. RSI Pivot Fractals - These aren't price fractals slapped onto RSI. The fractals detect pivots directly on RSI values at extreme levels, with signals appearing back at the exact pivot bar (not current bar), showing you where the actual reversal happened.
4. True Non-Repainting Implementation - Signals appear delayed BUT locked at the historical pivot location forever. What you see in backtests is exactly what appeared live - no vanishing signals, no shifting.
5. All-in-One Integration - Instead of running 3-4 separate indicators (RSI + fractals + patterns + smoothing), everything works together in a single, optimized calculation with confluence built in.
This isn't just RSI with some Williams Fractals thrown on top - it's a complete rethink of how to identify high-probability RSI reversals using signal processing and adaptive algorithms.
═════════════════════════════════════════════════════════════
ORIGIN & ENHANCEMENTS
Original Source: ChartPrime RSI Chebyshev indicator
Converted & Enhanced by: NPR21
What I Added:
✅ Converted to Pine Script v6 - Made this available to TradingView traders
✅ Goldilocks Fractals - RSI alone doesn't tell you about price structure. These fractals nail those "just right" pivot points where highs/lows confirm. I kept seeing RSI extremes that reversed hard when they lined up with fractals - this was the missing piece for confluence.
✅ 100% Non-Repainting - I've been burned by repainters. You'd backtest something, looks amazing, then live it vanishes or shifts. Lost real money on that. This is rock-solid: signals show delayed but once they're there, they're locked forever. Makes backtesting trustworthy.
✅ Candlestick Patterns - Engulfing, Morning Star, Evening Star detection for confluence
✅ Customizable Visuals - BUY/SELL labels, multiple display styles, full color/size control
✅ Complete Alert System - Get notified on all signal types
═════════════════════════════════════════════════════════════
HOW IT WORKS
Chebyshev Filtering:
Like putting noise-canceling on your RSI – smooths out jittery ups and downs from random price spikes without flattening into useless lag. It's signal processing math that keeps important swings sharp while killing BS noise. Way better than simple EMA smoothing that blurs everything.
The Components:
Ultra-Smooth RSI - Chebyshev Type I filtering + adaptive MAMA algorithm
Goldilocks Fractals - Pivot detection confirmed after N bars (default 5)
Pattern Recognition - Detects Engulfing, Morning/Evening Star patterns
Visual Styles - Candle Trend (hollow green/solid red) or traditional candles
═════════════════════════════════════════════════════════════
SIGNAL DELAY vs REPAINTING
✅ THIS HAS SIGNAL DELAY (GOOD) - NOT REPAINTING (BAD)
Signal Delay:
Signals appear after N bars (default 5 bar delay)
Once visible, NEVER disappears or moves
Perfect for backtesting - 100% reliable
What you see in history is what you'd see live
Why the Delay:
To confirm a pivot, we need to see price didn't go lower/higher in the next N bars. This confirmation makes signals reliable. The delay is the price for trustworthy signals.
Want faster? Drop Fractal Periods to 2-3 (more signals, less confirmation).
════════════════════════════════════════════════════════════
HOW I TRADE IT
My /MNQ Scalping (1-3 min charts):
LONG: BUY label appears (down fractal + maybe morning star/engulfing) → Check RSI crossing up from oversold (<30) → Confirm with volume → Long with stop below fractal low → Target 1-2R
SHORT: SELL label (up fractal + maybe evening star) → RSI from overbought → Short with stop above
Filter: Only longs in uptrends (watch the MA). Exit partials if momentum fades.
Best Timeframes: 1-5 min for futures scalping. Works on 15 min for swings but for pure scalping, stay under 5 min in high-vol sessions.
═════════════════════════════════════════════════════════════
SETTINGS I USE
Standard Setup:
Length: 24, Smoothing: 3
Auto MA: ON, Multiplier: 1-2
Fractal Periods: 5 (good confirmation)
Choppy Days: Smoothing to 5
Aggressive: Fractal Periods to 3
Pro Tip: Pair with volume or price EMA. Love when fractal BUY + engulfing bull align. Use Candle Trend style. Test on demo first.
═════════════════════════════════════════════════════════════
KEY SETTINGS
RSI: Length (24), Smoothing (3), Auto MA, Style (Candle/Candle Trend)
Fractals: Periods (5 = more reliable, 3 = faster/riskier), Label colors/sizes, Offsets
Alerts: All signals fire only on confirmed, non-repainting events
═════════════════════════════════════════════════════════════
DISCLAIMERS
⚠️ Tool, not a complete system - use proper risk management
⚠️ Signals have delay for reliability - not for instant entries
⚠️ Best with price action, volume, other analysis
⚠️ Test on demo before live trading
═════════════════════════════════════════════════════════════
Questions? Comment below!
NPR21
ORB Breakout Strategy📊 Overview
📈 Systematic intraday Opening Range Breakout (ORB) strategy
🧭 Designed for index CFDs (e.g. US500)
⏱️ Optimized for 5-minute charts during regular trading hours
🛡️ Strict risk management and position sizing
🚦 Maximum one trade per day
💡 Core Idea
🌅 The market establishes a key price range shortly after the open
🚀 A confirmed breakout from this opening range can signal directional momentum
🎯 The strategy trades only confirmed breakouts with predefined risk
📐 Opening Range Definition
⏰ Opening range is defined between 09:30 and 09:45 (exchange time)
🕯️ Uses the first three 5-minute candles of the session
⬆️ Opening Range High is the highest high of those candles
⬇️ Opening Range Low is the lowest low of those candles
🟢 Long Trade
📊 A 5-minute candle closes above the Opening Range High
🟩 A Fair Value Gap (FVG) exists relative to the candle 10 minutes earlier
🧲 A buy limit order is placed at the Opening Range High
🔴 Short Trade
📉 A 5-minute candle closes below the Opening Range Low
🟥 A Fair Value Gap (FVG) exists relative to the candle 10 minutes earlier
🧲 A sell limit order is placed at the Opening Range Low
🛑 Stop Loss
📉 Long trades use the low of the candle 10 minutes before the breakout
📈 Short trades use the high of the candle 10 minutes before the breakdown
🎯 Take Profit
⚖️ Fixed reward-to-risk ratio of 2:1
📏 Take profit distance equals two times the stop loss distance
💰 Position Sizing
💵 Fixed dollar risk per trade (default: $2,000)
📐 Position size is calculated dynamically based on stop loss distance
🔁 Risk remains consistent across changing volatility conditions
⏳ Trade Management Rules
🚦 Maximum one trade per day, including same-bar entries and exits
🕛 No new entries after 12:00 (exchange time)
⏰ All open positions are closed at 15:50
❌ Pending orders are cancelled after the entry cutoff or at session end
⚙️ Execution & Costs
💸 Commission model can be configured in the strategy settings
🧪 Backtests use TradingView Strategy Tester mechanics
📝 Notes
📚 This is a rules-based trading strategy, not a signal service
🔍 Results depend on instrument, broker feed, spreads, and commissions
🧠 Forward testing is strongly recommended before live trading
⚠️ Disclaimer
📖 This script is provided for educational and research purposes only
🚫 It does not constitute financial advice
🔥 Trading leveraged instruments involves significant risk
SMC Pro : OB Longues + FVGHow does this indicator work?
Fair Value Gaps (FVG): It identifies price imbalances (gaps between the wick of candle 1 and candle 3). They appear as small, light-colored rectangles.
Order Blocks (OB): It marks "Smart Money" candles that precede a strong impulse. These areas are extended to the right because they often act as future support or resistance.
Signals (BUY/SELL): The indicator displays a signal when it detects a confluence (for example, a bullish OB appearing right after an FVG).
Some friendly trading tips:
Timeframe: This indicator works best on higher timeframes (15m, 1h, 4h) to avoid market "noise."
Confirmation: Don't take a "BUY" signal on its own. Check if the overall trend (on a higher timeframe) is also bullish.
Risk management: Always place your Stop Loss just below the identified Order Block.
Strong Daily Reversal Arrows / Labels
🔁 Reversal indicator on the daily time frame
Bullish Reversal
✔ Previous day was bearish
✔ Today is bullish
✔ Today closes above previous day close
Bearish Reversal
✔ Previous day was bullish
✔ Today is bearish
✔ Today closes below previous day close
[SMC] Binet Nexus Alpha : Institutional Liquidity & Order BlocksBINET™ NEXUS ALPHA : The Institutional SMC Terminal
Overview
The BINET™ NEXUS ALPHA is a professional-grade execution terminal designed to bridge the gap between retail "Smart Money Concepts" and actual institutional data. Built on the proprietary BINET™ Core v17.5 engine, this terminal prioritizes Price Action Narrative over lagging signals.
Unlike basic SMC indicators that clutter charts with unverified boxes, the Nexus Alpha uses an Institutional Confluence Engine to filter out retail "stop-run" noise and identify high-conviction zones where big money is actually positioning.
The Narrative Engine (Visual Intelligence)
The terminal replaces abstract lines with a high-visibility geometric narrative designed for rapid scanning on 4K/high-res monitors:
█ (Solid Blue Block): Institutional Vol Spike. Represents a "Foundation Surge" where volume significantly exceeds retail averages.
◆ (Gold Diamond): Liquidity Hunt. Direct identification of price tapping into resting Order Blocks (OB) or Fair Value Gaps (FVG).
● (Blue Circle): Macro Accumulation. Alerts you to long-term institutional position building.
▲/▼ (Triangles): Market Structure Breaks. Real-time Break of Structure (BOS) tracking.
The Command HUD (Mission Control)
The terminal features a real-time Hierarchical HUD that audits every trade before you enter:
Signal Quality (Sync Score): A 0-100% confluence rating. 85%+ represents "Elite Institutional Sync."
Stop Advisor & Risk Meter: Calculates the highest-volume liquidity bin for stop placement and warns you if the Max Stop Distance (%) is exceeded.
Market Health Engine: Automatically detects the current regime (Scalp, Swing, or Position) to adjust your execution strategy.
Success Probability: A rolling trajectory of the system's performance, showing whether recent win-rates are trending up (▲) or down (▼).
Institutional Workflow
Filter: Check the Trade Bias (Long/Short) on the HUD.
Confirm: Wait for the Sync Score to cross your threshold (Default 65%).
Audit: Verify that the Risk Meter is not in "High Exposure" mode.
Execute: Target the provided TP1/TP2 levels projected on the chart.
Technical Specifications
Language: Pine Script® v6
Logic: Smart Money Concepts (SMC) + Volume Delta Analysis
Core: BINET™ v17.5 Concurrency Engine
Founder's Note
The BINET™ NEXUS ALPHA was designed for traders who demand institutional-grade transparency. It is the final piece of the BINET Suite, designed to be used alongside the Macro Sector Rotation and Trend Matrix tools for a complete Top-Down to Bottom-Up trading workflow.
BPR [TFO] - ModifiedThis is a modified version of the original "BPR " indicator. It plots balanced price ranges the same way as the original indictor did. The only additions are a 50% line in the BPR box and an extend right feature.
Deviation Momentum For Loop | Lyro RSThe Deviation Momentum For Loop is a directional momentum tool that evaluates the persistence of price deviation from a moving average over a historical range using a custom loop-based scoring function. It quantifies relative momentum strength by comparing current deviation to previous values, assigning a net score used to assess trend bias, reversals, and volatility-adjusted strength.
Key Features
Deviation-Based Momentum: Calculates standardized deviation from a selected moving average by subtracting the MA from price and normalizing via standard deviation and a scaling constant. This standardization adjusts for volatility and creates a consistent scoring base across assets and timeframes.
Historical For-Loop Scoring: Implements a user-defined for-loop function that compares current deviation to values from earlier bars (configurable range). Each comparison adds or subtracts from a cumulative score based on whether current deviation exceeds historical ones, producing a dynamic momentum read.
Threshold-Based Signal Logic: Applies user-defined thresholds for long and short signals. If the loop score exceeds the long threshold, a bullish bias is inferred; if it drops below the short threshold, a bearish bias is indicated. These thresholds are plotted for visual clarity.
Multi-Palette Visual System:
Predefined Palettes – Choose from Classic, Mystic, Accented, or Royal schemes for bullish and bearish colors.
Custom Colors – Toggle on custom color selection to manually define bullish (UpC) and bearish (DnC) tones.
Dynamic Visuals – Oscillator line, threshold markers, background shading, bar and candle coloring are applied in real time based on trend state
.
Glow and Overlay Effects: Layered glow lines and optional bar/candle coloring reinforce signal strength and trend status directly on the chart.
Built-In Alerts: Provides alert conditions when the for-loop score crosses above or below the defined thresholds, enabling automated monitoring of trend conditions.
How It Works
MA Calculation – Applies the selected moving average to the chosen price source (e.g., close, open, high). Offers 16 moving average types including SMA, EMA, WMA, TEMA, JMA, FRAMA, ZLSMA, KAMA, and others via the LyroRS/LMAs/1 library.
Deviation Computation – Measures the deviation of price from its moving average, normalized by standard deviation and scaled by a fixed constant factor to account for volatility.
Loop Function – Iterates from user-defined indices (From → To) and compares current deviation to past deviations. Increments score for each instance where current > past, decrements when current < past. The resulting value is plotted as the primary oscillator.
Signal Logic – Long and short threshold values are configurable inputs. Crossing above the long threshold signals bullish bias; crossing below the short threshold signals bearish pressure.
Color Coding & Visual Feedback
Palette or custom colors reflect oscillator's directional state.
Additional glow lines increase signal emphasis.
Background shading highlights crossovers with mid-threshold for enhanced visibility.
Optional bar and candle coloring aligns price visualization with indicator signals.
Practical Use
Momentum Confirmation – Use a score rising above the long threshold as a potential bullish signal; falling below the short threshold may indicate bearish strength.
Volatility Normalization – Standardized deviation ensures consistency across assets of different volatility profiles.
Multi-Timeframe Adaptation – The wide selection of moving averages and loop depth settings allows calibration for scalping, swing, or long-term analysis.
Visual Clarity – Color-coordinated candles, bars, oscillator lines, and background simplify interpretation of signal context and trend structure.
Customization
Select from 16 moving average types to control sensitivity and smoothing.
Adjust loop depth (From/To) to define how far back deviation is compared.
Set custom threshold levels to reflect your preferred sensitivity to momentum shifts.
Customize visuals with predefined palettes or manual color settings for full chart integration.
⚠️Disclaimer
This indicator is a tool for technical analysis and does not provide guaranteed results. It should be used in conjunction with other analysis methods and proper risk management practices. The creators of this indicator are not responsible for any financial decisions made based on its signals.
Multi-Factor ConsensusMFC (Market Field Coherence)
A Triumph of Complexity: The Fusion of Three Professional Engines to Visualize the Unified
Mind of the Market
█ OVERVIEW: BEYOND THE INDICATOR
This is not another lagging indicator. This is a command suite.
MFC (Market Field Coherence) is not a single tool, but a seamless integration of three professional-grade, independent analytical engines fused into a singular, awe-inspiring system. It's a masterwork of signal processing and applied mathematics designed to visualize the invisible—the collective, underlying state of the market.
It moves beyond the simplistic analysis of individual price bars to measure something far more profound: the degree of emergent coherence across an entire ensemble of market oscillators. While traditional tools see the market as a series of disconnected data points, MFC sees it as a dynamic, fluctuating field of forces. By deploying its three specialized engines, MFC identifies moments of critical transition when disparate, chaotic market inputs converge into a single, unified, and tradable state of being. It measures the very instant the "noise" becomes a "symphony," and generates signals only when all three engines are in unanimous agreement.
█ A TRINITY OF SYSTEMS: THREE INDICATORS IN ONE
MFC's unparalleled precision comes from its unique tripartite architecture. It is not a monolithic tool. It is a fusion of three distinct, professional-grade analytical engines, each performing a critical and independent function. Their synergy is what produces the high-quality, filtered signals and the profound analytical clarity.
ENGINE 1: The Quantum Coherence Engine
The heart of the system. This is a pure regime-detection indicator. Its sole purpose is to perform the heavy lifting of converting the oscillator ensemble into complex-plane phasors and calculating the two most critical metrics: the Coherence Index (CI) and the Dominant Phase . It constantly works to answer the primary question: " How unified is the market, and in which direction is it leaning? "
ENGINE 2: The Multi-Layer Confirmation Matrix
A high CI from the first engine is not enough. This second, independent engine acts as the ultimate quality filter. It is, in essence, a sophisticated confirmation indicator that runs two rigorous, non-negotiable checks: the Phase-Lock Detector (is the alignment tight enough?) and the Pairwise Entanglement Web (is the alignment broad-based and not a fluke?). This is a purely logical system designed to reject ambiguity, eliminate false positives, and validate the findings of the Coherence Engine. It answers the crucial follow-up question: " Is this detected coherence real, or is it a statistical ghost? "
ENGINE 3: The Advanced Visualization Suite
Raw data is meaningless without interpretation. This third engine is a full-fledged visual indicator in its own right, dedicated to translating the abstract mathematics from the other two engines into an intuitive, multi-dimensional language. Featuring the revolutionary Circular Orbit Plot , the atmospheric Quantum Field Cloud , and deep-dive analytical grids, it allows you to see the market's state in a way that numbers alone never could. It answers the final question: " What does this confirmed state of coherence actually look like? "
An Ignition Signal only fires when all three of these independent systems reach a unanimous conclusion. This is the source of MFC's power and precision.
█ THE PHILOSOPHY & THEORETICAL FOUNDATION
MFC is built upon a synthesis of advanced mathematical frameworks, each chosen for its unique ability to extract a deeper layer of truth from market data. Their combination across the three engines creates a system far greater than the sum of its parts.
1. The Kernel: Gaussian-Weighted Smoothing for Intelligent Lag Reduction
Simple and Exponential Moving Averages are primitive tools. MFC's engines reject them. We employ a Gaussian Kernel for all internal smoothing. This "bell curve" weighting assigns the most significance to the most recent data, gracefully decaying influence for older data. The result is a beautifully smooth yet highly responsive measure of coherence, fundamentally reducing the lag that plagues other systems.
The formula for the weight w at a distance i from the center μ is:
w(i) = exp(- (i - μ)² / (2 * σ²))
2. The Lens: Sigmoid Normalization for Non-Linear State Definition
To compare an RSI of 80 to a MACD of 0.5, MFC utilizes the robust and mathematically elegant Sigmoid (Logistic) Function. Its non-linear, "S-shaped" curve squashes any input into a perfect, bounded range, creating extreme sensitivity near the neutral midpoint and gracefully compressing values at the extremes. This provides a crystal-clear distinction between "weak," "strong," and "extreme" conditions.
f(x) = 1 / (1 + exp(-k * x))
3. The Engine: Complex-Plane Phasors for Coherence Measurement
This is the heart of Engine 1. Each normalized oscillator is transformed from a single scalar value into a two-dimensional vector (a phasor) in the complex plane, capturing its magnitude (strength) and its phase angle (position and velocity).
Resultant Vector (R) = Σ e^(iφₙ) = Σ cos(φₙ) + i·Σ sin(φₙ)
The Coherence Index (CI) is the magnitude of this resultant vector, normalized by the number of oscillators N:
CI = |R| / N
This mathematical blending— Gaussian smoothing for clean data, Sigmoid normalization to define state, and Complex-Plane Analysis to measure collective coherence—is what allows MFC to generate insight that is simply impossible to achieve with conventional tools.
█ THE INPUTS MENU: YOUR COMMAND & CONTROL
Every parameter is exposed, allowing you to fine-tune MFC's three engines to any instrument, timeframe, or trading style. Here is an exhaustive guide:
Oscillator Settings (Engine 1)
Enable/Disable Toggles & Lengths: Construct the perfect ensemble for your market. Shorter lengths for scalping (e.g., 5m chart), longer lengths for swing trading (e.g., 4H chart). Disable any oscillator that consistently acts as an outlier to reduce noise.
Normalization Anchors: Define the "extreme" boundaries for the Sigmoid function. Widen these anchors (e.g., RSI 80/20) for highly volatile assets to better capture the larger price swings.
Coherence & Confirmation Settings (Engines 1 & 2)
CI Smoothing Window: Controls the Gaussian Kernel for the final Coherence Index. A short window (2-4) offers a fast reaction for scalpers. A longer window (5-10) creates a smoother CI line for swing traders.
Ignition Threshold: The CI level needed to activate a signal check. A lower threshold (0.70) generates more signals. A higher threshold (0.85) produces fewer, but extremely high-conviction signals.
Phase Lock Tolerance & Min Entangled Pairs: These are the core parameters for the Confirmation Engine (Engine 2). Use tighter tolerances (e.g., 25°) and a higher number of pairs (e.g., 5+) to demand an incredibly high standard for signal confirmation.
█ THE DASHBOARD: YOUR QUANTITATIVE READOUT
The dashboard provides a real-time, numerical dissection of the market field, summarizing the outputs of all three engines.
CI (Coherence Index): What it is: The master metric from Engine 1. How to interpret: < 40% (Chaos): The market is disjointed. 40-70% (Coherent): A regime is forming. > 70% (Ignition Zone): High consensus.
Dom Phase (Dominant Phase): What it is: The "average" direction from Engine 1. How to interpret: The arrow gives the immediate directional bias.
Field Strength: What it is: CI × Average Amplitude . How to interpret: Measures alignment with conviction. A high Field Strength is the signature of a powerful, aggressive trend.
Entangled Pairs & Phase Lock: What they are: The direct readouts from the Confirmation Engine (Engine 2). How to interpret: The 🔒 symbol and a high pair count are the final "green lights" before a signal can be generated.
State: What it is: A real-time classification of the market's condition based on the combined output of all engines. How to interpret:
🚀 IGNITION: All three engines are in unanimous, bullish/bearish agreement.
⚡ COHERENT: The trend is healthy and coherence is stable.
💥 COLLAPSE: The regime's integrity is compromised.
🌀 CHAOS: The market is unpredictable.
Collapse Risk: What it is: A 0-100% gauge measuring the rate of recent CI decay. How to interpret: A leading indicator for trend exhaustion. A value rising above 50% is a powerful signal to tighten stops.
█ THE VISUALS: THE ART OF ANALYSIS (ENGINE 3)
The Visualization Suite (Engine 3) translates the complex calculations into an intuitive visual language. Learning to read these displays is like learning to see the market in a new dimension.
The Circular Orbit Plot: The soul of MFC. A polar grid showing each oscillator as a labeled vector.
Angle = Phase, Length = Amplitude. Watch for Convergence: when scattered vectors cluster into a single quadrant, you are witnessing the birth of a new regime in real-time.
The Quantum Field Cloud: An atmospheric overlay on the price chart.
Color = Dominant Phase ( Green for bullish, Red for bearish). Opacity = Coherence Index . A dense, opaque cloud signifies an extremely strong, coherent regime.
The Entanglement Web Matrix & Phase-Time Heat Map: Deep-dive analytical tools. Use the Web to diagnose the quality and breadth of coherence. Use the Heat Map to identify historical patterns and pivotal moments of unified market phase.
█ THE DEVELOPMENT: A QUEST FOR TRUTH
MFC was not created to be just another tool. It was engineered to solve the fundamental ambiguity of technical analysis by creating a system of checks and balances between three specialized engines. I sought to replace subjective interpretation with objective, multi-stage mathematical measurement. The choice of Gaussian kernels, Sigmoid functions, and complex-plane analysis was a deliberate decision to embrace the multi-dimensional reality of market dynamics rather than simplifying it into a single, misleading number.
This is a tool for the discerning trader who understands that the market is not a random walk, but a complex, adaptive system. MFC provides a new set of senses to perceive the behavior of that system.
"The financial markets are generally unpredictable. So that one has to have different scenarios... The idea that you can actually predict what's going to happen contradicts my way of looking at the market."
— George Soros
MFC does not predict. It measures . Its three engines work in concert to provide a high-resolution image of the market's current state , allowing you to align yourself with moments of profound clarity and step aside during times of absolute chaos. Trade the coherence, not the forecast.
█ IMPORTANT WARNINGS & DISCLAIMER
This tool is designed for analytical and informational purposes. It identifies periods of high statistical confluence based on the behavior of technical oscillators. This is not a "signal" service and provides no financial advice.
RISK OF LOSS: All trading and investment activities involve substantial risk of loss. Do not trade with capital you cannot afford to lose.
NO GUARANTEE: This indicator does not guarantee profits or prevent losses. Past performance is not indicative of future results.
USE CONFIRMATION: "Ignition" markers denote a unanimous conclusion from all three internal engines, not explicit instructions to buy or sell. They should be used as one component within a comprehensive trading plan.
REGIME DEPENDENT: The effectiveness of this tool is dependent on market conditions. It performs best in markets with clear cyclical behavior.
Taking you to school. - Dskyz, Trade with probability. Trade with consensus. Trade with MFC.
Reversal RadarReversal Radar
Unified exhaustion detection across 5 distinct reversal patterns — see confluence at a glance.
What It Does
Reversal Radar consolidates 5 independent reversal detection algorithms into a single indicator with a stacked diamond visualization. When any detector fires, you see a vertical stack of diamonds — colored diamonds show which specific patterns triggered, ghost (white) diamonds show which didn't.
More colored diamonds = stronger confluence = higher conviction setup.
The 5 Detectors
Diamond Detector What It Finds
🔴 Red Liquidity Trap Pivot reversal with wick rejection, liquidity sweep, and momentum trap (fading trapped traders)
🟠 Orange Structural Divergence Pivot at new extreme with RSI divergence against major structure
🔵 Light Blue Band Rejection Full candle body outside Bollinger Bands with rejection wick
🟢 Green Panic Snap 5-bar waterfall (consecutive lower lows) snapping back during VIX spike — Long only
🟣 Purple Capitulation Engulf Bullish engulfing at lower BB with steep band decline during elevated VIX — Long only
How To Read It
Long Signals (below bar): 5-diamond stack
• Bottom to top: Liquidity Trap → Structural Divergence → Band Rejection → Panic Snap → Capitulation Engulf
Short Signals (above bar): 3-diamond stack
• Bottom to top: Band Rejection → Structural Divergence → Liquidity Trap
Ghost diamonds (faded white) = that detector did NOT fire Colored diamonds = that detector fired
Colors are consistent between long and short — same detector = same color regardless of direction.
Key Features
• Confluence visualization — instantly see how many independent patterns agree
• No parameter tweaking — all detector settings are pre-tuned and hardcoded
• VIX-aware — the two "capitulation" detectors (Panic Snap, Capitulation Engulf) only fire during elevated VIX conditions
• Session filtering — built-in BOD/EOD blocking to avoid noisy open/close periods
• MTF Bias Table — optional multi-timeframe trend bias display (5m/15m/1H/4H/D)
• Detector Legend — on-chart reference showing what each color means (adjustable size and position)
• Bollinger Bands — optional BB overlay display
Settings
Module Toggles — Enable/disable each of the 5 detectors independently:
• Enable Liquidity Trap
• Enable Structural Divergence
• Enable Band Rejection
• Enable Panic Snap (Long Only)
• Enable Capitulation Engulf (Long Only)
Session Blocking — Define trading session and minutes to block at open/close
Display — Toggle Bollinger Bands, MTF Bias Table position
Legend — Toggle detector legend, adjust position and text size (tiny/small/normal)
Best Used For
• Identifying high-probability reversal zones where multiple exhaustion signatures align
• Filtering out weak signals (single detector) vs strong setups (2-3+ detectors)
• Spotting capitulation bottoms during VIX spikes (Panic Snap + Capitulation Engulf)
• Mean reversion plays at Bollinger Band extremes
Notes
• This indicator is designed for intraday reversal trading on liquid instruments (SPY, QQQ, ES, NQ, etc.)
• The VIX-gated detectors (Panic Snap, Capitulation Engulf) are long-only by design — they're specifically tuned for capitulation bottoms
• Works best on 3m-15m timeframes
• All detector parameters are locked to tested values — this is intentional to keep the indicator simple and consistent
"When multiple exhaustion patterns converge, the market is telling you something."
Professional Price Action AnalysisProfessional Price Action Analysis - Advanced S/R & Pattern Detection
A comprehensive technical analysis tool combining dynamic support/resistance zones, candlestick pattern recognition, trend analysis, and volume insights.
KEY FEATURES:
✓ Dynamic Support & Resistance Zones
- Automatically identifies swing highs/lows
- Classifies levels based on current price position
- Support zones display BELOW price (green)
- Resistance zones display ABOVE price (red)
- Adjustable zone thickness and lookback period
✓ Candlestick Pattern Detection
- Bullish/Bearish Engulfing patterns
- Pin bars (reversal signals)
- Inside bars (consolidation)
- Rejection candles (wick analysis)
- Visual markers on chart with labels
✓ Trend Analysis
- Customizable moving average (default 50-period SMA)
- Background color zones for trend direction
- Price vs MA percentage calculation
- Bullish/Bearish/Neutral classification
✓ Volume Analysis
- Volume spike detection (configurable multiplier)
- Highlights unusual volume with bar colors
- Helps identify institutional activity
✓ Information Dashboard
- Clean, readable display (top-right corner)
- Current trend status
- Distance to nearest support/resistance
- Volume status (High/Normal)
- Price deviation from moving average
✓ Alert System
- Alerts for all candlestick patterns
- Volume spike notifications
- Customizable alert conditions
CUSTOMIZABLE INPUTS:
• Swing detection length (3-50 bars)
• S/R lookback period (20-200 bars)
• Zone thickness percentage
• Maximum zones displayed
• Trend MA length
• Volume spike multiplier
• Toggle individual pattern types
BEST FOR:
- Swing traders identifying key levels
- Day traders spotting reversal patterns
- Price action enthusiasts
- Multi-timeframe analysis
This indicator does not repaint. All signals are confirmed after candle close. Suitable for all markets: stocks, forex, crypto, commodities.
Educational tool for technical analysis. Not financial advice.
Act AlgoPanneer Selvam is inviting you to a scheduled Zoom meeting
Topic: Online Follow-Up Session (Every Sunday)
Time: 07:00 AM (IST)
Auto Chart Patterns- Market AdaptedAuto Chart Patterns - Code Description
This Pine Script v5 indicator is a sophisticated automated chart pattern detection system that identifies geometric price patterns using zigzag analysis. Here's a comprehensive breakdown:
🎯 Purpose
Automatically detects and visualizes classic chart patterns (channels, wedges, triangles) on any timeframe by analyzing price pivot points.
📦 Dependencies (Imports)
text
- HeWhoMustNotBeNamed/utils/1 → Utility functions (theme colors)
- Trendoscope/ohlc/1 → OHLC data handling
- Trendoscope/LineWrapper/1 → Line drawing utilities
- Trendoscope/ZigzagLite/2 → Zigzag pivot detection
- Trendoscope/abstractchartpatterns/5 → Pattern definitions
- Trendoscope/basechartpatterns/6 → Pattern recognition logic
⚙️ Input Parameters
1. Source Settings
Custom OHLC sources (default: standard OHLC)
2. Zigzag Settings (4 Independent Zigzags)
Zigzag Enabled Length Depth Purpose
ZZ1 ✅ 8 55 Primary - catches larger swings
ZZ2 ✅ 13 34 Secondary - medium swings
ZZ3 ❌ 21 21 Tertiary - balanced
ZZ4 ❌ 34 13 Quaternary - smaller swings
3. Scanning Parameters
Parameter Default Description
numberOfPivots 5 Points needed for pattern (5 or 6)
errorThreshold 30% Tolerance for trendline validation
flatThreshold 20% Slope ratio for "flat" determination
lastPivotDirection both Filter by final pivot direction
checkBarRatio false Validate time proportionality
avoidOverlap true Prevent overlapping patterns
repaint true Use real-time or confirmed bars
4. Pattern Groups
Geometric Shapes:
✅ Channels
✅ Wedges
✅ Triangles
Direction:
✅ Rising
✅ Falling
✅ Flat/Bi-Directional
Formation Dynamics:
✅ Expanding
✅ Contracting
✅ Parallel
📊 Detected Pattern Types (14 Total)
text
INDEX | PATTERN TYPE | CATEGORY
------|--------------------------------|------------------
1 | Ascending Channel | Parallel/Rising
2 | Descending Channel | Parallel/Falling
3 | Ranging Channel | Parallel/Flat
4 | Rising Expanding Wedge | Expanding/Rising
5 | Falling Expanding Wedge | Expanding/Falling
6 | Diverging Triangle | Expanding/Flat
7 | Ascending Expanding Triangle | Expanding/Rising
8 | Descending Expanding Triangle | Expanding/Falling
9 | Rising Contracting Wedge | Contracting/Rising
10 | Falling Contracting Wedge | Contracting/Falling
11 | Converging Triangle | Contracting/Flat
12 | Descending Contracting Triangle| Contracting/Falling
13 | Ascending Contracting Triangle | Contracting/Rising
🏗️ Core Architecture
Scanner Type (Custom Object)
JavaScript
type Scanner
bool enabled
string ticker
string timeframe
ScanProperties sProperties // Scanning configuration
DrawingProperties dProperties // Visual settings
array patterns // Detected patterns storage
array zigzags // Zigzag pivots storage
Key Methods
getZigzagAndPattern()
Calculates zigzag pivots from price data
When new pivot detected → scans for patterns
Requires minimum 6 pivots in buffer
Uses multi-level zigzag analysis
Validates patterns against allowed configurations
scan()
Creates OHLC array from sources
Iterates through enabled zigzags (1-4)
Calls pattern detection for each zigzag configuration
🔄 Execution Flow
text
1. Initialize Scanner with all properties
2. On each bar (confirmed or real-time based on 'repaint'):
│
├─→ Build OHLC array
│
├─→ For each enabled Zigzag:
│ ├─→ Calculate pivots
│ ├─→ If new pivot detected:
│ │ ├─→ Scan for valid patterns
│ │ ├─→ Draw pattern if found
│ │ ├─→ Store in patterns array
│ │ ├─→ Trim old patterns (if > maxPatterns)
│ │ └─→ Trigger alert
│ └─→ Move to next zigzag level
│
└─→ Repeat on next bar
🎨 Display Features
Theme: Light/Dark mode
Pattern lines: Customizable width
Labels: Pattern name + pivot labels (with size options)
Zigzag: Optional display with custom color
Pattern limit: Auto-deletes oldest when exceeding max (default: 20)
⚡ Alerts
Triggers 'New Pattern Alert' when any valid pattern is detected.
💡 "Market Adapted" Features
Dual zigzag enabled by default (ZZ1 + ZZ2) for multi-timeframe sensitivity
Higher error threshold (30%) for volatile markets
Flexible pivot direction filtering per pattern type
Overlap avoidance to reduce noise






















