WD Gann Levels [CSN]A compact, multi-timeframe indicator that plots VWAP with optional deviation/percentage bands and Gann-style support & resistance levels (year, month, week, day) tailored for major Indian indices. It draws current and historical lines with clear labels and lets you pick the index so the script uses sensible, pre-calibrated offsets for each timeframe.
What it does (features)
Computes and plots a VWAP anchored to a user-selected period (session / week / month / quarter / year / earnings / dividends / splits).
Optional VWAP bands: three configurable band multipliers that can be interpreted as standard-deviation bands or percentage bands. Each band can be shown/hidden independently.
Automatic Gann-style levels for four timeframes:
Yearly — single current-year resistance/support (keeps floating labels).
Monthly — persistent historical monthly lines with the newest month emphasized.
Weekly — persistent historical weekly lines, optional 50% weekly levels (show/hide).
Daily — day-only levels that extend only for the trading day and update intraday.
Preconfigured offset values for common Indian indices (Nifty, Bank Nifty, Sensex, Fin Nifty, Mid Cap Nifty). Selecting an index switches the offsets used to compute the levels.
Visual polish: different colors and line styles per timeframe, width/opacity handling for historical vs current lines, labelled levels for clarity.
Safety check: throws a runtime error if volume is missing (VWAP requires volume).
Inputs (user-configurable)
Select Index — pick from Nifty, Bank Nifty, Sensex, Fin Nifty, Mid Cap Nifty (changes offsets).
Show Weekly 50% Lines — toggle weekly half-levels.
VWAP Settings
Hide VWAP on 1D or above — optionally hide VWAP on daily+ charts.
Anchor Period — Session / Week / Month / Quarter / Year / Decade / Century / Earnings / Dividends / Splits.
Source (default: close), Offset (plot shift).
Bands Settings
Bands Calculation Mode — Standard Deviation or Percentage.
Three pairs of show-toggle + multiplier inputs (Band #1, #2, #3). Multipliers default to 1.0, 2.0, 3.0 and accept half-step increments.
Plotted outputs & visuals
VWAP — blue line (configurable offset).
Bands — up to three fills/lines (green/olive/teal by default) controlled by the band toggles. If percentage mode is chosen, multipliers act as percent values.
Year / Month / Week / Day levels — colored lines with distinct styles:
Year = red (solid), Month = green (dashed), Week = blue (dotted), Day = orange (solid, no extension).
Labels — each current period level is labelled (e.g., “MONTH RESISTANCE (Nifty)”) and floats near the level for easy reading. Historical lines are kept but visually de-emphasized.
How levels are calculated
The script records the opening price for each period (year/month/week/day).
A fixed offset (index-dependent) is added/subtracted from the open to produce resistance/support levels for that period. For weekly the script also optionally adds 50% intermediate levels. Offsets are chosen per-index so levels scale correctly across instruments.
Usage & interpretation tips
Use the VWAP anchor options to align VWAP to the timeframe or event you care about (session vs week vs corporate events).
Combine VWAP and bands with the Gann-style levels to find confluence zones (VWAP + monthly resistance, weekly 50% + band edge, etc.).
Enable only the bands you need to reduce chart clutter; monthly and weekly history is useful for longer-term context.
On intraday charts, daily levels give immediate support/resistance; on higher timeframes they provide reference but the script hides/adjusts VWAP when requested.
Inputs reference (defaults shown)
Select Index: Nifty
Show Weekly 50% Lines: false
Hide VWAP on 1D or Above: false
Anchor Period: Session
VWAP Source: close
Bands Calculation Mode: Standard Deviation
Band multipliers: 1.0, 2.0, 3.0 (each band off by default)
Cycles
5m Hammer Detector Pro (Clean View)//@version=5
indicator("5m Hammer Detector Pro (Clean View)", overlay=true)
// ===== Inputs =====
tf_detect = input.timeframe("5", "Detection timeframe (keep 5 for 5-min)")
min_lower_to_body = input.float(2.0, "Min lower-wick / body ratio", step=0.1)
max_upper_to_body = input.float(0.5, "Max upper-wick / body ratio", step=0.1)
max_body_to_range = input.float(0.30, "Max body / total-range ratio", step=0.01)
min_lower_to_range = input.float(0.45, "Min lower-wick / total-range ratio", step=0.01)
use_bullish_only = input.bool(true, "Only bullish hammer (close > open)?")
vol_mult = input.float(1.5, "Volume threshold multiplier (x avg volume)", step=0.1)
confirm_next_candle = input.bool(true, "Require next bullish candle for confirmation?")
// ===== Hammer Logic =====
f_is_hammer(o, h, l, c) =>
body = math.abs(c - o)
lower = math.min(o, c) - l
upper = h - math.max(o, c)
rng = h - l
body := body == 0 ? 0.0000001 : body
rng := rng == 0 ? 0.0000001 : rng
cond1 = (lower / body) >= min_lower_to_body
cond2 = (upper / body) <= max_upper_to_body
cond3 = (body / rng) <= max_body_to_range
cond4 = (lower / rng) >= min_lower_to_range
cond5 = use_bullish_only ? (c > o) : true
cond1 and cond2 and cond3 and cond4 and cond5
// ===== 5-Min Data =====
= request.security(syminfo.tickerid, tf_detect, )
vol_avg = ta.sma(rv, 20)
vol_ok = rv > (vol_avg * vol_mult)
hammer_raw = f_is_hammer(ro, rh, rl, rc)
hammer_with_vol = hammer_raw and vol_ok
= request.security(syminfo.tickerid, tf_detect, [open , high , low , close ])
confirmed = confirm_next_candle ? (hammer_with_vol and rc > ro and nc > rh) : hammer_with_vol
new_candle_5m = ta.change(rc) != 0
hammer_final = confirmed and new_candle_5m
// ===== Plot hammer mark only =====
plotshape(hammer_final, title="Hammer Signal", location=location.belowbar,
style=shape.labelup, text="✅ HAMMER 5m", color=color.new(color.green, 0),
textcolor=color.white, size=size.tiny)
bgcolor(hammer_final ? color.new(color.green, 85) : na)
// ===== Alert =====
alertcondition(hammer_final, title="5m Hammer Confirmed Alert",
message="🔥 {{ticker}} | 5m Confirmed Hammer at {{time}} | Vol OK | Close: {{close}}")
Spectre On-Chain Season (CMC #101–2000, Nov’21/Nov’24 Anchors)Spectre On-Chain Season Index measures the real health of the on-chain market by focusing on the mid-tail of crypto — not Bitcoin, not ETH, not the Top 100.
Instead of tracking hype at the top of the market, this index looks at coins ranked #101–#2000 on CoinMarketCap and compares their current price performance to their cycle highs from:
November 2021 peak
November 2024 peak
WaleedGhuman SMT/MSS/OF/ModelsAt the core of the WaleedGhuman SMT/MSS/OF/Models indicator lies a sophisticated Smart Money Technique (SMT) Divergence Engine that operates across specific distinct timeframes simultaneously. The result is a comprehensive market analysis tool that bridges the gap between macro market structure and micro price action, delivering institutional-grade divergence analysis in an accessible, visually intuitive format.
Elliott Wave Expert AdvisorElliott Wave Expert Advisor - Professional Wave Analysis Tool
OVERVIEW
--------
The Elliott Wave Expert Advisor is a comprehensive Pine Script indicator designed for TradingView that automates Elliott Wave analysis and generates high-probability trading signals. Built on Ralph Nelson Elliott's Wave Principle, this indicator identifies impulse wave patterns, validates them against strict Elliott Wave rules, and provides precise entry points with calculated risk management levels.
CORE FUNCTIONALITY
------------------
1. TREND DETECTION
- Dual Moving Average system (Fast/Slow MA)
- MACD confirmation for trend strength
- Automatic trend classification (Uptrend/Downtrend/Sideways)
- Only generates signals aligned with main trend
2. SWING POINT DETECTION
- Automatic pivot high/low identification
- Configurable sensitivity (lookback periods)
- Minimum swing size filtering to reduce noise
- ZigZag visualization connecting swing points
3. WAVE IDENTIFICATION
- 5-wave impulse pattern recognition (1-2-3-4-5)
- 3-wave corrective pattern detection (A-B-C)
- Wave labels displayed on chart
- Color-coded validation status (Blue = Valid, Orange = Pending)
4. ELLIOTT WAVE RULES VALIDATION
Strictly enforces three cardinal rules:
- Rule 1: Wave 2 never retraces more than 100% of Wave 1
- Rule 2: Wave 3 is never the shortest impulse wave
- Rule 3: Wave 4 never overlaps Wave 1 price territory
5. FIBONACCI ANALYSIS
- Automatic Fibonacci retracement calculations (23.6%, 38.2%, 50%, 61.8%, 78.6%)
- Fibonacci extension projections (100%, 161.8%, 261.8%)
- Wave 3 and Wave 5 target projections
- Fibonacci-based Take Profit levels
6. SIGNAL GENERATION
- Entry signals at Wave 2 completion (catch Wave 3)
- Entry signals at Wave 4 completion (catch Wave 5)
- Automatic Stop Loss placement below/above pivot points
- Multiple Take Profit targets (TP1 at 1.618 extension, TP2 at Wave 5 projection)
- Risk/Reward ratio calculation and filtering
- Minimum R:R threshold (default 1.5:1)
7. VISUAL ELEMENTS
- Pivot markers (H/L) showing swing highs and lows
- ZigZag lines connecting swing points
- Wave number labels (1-2-3-4-5) with validation colors
- Entry signal arrows (Green = BUY, Red = SELL)
- Stop Loss lines (Red dashed)
- Take Profit lines (Green dashed and dotted)
- Real-time status dashboard showing:
* Number of pivots detected
* Wave count progress (X/5)
* Pattern validation status
* Market trend direction
* Signal active status
* Helpful tips and guidance
OPTIMAL USAGE
-------------
• Timeframes: H1, H4, D1 (avoid M1-M5 due to noise)
• Markets: Forex majors (EUR/USD, GBP/USD), Gold (XAU/USD), Major Cryptocurrencies
• Market Conditions: Strong trending markets (avoid ranging/sideways conditions)
• Risk Management: Never risk more than 1-2% per trade
• Position Sizing: Based on calculated Stop Loss distance
CONFIGURATION PARAMETERS
------------------------
Trend Detection:
- MA Fast Period (default: 20)
- MA Slow Period (default: 50)
- MACD settings (12/26/9)
Swing Detection:
- Pivot Lookback Left/Right (default: 10/10, reduce to 5/5 for M15)
- Min Swing Size % (default: 0.1%, reduce to 0.05% for M15)
Wave Detection:
- Min Wave Size % (default: 0.5%, reduce to 0.2-0.3% for smaller timeframes)
Risk Management:
- SL Buffer % (default: 0.1%)
- TP1 Fibonacci Ratio (default: 1.618)
- Min Risk/Reward (default: 1.5)
Visualization:
- Toggle visibility for MAs, ZigZag, Wave Labels, Signals, SL/TP
- Customizable colors for all elements
- Optional trend background coloring
IMPORTANT NOTES
---------------
• Elliott Wave analysis is subjective - this indicator implements one specific interpretation
• Works best in trending markets; automatically suppresses signals in sideways conditions
• Signals are NOT repainting after pivot confirmation
• Not a "holy grail" - combine with other analysis and proper risk management
• Requires patience - quality setups are infrequent but high-probability
• Always backtest on historical data before live trading
ELLIOTT WAVE THEORY BACKGROUND
------------------------------
Elliott Wave Theory, developed by Ralph Nelson Elliott in the 1930s, proposes that market prices move in predictable wave patterns driven by investor psychology. An impulse wave consists of five sub-waves (three in the trend direction, two corrections), followed by a three-wave correction. This indicator automates the identification of these patterns and validates them against Elliott's original rules.
DISCLAIMER
----------
This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always conduct your own analysis and never trade with money you cannot afford to lose. The indicator provides signals based on technical analysis patterns and does not constitute financial advice.
VERSION
-------
v1.0 - Initial Release
Pine Script v5
Created: 2024
SUPPORT
-------
For detailed usage instructions, refer to the included documentation:
- usage_guide.md - Complete user manual with examples
- elliott_rules.md - Elliott Wave theory reference and implementation details
Quantura - Session High/LowIntroduction
“Quantura – Session High/Low” is a professional-grade session mapping indicator that automatically identifies and visualizes the highs, lows, and ranges of key global trading sessions — London, New York, and Asia. It helps traders understand when and where liquidity tends to accumulate, allowing for better market structure analysis and session-based strategy alignment.
Originality & Value
This indicator unifies the three most influential global sessions into a single, adaptive visualization tool. Unlike typical session indicators, it dynamically updates live session highs and lows in real time while marking session boundaries and transitions. Its multi-session management system allows for immediate recognition of overlapping liquidity zones — a crucial feature for institutional and intraday traders.
The value and originality come from:
Real-time tracking of session highs, lows, and developing ranges.
Simultaneous visualization of multiple global sessions.
Optional vertical range lines for clearer visual segmentation.
Customizable session times, colors, and time zone offset for global accuracy.
Automatically extending and updating lines as each session progresses.
Functionality & Core Logic
Detects the start and end of each trading session (London, New York, Asia) using built-in time logic and user-defined UTC offsets.
Initializes session-specific high and low variables at the start of each new session.
Continuously updates session high/low levels as new candles form.
Draws color-coded horizontal lines for each session’s high and low.
Optionally adds vertical dotted lines to visually connect session range extremes.
Locks each session’s range once it ends, preserving historical structure for review.
Parameters & Customization
New York Session: Enable/disable, customize time (default 15:30–21:30), and set color.
London Session: Enable/disable, customize time (default 09:00–16:30), and set color.
Asia Session: Enable/disable, customize time (default 02:30–08:00), and set color.
Vertical Line: Toggle dotted vertical lines connecting session high and low levels.
UTC Offset: Adjust session timing to align with your chart’s local time zone.
Visualization & Display
Each session is color-coded for quick identification (default: blue for London, red for New York, green for Asia).
Horizontal lines track evolving session highs and lows in real time.
Once a session closes, the lines remain fixed to mark historical range boundaries.
Vertical dotted lines (optional) visually connect the session’s high and low for clarity.
Supports full overlay display without interfering with other technical indicators.
Use Cases
Identify liquidity zones and range extremes formed during active trading sessions.
Observe session overlaps (London–New York) to anticipate volatility spikes.
Combine with volume or market structure tools for session-based confluence.
Track how price interacts with prior session highs/lows to detect potential reversals.
Analyze session-specific performance patterns for algorithmic or discretionary systems.
Limitations & Recommendations
The indicator is designed for intraday analysis and may not provide meaningful output on daily or higher timeframes.
Adjust session times and UTC offset based on your broker’s or exchange’s timezone.
Does not provide trading signals — it visualizes session structure only.
Combine with liquidity and volatility indicators for full contextual understanding.
Markets & Timeframes
Compatible with all asset classes — including crypto, forex, indices, and commodities — and optimized for intraday timeframes (1m–4h). Particularly useful for traders analyzing session overlaps and volatility transitions.
Author & Access
Developed 100% by Quantura. Published as a Open-source script indicator. Access is free.
Compliance Note
This description fully complies with TradingView’s Script Publishing Rules and House Rules . It provides a detailed explanation of functionality, parameters, and realistic use cases without making any performance or predictive claims.
AI indicatorMCX:CRUDEOIL1! Improved by Agent
This indicator operated by our AI. We used fine-tune to improved it.
1. news agent: it will search news from bloomberg, and then self-improve.
2. price agent: it will connect the price api from exchange, and use langchain, langgraph to fixit.
3. blackswan
McRib Release Dates IndicatorMarks the McRib release dates from 2019-Current. Previous dates from Pre-2019 weren't clear enough to include accurate info. Goated Indicator. 67 😎
RSI Divergence 1-20 Candlesthis is a rsi divergence indicator used to mark divergence on the candle for knowing the trend
Victoria Overlay - HTF 200 + VWAP + ATR Stop + MA TrioConsolidated road to minions
Buy Setup:
EMA1 crosses above SMA3.
RSI confirms above 50.
Volume increasing (confirming momentum).
Candle closes above SMA1 base.
Sell Setup:
EMA1 crosses below SMA3.
RSI drops below 50 or exits overbought.
Volume confirms (declining or reversing).
Candle closes below SMA1 base.
Tips:
Think of EMA1 as the scalper’s trigger.
SMA3 is your momentum check.
SMA1 (base) = short-term bias.
Avoid entries during low-volume chop.
Use for day trades or tight scalps; exits happen fast.
Overlay (Smoothed Heikin Ashi + Swing + VWAP + ATR Stop + 200-SMA)
Purpose: Multi-layer trend confirmation + clean structure.
Type: Swing alignment tool.
🟩 BUY / CALL Conditions
Green “Buy (Gated)” arrow appears.
Price is above VWAP, above 200-SMA, and above ATR stop.
ATR stop (green line) sits under price → support confirmed.
Heikin-Ashi candles are green/lime.
Bias label says “Above VWAP | Above 200 | Swing Up”.
🟥 SELL / PUT Conditions
Red “Sell (Gated)” arrow appears.
Price is below VWAP, below 200-SMA, and below ATR stop.
ATR stop (red line) sits above price → resistance confirmed.
Heikin-Ashi candles are red.
Bias label says “Below VWAP | Below 200 | Swing Down”.
Exit / Risk Control:
Close position when price crosses ATR stop.
If Heikin candles flip color, momentum is reversing.
Best Use Cases:
For next-day or multi-hour swing entries.
Use ATR Stop for dynamic stop loss.
Stay out when the bias label is mixed (e.g. “Above VWAP | Below 200 | Swing Down”).
Pro Tip:
On big news days, let VWAP reset post-open before acting on arrows — filters fake signals.
RSI Panel Pro (v6)
Purpose: Strength + exhaustion confirmation.
Type: Momentum filter.
Key Levels:
Overbought: 80+ → take profits soon.
Oversold: 20– → watch for bounce setups.
Bull regime: RSI above 60 = momentum strong.
Bear regime: RSI below 40 = weakness.
Buy / Entry Signals:
RSI crosses up from below 40 or 20.
RSI line is above RSI-EMA (gray line).
Higher timeframe RSI (if used) is also rising.
Trim / Exit:
RSI drops under 60 after being strong.
RSI crosses below its EMA.
Sell / Put Setup:
RSI fails at 60 or drops below 40.
RSI crosses under EMA after a bounce.
Tips:
Pair RSI panel with Victoria Overlay — only take gated buys when RSI confirms.
RSI < 40 but above 20 = “loading zone” for reversals.
RSI > 70 = overextended → wait for confirmation before entering.
Combined Execution Rules
Goal What to Watch Action
Entry (CALL) EMA1 > SMA3, Buy (Gated) arrow, RSI rising > 50 Buy call / open long
Entry (PUT) EMA1 < SMA3, Sell (Gated) arrow, RSI < 50 Buy put / open short
Exit Early Price crosses ATR stop or RSI flips under EMA Exit trade / protect gains
Trend Filter VWAP + 200-SMA alignment Only trade in that direction
Avoid Trades Conflicting bias label or low volume Stay flat
Pro Tips
VWAP → Intraday mean: above = bullish control, below = bearish control.
ATR Stop → Dynamic trailing stop: never widen it manually.
Smoothed Heikin-Ashi → filters noise: trend stays until color flips twice.
RSI Panel → confirms whether to hold through pullbacks.
If RSI and Overlay disagree — wait, not trade.
[ruleaker] BTC捕捉牛熊转换点 BTC Cycle Reversal Detector
Designed for trend trading and major market cycle transitions.
Enter precisely at the turning points between bull and bear markets,
short at local peaks within bear cycles,
and go long at local bottoms within bull cycles.
Average Price Calculator / VisualizerDCA Average Price Calculator - Visualize Your Breakeven & TP!
Ever wished you could visualize your trades and instantly see your average entry price right here on TradingView? Especially if you're a DCA (Dollar-Cost Averaging) trader like me, tracking multiple entries can be a hassle. You're constantly switching to a spreadsheet or calculator to figure out your breakeven and take-profit levels. Well I've developed this DCA Average Price Calculator to solve exactly that problem, bringing all your position planning directly onto your chart.
What It Does
This indicator is a interactive tool designed to calculate the weighted average price of up to 10 separate trade entries. It then plots your crucial breakeven (average price) and a customizable take-profit target directly on your chart, giving you a clear visual of your position.
Key Features
Up to 10 Order Entries: Plan complex DCA strategies with support for up to ten individual buys.
Flexible Size Input: Enter your position size in either USD Amount or Number of Shares/Contracts. The script is smart enough to know which one you're using.
Instant Average Price Calculation: Your weighted average price (your breakeven point) is calculated and plotted in real-time as a clean yellow line.
Customizable Take-Profit Target: Set your desired profit percentage and see your take-profit level instantly plotted as a green line.
Detailed On-Chart Labels: Each order you plot is marked with a detailed label showing the entry price, the number of shares purchased, and the total USD value of that entry.
Clean & Uncluttered UI: The main Average and TP labels are intelligently shifted to the right, ensuring they don't overlap with your entry markers, keeping your chart readable.
How to Use It - Simple Steps
Add the indicator to your chart.
Open the script's 'Settings' menu.
In the 'Take Profit' section, set your desired profit percentage (e.g., 1 for 1%).
Under the 'Orders' section, begin filling in your entries. For each 'Order #', enter the Price.
Next, enter the size. You can either fill in the 'Size (USD)' box OR the '/ Shares' box. Leave the one you're not using at 0.
As you add orders, the 'Avg' (yellow) and 'TP' (green) lines, along with the blue order labels, will automatically appear and adjust on your chart!
Who Is This For?
DCA Traders: This is the ultimate tool for you!
Position Traders: Keep track of scaling into a larger position over time.
Manual Backtesters: Quickly simulate and visualize how a series of buys would have played out.
Any Trader who wants a quick and easy way to calculate their average entry without leaving TradingView.
I built this tool to improve my own trading workflow, and I hope it helps you as much as it has helped me. If you find it useful, please consider giving it a 'Like' and feel free to leave any feedback or suggestions in the comments!
Happy trading
OPTION DOMOPTION DOM
This script tell you abot option max pain where dealer needs to reverse and give direction of optio buy and sel plus option dom.
Astrology Events
Astrology Events
This indicator marks critical astronomical events that correlate with significant market movements, based on established principles of financial astrology and planetary cycle analysis.
CORE ASTRONOMICAL EVENTS TRACKED:
Planetary Sign Ingress (0 degrees)
Outer planet sign changes: Saturn, Jupiter, Uranus, Neptune, Pluto.
Inner planet sign changes: Sun (monthly), Moon (every 2.5 days approximately).
Special emphasis on 0 degrees Aries ingress across all celestial bodies.
Critical Degrees
Ending degrees (29 degrees) - Anaretic degree before sign transition.
24-hour harmonic divisions (15-degree intervals).
Zero-degree ingress points for all major planets.
Planetary Stations
Retrograde stations: When planets appear to stop and reverse direction.
Direct stations: When retrograde planets resume forward motion.
Includes all outer planets (Jupiter, Saturn, Uranus, Neptune, Pluto) plus Mercury.
Mercury Retrograde Periods
Complete retrograde cycles with start and end dates.
One of the most reliable indicators for market volatility and reversals.
Major Planetary Aspects
Conjunctions (0 degrees separation).
Squares (90 degrees).
Oppositions (180 degrees).
Trines (120 degrees).
Focus on slow-moving outer planet pairs that historically correlate with market movements.
Lunar Cycles
Automatically calculated New Moon phases.
Automatically calculated Full Moon phases.
Uses astronomical algorithms for precise ephemeris calculation.
RULE OF 3 CLUSTER DETECTION
Markets typically require multiple simultaneous astronomical events to produce significant movements. This indicator automatically detects when three or more events occur within a configurable time window (default: 3 days). Clusters are highlighted with background shading and labeled for easy identification.
HIERARCHICAL IMPORTANCE PRINCIPLE
Events are weighted by planetary velocity:
Slower-moving planets (Pluto, Neptune, Uranus) produce larger, longer-lasting market effects.
Faster-moving planets (Sun, Moon) produce shorter-duration effects.
Outer planet events occur less frequently and are therefore more significant.
CONFIGURABLE PARAMETERS:
Event Toggles:
Planet sign changes (0 degrees).
Ending degrees (29 degrees).
Retrograde and Direct stations.
24-degree harmonic intervals.
Sun sign changes.
Moon sign changes.
Mercury retrograde periods.
Major planetary aspects.
Moon phases (auto-calculated).
Aries ingress highlighting.
Rule of 3 cluster detection.
Display Settings:
Label size options (tiny, small, normal).
Individual color customization for each event category.
Cluster detection time window (1-14 days).
Minimum events for cluster threshold (2-5 events).
VISUAL INDICATORS:
Labels: Event markers positioned above/below price bars.
Lines: Vertical lines for significant events (Mercury retrograde, Aries ingress).
Background shading: Highlights Rule of 3 clusters.
Information table: Real-time display of active event filters.
DATA INPUT REQUIREMENTS:
Sample astronomical event dates are provided as templates. For accurate real-time analysis, users should update dates using:
Professional astronomical ephemeris data.
Planetary position calculators.
Astronomical almanacs.
ASTRONOMICAL CALCULATION METHODS:
Moon phases are calculated using:
Julian Date conversion algorithms.
Solar and lunar anomaly calculations.
Ecclesiastical moon phase formulas.
Automatic adjustment for leap years.
APPLICATION IN MARKET ANALYSIS:
This indicator is designed to identify potential timing windows for market reversals, accelerations, or consolidations. It should be used in conjunction with:
Traditional technical analysis, volume trend indicators, risk management practices
LIMITATIONS:
Astronomical events indicate potential timing windows, not directional bias.
Correlation does not imply causation!!!
Historical correlation varies across different markets and time periods.
Should not be used as a standalone trading system.
RCOMANDATIONS:
Update event dates quarterly using current ephemeris data.
Monitor for Rule of 3 clusters as high-probability timing windows.
Pay particular attention to outer planet events (occur less frequently, higher significance).
Cross-reference astronomical timing with traditional support/resistance levels.
Use 0-degree Aries ingress and 29-degree positions as primary alerts.
This indicator is for educational purposes. Astronomical timing methods should be integrated with comprehensive market analysis, data and proper risk management practices.
P.S THIS IS VERSION 1 AND STILL IN TEST
ATH Retracement Levels### ATH Retracement Levels Indicator
**Overview**
The ATH Retracement Levels indicator is a powerful tool designed for technical analysts and traders seeking to identify key support zones during market pullbacks. By dynamically calculating the all-time high (ATH) of the instrument's price history, this indicator automatically plots horizontal retracement lines at -5%, -10%, -15%, and -20% below the ATH. These levels serve as potential support thresholds, helping traders anticipate price reactions and refine entry/exit strategies in trending or consolidating markets.
**Key Features**
- **Dynamic ATH Detection**: Continuously tracks and updates the highest high across the entire chart history for real-time relevance.
- **Customizable Retracement Lines**:
- **ATH Line** (Green, 2px): Marks the peak price for quick visual reference.
- **-5% Level** (Red, 1px): Shallow pullback zone for early support testing.
- **-10% Level** (Orange, 1px): Moderate retracement, often a psychological barrier.
- **-15% Level** (Yellow, 1px): Deeper correction, signaling potential trend weakness.
- **-20% Level** (Purple, 1px): Significant drawdown level, ideal for contrarian setups.
- **Informative Labels**: On the latest bar, each level displays its precise price value (formatted to two decimal places) with color-coordinated tags for effortless interpretation.
- **Pine Script v5 Optimized**: Built for efficiency with `max_lines_count=500` to handle extended timeframes without performance lag. Fully overlay-compatible for seamless integration with other indicators.
**How to Use**
Apply this indicator to any chart (stocks, forex, crypto, etc.) via TradingView's Pine Editor. It works best on daily or higher timeframes for long-term trend analysis but adapts to intraday views. Watch for price bounces or breakdowns at these levels to inform trades—e.g., buy on a -10% retest with bullish confirmation. For advanced users, the open-source code allows easy tweaks, such as adding more levels or alerts.
Elevate your charting workflow with ATH Retracement Levels—precision meets simplicity for smarter trading decisions. Share your feedback or custom variations in the comments!
Seasonality Range Marker For better Seasonality Analysation. To see Seasionality patterns in the chart.
VSA No Supply by MashrabNo Supply Signal created by Mashrab
Hi everyone! This indicator helps you find low-risk entry points during an existing uptrend.
Its main job is to spot "quiet" pauses in a stock's advance, right before it's ready to continue its upward move.
What's the Big Idea?
Think of a stock in an uptrend like someone climbing a staircase. They can't sprint to the top all at once! Eventually, they need to pause, catch their breath, and then continue climbing.
This indicator helps you find that "catch your breath" moment. It looks for a specific signal that shows all the sellers are gone (what we call "No Supply"). When there's no one left to sell, the stock is much more likely to go up.
How It Works (The Signals)
The indicator gives you two simple signals on your chart:
1. The "Get Ready" Signal (Grey Dot)
The indicator is always checking to make sure the stock is in a general uptrend. When it spots a Grey Dot, it's telling you: "Hey, the stock just had a quiet pullback day. Pay attention!"
This dot only appears if the bar meets four conditions:
It's a "down" bar (closed lower than it opened).
It has low volume (this is key! It shows sellers aren't interested).
It has a narrow range (it was a quiet, low-volatility bar).
It closed in the top half of its range (buyers easily stepped in).
When you see a Grey Dot, you don't buy yet. You just add the stock to your watchlist.
2. The "Go" Signal (Blue Triangle)
This is your entry trigger! A Blue Triangle appears on the next bar only if it confirms the upward move. This bar must be:
An "up" bar (closed higher than it opened).
It has high volume (showing that buyers and "big money" are now back and pushing the price up with conviction).
How to Use This Indicator
Grey Dot: See this? The setup looks good. Time to watch this stock.
Blue Triangle: See this? This is your entry confirmation. The move is now "on."
Red Line: This is your safety net. The indicator automatically draws your Stop-Loss at the low of the "Grey Dot" bar. This helps you define your risk on the trade right from the start.
Settings
Uptrend MA Period: (Default: 50) This is just the moving average used to make sure the stock is in an uptrend.
Volume/Range Lookback: (Default: 20) This is how many bars the indicator looks back at to decide what "average" volume or "average" range is.
That's it! I hope this tool helps you find great setups. As always, this isn't a magic crystal ball. It's a tool to help you react to the market. Test it out, and happy trading!
Calculo de VOLIndicator Description for TradingView Publication
Title: Average Volatility Range Calculator (ADR, AWR, AMR)
Overview:
This Pine Script indicator calculates and displays Average Daily Range (ADR), Average Weekly Range (AWR), and Average Monthly Range (AMR) levels on your TradingView chart. It overlays horizontal lines representing key volatility ranges based on historical true range data, helping traders identify potential support/resistance zones, expansion targets, and volatility expectations for daily, weekly, and monthly timeframes. The ranges are projected from the current bar, extending left and right for better visualization, with customizable labels showing prices and percentage variations. Ideal for day traders, swing traders, and position traders in forex, stocks, crypto, or futures markets.
Key Features:
Multiple Range Types:
ADR: Average Daily Range over a configurable period (default: 22 days).
AWR: Average Weekly Range over a configurable period (default: 13 weeks).
AMR: Average Monthly Range over a configurable period (default: 6 months).
Each range can be independently enabled/disabled.
Reference Point Options:
Use daily/weekly/monthly open as the base reference (e.g., "From DO/WO/MO") for range calculations, or fallback to a dynamic high/low midpoint.
Expanded Levels:
Core levels: +100% (upper) and -100% (lower) ranges.
Intermediate levels: +25%, +50%, +75% (and negatives), with customizable visibility, color, and thickness.
Optional expansion up to +200% and -200% (in 25% increments) for extreme volatility scenarios.
Zero level (0%) line as a midpoint reference, configurable separately.
Visual Customization:
Individual colors, line styles (solid, dashed, dotted), and widths for main lines, zero lines, and intermediate levels.
Default colors optimized for dark backgrounds (e.g., cyan for ADR, orange for AWR, pink for AMR).
Labels: Toggleable price and percentage labels at the end of lines, with dynamic formatting (e.g., "ADR +100%: 1.2345 (+5.67%)").
Extension and Spacing Controls:
Lines extend left by a fixed 20 bars (lookback) and right by configurable candles (default: 20 per range type).
Horizontal spacing between range groups (default: 35 bars) to prevent label overlap; set to 0 for compact display.
Performance and Compatibility:
Uses request.security for higher timeframe data, ensuring accurate calculations across any chart timeframe.
Optimized for real-time updates with var declarations to minimize redraws.
Supports up to 500 lines and labels for complex setups without performance issues.
No alerts or plots; focused on overlay visualization for clean chart integration.
How to Use:
Add the indicator to your chart and adjust settings via the inputs panel. Enable the ranges you need, tweak periods for your asset's volatility, and customize visuals to match your strategy. For example, use ADR for intraday targets in forex pairs or AWR/AMR for longer-term planning in stocks. The percentage values help gauge relative volatility strength.
Notes:
This indicator does not provide trading signals; it's a tool for volatility analysis.
Tested on various assets; adjust periods based on market conditions.
Version: Pine Script v6.
Average Volatility Range Calculator (ADR, AWR, AMR) – Key Features
3 Volatility Ranges in One Indicator
ADR (Daily), AWR (Weekly), AMR (Monthly) – enable/disable independently.
Smart Reference Point
Option to use Open of the Period (DO/WO/MO) or High-Low Midpoint as base for range projection.
Multi-Level Grid
±100% (main range)
±25%, ±50%, ±75% (intermediate)
±125%, ±150%, ±175%, ±200% (expandable)
0% midline with dedicated style
Fully Customizable Visuals
Unique colors, thickness, and line styles (solid/dashed/dotted) for each range and level.
Price + % labels on the right (e.g., +100%: 1.0850 (+2.34%)).
Smart Horizontal Layout
Adjustable right extension per range (default: 20 bars).
Spacing control (default: 35 bars) to avoid label overlap – set to 0 for compact view.
Fixed 20-bar left alignment from current candle.
High Performance & Compatibility
Pine Script v6, uses var + request.security for smooth real-time updates.
Supports 500 lines/labels, works on any timeframe/asset.
Ideal for: intraday targets (ADR), swing setups (AWR), or long-term zones (AMR) in forex, crypto, stocks, futures.
Realtime Squeeze Box [CHE] Realtime Squeeze Box — Detects lowvolatility consolidation periods and draws trimmed price range boxes in realtime to highlight potential breakout setups without clutter from outliers.
Summary
This indicator identifies "squeeze" phases where recent price volatility falls below a dynamic baseline threshold, signaling potential energy buildup for directional moves. By requiring a minimum number of consecutive bars in squeeze, it reduces noise from fleeting dips, making signals more reliable than simple threshold crosses. The core innovation is realtime box visualization: during active squeezes, it builds and updates a box capturing the price range while ignoring extreme values via quantile trimming, providing a cleaner view of consolidation bounds. This differs from static volatility bands by focusing on trimmed ranges and suppressing overlapping boxes, which helps traders spot genuine setups amid choppy markets. Overall, it aids in anticipating breakouts by combining volatility filtering with visual containment of price action.
Motivation: Why this design?
Traders often face whipsaws during brief volatility lulls that mimic true consolidations, leading to premature entries, or miss setups because standard volatility measures lag in adapting to changing market regimes. This design addresses that by using a hold requirement on consecutive lowvolatility bars to denoise signals, ensuring only sustained squeezes trigger visuals. The core idea—comparing rolling standard deviation to a smoothed baseline—creates a responsive yet stable filter for lowenergy periods, while the trimmed box approach isolates the core price cluster, making it easier to gauge breakout potential without distortion from spikes.
What’s different vs. standard approaches?
Reference baseline: Traditional squeeze indicators like the Bollinger Band Squeeze or TTM Squeeze rely on fixed multiples of bands or momentum oscillators crossing zero, which can fire on isolated bars or ignore range compression nuances.
Architecture differences:
Realtime box construction that updates barbybar during squeezes, using arrays to track and trim price values.
Quantilebased outlier rejection to define box bounds, focusing on the bulk of prices rather than full range.
Overlap suppression logic that skips redundant boxes if the new range intersects heavily with the prior one.
Hold counter for consecutive bar validation, adding persistence before signaling.
Practical effect: Charts show fewer, more defined orange boxes encapsulating tight price action, with a horizontal line extension marking the midpoint postsqueeze—visibly reducing clutter in sideways markets and highlighting "coiled" ranges that standard plots might blur with full highs/lows. This matters for quicker visual scanning of multitimeframe setups, as boxes selflimit to recent history and avoid piling up.
How it works (technical)
The indicator starts by computing a rolling average and standard deviation over a userdefined length on the chosen source price series. This deviation measure is then smoothed into a baseline using either a simple or exponential average over a longer window, serving as a reference for normal volatility. A squeeze triggers when the current deviation dips below this baseline scaled by a multiplier less than one, but only after a minimum number of consecutive bars confirm it, which resets the counter on breaks.
Upon squeeze start, it clears a buffer and begins collecting source prices barbybar, limited to the first few bars to keep computation light. For visualization, if enabled, it sorts the buffer and finds a quantile threshold, then identifies the minimum value at or below that threshold to set upper and lower box bounds—effectively clamping the range to exclude tails above the quantile. The box draws from the start bar to the current one, updating its right edge and levels dynamically; if the new bounds overlap significantly with the last completed box, it suppresses drawing to avoid redundancy.
Once the hold limit or squeeze ends, the box freezes: its final bounds become the last reference, a midpoint line extends rightward from the end, and a tiny circle label marks the point. Buffers and states reset on new squeezes, with historical boxes and lines capped to prevent overload. All logic runs on every bar but uses confirmed historical data for calculations, with realtime updates only affecting the active box's position—no future peeking occurs. Initialization seeds with null values, building states progressively from the first bars.
Parameter Guide
Source: Selects the price series (e.g., close, hl2) for deviation and box building; influences sensitivity to wicks or bodies. Default: close. Tradeoffs/Tips: Use hl2 for balanced range view in volatile assets; stick to close for pure directional focus—test on your timeframe to avoid oversmoothing trends.
Length (Mean/SD): Sets window for average and deviation calculation; shorter values make detection quicker but noisier. Default: 20. Tradeoffs/Tips: Increase to 30+ for stability in higher timeframes, reducing false starts; below 10 risks overreacting to singlebar noise.
Baseline Length: Defines smoothing window for the deviation baseline; longer periods create a steadier reference, filtering regime shifts. Default: 50. Tradeoffs/Tips: Pair with Length at 1:2 ratio for calm markets; shorten to 30 if baselines lag during fast volatility drops, but watch for added whips.
Squeeze Multiplier (<1.0): Scales the baseline downward to set the squeeze threshold; lower values tighten criteria for rarer, stronger signals. Default: 0.8. Tradeoffs/Tips: Tighten to 0.6 for highvol assets like crypto to cut noise; loosen to 0.9 in forex for more frequent but shallower setups—balances hit rate vs. depth.
Baseline via EMA (instead of SMA): Switches baseline smoothing to exponential for faster adaptation to recent changes vs. equalweighted simple average. Default: false. Tradeoffs/Tips: Enable in trending markets for quicker baseline drops; disable for uniform history weighting in rangebound conditions to avoid overreacting.
SD: Sample (len1) instead of Population (len): Adjusts deviation formula to divide by length minus one for smallsample bias correction, slightly inflating values. Default: false. Tradeoffs/Tips: Use sample in short windows (<20) for more conservative thresholds; population suits long looks where bias is negligible, keeping signals tighter.
Min. Hold Bars in Squeeze: Requires this many consecutive squeeze bars before confirming; higher denoise but may clip early setups. Default: 1. Tradeoffs/Tips: Bump to 35 for intraday to filter ticks; keep at 1 for swings where quick consolidations matter—trades off timeliness for reliability.
Debug: Plot SD & Threshold: Toggles lines showing raw deviation and threshold for visual backtesting of squeeze logic. Default: false. Tradeoffs/Tips: Enable during tuning to eyeball crossovers; disable live to declutter—great for verifying multiplier impact without alerts.
Tint Bars when Squeeze Active: Overlays semitransparent color on bars during open box phases for quick squeeze spotting. Default: false. Tradeoffs/Tips: Pair with low opacity for subtlety; turn off if using boxes alone, as tint can obscure candlesticks in dense charts.
Tint Opacity (0..100): Controls background tint strength during active squeezes; higher values darken for emphasis. Default: 85. Tradeoffs/Tips: Dial to 60 for light touch; max at 100 risks hiding price action—adjust per chart theme for visibility.
Stored Price (during Squeeze): Price series captured in the buffer for box bounds; defaults to source but allows customization. Default: close. Tradeoffs/Tips: Switch to high/low for wider boxes in gappy markets; keep close for midline focus—impacts trim effectiveness on outliers.
Quantile q (0..1): Fraction of sorted prices below which tails are cut; higher q keeps more data but risks including spikes. Default: 0.718. Tradeoffs/Tips: Lower to 0.5 for aggressive trim in noisy assets; raise to 0.8 for fuller ranges—tune via debug to match your consolidation depth.
Box Fill Color: Sets interior shade of squeeze boxes; semitransparent for layering. Default: orange (80% trans.). Tradeoffs/Tips: Soften with more transparency in multiindicator setups; bold for standalone use—ensures boxes pop without overwhelming.
Box Border Color: Defines outline hue and solidity for box edges. Default: orange (0% trans.). Tradeoffs/Tips: Match fill for cohesion or contrast for edges; thin width keeps it clean—helps delineate bounds in zoomed views.
Keep Last N Boxes: Limits historical boxes/lines/labels to this count, deleting oldest for performance. Default: 10. Tradeoffs/Tips: Increase to 50 for weekly reviews; set to 0 for unlimited (risks lag)—balances history vs. speed on long charts.
Draw Box in Realtime (build/update): Enables live extension of boxes during squeezes vs. waiting for end. Default: true. Tradeoffs/Tips: Disable for confirmedonly views to mimic backtests; enable for proactive trading—adds minor repaint on live bars.
Box: Max First N Bars: Caps buffer collection to initial squeeze bars, freezing after for efficiency. Default: 15. Tradeoffs/Tips: Shorten to 510 for fast intraday; extend to 20 in dailies—prevents bloated arrays but may truncate long squeezes.
Reading & Interpretation
Squeeze phases appear as orange boxes encapsulating the trimmed price cluster during lowvolatility holds—narrow boxes signal tight consolidations, while wider ones indicate looser ranges within the threshold. The box's top and bottom represent the quantilecapped high and low of collected prices, with the interior fill shading the containment zone; ignore extremes outside for "true" bounds. Postsqueeze, a solid horizontal line extends right from the box's midpoint, acting as a reference level for potential breakout tests—drifting prices toward or away from it can hint at building momentum. Tiny orange circles at the line's start mark completion points for easy scanning. Debug lines (if on) show deviation hugging or crossing the threshold, confirming hold logic; a persistent hug below suggests prolonged calm, while spikes above reset counters.
Practical Workflows & Combinations
Trend following: Enter long on squeezeend close above the box top (or midpoint line) confirmed by higher high in structure; filter with rising 50period average to avoid countertrend traps. Use boxes as support/resistance proxies—short below bottom in downtrends.
Exits/Stops: Trail stops to the box midpoint during postsqueeze runs for conservative holds; go aggressive by exiting on retest of opposite box side. If debug shows repeated threshold grazes, tighten stops to curb drawdowns in ranging followups.
Multiasset/MultiTF: Defaults work across stocks, forex, and crypto on 15min+ frames; scale Length proportionally (e.g., x2 on hourly). Layer with highertimeframe boxes for confluence—e.g., daily squeeze + 1H box for entry timing. (Unknown/Optional: Specific multiTF scaling recipes beyond proportional adjustment.)
Behavior, Constraints & Performance
Repaint/confirmation: Core calculations use historical closes, confirming on bar close; active boxes repaint their right edge and levels live during squeezes if enabled, but freeze irrevocably on hold limit or end—mitigates via barbybar buffer adds without future leaks. No lookahead indexes.
security()/HTF: None used, so no external timeframe repaints; all native to chart resolution.
Resources: Caps at 300 boxes/lines/labels total; small arrays (up to 20 elements) and short loops in sorting/minfinding keep it light—suitable for 10k+ bar charts without throttling. Persistent variables track state across bars efficiently.
Known limits: May lag on ultrasharp volatility spikes due to baseline smoothing; gaps or thin markets can skew trims if buffer hits cap early; overlaps suppress visuals but might hide chained squeezes—(Unknown/Optional: Edge cases in nonstandard sessions).
Sensible Defaults & Quick Tuning
Start with defaults for most liquid assets on 1Hdaily: Length 20, Multiplier 0.8, Hold 1, Quantile 0.718—yields balanced detection without excess noise. For too many false starts (choppy charts), increase Hold to 3 and Baseline Length to 70 for stricter confirmation, reducing signals by 3050%. If squeezes feel sluggish or miss quick coils, shorten Length to 14 and enable EMA baseline for snappier adaptation, but monitor for added flips. In highvol environments like options, tighten Multiplier to 0.6 and Quantile to 0.6 to focus on core ranges; reverse for calm pairs by loosening to 0.95. Always backtest tweaks on your asset's history.
What this indicator is—and isn’t
This is a volatilityfiltered visualization tool for spotting and bounding consolidation phases, best as a signal layer atop price action and trend filters—not a standalone predictor of direction or strength. It highlights setups but ignores volume, momentum, or news context, so pair with discreteness rules like higher highs/lows. Never use it alone for entries; always layer risk management, such as 12% stops beyond box extremes, and position sizing based on account drawdown tolerance.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on HeikinAshi, Renko, Kagi, PointandFigure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
LP's Distribution KillzonesLukesProjections High Volume Kill Zones
This includes the London and New York session Killzones.
W%R Cycle Swings + MTF Trend✅ Description (ภาษาไทย)
อินดิเคเตอร์นี้ช่วยระบุ Swing High / Swing Low จากวงจรของ Williams %R และตรวจหา MSS (Market Structure Shift) เฉพาะ “จุดเปลี่ยนเทรนด์ครั้งแรก” จริง ๆ โดยจะแสดงป้าย MSS พร้อมเส้นแนวนอนจาก Swing ไปยังแท่งที่ทำให้เกิดการ Break โครงสร้าง (ไม่ยืดเส้นยาวจนเกะกะ)
พร้อมทั้งมี MTF Trend Table (5m / 15m / 30m / 1h / 4h) เพื่อบอกว่าแต่ละ Timeframe กำลังอยู่ใน โครงสร้างขาขึ้น (Up) หรือ ขาลง (Down) โดยใช้หลักการ MSS-first ของ TF นั้นจริง ๆ (ไม่ใช่การคำนวณจาก TF ปัจจุบัน)
ดังนั้นทิศทางในตารางจะ นิ่งกว่า / ไม่แกว่งมั่ว และสะท้อนโครงสร้างตลาดจริง
🧠 หลักการสำคัญ
สัญญาณ หมายถึง
Swing High/Low บ่งบอกโซน Pivot ที่มีนัยยะ
MSS Bullish ราคา Break Swing High → เทรนด์เริ่มมีโอกาสกลับขึ้น
MSS Bearish ราคา Break Swing Low → เทรนด์เริ่มมีโอกาสกลับลง
MTF Up/Down ทิศทางแนวโน้มของ TF นั้นตาม MSS-first
🎯 วิธีใช้งาน
ดู จังหวะเกิด MSS → คือช่วงที่ตลาดกำลังเริ่ม “เปลี่ยนเฟส”
รอให้ราคา Pullback กลับมา Retest โซนก่อนหน้า (Swing Zone)
เข้าเทรดตามทิศทาง MSS พร้อมดูยืนยันว่า TF ใหญ่ยัง ไปทางเดียวกัน ผ่าน MTF Table
ถ้า MTF ส่วนใหญ่ขึ้น → เทรด Long จะง่ายกว่า
ถ้า MTF ส่วนใหญ่ลง → เทรด Short จะได้เปรียบ
⚠️ ข้อควรระวัง
ถ้า Swing เกิดถี่ = ตลาดกำลัง Sideways → เน้นดู TF ใหญ่ประกอบ
อินดิเคเตอร์นี้ให้ โครงสร้าง (Structure Bias) ไม่ได้เป็นสัญญาณเข้าอัตโนมัติ ควรใช้ร่วมกับ:
Order Block
FVG / Liquidity Grab
ราคาเข้าใกล้ Zone สำคัญ
==========================================================================
✅ Description (English)
This indicator identifies Swing High / Swing Low using the Williams %R cycle and detects MSS (Market Structure Shift) only at the first directional break — marking the true beginning of a trend change.
It places an MSS label and a horizontal break line (non-extended, clean view).
It also includes a Multi-Timeframe Trend Table (5m / 15m / 30m / 1h / 4h) calculated using each timeframe’s own MSS-first logic, making the trend signal more reliable and less noisy than standard MA/RSI-based direction tracking.
🧠 Interpretation
Signal Meaning
Swing High/Low Key pivot zones
Bullish MSS Break of previous Swing High → start of upward structure
Bearish MSS Break of previous Swing Low → start of downward structure
MTF Up/Down Trend direction of each timeframe based on MSS-first
🎯 How to Use
When an MSS occurs, the market is likely shifting regime.
Wait for price to pull back into the prior swing zone.
Enter in the direction of MSS while confirming higher timeframe alignment using the MTF table.
If most MTFs are Up → favor Long setups
If most MTFs are Down → favor Shorts
⚠️ Notes
Frequent swings indicate range/accumulation → rely more on higher TF structure.
This indicator provides market structure bias, not automatic entry signals.
Best used with:
Order Blocks
FVG / Imbalance
Liquidity sweep confirmations
Fast Trend Reversal vFib CleanThe Fast Trend Reversal vFib Clean indicator is a powerful tool designed for traders who want precise entries and reduced noise in any market condition. By combining Fibonacci-based price movement thresholds, EMA trend filtering, momentum slope analysis, and ATR-based sideways filters, this indicator identifies high-probability reversal points with clarity.
✅ Key Features:
Detects trend reversals using Fibonacci levels of previous swings.
Filters out false signals during sideways or low-volatility periods using ATR and momentum slope.
Ensures signal alternation — no repeated buys or sells until the opposite move occurs.
Adjustable cooldown period to reduce signal noise in choppy markets.
Works reliably on any timeframe and symbol.
Includes optional exhaustion/doji filter for extra confirmation.
Whether you’re trading Forex, Crypto, or Stocks, this indicator helps you spot trend reversals early, reduce lag, and stay in the right direction with confidence.
Tip: Combine with volume analysis or other confirmation tools to further enhance trade accuracy.
BAY Technical Indicators//@version=5
indicator("BAY Technical Indicators", overlay=true)
// Price source
price = close
// VWAP
vwap = ta.vwap
plot(vwap, title="VWAP", color=color.blue, linewidth=2)
// SMMA (RMA) 20 and 50
smma20 = ta.rma(price, 20)
smma50 = ta.rma(price, 50)
plot(smma20, title="SMMA 20", color=color.lime)
plot(smma50, title="SMMA 50", color=color.purple)
// EMA 9 and 21
ema9 = ta.ema(price, 9)
ema21 = ta.ema(price, 21)
plot(ema9, title="EMA 9", color=color.white)
plot(ema21, title="EMA 21", color=color.red)
// MA 200
ma200 = ta.sma(price, 200)
plot(ma200, title="MA 200", color=color.orange, linewidth=2)
// SMA 325 (Dark Green)
sma325 = ta.sma(price, 325)
plot(sma325, title="SMA 325", color=color.new(color.green, 0)) // Dark green
// Volume SMA 9 (plotted in data window only)
volume_sma9 = ta.sma(volume, 9)
plot(volume_sma9, title="Volume SMA 9", color=color.fuchsia, linewidth=1, display=display.data_window)























