Luxy VWAP Magic - MTF Projection EngineThis indicator transforms the classic VWAP into a comprehensive trading system. Instead of switching between multiple indicators, you get everything in one place: multi-timeframe analysis, statistical bands, momentum detection, volume profiling, session tracking, and divergence signals.
What Makes This Different
Traditional VWAP indicators show a single line. This tool treats VWAP as a foundation for complete market analysis. The indicator automatically detects your asset type (stocks, crypto, forex, futures) and adjusts its behavior accordingly. Crypto traders get 24/7 session tracking. Stock traders get proper market hours handling. Everyone gets institutional-grade analytics.
Anchor Period Options
The anchor period determines when VWAP resets and recalculates. You have three categories of options:
Time-Based Anchors:
Session - Resets at market open. Best for intraday stock trading where you want fresh VWAP each day.
Day - Resets at midnight UTC. Standard option for most traders.
Week / Month / Quarter / Year - Longer reset periods for swing traders and position traders who want broader context.
Rolling Window Anchors:
Rolling 5D - A sliding 5-day window that never resets. Solves the Monday problem where weekly VWAP equals daily VWAP on first day of week.
Rolling 21D - Approximately one month of trading data in continuous calculation. Excellent for crypto and forex markets that trade 24/7 without clear session breaks.
Event-Based Anchors:
Dividends - Resets on ex-dividend dates. Track institutional cost basis from dividend events.
Splits - Resets on stock split dates. Useful for analyzing post-split trading behavior.
Earnings - Resets on earnings report dates. See where volume-weighted trading occurred since last quarterly report.
Standard Deviation Bands
Three sets of bands surround the main VWAP line:
Band 1 (Aqua) - Plus and minus one standard deviation. Approximately 68% of price action occurs within this range under normal distribution. Touches suggest minor extension.
Band 2 (Fuchsia) - Plus and minus two standard deviations. Only 5% of trading should occur outside this range statistically. Touches here indicate significant overextension and high probability of mean reversion.
Band 3 (Purple) - Plus and minus three standard deviations. Touches are rare (0.3% probability) and represent extreme conditions. Often marks climax moves or panic selling/buying.
Each band can be toggled independently. Most traders show Band 1 by default and add Band 2 and 3 for specific setups or volatile instruments.
Multi-Timeframe VWAP System
The MTF section plots previous period VWAPs as horizontal support and resistance levels:
Daily VWAP - Previous day's final VWAP value. Key intraday reference level.
Weekly VWAP - Previous week's final VWAP. Important for swing traders.
Monthly VWAP - Previous month's final VWAP. Institutional benchmark level.
Quarterly VWAP - Previous quarter's final VWAP. Major support/resistance for position traders.
Previous Day VWAP - Yesterday's closing VWAP specifically, separate from current daily calculation.
The Confluence Zone percentage setting determines how close multiple VWAPs must be to trigger a confluence alert. When two or more timeframe VWAPs converge within this threshold, you get a high-probability support/resistance zone.
Session VWAPs for Global Markets
For forex, crypto, and futures traders who operate in 24/7 markets, the indicator tracks three major global sessions:
Asia Session - UTC 21:00 to 08:00. Gold colored line. Typically lower volatility, range-bound action that sets overnight levels.
London Session - UTC 08:00 to 17:00. Orange colored line. Often determines daily direction with high volume European participation.
New York Session - UTC 13:00 to 22:00. Blue colored line. Highest volume session globally. Sharp directional moves common.
Previous session VWAP values display as horizontal lines when each session closes, acting as intraday support and resistance. The table shows which sessions are currently active with checkmarks.
On-Chart Labels and Signals
The indicator plots several types of labels directly on price action when significant events occur:
Volume Spike Labels
Fire when current bar volume exceeds configurable thresholds relative to both the previous bar and the 20-bar average. Default settings require 300% of previous bar AND 200% of average volume. Green labels indicate bullish candles. Red labels indicate bearish candles. These spikes often mark institutional entry points.
Momentum Shift Labels
Appear when VWAP acceleration changes direction. The Slowing label warns when an active trend loses steam, often preceding reversal. The Accelerating label confirms trend continuation or potential bottom during downtrends. Filters available to show only reversal signals in existing trends.
VWAP Squeeze Labels
Detect when standard deviation bands contract relative to ATR (Average True Range). Low volatility compression often precedes explosive breakout moves. When the squeeze fires (releases), a label appears with directional prediction based on VWAP slope.
Divergence Labels
Mark price/volume divergences using CVD (Cumulative Volume Delta) analysis:
Bullish divergence: Price makes lower low, but CVD makes higher low. Hidden accumulation despite price weakness.
Bearish divergence: Price makes higher high, but CVD makes lower high. Hidden distribution despite price strength.
Dynamic VWAP Coloring
The main VWAP line changes color based on its slope direction:
Green - VWAP is rising. Institutional buying pressure. Volume-weighted price increasing.
Red - VWAP is falling. Institutional selling pressure. Volume-weighted price decreasing.
Gray - VWAP is flat. Consolidation or balance between buyers and sellers.
This coloring can be disabled for a static blue line if you prefer cleaner visuals. The VWAP label next to the line shows the current trend direction and delta percentage.
Calculated Projection Cone
One of the most powerful features is the Calculated Projection Cone. Unlike traditional extrapolation methods that simply extend a trend line forward, this system analyzes what actually happened in similar market conditions throughout the chart's history.
How It Works:
The system classifies each bar into one of 27 unique market states:
Z-Score Level - LOW (oversold), MID (fair value), or HIGH (overbought) based on configurable thresholds
Trend Direction - DOWN, FLAT, or UP based on VWAP slope
Volume Profile - LOW (below 80%), NORMAL (80-150%), or HIGH (above 150%) relative volume
When you look at the current bar, the indicator:
1. Identifies the current market state (e.g., LOW Z-Score + UP Trend + HIGH Volume)
2. Searches through all historical bars on the chart that had the same state
3. Calculates what happened in those bars X bars later (where X is your projection horizon)
4. Shows you the probability of up/down and the average move size
Visual Elements:
Probability Cone - Colored green (bullish probability above 55%), red (bearish below 45%), or gold (neutral). The cone width represents the historical range of outcomes (roughly the 20th to 80th percentile).
Center Line - Shows the average expected price based on historical outcomes in similar conditions.
Probability Label - Displays direction probability and average move. Example: "67% UP (+0.8%)" means 67% of similar past cases moved up, averaging 0.8% gain.
Fallback System:
When the exact 27-state match has insufficient historical data:
First fallback: Uses Z-Score plus Trend only (9 broader states, ignoring volume)
Second fallback: Uses Z-Score only (3 states)
When fallback is active, confidence automatically adjusts
Settings:
Projection Horizon - How many bars forward to analyze outcomes (5, 10, 15, or 20 bars, default 10)
Lookback Period - Historical data window in days (30-252, default 60)
Minimum Samples - Cases needed before using fallback (5-30, default 10)
Z-Score Threshold - Bucket boundary for LOW/MID/HIGH classification (1.0, 1.5, or 2.0 sigma)
Cloud Transparency - Adjust visibility (50-95%)
Colors - Customize bullish, bearish, and neutral cone colors
Confidence Levels:
HIGH - 30 or more similar historical cases found
MEDIUM - 15-29 similar cases
LOW - Fewer than 15 cases (more uncertainty)
IMPORTANT DISCLAIMER:
The Calculated Projection is based on past patterns only. It is NOT a price prediction or financial advice. Similar market states in the past do not guarantee similar outcomes in the future. The probability shown is historical frequency, not a guarantee. Always combine with other analysis and never rely solely on projections for trading decisions.
Alert Conditions
The indicator includes over 20 pre-built alert conditions:
Price vs VWAP:
Price crosses above VWAP
Price crosses below VWAP
Band Touches:
Price touches plus or minus one sigma band
Price touches plus or minus two sigma band (extreme)
Price touches plus or minus three sigma band (very extreme)
Z-Score Extremes:
Z-Score crosses above plus two (overbought extreme)
Z-Score crosses below minus two (oversold extreme)
Momentum and Trend:
Momentum slowing
Momentum accelerating
Trend turns bullish/bearish/neutral
Volume:
Volume spike detected
CVD Direction:
Buyers take control
Sellers take control
High Probability Signals:
Bullish reversal signal (oversold plus accelerating momentum)
Bearish reversal signal (overbought plus slowing momentum)
MTF and Special:
MTF confluence zone entry
VWAP squeeze fired
Bullish/Bearish divergence detected
Any significant signal (catch-all)
All signals use confirmed bar data to prevent false alerts from incomplete candles.
Settings Overview
Settings are organized into logical groups:
VWAP Settings
Anchor Period selection
Show/Hide VWAP line
Dynamic coloring toggle
VWAP label visibility
Bands Visibility
Toggle each of three bands independently
Info Table
Show/Hide table
Table position (9 options)
Text size
Volume spike label settings with adjustable thresholds
Momentum label settings with filters
Signal labels limited to 5 most recent (auto-managed)
Probability engine lookback period
Multi-Timeframe VWAP
Enable/Disable MTF system
Show MTF in table
Show MTF lines on chart
Individual timeframe toggles
Confluence zone threshold
Squeeze detection toggle
Session VWAPs
Enable/Disable session tracking
Apply to all assets option
Show session labels
Divergence Detection
Enable/Disable divergence
Pivot lookback period
Show divergence labels
Calculated Projection
Enable/Disable projection cone
Projection horizon (5, 10, 15, or 20 bars)
Lookback period in days (30-252)
Minimum samples threshold
Z-Score classification threshold (1.0, 1.5, or 2.0 sigma)
Cloud transparency adjustment
Bullish, bearish, and neutral colors
The Info Table - Your Trading Dashboard
The right side of your chart displays a compact table with up to twelve metrics.
Row-by-Row Breakdown:
Asset and Period - Shows what the indicator detected (US Stock, Crypto, Forex, etc.) and your selected anchor period. The detection happens automatically based on exchange data, so VWAP resets and calculations match your actual trading instrument.
Delta Percentage - How far current price sits from VWAP, expressed as a percentage. Positive means price trades above fair value. Negative means below. Large delta values (beyond 1-2%) often precede mean reversion moves. Day traders watch this for overextension.
Z-Score - Statistical deviation from VWAP measured in standard deviations. Unlike raw delta, Z-Score accounts for volatility. A 2% move in a volatile biotech stock differs from 2% in a stable utility. Z-Score normalizes this. Values beyond plus or minus two sigma occur only 5% of the time statistically.
Trend Direction - Whether VWAP itself is rising, falling, or flat. Rising VWAP means the volume-weighted average price is increasing, which indicates institutional accumulation. Falling VWAP suggests distribution. This differs from price trend since it weights by volume.
Momentum State - Is the trend accelerating or slowing down? This measures the rate of change in VWAP slope. When an uptrend shows slowing momentum, it often precedes reversal. Accelerating momentum in a downtrend can signal capitulation and potential bottom.
Relative Volume - Current bar volume compared to the 20-bar average, shown as percentage. Values above 150% indicate above-average activity. Spikes above 200-300% often mark institutional involvement. Low volume (below 80%) warns of potential fake moves.
MTF Bias - Four checkmarks or X marks showing whether price sits above or below Daily, Weekly, Monthly, and Quarterly VWAP. Four checkmarks means strong bullish alignment across all timeframes. Four X marks indicates bearish alignment. Mixed readings suggest consolidation or transition.
Band Probabilities - Historical statistics showing how often price touched each standard deviation band over your lookback period. This helps you understand if mean reversion or trend following works better for your specific instrument.
Session Status - Which global trading sessions are currently active (Asia, London, New York). Shows checkmarks for active sessions. Important for forex and crypto traders who need to know when major liquidity windows open and close.
Divergence State - Whether the indicator detects bullish or bearish divergence between price and cumulative volume delta. Bullish divergence occurs when price makes lower lows but buying pressure (CVD) makes higher lows, suggesting hidden accumulation.
Confidence Score - A weighted composite of all factors displayed as a progress bar and percentage. Combines MTF alignment, Z-Score, trend direction, volume delta, momentum, and relative volume into a single 0-100 score. Higher scores indicate stronger conviction setups.
Calculated Projection - When the Projection Cone is enabled, shows the historical probability of price direction and expected move. For example: "▲ 67% (+0.8%)" means in similar market states historically, price moved up 67% of the time with an average gain of 0.8%. The system analyzes 27 unique market states based on Z-Score, Trend, and Volume conditions.
Recommended Use Cases
Day Trading Stocks:
Use Session anchor with Band 1 visible. Watch for price returning to VWAP after morning move. Volume spikes near VWAP often mark institutional accumulation zones.
Swing Trading:
Use Weekly or Rolling 21D anchor. Enable MTF lines for Daily and Weekly levels. Trade pullbacks to these levels in direction of MTF bias.
Crypto and Forex:
Enable Session VWAPs. Use Rolling anchors to avoid artificial resets. Monitor session transitions for breakout opportunities.
Mean Reversion:
Focus on Z-Score reaching plus or minus two. Add Band 2 visibility. Combine with slowing momentum for highest probability reversals.
Trend Following:
Watch MTF bias alignment. Four checkmarks plus accelerating momentum plus high volume confirms trend continuation setups.
Projection Planning:
Enable the Calculated Projection to see what happened historically in similar market conditions. Use 5-10 bars for intraday setups, 15-20 bars for swing trade planning. Focus on high probability readings (above 60%) with HIGH confidence (30 or more samples). The cone shows the probable range of outcomes based on actual historical data. Combine with other factors like MTF alignment and volume for higher conviction setups.
Important Notes
The indicator does not repaint. MTF values use previous period's confirmed data.
Rolling VWAP works best on 15-minute timeframes and above due to bar lookback requirements.
Session VWAPs apply to global markets by default (forex, crypto, futures). Enable the all-assets option for stocks if desired.
Volume data for forex represents tick volume, not actual traded volume.
All alert conditions fire only on confirmed (closed) bars to prevent false signals.
The Calculated Projection updates each bar as market state changes. This is expected behavior. The projection shows probabilities based on similar past conditions, not a fixed prediction.
Q AND A
Q: Does this indicator repaint?
A: No. The main VWAP calculation uses standard TradingView VWAP methodology. Multi-timeframe values use previous period's confirmed data with appropriate lookahead settings. All alert signals require bar confirmation.
Q: Why does my Rolling VWAP look different on 1-minute versus 15-minute charts?
A: Rolling VWAP calculates across a fixed number of trading days. On very short timeframes, the bar lookback may hit TradingView limits. For best Rolling VWAP accuracy, use 15-minute or higher timeframes.
Q: Can I use this on any instrument?
A: Yes. The indicator automatically detects asset type and adjusts behavior. Stocks use standard market hours. Crypto uses 24/7 calculations. Forex uses tick volume. Everything adapts automatically.
Q: What does the Confidence Score actually measure?
A: The score combines six weighted factors: MTF alignment (25%), Z-Score position (20%), Trend direction (20%), CVD pressure (15%), Momentum state (10%), and Relative volume (10%). Higher scores indicate more factors aligned in one direction.
Q: Why are Session VWAPs not showing on my stock chart?
A: Session VWAPs apply to 24-hour markets by default (forex, crypto, futures). For stocks, enable the Use for All Assets option in Session VWAP settings.
Q: The Divergence labels appear delayed. Is this a bug?
A: Divergence detection requires pivot confirmation, which needs bars on both sides of the pivot point. The label appears at the actual pivot location (several bars back) once confirmed. This is intentional and prevents false signals.
Q: Can I change the band colors?
A: Yes. Each of the three bands has its own color input setting. You can customize Band 1, Band 2, and Band 3 colors to match your preferences. The defaults are Aqua, Fuchsia, and Purple. The main VWAP line color adapts dynamically based on slope direction or can be set to static blue.
Q: How do I set up alerts?
A: Right-click on the chart, select Add Alert, choose this indicator, and select your desired condition from the dropdown. All conditions include descriptive alert messages with relevant data.
Q: What is the Probability Engine lookback period?
A: This setting determines how many trading days the indicator analyzes to calculate band touch rates and mean reversion statistics. Default is 60 days (approximately 3 months). Longer periods provide more stable statistics but may miss recent behavior changes.
Q: Why do I see fewer labels than expected?
A: Signal labels (Volume, Momentum, Squeeze, Divergence) are limited to 5 most recent labels on the chart to keep it clean. When a new label appears, the oldest one is automatically removed. Additionally, momentum labels have several filters: check the slope multiplier setting (higher values require stronger trends) and the Only Reversal Signals option (when enabled, labels only appear for potential reversals, not trend confirmations).
Q: What is the Calculated Projection and how accurate is it?
A: The Calculated Projection analyzes what happened in past market conditions similar to the current state. It classifies each bar by Z-Score level, Trend direction, and Volume profile (27 unique states), then shows the historical probability of up vs down and the average move size. It is NOT a price prediction or guarantee. The probability shown is how often similar conditions led to up/down moves historically, not a future guarantee. Always use it as one input among many.
Q: Why does the Projection probability change?
A: The projection updates on each bar as market state changes. If Z-Score moves from LOW to MID, or trend shifts from UP to FLAT, the system looks up a different historical category. This is expected behavior. The projection shows what happened in similar past conditions to the current bar's state.
Q: The Projection shows LOW confidence. What does that mean?
A: Confidence levels indicate sample size: HIGH means 30 or more historical cases found, MEDIUM means 15-29 cases, LOW means fewer than 15 cases. When sample size is low, the system uses a fallback: first aggregating by Z-Score plus Trend only (ignoring volume), then by Z-Score only. LOW confidence means less statistical reliability, so weight other factors more heavily in your decision.
Q: Why does the cone sometimes show 50/50 probability?
A: A 50/50 reading means that in similar past market states, price moved up roughly half the time and down half the time. This indicates a neutral or balanced condition where historical patterns provide no directional edge. Consider waiting for a higher probability setup or using other analysis methods.
CREDITS AND ACKNOWLEDGMENTS
Methodology Foundation:
VWAP (Volume Weighted Average Price) - Standard institutional benchmark calculation, widely used since the 1980s for algorithmic execution and fair value assessment
Standard Deviation Bands - Statistical volatility measurement applying normal distribution principles to price deviation from mean
Z-Score Analysis - Classic statistical normalization technique for comparing values across different volatility regimes
Cumulative Volume Delta (CVD) - Order flow analysis concept measuring aggressive buying versus selling pressure
Concept Integration:
Mean reversion probability engine - Custom historical statistics tracking for band touch rates
Momentum acceleration detection - Second derivative analysis of VWAP slope changes
VWAP Squeeze - Volatility compression concept adapted from TTM Squeeze methodology applied to VWAP bands versus ATR
Confidence scoring system - Weighted composite scoring combining multiple technical factors
Calculated Projection Cone - Probability-based projection using 27-state market classification (Z-Score, Trend, Volume) with historical outcome analysis and weighted fallback system
All calculations use standard public domain formulas and TradingView built-in functions. No proprietary third-party code was used.
For questions, feedback, or feature requests, please comment below or send a private message.
Happy Trading!
Indikator dan strategi
Market Analysis Pro [Trademy]OVERVIEW
Trademy Market Analysis Pro is a professional-grade trading system that combines advanced momentum analysis with institutional-level Supply/Demand zone mapping. This indicator is designed to provide crystal-clear market analysis with precise risk management tools, creating a complete trading framework within a single, streamlined interface.
Unlike complex indicators that overwhelm traders with information, Trademy focuses on what matters: high-probability setups with clear entry points, defined risk levels, and multiple profit targets. The system is built to eliminate guesswork and provide actionable signals that work across multiple timeframes and asset classes eg: ( INDEX:BTCUSD , NASDAQ:NVDA and more )
CORE CONCEPTS
Advanced Momentum Engine: The foundation of Trademy Market Analysis Pro is a proprietary momentum detection system that identifies true directional shifts in the market. The algorithm analyzes price behavior relative to volatility-adjusted dynamic levels, generating signals only when genuine momentum reversals occur. The "Signal Sensitivity" control allows you to adapt the system from conservative (fewer, higher-quality signals) to aggressive (more frequent opportunities) based on your trading style and market conditions.
Institutional Supply/Demand Zones: The system automatically identifies and plots key institutional levels where significant buying (Demand) or selling (Supply) pressure has occurred. These zones are calculated using advanced price structure analysis, filtered through intelligent overlap detection to ensure only the most relevant zones appear on your chart. When price approaches these levels, they often act as strong support or resistance, providing logical areas for entries and exits.
Intelligent Signal Classification: Not all signals are created equal. Trademy categorizes every signal as either "Normal" or "Strong" based on its alignment with the broader market structure and trend context. Strong signals represent higher-conviction setups where momentum and trend align perfectly, while normal signals indicate counter-trend or early reversal opportunities.
Non-Repainting Architecture: Every signal is locked in at bar close (when enabled), and all TP/SL levels are calculated using volatility measurements captured at the moment of signal generation.
KEY FEATURES
Precision Signal System
Dual Signal Modes: Choose between Normal signals (standard momentum reversals) or Strong signals (high-conviction trend-aligned setups), or view both simultaneously
Wait for Bar Close: Optional no-repaint mode ensures signals only appear after candle confirmation
Visual Signal Hierarchy: Normal signals shown with standard arrows (▲/▼), Strong signals marked with distinctive colors for instant recognition
Adjustable Arrow Sizes: Customize signal display from tiny to large based on your chart preferences
Professional Risk Management
Automated TP/SL Calculation: Three take-profit levels (TP1, TP2, TP3) and one stop-loss level automatically calculated using advanced volatility measurement
Fixed Risk Levels: TP/SL lines are locked at signal generation and never move—providing consistent, reliable risk parameters
Visual Risk Zones: Optional colored zones highlight your risk and reward areas for instant position assessment
Adjustable Risk Multiplier: Scale your targets up or down with a single parameter while maintaining proper risk-reward ratios
Clear On-Chart Labels: Every level displays exact price values in an easy-to-read format
Supply/Demand Zone Mapping
Automatic Zone Detection: System identifies high-probability supply and demand zones using advanced price structure analysis
Anti-Overlap Algorithm: Intelligent filtering prevents zone clutter by removing overlapping levels
Extended Zone Projection: Zones extend into the future, showing you key levels before price reaches them
Break-of-Structure Tracking: Monitors when zones are broken and removes invalidated levels
Fully Customizable: Adjust zone colors, swing length, history depth, and box width to match your analysis style
Visual Customization
Flexible Color Schemes: Customize colors for bull/bear signals, TP/SL levels, and supply/demand zones
Trend Background: Optional background coloring to instantly visualize the current market bias
Support/Resistance Lines: Toggle automatic S/R level plotting from key price pivots
Multiple Arrow Sizes: Choose from tiny, small, normal, or large signal arrows
WHAT MAKES TRADEMY MARKET ANALYSIS PRO DIFFERENT
✅ Simplicity Meets Power
✅ TP/SL Levels
✅ Institutional Zone Integration
✅ Universal Indicator for all markets
✅ Multi-Timeframe Flexibility
BEST PRACTICES
📌 Always Use Stop-Loss: Enable the TP/SL system and respect your stop-loss levels,risk management is key to long-term success
📌 Backtest First: Before live trading, replay historical charts to understand signal behavior on your specific asset and timeframe
📌 Combine Timeframes: Use higher timeframe signals as your bias, enter on lower timeframe signals in the same direction
📌 Watch the Zones: Highest probability setups occur when signals align with supply/demand zones (buy near demand, sell near supply)
📌 Don't Chase: If you miss a signal, wait for the next one,forcing trades leads to losses
📌 Partial Profits: Consider taking partial profits at TP1, moving stop to breakeven, and letting the rest run to TP2/TP3
📩 ACCESS & SUPPORT
This is an invite-only indicator. For access inquiries, please contact via TradingView private message.
Important Disclaimers:
This indicator is a tool for technical analysis and does not constitute financial advice
Past performance does not guarantee future results
Always practice proper risk management and never risk more than you can afford to lose
Trading carries substantial risk of loss and is not suitable for all investors
6M Low Net Change Detector (Label Last Bar) PB6M Low Net Change Detector (Label Last Bar) PB for POC script
Market Solver Pro [Eˣ]Market Solver Pro is a multi-layer trend-and-structure based strategy designed to help traders study how price behaves around higher-timeframe support, resistance, and momentum shifts. It combines three core concepts into a single framework:
1. Multi-Timeframe Structure Zones (Support/Resistance Gradient)
The script identifies swing-based higher-timeframe pivot highs (PH) and pivot lows (PL).
These levels form dynamic zones where price frequently reacts. A gradient is displayed between the PH and PL to help traders visually understand where price sits within the broader structure.
This zone system is built using:
A structure timeframe (W/D/60 depending on chart TF)
Multi-step pivot validation
Real-time plot adjustments for consistency
The purpose of this component is to highlight context—whether the market is pressing into resistance, approaching support, or moving through the middle of the structure range.
2. Adaptive Ichimoku-Based Trend Model (Three-Layer Confirmation)
The strategy uses an expanded Ichimoku-style calculation applied across three timeframe multipliers.
Each layer evaluates:
Tenkan-sen slope
Kijun-sen slope
Cloud alignment
Momentum confirmation relative to recent highs/lows
Based on the user’s Risk Appetite (Low/Moderate/High), the strategy selects which layer to prioritize:
Low → Long-term trend consistency
Moderate → Mid-term sensitivity
High → Short-term responsiveness
The result is a trend-state signal (Up or Down) derived from structural and directional agreement across multiple layers.
3. Market Structure Filter (Directional Bias Control)
A price-action-based structure engine classifies swing highs/lows into:
HH (Higher High)
LH (Lower High)
HL (Higher Low)
LL (Lower Low)
The Market Structure Filter uses this information to determine whether higher-timeframe price action supports trend continuation or is compressing into a squeeze condition.
Filters include:
None
Standard
Strict
This prevents trades from triggering during conflicting structural environments unless intentionally allowed.
4. Entry Logic (Long / Short Conditions)
A signal appears only when all active components agree:
Valid chart timeframe
Date-range filter permitting backtest inclusion
HTF structure filter aligned
Trend-state confirmation
Price breaking beyond the current structure zone
Exclusion of opposite pin-bar signatures
When these conditions align, the strategy issues a long or short entry.
5. Stop-Loss Engine (S1/R1 Dynamic Management)
Stop-loss placement is derived from the pivot-timeframe’s S1/R1 levels and the bar of entry.
Two modes are available:
Standard trail: Stop updates with improving S1/R1 levels
2R → Break-Even: Moves stop to break-even on a 2R move, then trails using the stricter of BE or S1/R1
This helps users study how momentum-based trailing behaviour affects risk exposure under different market conditions.
6. Performance Table (Optional Display)
The script can display a performance summary including:
Win/Loss count
Profit factor
Average win/loss
Compounded result
Largest win/loss
Current risk percentage
These statistics reflect the parameters chosen inside the script and can assist in evaluating how different configurations behave when backtesting historical data.
They are not predictive and do not imply future results.
7. Auto vs Manual Settings
Auto Mode: Automatically selects trend multipliers, structure timeframe, and risk mode according to the chart’s timeframe.
Manual Mode: Gives users full control over all parameters and is used by alert conditions.
This allows flexible experimentation across intraday and swing environments.
8. Intended Use
This strategy is designed for educational and analytical purposes—specifically to help traders explore how multi-timeframe trend alignment, market structure, and dynamic support/resistance interact.
It does not guarantee performance and should be used alongside independent analysis, risk management, and market awareness.
Supports & Resistances with Trend Lines EMA + VWAP + RangeSupports & Resistances with Trend Lines + EMA + VWAP + Opening Range
Key Features:
• Automatic Support & Resistance Levels
→ Pivot-based strong S/R detect karta hai
→ Visual boxes + labels ke saath clean display
• Smart Trend Lines (Uptrend & Downtrend)
→ Valid trend lines automatically draw karta hai
→ Fake breakout wali lines filter ho jati hain
→ Green = Uptrend, Red = Downtrend
• 13 EMA (Color Changing)
→ Bullish = Bright Green | Bearish = Red
→ Trend direction ek second mein samajh aata hai
• Session VWAP (Daily Reset)
→ Accurate intraday VWAP with purple line
→ Institutional level ka important reference
• Multiple Opening Ranges
→ 5-minute Opening Range
→ 15-minute Opening Range
→ First 1-Hour Range
→ Full Day High/Low Range
→ Fill + labels + clean lines
• Fully Customizable
→ Har feature ko on/off kar sakte ho
→ Colors, alerts, labels sab change kar sakte ho
Best for: Intraday, Scalping, Swing Trading, BTC/ETH, NIFTY, BANKNIFTY, Stocks, Forex
Alerts Available:
- New Support/Resistance detected
- Support/Resistance breakout
Made with by KingKuldeep, for traders
Critical_Poly_divergenceDetects various divergences and acts as Decision Making tool. Only for Educational purpose
Alert candle Bull/BearThis simple indicator allows you to be notified if the candle closes long or short, according to your timeframe.
Santo Graal Confirmacao de TendenciaHow to Apply on the Chart
Ideal Timeframes: 4h or Daily
📈 Long Entry (Buy)
A Buy signal appears.
The green line starts forming below the price.
Stop-loss: placed just below the green line.
📉 Short Entry (Sell)
A Sell signal appears.
The red line starts forming above the price.
Stop-loss: placed just above the red line.
🔥 Ribas Waves Strategy PRO++📝 Strategy Description: Ribas Waves Strategy PRO++
The Ribas Waves Strategy PRO++ is a powerful trading system based on the identification of Wolfe Waves patterns, designed to capture high-probability reversal points with precise entries and smart risk management.
This advanced version is fully customizable, allowing traders to adapt entry confirmations, trend filters, and risk/reward ratios to their preferred trading style and market conditions.
⚙️ Key Features:
✅ Automatic detection of both Bullish and Bearish Wolfe Wave patterns
✅ Entry confirmation options:
No confirmation (pure Wolfe pattern)
Directional candle (bullish or bearish close)
Engulfing candle (bullish/bearish)
Inside bar + breakout
✅ Optional EMA trend filter
✅ Configurable take profit via:
Risk multiple (R-multiple: e.g., 3x risk)
Percentage of risk (e.g., 300% of stop-loss distance)
✅ Toggle to show or hide wave labels and structure on chart
✅ Entry cooldown to prevent overlapping trades
✅ Visual display of current strategy position: 📈 Long / 📉 Short / ⛔️ Flat
📌 How to Use:
Set pivot sensitivity based on the asset's volatility (default: 7)
Choose your preferred entry confirmation method
Enable or disable the EMA trend filter
Adjust your take profit logic (R-multiple or % of risk)
Run a backtest or use live alerts for execution
💡 Author Recommendations:
Best suited for volatile markets such as crypto, indices, and forex.
For more trades, disable confirmation filters or use “Directional Candle” mode.
Use higher timeframes or combine with volume/context filters for increased accuracy.
Regularly backtest different settings to optimize your edge on specific assets.
SuperEngulfing: REV + RUN [Plus]This is an overlay indicator designed to identify and highlight specific two-candle price action patterns that suggest either a potential reversal (REV) or a continuation (RUN) in the prevailing price trend.
The indicator plots distinct visual signals directly on the chart, using different shapes and labels to categorize the strength and type of the identified pattern.
Key Features
Dual Pattern Detection: Identifies two primary types of significant price action setups:
REV (Reversal): Signals suggesting a potential change in the short-term trend direction.
RUN (Continuation): Signals suggesting the current trend momentum is likely to persist.
Plus (REV+ / RUN+): Indicates a higher-confidence version of the pattern, where the price closes beyond a significant previous candle extreme.
Visual Clarity:
REV Patterns are marked with colored Triangles (up for bullish, down for bearish).
RUN Patterns are marked with colored Labels (up for bullish, down for bearish).
Volume Flow IndicatorVolume flow analysis
This indicator measures volume-weighted money flow by comparing price changes against a volatility-based threshold, then smoothing the result - when VFI is above zero (green cloud) it suggests accumulation/buying pressure, while below zero (red cloud) indicates distribution/selling pressure.
GOLD 5m Buy/Sell Pro//@version=5
indicator("GOLD 5m Buy/Sell Pro", overlay = true, timeframe = "5", timeframe_gaps = true)
Z-Pulse by YCGH CapitalZ-Pulse - Smart Divergence & Momentum Pulse Indicator
RevertX Z-Pulse, developed by YCGH Capital, is a precision market-timing tool designed to identify high-probability reversal zones using a unique volatility-normalized oscillator.
This script highlights bullish and bearish divergences directly on the chart—turning complex momentum behavior into simple, actionable signals.
🔍 What the Indicator Does
RevertX Z-Pulse analyzes price momentum by transforming it into a Z-Score pulse, allowing you to detect when price makes a new extreme but momentum does not follow—classic divergence behavior.
The indicator:
✓ Detects Bullish Divergence
Price makes a lower low
Indicator makes a higher low
→ Suggesting weakening downside momentum and a potential reversal.
✓ Detects Bearish Divergence
Price makes a higher high
Indicator makes a lower high
→ Signaling loss of bullish strength and possible trend reversal.
✨ Why RevertX Z-Pulse Stands Out
Clean divergence visualization
No repainting
Volatility-normalized momentum readings
Works on all timeframes
Especially effective on 4H, 1H, and daily chart structures
猛の掟・初動スクリーナー_完成版//@version=5
indicator("猛の掟・初動スクリーナー_完成版", overlay=true)
// =============================
// 入力パラメータ
// =============================
emaLenShort = input.int(5, "短期EMA", minval=1)
emaLenMid = input.int(13, "中期EMA", minval=1)
emaLenLong = input.int(26, "長期EMA", minval=1)
macdFastLen = input.int(12, "MACD Fast", minval=1)
macdSlowLen = input.int(26, "MACD Slow", minval=1)
macdSignalLen = input.int(9, "MACD Signal", minval=1)
macdZeroTh = input.float(0.2, "MACDゼロライン近辺とみなす許容値", step=0.05)
volMaLen = input.int(5, "出来高平均日数", minval=1)
volMinRatio = input.float(1.3, "出来高倍率(初動判定しきい値)", step=0.1)
volStrongRatio = input.float(1.5, "出来高倍率(本物/三点シグナル用)", step=0.1)
highLookback = input.int(60, "直近高値の参照本数", minval=10)
pullbackMin = input.float(5.0, "押し目最小 ", step=0.5)
pullbackMax = input.float(15.0, "押し目最大 ", step=0.5)
breakLookback = input.int(15, "レジブレ後とみなす本数", minval=1)
wickBodyMult = input.float(2.0, "ピンバー:下ヒゲが実体の何倍以上か", step=0.5)
// ★ シグナル表示 ON/OFF
showMou = input.bool(true, "猛シグナルを表示")
showKaku = input.bool(true, "確シグナルを表示")
// =============================
// 基本指標計算
// =============================
emaShort = ta.ema(close, emaLenShort)
emaMid = ta.ema(close, emaLenMid)
emaLong = ta.ema(close, emaLenLong)
= ta.macd(close, macdFastLen, macdSlowLen, macdSignalLen)
volMa = ta.sma(volume, volMaLen)
volRatio = volMa > 0 ? volume / volMa : 0.0
recentHigh = ta.highest(high, highLookback)
prevHigh = ta.highest(high , highLookback)
pullbackPct = recentHigh > 0 ? (recentHigh - close) / recentHigh * 100.0 : 0.0
// ローソク足
body = math.abs(close - open)
upperWick = high - math.max(open, close)
lowerWick = math.min(open, close) - low
// =============================
// A:トレンド条件
// =============================
emaUp = emaShort > emaShort and emaMid > emaMid and emaLong > emaLong
goldenOrder = emaShort > emaMid and emaMid > emaLong
aboveEma2 = close > emaLong and close > emaLong
trendOK = emaUp and goldenOrder and aboveEma2
// =============================
// B:MACD条件
// =============================
macdGC = ta.crossover(macdLine, macdSignal)
macdNearZero = math.abs(macdLine) <= macdZeroTh
macdUp = macdLine > macdLine
macdOK = macdGC and macdNearZero and macdUp
// =============================
// C:出来高条件
// =============================
volInitOK = volRatio >= volMinRatio // 8条件用
volStrongOK = volRatio >= volStrongRatio // 三点シグナル用
volumeOK = volInitOK
// =============================
// D:ローソク足パターン
// =============================
isBullPinbar = lowerWick > wickBodyMult * body and lowerWick > upperWick and close >= open
isBullEngulf = close > open and open < close and close > open
isBigBullCross = close > emaShort and close > emaMid and open < emaShort and open < emaMid and close > open
candleOK = isBullPinbar or isBullEngulf or isBigBullCross
// =============================
// E:価格帯(押し目&レジブレ)
// =============================
pullbackOK = pullbackPct >= pullbackMin and pullbackPct <= pullbackMax
isBreakout = close > prevHigh and close <= prevHigh
barsSinceBreak = ta.barssince(isBreakout)
afterBreakZone = barsSinceBreak >= 0 and barsSinceBreak <= breakLookback
afterBreakPullbackOK = afterBreakZone and pullbackOK and close > emaShort
priceOK = pullbackOK and afterBreakPullbackOK
// =============================
// 8条件の統合
// =============================
allRulesOK = trendOK and macdOK and volumeOK and candleOK and priceOK
// =============================
// 最終三点シグナル
// =============================
longLowerWick = lowerWick > wickBodyMult * body and lowerWick > upperWick
macdGCAboveZero = ta.crossover(macdLine, macdSignal) and macdLine > 0
volumeSpike = volStrongOK
finalThreeSignal = longLowerWick and macdGCAboveZero and volumeSpike
buyConfirmed = allRulesOK and finalThreeSignal
// =============================
// 描画
// =============================
plot(emaShort, color=color.new(color.yellow, 0), title="EMA 短期(5)")
plot(emaMid, color=color.new(color.orange, 0), title="EMA 中期(13)")
plot(emaLong, color=color.new(color.blue, 0), title="EMA 長期(26)")
// シグナル表示(ON/OFF付き)
plotshape(showMou and allRulesOK, title="猛の掟 8条件クリア候補", location=location.belowbar, color=color.new(color.lime, 0), text="猛")
plotshape(showKaku and buyConfirmed, title="猛の掟 最終三点シグナル確定", location=location.belowbar, color=color.new(color.yellow, 0), text="確")
// =============================
// アラート条件
// =============================
alertcondition(allRulesOK, title="猛の掟 8条件クリア候補", message="猛の掟 8条件クリア候補シグナル発生")
alertcondition(buyConfirmed, title="猛の掟 最終三点シグナル確定", message="猛の掟 最終三点シグナル=買い確定")
Quantel.io NY AM Edge ProNY AM Edge Pro is a structured session-based market tool designed for intraday traders who work around the New York equities open.
Its purpose is to organize price action during the early-session period by:
Identifying a user-defined pre-market range
Marking the breakout of that range once the regular session begins
Monitoring for a qualifying retest or continuation
Plotting optional entry, stop, and multi-level target markers
Drawing visual elements (range, levels, risk/reward panels) to help interpret the unfolding structure
The script focuses on clarity and workflow consistency rather than prediction.
Users can customize session windows, breakout filters, retest conditions, and point-based risk/target distances.
It does not reuse logic from other indicators, does not depend on external scripts, and does not guarantee or imply performance.
It is intended strictly as an analysis and visualization tool.
Santo Graal Suporte e ResistenciaHow to Apply on the Chart
Ideal Timeframes: 4h or Daily
📈 Long Entry (Buy)
A Buy signal appears.
The green line starts forming below the price.
Stop-loss: placed just below the green line.
📉 Short Entry (Sell)
A Sell signal appears.
The red line starts forming above the price.
Stop-loss: placed just above the red line.
ZigZag + Fibonacci
⚙️ Main Features
• Automatic ZigZag: Detects the latest high and low pivots based on an adjustable period.
• Dynamic Fibonacci: Automatically draws the 38.2%, 50%, and 61.8% levels based on the last ZigZag movement.
• Display Control:
o Enable or disable the blue line connecting the pivots (ZigZag line).
o Adjust the horizontal length of the Fibonacci lines (in number of bars).
• Customizable Colors:
o Choose different colors for each Fibonacci level.
o Customize the color of the ZigZag line.
________________________________________
🧑🏫 How to Use
1. Add the indicator to your chart on TradingView.
2. Configure the parameters according to your strategy:
o ZigZag Period: defines the sensitivity of the pivots (higher values = wider movements).
o Fibonacci Line Length: how many bars the horizontal lines should extend.
o Show ZigZag Line: check or uncheck to display the blue line between pivots.
o Colors: customize the visual appearance of the Fibonacci levels and ZigZag line.
3. Interpret the Fibonacci levels:
o Use the levels as possible support and resistance zones.
o Combine with other technical signals for more assertive entries and exits.
RSI Master Suite [Kodexius]RSI Master Suite is a custom momentum engine built around a proprietary RSI style oscillator, designed to go far beyond a simple overbought and oversold line. The core calculation uses internal smoothing and optional adaptive logic to create a cleaner, more stable signal that is still responsive to real time price action. On top of that engine, the script adds structure, context and visual layers that turn the oscillator into a complete decision support panel.
Instead of watching a single line cross fixed levels, you get dynamic channels, gradient zones, reversal markers, divergence mapping, multi timeframe readings, a compressed stochastic flow and automated RSI based trendlines. The goal is to let you read the state of momentum at a glance: where it is stretched, where it is reverting, how different timeframes align and where conditions may support a potential shift in direction.
This is not ordinary RSI. It is a complete momentum intelligence engine that is designed to help you identify trend strength, exhaustion, breakout style conditions and potential reversal points with a structured and visually guided approach.
⚠️ Note:
This suite builds on a custom RSI engine and enhances it with an MTF dashboard, dynamic channels, divergence and deviation logic, stochastic flow and smart alerting. It is suitable for traders who rely on price action and momentum context, from short term scalpers to swing traders and more systematic trend followers.
🔹 Features
🔸 Enhanced RSI Core
- Custom RSI style oscillator with optional adaptive smoothing that aims to reduce noise while keeping momentum turns visible in real time.
- Configurable source and oscillator length to adapt the tool to different markets, assets and styles.
- Optional RSI moving average for an extra layer of confirmation on crosses and reversals.
♦️ Adaptiveness Logic - Heart of the Oscillator
The adaptive RSI engine continuously measures how efficiently price has been moving over a recent window comparing net directional movement to the total back-and-forth volatility.
When price is trending cleanly, the engine behaves closer to a fast response, allowing the oscillator to track momentum shifts more aggressively. In choppy or noisy phases, it automatically slows down and applies a heavier smoothing profile, down-weighting random fluctuations while preserving the larger structural swings.
🔸 Dynamic Channel Suite
- Multiple channel modes (Bollinger-style, Keltner-style or Donchian-style) applied directly to RSI, giving a clear view of volatility and expansion/contraction phases in momentum.
- Upper and lower channel bands highlight when RSI is pressing into extreme territory or breaking out of its usual range.
- Channel touches and breaks can be used as an additional filter for exhaustion or continuation behavior.
🔸 Gradient Overbought/Oversold Zones
- Customizable OB/OS levels with gradient fills, making it easy to see when RSI is entering, residing in, or exiting critical zones.
- Smooth shading between overbought, oversold and midline areas provides instant visual context instead of relying on hard lines alone.
- Midline (50) is clearly marked, helping to distinguish between bullish and bearish momentum regimes.
🔸 Reversal Signal Markers
- Bullish and bearish reversal markers are plotted when RSI conditions suggest a potential shift after reaching OB/OS zones.
- Signals rely on interactions between Enhanced RSI and its internal smoothing, reducing noise compared to raw threshold crosses.
- Markers are placed directly on the RSI line for quick recognition without cluttering the price chart.
🔸 Divergence Mapping (Regular & Hidden)
- Detects regular bullish/bearish divergences as well as hidden bullish/bearish divergences between price and RSI.
- Optional “wait for candle close” behavior, giving you the choice between more reactive or more conservative confirmations.
- Separate visibility toggles for each divergence type so you can focus only on the signals that fit your approach.
🔸 Compressed Stochastic “Flow” Overlay
- Built-in adaptive and normalized Stochastic RSI layer, normalized into a compact band around the midline to avoid overcrowding the panel.
- The design focuses on direction and pressure rather than raw values: the flow band shows whether short-term momentum is actively feeding into the current RSI regime or fading against it, giving an immediate read on micro-structure underneath the main signal.
- Visual emphasis on whether the stochastic flow is leaning bullish or bearish, rather than on exact numeric values.
- Filled zones above/below the midline help to quickly gauge short-term momentum thrusts within the broader RSI context.
🔸 Multi-Timeframe (MTF) Dashboard
- Compact dashboard table that summarizes RSI conditions across multiple user-defined timeframes.
Per-timeframe cells show:
- Divergence bias (bullish/bearish/none),
- OB/OS state,
- Basic directional “signal” hints,
- RSI channel breaks (upside/downside).
Makes it easy to see alignment or conflict between intraday and higher-timeframe momentum without changing charts.
Timeframe labels auto-format into familiar units (e.g., 1H, 4H, 1D) for readability.
🔸 Oscillator-Based Trendlines & Break Detection
- Automatic drawing of oscillator trendlines derived from swing pivots on the oscillator, not just on price.
- Lines adapt to bullish or bearish structures, focusing on clean slopes with minimal internal violations.
- Breaks of these RSI trendlines are highlighted with labels, providing an additional structural confirmation of potential momentum shifts.
🔸 Alert-Ready Event Logic
- Integrated alert conditions for RSI-based reversals and all four divergence types (regular/hidden, bullish/bearish).
- Designed so you can create alerts directly from the indicator, turning key RSI events into actionable notifications.
Altogether, RSI Master Suite consolidates multiple momentum tools into one cohesive interface, helping you read the “story” of RSI and its derivatives more intuitively and efficiently.
🔹 How To Use
▶ Reading the Core Momentum Engine
- The main line represents the custom momentum engine: values sustained above the midline indicate a bullish-leaning regime, while values below it point to a more bearish-leaning backdrop. Gradient OB/OS zones make it easy to see where conditions are stretched or rotating out of extremes instead of behaving like simple on/off thresholds.
- The dynamic channel adds a second layer of structure:
• When the engine is pressing into or outside the outer channel, momentum is extended relative to its recent behaviour.
• When it oscillates closer to the mid-area of the channel, conditions are more neutral or mean-reverting.
- If the internal moving average is enabled, crosses between the engine and its average can highlight transitions between phases rather than just single-bar spikes, especially around overbought/oversold zones.
▶ Working With Reversals & Divergences
- Reversal markers appear when the engine has pushed into OB/OS regions and then begins to turn with confirmation from its internal smoothing. They are meant as attention points around potential inflection zones in momentum, not as blind entry or exit signals on their own.
- Divergence mapping compares the structure of price swings with the structure of the engine:
• Regular bullish/bearish divergences highlight potential exhaustion when price makes a new extreme but momentum does not confirm.
• Hidden bullish/bearish divergences highlight potential continuation when price pulls back but the engine remains relatively strong (or weak) underneath.
- You can choose which divergence types to display and whether they should only confirm on candle close. Keeping “wait for close” enabled generally provides a more conservative, less noisy view of divergence structure.
▶ Using the Compressed Stochastic “Flow” Overlay
- The Stochastic flow band is designed as a micro-structure layer on top of the main engine, compressed into a tight band around the midzone so it doesn’t require a separate oscillator panel.
- When the flow spends more time in the upper side of its band, short-term impulse is aligning with bullish pressure; when it leans to the lower side, short-term activity is skewed bearish. This makes it easier to judge whether recent pushes are driving with, or fading against, the current momentum regime.
- Filled areas above and below the central line turn this overlay into a quick visual gauge of short-term thrust inside the broader momentum context, especially when viewed together with reversals and divergences.
▶ Reading the Multi-Timeframe Dashboard
- The MTF dashboard compresses multiple timeframes into a small table so you can see cross-timeframe alignment without changing charts. Each column corresponds to one timeframe from your list, and each row represents a different aspect of the engine: divergence bias, OB/OS status, directional hint and channel break state.
- A practical approach is to:
• Scan for alignment, where several higher timeframes show similar momentum regimes or biases.
• Note areas of conflict, where lower timeframes are diverging or reverting while higher timeframes remain extended.
- Used this way, the dashboard acts as a context map you glance at before drilling into any individual setup.
▶ Trendlines, Breaks & Structure
- The oscillator-based trendlines are drawn from swing pivots on the engine itself. This can reveal underlying momentum structure that does not always appear clearly on raw price swings.
- Rising lines typically reflect underlying strength, while falling lines reflect underlying weakness. When these lines are broken and annotated on the panel, they can serve as structural confirmation that a prior momentum phase is weakening or transitioning into something new.
- Many users keep this component off for day-to-day monitoring and switch it on when they want a more detailed structural read on momentum phases.
SM OB Intraday Bot AssistantSM OB Intraday Bot Assistant is an intraday tool built around Smart Money Concepts (SMC). It focuses on market structure, Order Blocks and mitigation, and then turns them into a complete trade plan with entry, adaptive stop-loss and structured take-profit levels.
────────────────────
1. Concept & purpose
────────────────────
The script is designed for intraday trading on 15m–1h timeframes. It automates a classic SMC workflow:
1) Detect swing structure and Break Of Structure (BOS).
2) Identify bullish/bearish Order Blocks (OB) and Hidden Order Blocks (HOB).
3) Filter them using impulse strength, volume and Fib/OTE confluence.
4) Build a trade idea: Entry, Stop-Loss, TP1, TP2, TP3.
5) Track trade status and basic statistics on chart.
The source is protected (invite-only), but the logic below describes how the script works so traders can understand and use it.
────────────────────
2. Structure, BOS and FVG
────────────────────
• Swings are detected using configurable swing length.
• BOS is confirmed only when:
– Price closes beyond the last swing high/low by a minimum tick distance.
– The break candle is an impulse: its body must exceed a minimum ATR fraction and a minimum Body/Range ratio.
• Optional filter: the BOS candle must also create a 3-bar Fair Value Gap (FVG).
This helps the script focus on meaningful breaks instead of random noise.
────────────────────
3. Order Blocks & Hidden OBs
────────────────────
After a valid BOS, the script looks back for the last opposite candle to define an Order Block:
• Only small-body candles are considered (body ≤ X% of total range), with a minimum OB height in ticks.
• OBs can be built using either candle bodies or full wicks.
• Hidden OBs (HOBs) are marked when price creates same-bias FVGs further in the direction of the BOS, while the original OB remains unmitigated.
• Each OB is stored as a box that can be:
– Extended to the right,
– Limited to N bars, or
– Kept only at its origin.
Mitigation state is tracked for each OB:
• 0 = untouched
• 1 = partially mitigated
• 2 = fully mitigated
The user can choose which mitigation states to display.
────────────────────
4. Fib / OTE confluence
────────────────────
The script automatically builds the last significant leg between swing low and swing high and computes:
• Fib levels 0.618 / 0.705 / 0.786
• An OTE band (roughly between the 62–79% retracement area)
An OB is marked as “in confluence” when its midpoint is near these Fib levels or inside the OTE band, with tolerance based on ATR. This allows traders to focus on OBs that align with both structure and retracement logic.
────────────────────
5. Volume filter
────────────────────
For each OB, the script compares its candle volume to a volume moving average:
• If enabled, only OBs with volume ≥ (multiplier × volume MA) are considered valid for entries.
This acts as a simple high-volume filter to ignore weak zones that form on low participation.
────────────────────
6. Trade logic and “smart” levels
────────────────────
When a new qualified OB appears and meets the filters, the script builds a full intraday trade plan:
• Entry:
– Taken from the midpoint of the OB (PIN / mid-zone), not from an arbitrary price.
• Stop-Loss:
– For longs: behind the nearest meaningful low (recent swing low or OB low).
– For shorts: behind the nearest meaningful high (recent swing high or OB high).
– The SL is then capped so that its distance never exceeds the distance to TP1.
This keeps risk under control and avoids oversized stops.
• Take Profits (TP1, TP2, TP3):
– Targets are not fixed percentages of stop.
– The script computes a “base unit” using:
• distance to the next structure level,
• ATR,
• OB height,
• and a minimum percentage of price.
– TP1, TP2, TP3 are multiples of this base unit, so all targets are tied to volatility and structure, not random numbers.
This makes the levels more realistic for intraday trading compared to simple R-multiples.
────────────────────
7. Execution control
────────────────────
• Only one active trade at a time can be enforced if desired.
• The script can block opening a new trade in the same direction while the previous one is still active.
• OBs can expire on first touch if the user prefers to keep the chart clean.
────────────────────
8. Trade panel & statistics
────────────────────
The script includes a compact on-chart table showing:
• Direction: LONG / SHORT
• Entry price
• Stop-Loss
• TP1, TP2, TP3
• Current trade status:
– “Waiting”, “In play”, “TP1 hit”, “TP2 hit”, “TP3 hit”, “SL hit”, etc.
• Rolling win rate (WR) over the last 100 trades, based on TP1 vs SL.
This allows traders to visually follow the logic of the system and its recent performance without having to read code.
────────────────────
9. Alerts and automation
────────────────────
The indicator exposes alert conditions for:
• New bullish / bearish OB
• Mitigation of bullish / bearish OB
• Trade entry signals (LONG / SHORT)
It can also format alerts as JSON-style messages containing entry, SL and TP levels, so that external tools, webhooks or custom bots can parse and act on them. This makes it easier to connect the script to automated execution, while the trade logic and risk parameters remain fully controlled inside the indicator.
────────────────────
10. Usage notes
────────────────────
• Recommended environment: intraday crypto or FX on 15m–1h.
• Best use cases:
– Focusing on high-quality OBs with structural and Fib/OTE confluence.
– Using the generated Entry/SL/TP1–TP3 as a consistent intraday playbook.
– Feeding signals into external automation via alerts.
This script is not a guarantee of profits and is not financial advice. It is a framework that formalizes a specific Smart Money style approach (BOS → OB/HOB → mitigation → confluence → structured targets) so traders can apply it systematically in their own strategies.
Multi-Timeframe Momentum DashboardMulti-Timeframe Momentum Matrix
EMA 20/50/200 position checks
MACD histogram direction
RSI zones (>50 bullish, <50 bearish)
ADX trend strength
Shows alignment across 4H/Daily/Weekly






















