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!
트렌드 어낼리시스
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
═══════════════════════════════════════════════════════
Volatility Breakout System [Fixed Risk]
This is a trend-following breakout strategy designed to capture volatility expansion while filtering out low-momentum "chop." It is built on the philosophy that significant price moves are often preceded by a breakout of volatility bands (Keltner Channels) accompanied by Volume and Trend Strength (ADX).
Strategy Logic:
Volatility Breakout: The primary trigger is a candle closing outside the Keltner Channels. This indicates price is moving faster than the average range.
Trend Filter: Trades are only taken in the direction of the 200 EMA.
Momentum Filter (ADX): The ADX filter ensures we only enter when the trend strength is above a specific threshold (Default: 20). This prevents the strategy from buying tops or selling bottoms in ranging markets.
Volume Confirmation: A breakout without volume is often a fake-out. This script requires volume to be higher than the moving average.
Risk Management (Automated):
Stop Loss: Based on ATR (Average True Range) to adapt to current market volatility.
Trailing Stop: Once the trade moves in favor, a trailing stop is activated to lock in profits.
Breakeven: If price moves X% in favor, the Stop Loss is automatically moved to the entry price to protect capital.
Cooldown: Includes a safety mechanism to prevent over-trading immediately after a signal.
Backtesting Notes:
This script is set up with use_bar_magnifier=true. For accurate results, use this on higher timeframes (1H, 4H) or ensure you have a Premium account for intrabar inspection.
Inputs:
You can toggle the "Compounding" feature to test fixed cash vs. % equity growth.
Webhooks are fully configurable for alert automation.
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.
MAD Supertrend [Alpha Extract]A sophisticated SuperTrend implementation that replaces traditional ATR calculations with Mean Absolute Deviation methodology for adaptive volatility measurement and band construction. Utilizing SMA baseline with MAD-based deviation bands and optional adaptive factor adjustments, this indicator delivers institutional-grade trend detection with strength-based filtering and dynamic visual feedback. The system's MAD approach provides superior noise reduction compared to ATR while maintaining responsiveness to genuine volatility changes, combined with momentum-based strength calculations for high-conviction signal generation.
🔶 Advanced MAD-Based Band Construction
Implements Mean Absolute Deviation calculation as volatility proxy, measuring absolute price deviations from mean and smoothing for stable band generation without ATR dependency. The system calculates SMA baseline, computes MAD from configurable lookback period, applies factor multipliers to create upper and lower bands, then implements classic SuperTrend ratcheting logic where bands only adjust when price violates previous levels or calculations warrant updates.
// Core MAD SuperTrend Framework
SMA_Value = ta.sma(src, SMA_Length)
Mean = ta.sma(src, MAD_Length)
Abs_Deviation = abs(src - Mean)
MAD_Value = ta.sma(Abs_Deviation, MAD_Length)
// Band Construction with Ratcheting
Upper_Band = SMA_Value + MAD_Factor * MAD_Value
Lower_Band = SMA_Value - MAD_Factor * MAD_Value
// Ratcheting logic prevents premature band adjustments
🔶 Adaptive Factor Adjustment Engine
Features optional adaptive multiplier system that modulates MAD factor based on normalized MAD magnitude relative to recent extremes, creating bands that automatically expand during high-volatility regimes and contract during consolidation. The system applies min-max normalization to MAD values over configurable lookback, multiplies by adaptation parameter, and adds to base factor for dynamic volatility sensitivity without manual recalibration.
🔶 Momentum-Based Strength Filter
Implements sophisticated strength calculation measuring price momentum relative to baseline divided by volatility-adjusted MAD bands, producing normalized 0-1 strength scores with exponential smoothing. The system calculates distance from SMA baseline, normalizes by MAD-derived band width, and applies configurable minimum threshold requiring sufficient momentum before trend signals activate, filtering weak or choppy market conditions.
🔶 SuperTrend Direction Logic
Utilizes classic SuperTrend methodology adapted for MAD bands where trend direction flips on opposite band violations with state persistence until confirmation. The system tracks whether price closes above upper band (bearish flip to bullish) or below lower band (bullish flip to bearish), maintains directional state until opposing violation occurs, and generates binary +1/-1 trend signals suitable for systematic position management.
🔶 Intelligent Candle Sticking System
Provides advanced line positioning option that anchors SuperTrend line to candle wicks or bodies rather than pure calculation values for enhanced visual clarity. The system supports two modes: Wick (positions at high/low extremes based on trend direction) and Body (constrains line between calculation and candle extremes), creating cleaner chart presentation while maintaining mathematical integrity of underlying signals.
🔶 Dynamic Gradient Visualization Framework
Implements color intensity modulation based on smoothed strength calculations, transitioning from muted to vivid hues as momentum conviction increases. The system applies gradient interpolation using strength ratio, creating visual feedback where strong trending moves display intense colors while weak or consolidating conditions show faded tones across trend line, channel bands, and candle coloring for immediate regime assessment.
🔶 MAD Channel Architecture
Features volatility-adjusted channel bands centered on baseline or candle-stuck line with configurable multiplier for support/resistance visualization. The system calculates upper and lower bounds using MAD values scaled by adaptive factors and channel multipliers, applies dynamic transparency based on trend strength, and creates filled regions that intensify during strong trends and fade during weak conditions.
🔶 Multi-Layer Glow Effect System
Provides sophisticated line rendering with triple-layer plot system creating glow effect through progressively wider and more transparent outer layers. The system plots core trend line at specified width with full color intensity, adds inner glow layer at +2 width with moderate transparency, and outer glow at +4 width with higher transparency, creating visual depth and emphasis without cluttering chart space.
🔶 Strength-Based State Management
Implements intelligent trend state logic requiring both directional signal and minimum strength threshold breach before confirming trend transitions. The system calculates raw SuperTrend direction, evaluates smoothed strength against configurable minimum, generates filtered trend state that can be bullish (+1), bearish (-1), or neutral (0), and maintains state persistence using hold logic that prevents oscillation during ambiguous conditions.
🔶 Comprehensive Alert Integration
Generates trend flip alerts when filtered state transitions from bearish to bullish or bullish to bearish with full confirmation requirements satisfied. The system detects state changes through comparison with previous bar, triggers single alert per transition rather than continuous notifications, and provides customizable message templates for automated trading system integration or manual notification preferences.
🔶 Performance Optimization Architecture
Utilizes efficient calculation methods with null value handling, nz() functions preventing errors during initialization bars, and optimized gradient calculations. The system includes intelligent state persistence minimizing recalculation overhead, streamlined MAD computation avoiding redundant mean calculations, and smooth visual updates maintaining consistent performance across extended historical periods.
This indicator delivers sophisticated SuperTrend analysis through Mean Absolute Deviation methodology providing superior statistical properties compared to traditional ATR-based approaches. MAD calculations offer more robust volatility measurement resistant to extreme outliers while maintaining sensitivity to genuine market regime changes. The system's adaptive factor adjustment, momentum-based strength filtering, and dynamic visual feedback make it essential for traders seeking reliable trend-following signals with reduced false breakouts during choppy conditions. The combination of MAD bands, candle-sticking options, gradient strength visualization, and comprehensive filtering creates institutional-grade trend detection suitable for systematic approaches across cryptocurrency, forex, and equity markets with clear entry/exit signals and comprehensive alert capabilities.
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
═══════════════════════════════════════════════════════
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
Filtered Fractals (2-Stage + Alerts)Filtered Fractals
Overview
This indicator is an advanced evolution of the classic Fractal logic (like the WICK.ED or Bill Williams models). Standard fractals are often "noisy," marking every minor local peak or trough, which can lead to false signals in volatile markets.
This script solves the "noise" problem by introducing a Dual-Stage Filtering Process. Instead of displaying every fractal, it treats them as "candidates" and only confirms those that represent a dominant extremum relative to their neighboring fractals.
How It Works
The script operates in two distinct stages to ensure only the most significant structural pivot points are plotted:
Stage 1: Detection
The script identifies "Raw Fractals" based on your preferred sensitivity (Left/Right bars). By default, it uses a 5-bar lookback/lookforward, but these remain hidden from the chart initially.
Stage 2: Sliding Window Competition
The script monitors a rolling sequence of the last three identified fractals. It compares their prices to find the "True Extremum":
For Highs , it compares the 3 most recent fractal peaks.
For Lows , it compares the 3 most recent fractal troughs.
The Point System: Every time a fractal is the "winner" (the highest high or lowest low) within its 3-fractal window, it receives a confirmation point.
The Priority Rule: In cases where two fractals have the exact same price, the script gives priority to the earlier one (the "left" peak), reducing late entries.
Visual Confirmation
A fractal is only plotted on your chart once it achieves two confirmations . This means it has proven to be a significant price extreme compared to both its predecessor and its successor.
Key Features
Noise Reduction: Eliminates "crowded" fractals, leaving only the structural backbone of the trend.
Non-Repainting Logic: The script only processes confirmed closed bars. The current developing candle will never trigger a false fractal or a premature alert.
Smart Alerts: Built-in alert() functionality. You can set a single alert to notify you the exact moment a Bullish or Bearish fractal is confirmed.
Customizable Sensitivity: Adjust the Left/Right Bars in the settings to fit your specific timeframe (e.g., higher values for macro trends, lower for scalping).
How to use
Support/Resistance: Use these filtered fractals to draw more reliable S/R zones.
Stop Loss Placement: Ideal for trailing stops behind truly significant swing points.
Trend Confirmation: A series of higher-high filtered fractals provides a much cleaner view of an uptrend than standard indicators.
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.
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
═══════════════════════════════════════════════════════
eXquTrading FIB (Auto)eXquTrading FIB (Auto) — EMA144/169 Cloud + 8X Score + Auto Fibonacci (Single Set)
This indicator uses the EMA144/169 Cloud to define the market regime (LONG/SHORT/NEUTRAL), then generates BUY/SELL signals based on an 8-factor scoring system, while automatically drawing one Fibonacci set and extending it to the right so labels remain readable.
Features
Trend Regime (EMA144/169 Cloud):
Above cloud = LONG, below cloud = SHORT, inside cloud = NEUTRAL
8X Score Signals: confirmations from RSI, MACD, Stoch, Momentum, Volume, MFI, CCI, OBV(EMA)
Noise-reduction filters:
ATR-based cloud distance filter (reduces chasing signals)
ATR-based impulse candle filter (blocks oversized candles)
Cooldown (limits back-to-back signals)
Auto Fibonacci (Single Set):
Rebuilds on trend flip / fib invalidation / (optional) when a signal appears and no fib exists
Levels: -1.618, -1, -0.382, 0, 0.382, 0.5, 0.618, 1
Fib lines extend to the right on every bar (labels stay clean)
Settings (Quick tips)
Increase Minimum Confirmations (Score) → fewer but cleaner signals
Tighten ATR filters in choppy markets, loosen slightly in strong trends
Increase Right Pad Bars to keep right-side labels readable
Repaint / Execution Mode
Default: bar close only (more reliable)
Optional “Early Signal (Repaint Risk)” enables intrabar signals (faster, but may repaint)
Alerts
8X SCALP BUY
8X SCALP SELL
Disclaimer
For analysis/educational purposes only. Not financial advice. Always test settings on your own symbols and timeframes.
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.
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
SmartVol SuperTrend | OquantOverview
The SmartVol SuperTrend is an evolution of the traditional SuperTrend indicator. While the standard SuperTrend uses Average True Range (ATR) to calculate volatility bands, this version utilizes Volume-Weighted Standard Deviation (VWSD).
By integrating volume into the volatility calculation, the indicator attempts to filter out "quiet" price movements and reacts more dynamically to price action supported by high trading activity.
How It Works
The script follows a multi-step process to define trend direction:
Smoothing: It applies a 5-period EMA to the source price to reduce minor noise before calculating the bands.
Volume-Weighted Volatility: Instead of a simple Standard Deviation, the script uses a custom volume standard deviation function. It measures the dispersion of price around its Volume Weighted Moving Average (VWMA), weighting each price point's contribution by the volume of that bar.
Recursive Band Logic: Like the classic SuperTrend, the bands are "locked" in place. The lower band can only move up, and the upper band can only move down, until price closes on the opposite side, triggering a trend flip.
Visuals: The script highlights the trend by coloring the candles and the space between the price and the trend line, providing a clear visual of the current market bias.
Usefulness
By using Volume-Weighted Standard Deviation, this indicator accounts for real market activity. Consequently, it expands its bands more aggressively during high-volume breakouts while dampening its reaction to price moves when volume fades, potentially offering more robust band levels anchored to true market participation.
How to Use
Trend Identification: When the line is green and below price, the trend is bullish. When the line is purple and above price, the trend is bearish.
Factor Adjustment: Increase the Factor (default 1.8) to reduce sensitivity and avoid whipsaws in volatile markets. Decrease it for tighter tracking.
EMA Length: Adjust the EMA length to change how much price smoothing is applied before the trend calculation.
Note on Signals
This indicator is designed for trend-following. Like all lagging indicators, it performs best in trending markets and may produce false signals during sideways consolidation.
Settings
Source: The price source used for calculations (default: Close).
EMA Length: The lookback for the initial price smoothing (default: 5).
VWSD Length: The period used to calculate the volume-weighted volatility (default: 30).
Factor: The multiplier applied to the VWSD to determine the distance of the bands (default 1.8).
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
HAP Trend CageHAP Trend Cage – Visual Band & Stochastic Entry System
HAP Trend Cage is a pure visual overlay indicator designed to show when price is trapped inside dynamic bands — and when momentum timing aligns for a potential entry.
This is not Bollinger Bands.
These bands are built to contain price behavior, not volatility expansion.
🔹 What it shows:
Dynamic price bands plotted directly on the chart
Clear visual zones where price is compressed or held
Stochastic (14, 3, 3) used purely for entry timing
Exact candle awareness — you see where and when the signal happens
🔹 How to use:
Follow the bands visually — price inside the cage = structure intact
Wait for Stochastic alignment inside or near band boundaries
Designed for confirmation, not prediction
No clutter, no repainting, no over-signaling
🔹 Why it’s different:
Focuses on market structure first
Momentum is used only as a timing tool
Built for traders who trust price behavior over indicators
This indicator does not tell you to buy or sell.
It shows you where the market is constrained — and lets you decide when to act
[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.
Volatility Radar Volatility Radar
A comprehensive VIX-based dashboard for volatility regime analysis and trade bias confirmation. Designed for options traders who use VIX levels to inform directional bias and identify potential traps in market positioning.
Dashboard Columns
1. 10-Min Rule
Displays your current directional bias based on VIX zone positioning with time-based confirmation.
CALLS (Green): VIX is below the Bullish Chop level — conditions favor call buying / bullish stock positioning
PUTS (Red): VIX is above the Bearish Chop level — conditions favor put buying / bearish stock positioning
CHOP (Yellow): VIX is between the two chop levels — no clear directional edge
Confirmation Logic: The bias must hold for a configurable period (default: 10 minutes) before showing "✓ CONFIRMED". A countdown timer shows time remaining until confirmation. High-velocity moves (spikes or crushes) trigger immediate confirmation. If VIX touches a chop boundary, the timer resets.
2. VIX Levels
Displays four user-configurable VIX thresholds that define the volatility regime zones:
Bearish (Red): Extreme fear — VIX at or above this level signals high volatility / bearish stock conditions
Resist (Orange): Upper chop boundary — resistance level for VIX
Support (Yellow): Lower chop boundary — support level for VIX
Bullish (Green): Low fear — VIX at or below this level signals low volatility / bullish stock conditions
The current zone is highlighted based on where VIX is trading relative to these levels.
3. Options Flow
Displays net options flow sentiment to gauge market positioning. Supports both simulated and real-time OPRA data.
Simulated Mode (Default):
Net Val: Shows simulated flow based on candle direction (bullish candle = positive, bearish = negative) multiplied by volume
Sentiment: BULLISH, BEARISH, or NEUTRAL based on flow direction
- Header displays "Options Flow (Sim)"
Real-Time OPRA Mode:
Vol: Shows actual call and put volumes summed across strikes near ATM (e.g., "C:12.5K P:8.2K")
Sentiment: BULLISH if call volume > put volume, BEARISH if puts dominate
- Header displays "Options Flow 📡"
- Net flow calculated as: `Total Call Volume - Total Put Volume`
⚠️ OPRA Data Requirement
Real-time mode requires an active OPRA data subscription in TradingView. Without this subscription, the options volume data will not populate. Enable "Use Real-Time OPRA Data" in settings and configure the required parameters (see Settings section below).
4. Velocity
Monitors the speed of VIX movement to detect rapid regime changes.
STABLE (Gray): Normal VIX movement
⚡ SPIKE (Red): VIX increased by more than the velocity threshold (default: 0.40 points) over the last 5 bars — rapid fear increase
⚡ CRUSH (Green): VIX decreased by more than the velocity threshold over the last 5 bars — rapid fear decrease
Calculation: `VIX - VIX ` (current VIX minus VIX from 5 bars ago)
5. Trap Detect
Identifies potential positioning traps by comparing VIX regime with options flow direction.
CLEAN (Gray): No divergence detected — flow aligns with VIX regime
⚠️ TRAP (Orange): High VIX + Bullish Flow — warns of potential bull trap; smart money may be selling into retail call buying during elevated fear
🛡️ ABSORB (Yellow): Low VIX + Bearish Flow — institutional absorption pattern; put buying during low VIX may indicate smart money hedging or accumulation
Horizontal Level Lines
Four horizontal lines are automatically drawn on the chart at your configured VIX levels:
1. Green line: Bullish level
2. Yellow line: Bullish Chop (Support) level
3. Orange line: Bearish Chop (Resist) level
4. Red line: Bearish level
Settings
Display Settings
Table Position: Choose where the dashboard appears on your chart
Text Size: Tiny, Small, or Normal
Table Background / Transparency: Customize dashboard appearance
10-Minute Rule
Confirmation Minutes: Time required in a zone before bias is confirmed (default: 10)
Velocity Threshold: Points per 5-bar period to trigger spike/crush detection (default: 0.40)
VIX Levels
Bullish (Green): Low volatility threshold (default: 14)
Bullish Chop (Yellow): Lower chop boundary (default: 16)
Bearish Chop (Orange): Upper chop boundary (default: 20)
Bearish (Red): High volatility threshold (default: 25)
Options Flow Data
Use Real-Time OPRA Data: Toggle between simulated and real-time options data (default: off)
Ticker Override: Manual ticker symbol. Leave blank to auto-detect from chart. Examples: SPY, QQQ, SPXW, NDX. Note: SPX auto-converts to SPXW for options symbols.
Center/Anchor Price: Required for OPRA mode. Enter the current underlying price (e.g., 590 for SPY, 5900 for SPX). This determines the ATM strike for data fetching.
Expiry Date (YYMMDD): Options expiration date in YYMMDD format (e.g., 260117 for Jan 17, 2026). Leave blank to use today's date (0DTE).
Strikes Above/Below ATM: Number of strikes to scan on each side of center price (1-10, default: 5). Higher values capture more flow data but use more API calls.
Strike Step Auto-Detection:
- SPX/SPXW, NDX: $5 strikes
- VIX: $0.50 strikes
- SPY, QQQ, and others: $1 strikes
What's New in This Release
1. Real-Time OPRA Options Flow: New toggle to switch between simulated and real-time options data. When enabled with an OPRA subscription, fetches actual call/put volumes across up to 11 strikes around ATM.
2. Configurable Options Parameters: New settings for ticker override, center price, expiry date, and strike range for precise options data targeting.
3. Horizontal Level Lines: VIX threshold levels are now drawn directly on the chart as colored horizontal lines for quick visual reference
4. Reordered Settings: VIX level inputs now flow logically from Bullish to Bearish
Best Practices
1. Use on VIX chart: Apply this indicator directly to a VIX chart (CBOE:VIX) for best results
2. Wait for confirmation: Don't act on bias until the 10-minute rule confirms
3. Respect velocity signals: Spikes and crushes can indicate regime changes before price confirms
4. Watch for traps: Divergence between flow and VIX regime often precedes reversals
5. Customize your levels: Adjust VIX thresholds based on current market conditions and your trading style
6. OPRA Setup: If using real-time options data, ensure you:
- Have an active OPRA subscription in TradingView
- Set the correct Center/Anchor Price for the underlying you're tracking
- Update the expiry date if trading non-0DTE options
- Match the ticker to your target (SPY for SPY options, leave blank on VIX chart for VIX options)
Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice. Options flow data is simulated by default; real-time OPRA data requires a separate TradingView subscription. Always do your own research and manage risk appropriately.
Tori TrendlinesBasic script to plot trendlines according to the basic rules following Tori Trades strategy. This is a work in progress so please let me know if you find any issues with this.
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
DAX 9-10 Breakout Strategy IndicatorOpening Hour Breakout (ORB) indicator for intraday trading.
WHAT IT DOES:
• Identifies the price range of a specific hour (default: 9:00-10:00)
• Detects breakout direction (Long/Short) when price breaks above HIGH or below LOW
• Automatically calculates Take Profit and Stop Loss zones based on range size
• Tracks trade outcome (Win/Lose) when TP or SL is hit
HOW TO USE:
1. Set the session hour according to your chart's timezone
2. Wait for the session range to form (yellow box)
3. Enter on breakout above HIGH (Long) or below LOW (Short)
4. TP and SL levels are automatically calculated
DEFAULT SETTINGS:
• TP Multiplier: 1.41x range (Risk:Reward ≈ 1:2.7)
• SL Multiplier: 0.52x range
FEATURES:
• Works on any timeframe (H1, M15, M30, etc.)
• Visual zones for session range, TP, and SL
• Price labels for all key levels
• Entry arrows and direction letters (L/S)
• Win/Lose markers (W/X) when trade closes
• Fully customizable - show/hide any element
• Info panel with live status and R:R ratio
• Alert conditions for Entry, TP hit, SL hit
BEST USED ON:
• DAX (Germany 40)
• Other indices: US30, US500, NAS100
• Forex majors during London/NY open
NOTE: This is an indicator for visual analysis. Use the Strategy version for backtesting.
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
Apex Adaptive Trail [Neuro-Core Auto]Self-tuning trend and trade management framework
This version is a major functional upgrade of the original Apex Adaptive Trail.
It introduces an Auto-Pilot engine that dynamically adapts the indicator’s behavior to the active chart timeframe, reducing the need for manual tuning while preserving full transparency and control.
1. What Makes This Version Different
Unlike previous versions, v6 AUTO is not configured manually by default.
When Auto-Pilot is enabled, the script:
Detects the chart timeframe
Automatically adjusts ATR length and multiplier
Dynamically sets confidence thresholds
Modifies decay speed and add cooldowns
The result is a timeframe-aware execution model, not a fixed-parameter indicator.
Manual mode remains available for advanced users.
2. Core Architecture (Not a Simple Mashup)
This script is built as a single, state-driven system where each component influences the others.
Adaptive ATR Trail The trailing level defines both:
Trend direction
Dynamic exit logic
Its sensitivity is adjusted using volatility statistics and Auto-Pilot parameters.
Volatility Regime Detection
An ATR Z-Score is used to identify abnormal volatility conditions:
Expands the trail during high volatility
Restricts position adds when volatility is excessive
3. Confidence-Driven Decision Engine
Instead of binary signals, the script computes a normalized confidence score based on:
EMA distance (trend alignment)
ADX (trend strength)
Choppiness Index (market structure)
Daily higher-timeframe bias
All values are merged into a single confidence metric that controls:
Initial entries
Additional entries (pyramiding)
Emergency exits
4. Auto-Pilot Logic (Timeframe Adaptive)
When Auto-Pilot is active, the script selects a behavioral profile:
Turbo Mode (M1–M5): fast reaction, tight decay
Scalp Mode (M15): balanced sensitivity
Day Mode (M30): moderate trend persistence
Swing Mode (H1+): conservative and stable
This allows the same script to be used across multiple timeframes without retuning inputs.
5. Trade State & Risk Governance
The script internally tracks trade state:
FLAT LONG SHORT
Position adds are allowed only when: Price pulls back toward the adaptive trail
Confidence remains above a dynamic threshold
Volatility and cooldown conditions are respected
A Guardian system can force exits when confidence collapses during active trades.
6. How to Use
Follow the trail for trend direction INIT labels indicate potential trend starts
ADD labels indicate controlled continuation opportunities
Exit occurs on trail breaks or Guardian protection
Designed for trend-following and trade management, not for scalping or signal-only use.
7. Difference vs Previous Apex Adaptive Trail
Compared to earlier versions, update introduces:
Timeframe-aware Auto-Pilot configuration
Dynamic thresholds for entries, adds, and exits
Reduced need for manual parameter optimization
Improved usability for non-programmers
Earlier versions remain suitable for users who prefer full manual control.
8. Open-Source & Credits
This script is published as open-source under the Mozilla Public License 2.0.
© mentalExpert19609
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.






















