Opening Volume Scanner - Full AnalyticsOpening Volume Scanner - Full Analytics
A volume analysis tool designed to identify unusual opening volume patterns by comparing bar volume to average daily volume (ADV). The indicator colors candlesticks when volume exceeds specified thresholds during the first bars of the trading session.
Core Functionality:
Monitors volume as a percentage of ADV for the first N bars from session open (default: 5 bars)
Colors bars across 4 progressive threshold levels (default: 5%, 10%, 20%, 50% of ADV)
Calculates ADV using a customizable period (default: 20 days)
Optional bullish-only filter to display only green bars that meet volume criteria
Volume Metrics:
Bar % of ADV: Current bar volume expressed as percentage of average daily volume
RVOL (Relative Volume): Bar volume divided by ADV (e.g., 5.0x = 500% of ADV)
30-Min Cumulative: Sum of volume for first 30 bars expressed as % of ADV
$ Volume: Bar dollar volume in millions or billions
Display Features:
Customizable data table showing real-time metrics (position, size, colors adjustable)
Optional $ volume indicator with 9 symbol choices (triangle, arrow, circle, etc.)
Progressive color coding: yellow/orange/red for increasing volume intensity
Green color scale for RVOL and cumulative thresholds
Alert System:
RVOL alerts at configurable thresholds (default: 5x, 10x, 20x)
30-minute cumulative alerts at configurable % ADV levels (default: 100%, 150%, 200%)
All alerts can be toggled on/off independently
Customization Options:
All threshold levels and colors are adjustable
Table rows can be individually shown/hidden
Background transparency and border options
Compatible with all timeframes (designed for 1-minute charts)
Use Case:
Identifies stocks experiencing unusual opening volume activity relative to their normal trading patterns. Useful for momentum traders looking for early signs of institutional activity or catalyst-driven moves in the first minutes of the session.
インジケーターとストラテジー
Time SessionTime Session is a lightweight indicator to visually highlight up to 3 trading time windows on any chart. It’s built to help you verify sessions precisely (especially when TradingView timezones/session handling can be confusing).
Key Features
3 independent session slots (enable/disable each slot)
Global timezone mode:
EXCHANGE : uses the symbol’s exchange timezone (recommended in most cases)
CUSTOM : use your own timezone string, copy the timezone label shown on your chart (bottom-right corner) and paste it into the CUSTOM field.
Example: `UTC+1`, `UTC+2`, `UTC-5`, etc.
Background highlighting for each slot (custom color + transparency)
Start/End markers at the bottom of the chart:
S1 = Slot 1 Start , E1 = Slot 1 End
S2 = Slot 2 Start , E2 = Slot 2 End
S3 = Slot 3 Start , E3 = Slot 3 End
Data Window debug : `inSlot1`, `inSlot2`, `inSlot3`, `inAny`
How to Use
1. Add the indicator to your chart.
2. Set Timezone Mode to EXCHANGE or CUSTOM .
3. If CUSTOM , paste the chart timezone label (e.g., `UTC+1`)
4. Configure Session Slot 1/2/3 using `HHMM-HHMM` (example: `07:00-18:00`).
5. Use the highlighted background and **S/E markers** to confirm the exact hours.
Good Trading
XAMD - cycles shows a table of active amd phases saves the trouble of having to look through htfs and you just see a table of them all
5 Min FVG ORB by LybandzThis is a 5 minute ORB strategy. Essentially all it does is give buy signals if we broke above and got a bullish FVG and gives sell signals if we break down and get a bearish FVG. Its a little sloppy but it does give correct buy/sell signals. It also plots overnight levels. Ignore the SL/TP levels, those arent made correctly yet and I am too lazy to fix it. Just place the stop loss under the FVG candle and put the take profit at either 1:1.5 or 1:2 RR. Breakeven at internal highs/lows or after a volatile large move in your favored direction.
Note - for the entries, make sure to enter after a signal is given on M1. Using M5 timeframe will give different (but similar) results. Put your stop under the M1 FVG and go breakeven at 1:1 RR. Take a partial at 1:1.5 and hold the rest to whatever you want.
Enjoy :)
Volatility-Based Stop CalculatorVolatility-Based Stop Calculator
Daily volatility-based stop distance and target levels with regime awareness using VIX-derived stress features
Overview
Volatility-Based Stop Calculator is a daily risk-sizing helper that computes ATR-based stop distances and target levels using a volatility regime score built from VIX momentum, VIX acceleration, and SPY realized volatility. It is not a signal or entry tool; it provides a consistent stop distance and target ladder for the current session.
Key Features
Volatility Regime Scoring: Uses VIX momentum (5‑day change), VIX acceleration, and SPY realized volatility to create a daily severity score.
Quantile Buckets: Maps the severity score into 4 volatility buckets (LOW / NORMAL / ELEVATED / EXTREME).
Dynamic k Multiplier: Adjusts stop distance via VIX percentile, gap risk (ETFs only), realized vol ratio, and VIX9D term stress.
ATR-Based Stops: Final stop distance is ATR × k, rounded to tick size.
Targets Ladder: Plots TP1/TP2/TP3 and stop levels from a reference price (daily close or live price).
Overlap Consolidation: In Both mode, overlapping long/short levels are merged into a single line/label.
Live Lines + Labels: Uses dynamic lines and labels (not plot lines) for clean chart overlays.
Table Summary: Monospace table showing regime, k, ATR, stop distance, and volatility stats.
How It Works
Daily Data Pull: Uses daily bars for all volatility calculations to match the original daily model.
Severity Score: Ranks VIX momentum, VIX acceleration, and SPY realized vol, then blends them with weights.
Bucket Mapping: Converts severity into 4 quantile buckets and selects base k per bucket.
Dynamic Adjustments: Adds VIX percentile, ETF gap risk, asset vs market realized vol, and VIX9D term stress.
Stop + Targets: Computes stop distance and applies 1R/2R/3R targets from the reference price.
Use Cases
Stop Placement: Avoid stops that are too tight in high volatility or too wide in low volatility.
Risk Sizing: Use the stop distance with your own risk model to size positions.
Daily Context: Track volatility regime shifts without needing a separate regime model.
Consistent Execution: Standardize stop/target placement across sessions.
Settings
Volatility Inputs:
VIX Symbol, VIX9D Symbol
SPY Symbol (market baseline)
NQ/ES Baseline Symbols (futures baselines)
Stop Model:
ATR EMA Span
VIX Percentile Window
Severity Lookback
Bucket Lookback
Gap Lookback (ETFs)
Bucket Smoothing
Display:
Show Levels (Long/Short/Both)
Use Live Price (current chart) or Daily Close
Level Line Style/Width
Label Size and Position
Long/Short/Overlap colors
Table Styling:
Background, header, border, frame, and text settings
Table position and text size
Technical Notes
All volatility calculations are based on daily data; intraday charts use daily series under the hood.
Futures gap adjustment is disabled; ETFs include gap risk.
This is a risk sizing helper, not a trade signal generator.
Best Practices
Use daily regime output to set stops, then execute on your preferred timeframe.
Confirm symbol mappings for VIX/VIX9D/ES/NQ in your data feed.
If levels feel too wide or tight, adjust the k inputs rather than ATR length first.
A daily volatility‑based stop calculator that adapts stop distance and targets to the current regime.
ZigZag with Day Count + Month Shading (Selectable) A clean ZigZag indicator that shows how long each trend lasts.
Each completed ZigZag leg is labeled with:
The number of days the trend lasted
The start and end dates (for example: 10th jan → 25th jan)
You can also:
Shade only the months you care about (each month can be turned on or off)
Add optional vertical lines at the start and end of each trend
Customize label size, colours, and transparency
This indicator is useful for understanding trend duration, timing, and seasonal behaviour at a glance.
Adaptive Nadaraya-Watson (Non Repainting) [Metrify]To understand this implementation of the Nadaraya-Watson estimator, we have to look at the core equation governing non-parametric regression. This script aren't trying to average prices; we are trying to find the probability density of where price should be relative to its recent history.
1. The Kernel Physics (Bandwidth Modulation)
In standard kernel regression, you have a bandwidth parameter (h). This controls the "smoothness" of the curve. If h is too low, the curve jitters with every tick of noise. If h is too high, it acts like a sluggish SMA.
A static h fails because market volatility is dynamic. When the market explodes (high volatility), a tight bandwidth generates false signals. When the market sleeps, a wide bandwidth misses the micro-trends.
It try solving this by making h a function of the Asset's volatility ratio:
heff=h×max(0.5,min(SMA(ATR20,100)ATR20,2.0))
If the current ATR(20) is double the long-term average (100), the bandwidth doubles. This forces the estimator to "zoom out" during chaos, effectively ignoring noise that would otherwise look like a reversal.
vol_ratio = use_vol ? vol_raw / (vol_base == 0 ? 1 : vol_base) : 1.0
vol_mod = math.max(0.5, math.min(vol_ratio, 2.0))
h_eff = h_val * vol_mod
2. The Gaussian Loop (Endpoint Estimation)
Standard Nadaraya-Watson scripts repaint because they calculate the regression over a full window centered on the bar. To make this usable for live trading, we must calculate the Endpoint Estimate.
We iterate backward from the current bar (i=0) to the lookback limit. For every historical price Xi, we calculate a weight wi based on how far away it is in time (distance).
The weight is derived from the Gaussian Kernel function:
wi=exp(−2heff2i2)
Price data closer to the current bar (i=0) gets a weight near 1.0. Data further away (i=50) decays exponentially toward 0.
for i = 0 to lookback by 1
float dist = float(i)
float w = math.exp(-math.pow(dist, 2) / (2 * math.pow(h_eff, 2)))
num := num + w * src
den := den + w
3. Statistical Deviation (MAE vs. StDev)
Most Bollinger Band-style indicators use Standard Deviation (Root Mean Square). The problem with StDev is that it squares the errors, which heavily penalizes large outliers. In crypto or volatile forex pairs, one wick can blow out the bands for 20 bars.
This one use Mean Absolute Error (MAE) instead.
MAE=N1∑∣Price−y^∣
MAE is linear. It measures the average distance price strays from the kernel estimate without squaring the penalty. This creates "tighter" bands that adhere closer to price action during normal trend behavior but don't expand ridiculously during a flash crash.
Pine Script
float error = math.abs(src - y_hat)
float mae = ta.sma(error, lookback)
We project two sets of bands:
Inner Band (Balanced): The "Noise Zone". Price inside here is considered random walk.
Outer Band (Precision): The "Exhaustion Zone". Price reaching here is statistically unlikely (2.8x MAE).
Input & Visual Summary
Kernel Physics:
h_val: The base smoothness. Lower (e.g., 6) = faster, noisier. Higher (e.g., 10) = slower, smoother.
use_vol: Keep this TRUE. It prevents the bands from being too tight during news events.
Envelope Statistics:
mult_in / mult_out: These are your risk settings. 1.5/2.8 is a standard deviation-like setting suited for MAE.
SFP Trend & VWAP Liquidity Pro [Zofesu]🎯 SFP Trend & VWAP Liquidity Pro
Master the Flow with Institutional Precision.
It was primarily built on Nasdaq, sometimes works on Crypto and Commodities, mostly on Indices. Suitable for periods when the market is going sideways. Requires longer setup.
This indicator is a high-performance trading tool designed to identify Swing Failure Patterns (SFP) while maintaining strict alignment with market momentum. By combining Dynamic Liquidity Zones with a Dual-Filter Trend Engine , it ensures you only trade the most high-probability sweeps in the direction of institutional money.
🧠 The Philosophy
Trading liquidity sweeps (SFP) without a trend filter is like catching falling knives. This tool solves that by requiring Confluence . It identifies where retail stop-losses are being hunted and confirms if the major trend (VWAP/MA) is ready to defend that level.
🛠️ Key Features & Functionality
⚡ Smart SFP Detection: Automatically tracks historical Swing Highs and Lows to detect "fakeouts" where price sweeps liquidity and closes back within the range.
🛡️ Dual-Filter Trend Engine: Two fully customizable filters (EMA, SMA, HMA, or VWAP). You can use them to define a "Golden Zone" for entries.
⚓ Professional VWAP Anchoring: Choose how your volume-weighted price resets—Session, Week, Month, or Year. This allows you to track institutional value from intraday to long-term swing perspectives.
📊 Dynamic Liquidity Lines: Real-time visual tracking of the most recent "Upper" and "Lower" liquidity levels.
⚙️ Customizable Modes
The Institutional Fort: Use two slow MAs (e.g., 2000 & 5000) for maximum safety. Only take SFPs that align with the long-term macro trend.
The Volume Specialist: Combine one MA with a Weekly/Monthly VWAP. This aligns price action with pure volume-weighted value.
The Pure Aggressor: Turn off MA filters and use only Session VWAP for high-frequency scalping and rapid liquidity plays.
🚀 How to Trade with STVL Pro
Long Signal (BULL SFP): Price sweeps below a Swing Low but closes above it + Price is trending above your active Filters (A & B).
Short Signal (BEAR SFP): Price sweeps above a Swing High but closes below it + Price is trending below your active Filters (A & B).
You can preset filter A to EMA 2000
You can preset filter B to HMA 5000.
If the price is approaching the green lookback, just switch filter B to VWAP, you don't have to change the numbers. VWAP automatically uses the "Session" setting. So you will have EMA as support on the chart and VWAP will search for SFP. If HMA is closer to the red lookback zone, switch filter A to VWAP, it will search for SFP for short. SFP label may not always appear, it is very strict.
⚠️ Disclaimer
Past performance does not guarantee future results. Always use proper risk management. Designed for disciplined traders who value quality over quantity.
Money Management Trade Data BoxTrade Data Box - Money Management Indicator
Overview
This indicator provides real-time position sizing and risk management calculations directly on your chart. It displays a clean data box that helps traders maintain disciplined risk management by automatically calculating the optimal number of contracts to trade based on ATR (Average True Range) volatility measurements.
What It Does
The indicator solves a critical problem that many traders face: determining the correct position size before entering a trade. Instead of manually calculating how many contracts to trade based on your risk tolerance and stop loss distance, this tool does all the math for you in real-time.
Key Features
ATR-Based Stop Loss & Target Calculation
Uses the Average True Range to set dynamic stop losses and profit targets that adapt to current market volatility
ATR multipliers allow you to customize how conservative or aggressive your stops and targets are (reasonable reward-to-risk ratio).
Automatic Position Sizing
Calculates exactly how many contracts you should trade to risk a specific dollar amount
Takes into account your defined risk per trade, the instrument's tick value, and the calculated stop loss distance
Updates continuously as market conditions change
Visual Data Box
Displays four critical pieces of information:
Target (ticks): How far your profit target is from entry
Stop (ticks): How far your stop loss should be placed
Risk Amount: Your fixed dollar risk per trade
Contracts: The calculated number of contracts to trade
Customization Options
Adjustable table size for different screen sizes
Six position options to place the box wherever you prefer on your chart
Optional "real close" dots to verify you're seeing actual closing prices if you are using Heiken Ashi Candles.
How Traders Use This
Set Your Risk Parameters: Input your maximum dollar risk per trade (e.g., $200) and the tick value for your instrument (e.g., $0.50 for Micro NQ (MNQ) futures)... verify your tick value before trading to ensure your risk management is correct.
Adjust ATR Settings: Customize the ATR length and multipliers based on your trading style and the instrument's characteristics.
Read the Box Before Trading: Before entering any trade, check the data box to know:
Where to place your stop loss
Where to set your profit target
How many contracts to trade to maintain consistent risk
Execute with Confidence: Enter your trade knowing you're risking exactly the amount you're comfortable with, regardless of how volatile the market is
Why This Matters
Professional traders know that position sizing is more important than entry timing. This indicator ensures you're never over-leveraged during volatile periods or under-leveraged during quiet markets. By basing calculations on ATR, your stops and targets automatically adjust to current market conditions, helping you maintain consistent risk across all trades.
Teril ema 20 second candle logicHA EMA20 Close Cross and second Candle OneWick Filter
HA EMA20 Close Cross and second Candle OneWick Filter
HA EMA20 Close Cross and second Candle OneWick Filter
HA EMA20 Close Cross and second Candle OneWick Filter
CTR RSI Trigger After MA CrossI use this in connection with my other indicator. Helps confirm my entries. Reach out and let me know if you want to learn how I use this for Bitcoin trading.
CTR Dual Custom MAs + PullbacksUsing this is helping me get in on the pullbacks by watching my higher frame charts and exciting on the lower timeframes. Those interested in learning my trading strategy using this indicator reach out and message back and I will connect with you through my Discord channel. It's free so no worries there.
Super EMA Trio (20 50 200)Triple EMA 20/50/200. This is self-explanatory. TradingView wants me to add more text to this because it thinks people can't figure out how to use this script. I don't know why. It seems pretty dumb of them to require more text for nothing.
ronyImran Rony is an advanced based binary trading indicator designed to deliver high-accuracy CALL & PUT signals on short timeframes.
It uses RSI volatility with TMA deviation channels to identify overbought and oversold market conditions, while the optional EMA Trend Force filter helps avoid counter-trend trades and improves overall signal quality.
All signals are non-repainting and confirmed after candle close.
The indicator also features a real-time performance dashboard displaying Win Rate, total Wins & Losses, current Trend direction, and active signal status, allowing traders to monitor performance directly on the chart.
Best suited for Binary Options trading on 1M–5M timeframes, including OTC and Forex pairs.
⚠️ This indicator is for technical analysis only. Always use proper risk management.
This Code Made by Imran Rony
Telegram : @Imran_755
NQ Implied Range GovernorThis Pine Script v6 indicator, “NQ Implied Range (VIX ÷ √N) Governor”, builds a real-time implied range framework for Nasdaq futures by importing a volatility index (default CBOE:VXN) on a user-selected timeframe and smoothing it with an EMA. It converts the annualized vol reading into a daily 1σ percentage move via oneSigmaPct = (VIX ÷ √252)/100, then maps that into a point-based implied move from a session “anchor” price. The anchor is locked at RTH session start (0930–1600 ET by default) based on your chosen mode (RTH Open, prior bar close, or daily open). A band mode selector controls how sigma is interpreted: an “Intraday Range” mode uses √(2/π) (~0.798) as a proxy for expected max excursion, while close-to-close modes use ±1σ or ±2σ envelopes; a separate calibration multiplier lets you widen/tighten the bands beyond theory.
Once the implied move is computed, the script plots the upper/lower 1.0 bands, the anchor midline, and optional fills above/below the anchor. It then derives symmetric Fibonacci retracement levels between the anchor and each band (.236, .382, .500, .618, .786) and optional extensions (1.272, 1.618), with right-edge price labels for quick reading. In parallel, it tracks realized RTH range (session high–low) and compares it to the implied total range to produce a “range spent” ratio, dynamically color-coded from green → yellow → orange → red as the session consumes volatility budget. That ratio drives a session-end summary label (realized vs implied, bands, % spent), a configurable dashboard table showing model inputs/outputs (smoothed vol, raw σ%, anchor, ± bands, total range, realized, remaining, distance to bands), and a set of alert conditions for key events: crossing spent thresholds (70/100/120%), touching outer bands, touching key fib levels, extension hits, and session start/end.
Livermore 5-Step Trade Dashboard [t2make]█ OVERVIEW
Jesse Livermore — arguably the greatest stock trader of the 20th century — never entered a trade on impulse. In "How to Trade in Stocks" (1940), he outlined a disciplined, top-down checklist that filtered out noise and kept him on the right side of the market.
This indicator translates Livermore's 5-step pre-trade test into a real-time, on-chart dashboard that automatically evaluates both LONG and SHORT setups simultaneously and tells you which direction has the stronger case — or tells you to sit on your hands.
No manual switching. No guessing. The market speaks, and the dashboard listens.
█ THE 5 STEPS
① MARKET TREND — "There is a time to go long, a time to go short, and a time to go fishing."
Compares fast/slow EMAs on your chosen market index (default: SPY). If the general market isn't trending in a clear direction, there's no trade. Period.
② SECTOR TREND — "Stocks move in groups. You must know which group your stock belongs to."
Checks whether the sector ETF (XLK, XLF, XLE, etc.) is confirming the broader trend. Livermore never fought the group.
③ STOCK ACTION — "The stock must be acting right."
The individual stock must be trending (EMA alignment) AND showing above-average volume. Trend without conviction is just drift.
④ PIVOTAL TIMING — "The pivotal point is where the money is made."
Price must be at or near a pivot high (for longs) or pivot low (for shorts), confirmed by RSI momentum. This is Livermore's famous "line of least resistance" — enter only when the stock is ready to move.
⑤ RISK MANAGEMENT — "Always define your risk before entering a trade."
ATR-based stop-loss, position risk as a percentage, and minimum reward-to-risk ratio. If the math doesn't work, the trade doesn't happen.
█ AUTO DIRECTION
This is the key differentiator. The script scores all 5 steps for both Long AND Short independently, then:
• The side with more passing steps wins
• If tied, the side aligned with the market trend (Step 1) takes priority
• If neither side scores, the dashboard shows "— NONE" — stay flat
The bottom row always displays both scores side by side (e.g., ▲ L 4/5 vs ▼ S 1/5) so you can see the full picture at a glance.
█ DASHBOARD SIGNALS
✅ GO TRADE — 5/5 steps pass. This is your green light.
⚠ ALMOST — 4/5 steps pass. One condition away — watch closely.
⏳ WATCH — 3/5 steps pass. Setup is forming but not ready.
🚫 NO TRADE — Below 3/5. Stay out.
On-chart markers:
🟢 Green ▲ below bar = Long 5/5 triggered
🔴 Red ▼ above bar = Short 5/5 triggered
🟡 Yellow ◆ = 4/5 (almost ready)
Subtle background tint when all 5 pass
█ HOW TO USE
1. Add the indicator to any stock or ETF chart
2. In settings, set your Market Index (SPY, QQQ, etc.) and Sector ETF to match your stock's sector
3. The dashboard does the rest — auto-detects direction and scores each step
4. Only trade when you see 5/5 PASS
5. Use the calculated Stop and Target levels as starting points for your trade plan
6. Set alerts for 5/5 and 4/5 triggers to get notified across your watchlist
Sector ETF reference: XLK (Tech), XLF (Financials), XLE (Energy), XLV (Healthcare), XLI (Industrials), XLP (Consumer Staples), XLU (Utilities), XLB (Materials), XLRE (Real Estate), XLC (Communications), XLY (Consumer Discretionary)
█ SETTINGS
Dashboard: Position (4 corners), Size (S/M/L), toggle EMAs and levels on/off
Step 1: Market symbol, fast/slow EMA periods
Step 2: Sector ETF symbol, EMA period
Step 3: Stock fast/slow EMA, volume surge multiplier, volume avg period
Step 4: Pivot lookback, RSI toggle, RSI period and OB/OS thresholds
Step 5: Max risk %, min R:R ratio, ATR period and multiplier
█ LIMITATIONS
• This is a checklist tool, not a signal generator — it tells you WHEN conditions align, not WHERE to enter tick-by-tick
• Works best on daily timeframe with stocks and ETFs that have reliable volume data
• Sector ETF must be set manually to match the stock you're analyzing
• Crypto and forex pairs may need adjusted parameters since they lack traditional sector groupings
• Past alignment of all 5 steps does not guarantee future results
█ NOTES
This indicator is inspired by Livermore's principles but is an interpretation, not a literal recreation. Livermore traded in an era before EMAs and RSI existed — he used price action and tape reading. The underlying logic, however, is the same: confirm the market, confirm the group, confirm the stock, wait for the pivot, and define your risk.
"It was never my thinking that made the big money for me. It always was my sitting." — Jesse Livermore
Follow @t2make on X for updates, new indicators, and trade ideas.
Aroon🎯Overview
Aroon → is a beautifully visualized trend detection indicator that measures the strength and direction of market trends using the Aroon oscillator. It provides clear signals for identifying trend beginnings, strength, and potential reversals.
Key Features
📊 Dual Component Analysis
Aroon Up: Measures time since highest high within the specified period
Aroon Down: Measures time since lowest low within the specified period
Aroon Average: The difference between Aroon Up and Aroon Down (oscillator)
🎨 Customizable Visualization
5 Color Themes: Choose from Classic, Modern, Robust, Accented, or Monochrome
Visual Fill Areas: Color-coded overbought/oversold zones
Clear Labels: Direct labeling of both Aroon lines for easy reading
📈 Trend Detection System
Cross Signals: Bullish when Aroon Up crosses above Aroon Down
Bearish Signals: Bearish when Aroon Up crosses below Aroon Down
Trend Strength: The spread between lines indicates trend strength
How It Works
Indicator Logic
Aroon Up = × 100
Aroon Down = × 100
Aroon Average = Aroon Up - Aroon Down (oscillator between -100 and +100)
Trend Signals: Generated when the two lines cross
Interpretation Guidelines
Strong Uptrend: Aroon Up near 100, Aroon Down near 0
Strong Downtrend: Aroon Down near 100, Aroon Up near 0
Consolidation: Both lines moving together below 50
Trend Beginning: Lines diverging after being close together
Trend Reversal: Lines crossing each other
Display Options
Visual Components
Aroon Lines (optional): Show individual Up/Down lines
Aroon Average (optional): Show the oscillator with fill zones
Background Highlights: Color background on crossover signals
Summary Table: Large text showing current trend direction
Color Themes
Classic: Green/Red (traditional)
Modern: Teal/Purple (contemporary)
Robust: Gold/Burgundy (bold)
Accented: Purple/Pink (vibrant)
Monochrome: Gray/Charcoal (subdued)
Trading Applications
Entry Signals
Long Entry: Aroon Up crosses above Aroon Down
Short Entry: Aroon Up crosses below Aroon Down
Trend Confirmation: Use with price action for validation
Trend Analysis
Trend Strength: Distance between lines indicates momentum
Trend Maturity: Line levels show how old the trend is
Range Identification: Both lines low indicates consolidation
Customization Settings
Aroon Configuration
Length: Default 6 periods (adjustable)
Show Lines: Toggle Aroon Up/Down lines
Show Average: Toggle Aroon oscillator display
Color Theme: Choose from 5 visual styles
Alert System
Cross Alerts: Notifications for bullish/bearish crossovers
Custom Messages: Includes ticker symbol in alert messages
Benefits for Traders
📊 Clear Trend Identification
Visual representation of trend strength and direction
Easy-to-spot crossovers for potential entries
Multiple display options for different trading styles
🎯 Versatile Application
Works on all timeframes
Suitable for all markets (stocks, forex, crypto)
Can be combined with other indicators for confirmation
⚡ Practical Features
Real-time alerts for crossovers
Clean, uncluttered visualization
Customizable to match your chart aesthetics
Large trend direction display for quick assessment
Perfect for trend-following traders who want a clear, visual indicator that identifies both trend direction and strength without complex calculations. The Aroon indicator is particularly effective at spotting new trends early and identifying when trends are weakening or reversing.
Asia Range + OB Zones + AlertsTrail run of script built with chatgpt and clude to mark hhs lows and OB's
QWRQWR identifies when trading activity outweighs price movement, highlighting periods where market participation is strong but price remains constrained—useful for filtering setups with favorable risk-reward conditions.
Accordion Index (Swing-Based) Structural Market Regime AnalysisThe Accordion Index is a multi-dimensional market structure indicator designed to diagnose regime formation, expansion, compression, and transition phases across financial markets. Rather than generating isolated buy/sell signals, it provides contextual insight into how price, structure, and participation interact over time.
The indicator is based on a swing-based, multi-leg framework, which reflects how markets naturally alternate between expansion, correction, re-expansion, and resolution phases. These repeating swing sequences form the foundation of both classical cycle analysis and Elliott Wave structures.
By quantifying the internal quality of these swing structures, the Accordion Index evaluates whether price movements are structurally aligned, directionally efficient, and institutionally supported.
Core Components
The indicator consists of three complementary components:
1) Accordion Correlation (Blue Line) Structural Alignment
Measures the degree of synchronization between short-term swing behavior and the dominant higher-timeframe regime.
Rising values indicate increasing structural coherence.
Declining values reflect regime decay and fractal misalignment.
This component highlights whether market movements are organized within a broader cycle structure or fragmented across timeframes.
2) Efficiency (Green Line) Directional Progress
Measures how much net directional displacement price achieves relative to its internal movement.
Rising values indicate clean, trend-supportive movement.
Falling values reflect consolidation, churn, or distribution.
This component distinguishes productive trends from sideways or internally conflicted phases.
3) Average Swing Speed (Red Line) Participation and Energy
Measures the velocity and urgency of swing movements.
Rising values indicate strong institutional and speculative engagement.
Declining values suggest fading participation or exhaustion.
This component reflects whether major capital is actively sponsoring price movement.
Regime Thresholds
Two reference levels provide structural context:
Directional Regime (+0.5, Blue Dashed Line)
Identifies mature directional regimes with strong structural coherence, typically associated with sustained trend phases.
Strong Accordion (–0.5, Purple Dashed Line)
Marks extreme structural dislocation, often occurring during crisis periods, panic phases, or major regime breakdowns.
Interpreting the Accordion Index
The indicator should be interpreted as a regime and structure filter rather than a standalone signal generator.
Typical configurations include:
Rising correlation, rising efficiency, rising speed
=Trend expansion and regime confirmation
Rising correlation, falling efficiency, elevated speed
=Compression and accumulation/distribution
Falling correlation and efficiency with unstable speed
=Regime decay and transition
Simultaneous recovery in correlation and efficiency
=Structural re-synchronization and trend re-emergence
These configurations allow traders to assess whether markets are trending, consolidating, transitioning, or reorganizing internally.
Market-Agnostic and Fractal Design
The Accordion Index is market-agnostic and fractal in nature. It can be applied to:
FX, commodities, indices, equities, and crypto
Intraday, swing, and long-term timeframes
The underlying swing structure exists in all sufficiently liquid markets. Differences in behavior are reflected through changes in structural coherence, efficiency, and participation rather than through pattern distortion.
The indicator therefore adapts naturally to different asset classes and volatility regimes.
Integration with Cycle and Wave Analysis
The Accordion Index is designed to complement, not replace, existing analytical frameworks.
Cycle Analysis
It can be used to validate cycle phases by confirming whether internal structure supports expansion, compression, or transition scenarios.
Elliott Wave Analysis
The indicator aligns naturally with Elliott Wave principles by evaluating the quality of impulsive and corrective phases:
Impulsive waves typically show rising correlation, efficiency, and speed.
Corrective waves tend to display falling efficiency and structural fragmentation.
Wave extensions and failures are often preceded by changes in internal alignment.
This makes the Accordion Index a valuable supplemental tool for confirming wave counts and identifying regime exhaustion or re-synchronization.
Practical Usage
The Accordion Index functions best as a contextual filter:
High structural alignment = trust trend structure
Low efficiency = expect consolidation
Low participation = avoid forcing trades
Trades and projections should be executed in alignment with prevailing structural conditions rather than isolated price patterns.
Disclaimer
This indicator is intended for educational and analytical purposes. It does not constitute financial advice. All trading decisions remain the responsibility of the user.
Closing Note
The Accordion Index is designed to visualize how markets organize, exhaust, compress, and re-synchronize over time. By integrating structural alignment, directional efficiency, and participation dynamics, it provides a unified framework for understanding market regimes across asset classes and timeframes.
Risk AlignmentRisk Alignment evaluates whether market conditions favor risk-on or risk-off behavior by assessing the alignment of BTC and the OTHERS index.
It uses two independent signals: the direction of the 12/25 EMA stack and price position relative to those EMAs, each classified as bullish, bearish, or neutral.
These signals are combined into a six-state regime framework:
Bullish, Neutral-Bullish, Conflicting, Neutral-Bearish, Bearish, or No Signal
This provides a clear hierarchy of conviction rather than a binary output.
It is designed to function as a top-down macro filter, helping traders gate exposure, size risk, and avoid periods of structural disagreement.
It is best used as a regime context layer, not as a standalone entry signal.
Occurrence Scanner | MA Resilience & Breakout LogicThis indicator is designed to quantify the reliability of a Moving Average (MA) as a dynamic Support or Resistance level. Unlike standard crossover indicators that generate signals on every touch, this script employs a rigorous "Zone Tolerance" and "Temporal Confirmation" logic to filter out noise and classify price action into three distinct behaviors: Valid Bounce, Confirmed Breakout, or False Breakout (Trap).
It also integrates an optional Volatility Filter (based on TTM Squeeze mechanics) to prevent false signals during low-volatility "chop" regimes.
HOW IT WORKS:
1. The "Safe Zone" (Buffer Logic): Standard MAs are thin lines. This script creates a programmable "Road" around the MA (defined by the Zone Tolerance % input).
A touch is only considered a potential breakout if the price closes outside this zone.
Wicks that pierce the MA but close inside the zone are treated as Bounces (respecting the level).
2. Event Classification (The Decision Engine): Once the price interacts with the MA Zone, a "Sovereignty Window" (Lookahead Timer) is activated to monitor the subsequent candles:
✅ Bounce: Price tests the MA but never closes outside the Safe Zone during the window. The MA held as support/resistance.
❌ Breakout (Breakdown/Breakup): Price closes outside the Safe Zone. A strict "2-Consecutive Close" logic is applied to confirm the trend change immediately, avoiding premature signals.
⚠️ False Break: Price momentarily closes outside the zone but aggressively reverses to the opposite side within the time window. This identifies "Bull/Bear Traps".
3. The Volatility Filter (Anti-Chop): Market consolidation often leads to MA whipsaws.
The script calculates Bollinger Bands (2.0 std) vs. Keltner Channels (1.5 ATR).
If the Squeeze Filter is enabled in settings, the script forces the scanner to IGNORE any MA touches while volatility is compressed (Squeeze ON). This ensures signals are only generated during active trends.
SETTINGS:
MA Type & Length: Choose between SMA or EMA and the period (e.g., 20, 50, 200).
Zone Tolerance (+/- %): The buffer width. Default is 0.2%. Higher values filter more noise.
Lookahead Candles: The confirmation window size.
Squeeze Filter: Toggle On/Off to ignore signals during low volatility regimes.
INTENDED USE: This tool is intended for Swing Traders and Scalpers looking to statistically validate which Moving Average is being respected by a specific asset. It automates the "visual backtest" process, providing a Dashboard with success rates for Bounces vs. Breaks.






















