Daily/Weekly Swing Highs-Lows + Candle PatternsDescription
Daily/Weekly Swing Highs-Lows + Candle Patterns
This indicator plots the most recent Daily and Weekly Swing Highs and Lows (key support/resistance levels) using a simple and effective logic: a swing high/low is confirmed when the previous bar's extreme is higher/lower than both the current and the one before it.
Features:
• Daily Swing Highs/Lows (teal/maroon circles) – toggleable
• Weekly Swing Highs/Lows (blue/purple circles) – optional
• Visual separators for new daily and weekly bars (light background color)
• Daily candle pattern labels (optional):
- US = Up Swing (strong bullish continuation)
- DS = Down Swing (strong bearish continuation)
- IN = Inside Bar
- OUT = Outside Bar
• Daily close position labels (optional):
- P = Positive (close in upper 25% of the range)
- mP = minor Positive (50–75%)
- mN = minor Negative (25–50%)
- N = Negative (lower 25%)
All elements are fully customizable (colors, visibility) and work on any timeframe.
Best suited for intraday timeframes (1 min to 4 hours) where daily and weekly key levels provide important context for price action and reversals.
The optional "Trading session length" input is mainly useful for markets with shorter sessions (e.g., European indices) and does not affect swing detection.
Open-source, free to use and modify.
How to Use the Indicator + Practical Use Case
Key Settings (Inputs)
Trading session length (hours) → Default 8.5 h (useful for FTSEMIB, DAX, etc.). Leave it as is unless you trade a market with a different session length.
Daily Swing Levels → Show/Hide daily swing highs (teal) and lows (maroon).
Weekly Swing Levels → Usually keep off on intraday charts to avoid clutter (turn on for higher-timeframe context).
Daily Candle Patterns → Enable only if you want to see US/DS/IN/OUT labels on the daily close.
Close Position (P/mP/mN/N) → Enable if you want to quickly see how strong/weak the daily close was.
What You See on the Chart
Teal circles = Last confirmed daily swing high (resistance).
Maroon circles = Last confirmed daily swing low (support).
Blue/purple circles (if enabled) = Weekly swing high/low.
Light gray background = Start of a new trading day.
Purple background (if weekly enabled) = Start of a new week.
Small labels on daily close (if enabled):
- US = strong bullish day
- DS = strong bearish day
- IN = inside bar (consolidation)
- OUT = outside bar (expansion)
- P/mP/mN/N = how far the close was from the high/low of the day.
Best Timeframes 1 min to 240 min charts → Daily levels act as major support/resistance zones for intraday trading.
Avoid using on daily or higher charts (the logic is designed for intraday context).
Why this works well intraday:
The daily swing high/low levels are high-probability zones where institutions and algorithms often defend positions. On intraday charts, they act as “magnets” for price, giving you clean entries and exits with clear invalidation levels.
This indicator keeps your chart clean while providing exactly the context most intraday traders need: key daily levels + daily momentum context.
Indicators and strategies
CandelaCharts - Composite Pressure Index 📝 Overview
The CandelaCharts – Composite Pressure Index (CPI) is a multi-factor oscillator that blends RSI , Money Flow Index (MFI) , and Chaikin Money Flow (CMF) into a single, stretchable “pressure” line. Instead of looking at three separate indicators, CPI compresses price momentum and volume flow into one normalized curve around 0 , then amplifies extremes using a rolling z-score .
The result is a dynamic gauge of buying vs. selling pressure that can travel beyond ±1 during strong regime shifts, helping you spot exhaustion, climaxes, and trend-strength phases more intuitively.
📦 Features
Composite pressure engine – Combines RSI, MFI, and CMF into a single normalized oscillator around 0, giving you a unified view of market pressure.
Custom weighting of components – Independently weight RSI, MFI, and CMF to prioritize pure price momentum or volume-driven signals.
Rolling z-score stretch – Uses a configurable z-score window to “stretch” the composite values, letting the line exceed ±1 during extremes instead of staying capped.
Adaptive amplitude control – An amplitude (gain) factor lets you scale how aggressive or subtle the CPI swings appear.
EMA smoothing – Optional smoothing removes noise while preserving the timing of swings and reversals.
Visual pressure band – Zero, +1, and -1 reference lines with a shaded band make it easy to see when pressure is “normal” vs. extended.
Dynamic color gradients – Warm/orange tones above 0 for bullish pressure and cool/blue tones below 0 for bearish pressure, with saturation increasing as pressure intensifies.
NA-safe statistics – Custom mean and standard deviation routines ensure stable behavior from the start of the chart and during partial history.
⚙️ Settings
RSI Length : Lookback length for RSI . Higher values smooth the RSI component; lower values make it more reactive to short-term price momentum.
MFI Length : Lookback length for the manual Money Flow Index . Adjust this to control how sensitive CPI is to price–volume interaction.
CMF Length : Lookback length for Chaikin Money Flow . This defines the window used to assess accumulation/distribution through volume flow.
RSI Weight : Relative importance of RSI within the composite. Increasing this emphasizes pure price momentum in the CPI.
MFI Weight : Relative importance of MFI. Higher values strengthen the influence of volume-weighted price moves.
CMF Weight : Relative importance of CMF. Raising this highlights accumulation/distribution as a driver of the pressure index.
Smoothing : EMA length applied to the stretched CPI line. A value of 1 effectively disables smoothing, while higher values reduce noise at the cost of a slight lag.
Z-score Window : Rolling window used to compute the mean and standard deviation of the raw composite. This defines the statistical context for what counts as “extreme”. Shorter windows adapt faster; longer windows give a more stable regime.
Amplitude : Gain factor applied to the z-scored composite. Values above 1.0 exaggerate swings and make extremes more visually pronounced; values below 1.0 compress them.
⚡️ Showcase
Composite Pressure Index
Mean Line
Divergences
📒 Usage
1. Identify directional pressure regimes
Use 0 as the key balance line:
CPI > 0 → Net bullish pressure (buyers in control).
CPI < 0 → Net bearish pressure (sellers in control).
You can treat prolonged stays above or below 0 as confirmations of trend direction, especially when price structure agrees.
2. Read statistical extremes instead of fixed levels
Because CPI is stretched via a z-score , values beyond ±1 typically represent statistically meaningful extremes within your chosen window:
CPI > +1 → Overextended bullish pressure / potential euphoria.
CPI < -1 → Overextended bearish pressure / potential capitulation.
These zones are not automatic reversal signals, but they highlight areas where monitoring for exhaustion, blow-offs, or risk-reward shifts can be beneficial.
3. Spot divergences with price
Classic divergence logic applies particularly well when pressure is composite:
Bearish divergence – Price makes higher highs, but CPI makes lower highs or fails to confirm.
Bullish divergence – Price makes lower lows, but CPI makes higher lows or shows less downside extension.
These patterns can be integrated with support/resistance, liquidity levels, and other CandelaCharts tools.
4. Tune the weights to your strategy
Adjust the three weights to match your focus:
Higher RSI weight → More sensitivity to pure price momentum (good for breakout or trend-following systems).
Higher MFI weight → Greater emphasis on price–volume interaction (ideal for spotting volume-confirmed moves).
Higher CMF weight → Stronger focus on accumulation/distribution (helpful for swing and position traders).
5. Integrate with existing setups
The CPI is designed to sit comfortably below price:
Use it as a “context” oscillator underneath your main price-action and liquidity models.
Combine CPI extremes and divergences with key levels, range models, or order flow signals for higher-confluence entries.
🚨 Alerts
The indicator does not provide any alerts!
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
RSI with 3 Separate Smoothing AveragesRSI has 3 moving averages, to help trade better
RSI period can be adjusted
Moving average has multiple selections (SMA, EMA, HMA)
moving average cross over can be used as signal for trades
Trade at your own risk
Markov: Transition Matrix [Daily Timeframe]Description
This indicator computes a 3-state Markov chain from price action and visualizes the transition probabilities between daily states:
• Up: daily % change > threshold
• Down: daily % change < -threshold
• Sideways: |daily % change| ≤ threshold
From those states, it builds transition matrices:
• Today → Tomorrow (1 day ahead)
• Today → In 2 days
• Today → In 3 days
Each matrix cell shows:
P(next state | current state)
Rows are the current state (today), columns are the future state (tomorrow / +2 / +3).
Each row sums to 100% (when there is sufficient sample size).
________________________________________
How to read it (trader workflow)
1. Identify the current regime (the most recent confirmed daily state).
2. Look at the row matching that regime:
• The ★ marks the highest probability outcome for that row (most likely next state).
• Heatmap intensity increases as probability increases.
• Each row shows its own sample size (n=...) so you can judge statistical support.
3. Use Quick-read:
• “Now” = current regime
• “Best” = top conditional outcome + probability
• “2nd” = second-best outcome + probability
4. Use Universe (N):
• Shows the marginal distribution: how often days are Up/Down/Sideways across the whole dataset.
________________________________________
Settings
Core logic
• Sideways threshold: controls how strict “Sideways” is.
Example: 0.001 = ±0.10% daily move is considered Sideways.
Display
• Toggle 1D / 2D / 3D matrices.
• Highlight best probability per row (★).
• Show n per row (row transition count).
• Focus: current state row only to reduce noise and speed decision-making.
• Quick-read row for the current regime.
Theme (fully customizable)
All colors can be customized:
• Up / Down / Sideways base colors
• Header background + header text
• Values text
• Quick-read neutral background
This makes it suitable for both light and dark chart themes.
________________________________________
Notes / Limitations
• The indicator is designed for daily sessions. It uses daily close-to-close returns to classify states and update the Markov chain once per day.
• On very volatile assets, a very small threshold can make Sideways rare. If you want a more frequent Sideways regime, increase the threshold.
• This is a statistical visualization tool, not a trading system.
________________________________________
Disclaimer (TradingView-friendly)
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading involves risk. Past probabilities do not guarantee future results. Use at your own discretion and always apply proper risk management.
Custom Session ORB - Extending Past Current CandleCustom Session ORB - Extending Past Current Candle
This indicator plots Opening Range Breakout (ORB) levels for one or two customizable trading sessions directly on your chart. It dynamically tracks the high, low, and midpoint of the defined session(s) and extends these levels beyond the session using a configurable offset.
Features:
Supports two custom sessions.
New York and Asia pre-saved.
Automatically tracks session High, Low, and Mid.
Option to extend ORB levels past the live candle.
Option to display only the most recent ORB for a clean chart.
Configurable line thickness, style, and label size.
Works in Eastern Standard Time (EST) without manual adjustment.
Settings:
Show Labels: Toggle to display ORB values on chart.
Label Font Size: Small, Normal, Large.
Mid Line Style: Solid, Dashed, or Dotted.
ORB Line Thickness: Set line thickness of ORB levels.
Extend Past Current Candle by N Bars: Controls how far the ORB extends visually.
Show Only Current ORB: Cleans chart by removing previous session ORB levels.
Enable Session 1 / 2: Toggle individual sessions on/off.
Session Time: Set the start and end times for each session (automatically in EST).
How It Works:
The indicator monitors the defined session time, records the high, low, and midpoint, and draws lines at those levels. When the session ends, the lines are extended by the specified offset for easy breakout visualization. Labels can optionally show the exact price levels.
V3 Valentini Pro Scalper [Dashboard]Gemini 3.0 pro's take on Fabio Valentini's world #1 strategy scalp 12/19/2025
MacroTide Elasticity SystemThe MacroTide Elasticity System is a professional-grade technical analysis tool designed to identify potential trend exhaustions and reversals by modeling price action as an elastic band stretched from a volume-weighted baseline. Unlike standard oscillators (like RSI) that only look at price changes, MacroTide integrates Volume, Price Range, and Volatility to gauge the "energy" behind a move.
1. Concepts and Methodology
The core concept is Mean Reversion based on Volume-Weighted Elasticity. Markets tend to snap back to a value consensus (mean) after over-extension.
Volume-Weighted Baseline: We use a Volume Weighted Moving Average (VWMA) rather than a simple SMA. This ensures that heavy-volume trading days pull the baseline closer to price, while low-volume drift allows the baseline to lag, accurately representing the "true" average cost.
Elasticity Physics: The oscillator calculates how far price has deviated from this VWMA baseline, measured in standard deviations. This creates a normalized "Elasticity Score" (0-100).
High Score (>80): Price is over-extended to the upside (Overbought) relative to volume support.
Low Score (<20): Price is over-extended to the downside (Oversold).
Institutional Absorption (Churn): The script detects specific bar anomalies where Volume is High but Price Range is Low. This pattern often indicates "Churn"—where institutions are absorbing supply or unloading positions without moving the price significantly.
2. Key Features
MacroTrend Detection: Visualizes the market's stretch limits.
Divergence Scanner: Automatically detects and labels Regular Bullish and Bearish divergences. This occurs when price makes a new extreme, but the Elasticity Oscillator fails to confirm it, signaling waning momentum.
Absorption Events: Highlights yellow "sun" markers on the oscillator when high-volume churn is detected, often preceding a breakout or reversal.
Dynamic Coloring: Candles and oscillator lines change color based on the slope of the elasticity (Green for rising momentum, Red for falling).
3. How to Use
Trend Reversals: Look for the oscillator to enter the Overbought (80) or Oversold (20) zones. A reversal signal (triangle marker) is generated when the oscillator crosses back out of these zones, indicating the "snap back" effect has begun.
Divergence Confirmation: Use the "DIV" labels as early warning signs. A Bullish Divergence in an oversold zone is a high-probability setup for a long entry.
Filtering Trends: The center line (50) acts as a trend filter. Above 50 indicates bullish bias; below 50 indicates bearish bias.
4. Settings & Customisation
Lookback Period: Default is 21 (Swing). Increase to 50 or 100 for Macro/Long-term analysis.
StdDev Multiplier: Adjusts the sensitivity of the bands. Higher values (e.g., 2.5 or 3.0) are better for volatile assets like Crypto.
Absorption Volume Factor: Threshold for detecting churn. Default is 1.5x average volume.
Disclaimer: This tool is for informational purposes only. Past performance (divergences/signals) does not guarantee future results. Always manage risk effectively.
Unmitigated Cave Diving MTF High Low - BookMap Style Chart
Unmitigated Cave Diving MTF High Low - BookMap Style Chart
Introduction
This Pine Script indicator tracks unmitigated higher timeframe highs and lows with a session-aware approach, inspired by KinetiCapital's X D HL Targets.
Built for precision trading on instruments like NQ during extended trading hours (ETH), it visualizes support and resistance levels that have not yet been breached, helping traders identify key price zones for potential reversals or breakouts.
Core Features
The indicator monitors multi-timeframe levels (default 15-minute) and applies intelligent styling based on recency and survival duration:
Most Recent Levels: The 1st and 2nd most recent unmitigated highs and lows are highlighted with distinct colors and widths for quick visual identification
Session Age Tracking: Levels are categorized by how many full trading sessions (1800-1700 NQ ETH) they've survived unmitigated, with "old" levels receiving special highlighting once they exceed your defined threshold
BookMap-Style Visualization: Clean horizontal lines with optional price labels positioned above highs and below lows for minimal chart clutter
Real-Time Summary Table: Displays the four most recent levels with their prices, distance in points from current price, and session age
Mitigation Logic
Levels automatically update when price touches them - high levels are mitigated when price reaches or exceeds them, while low levels are mitigated when price touches or breaks below. Mitigated levels change to a neutral gray color and can optionally be deleted at session end to preserve chart memory.
This tool is particularly valuable for intraday traders who trade around key structural levels and need to understand which unmitigated zones represent the freshest or most significant price memory in the market.
Low-High Waves for NeowaveOpen your chart at daily and hide the symbol graphic. Now you can see the waves. It’s including limited data sorry for this but I’m not a programmer and TradingView have limitations.
Volatility State Index [Interakktive]The Volatility State Index (VSI) classifies market volatility into three behavioral states: Expansion, Decay, and Transition. It answers one question visually: Is volatility supporting price movement, withdrawing, or unstable?
Unlike traditional volatility indicators that show levels or bands, VSI diagnoses the current volatility regime so traders can adapt their approach accordingly.
█ WHAT IT DOES
• Classifies volatility into three states: Expansion (teal), Decay (grey), Transition (amber)
• Measures volatility momentum as a percentage rate-of-change
• Applies stability filtering to detect unstable/choppy conditions
• Uses persistence logic to prevent state flickering
• Exports state data for use in alerts and strategies
█ WHAT IT DOES NOT DO
• NO buy/sell signals
• NO entry/exit recommendations
• NO alerts (v1 is diagnostic only)
• NO performance claims
This is a volatility diagnostic tool, not a trading system.
█ HOW IT WORKS
The VSI processes volatility through a five-stage pipeline:
STAGE 1 — Base Volatility
Calculates ATR as the foundation for volatility measurement.
STAGE 2 — Smoothing
Applies EMA smoothing to reduce noise in the volatility series.
STAGE 3 — Volatility Momentum
Computes the percentage rate-of-change of smoothed volatility:
Volatility Momentum (%) = ((Current ATR - Previous ATR) / Previous ATR) × 100
Positive values indicate expanding volatility; negative values indicate contracting volatility.
STAGE 4 — Stability Filter
Tracks how frequently volatility momentum changes direction. Frequent sign changes indicate unstable, choppy conditions.
Stability Score = 1 - (Average Flip Rate)
Low stability forces the Transition state regardless of momentum level.
STAGE 5 — State Classification
Combines momentum thresholds and stability to determine the final state:
• Expansion: Momentum ≥ +5% (default threshold)
• Decay: Momentum ≤ -5% (default threshold)
• Transition: Between thresholds OR low stability
A persistence filter requires states to hold for multiple bars before confirming, preventing visual noise.
█ INTERPRETATION
EXPANSION (Teal)
Volatility is increasing in a sustained way. Price moves are becoming larger.
What it suggests:
• Breakouts are more likely to follow through
• Stops may need wider placement
• Trend-following approaches tend to work better
• Mean-reversion weakens
DECAY (Grey)
Volatility is decreasing. Price is compressing into tighter ranges.
What it suggests:
• Breakouts are more likely to fail
• Ranges tend to hold
• Trend-following underperforms
• Mean-reversion strengthens
TRANSITION (Amber)
Volatility behavior is unclear or unstable. This is NOT neutral — it is uncertainty.
What it suggests:
• Mixed signals — one bar huge, next bar dead
• Higher whipsaw risk
• Reduced conviction in either direction
• Consider waiting for clarity
The key insight: Amber is a warning, not a middle ground. It appears when volatility cannot decide what it wants to do.
█ VISUAL DESIGN
The indicator uses a state-first histogram design:
• Histogram height shows volatility momentum percentage
• Histogram color shows the classified state
• Zero line provides visual anchor
• Optional momentum line for confirmation
• Optional background tint (default OFF for clean charts)
The visual hierarchy prioritizes instant state recognition. A trader should understand the volatility environment in under one second without reading numbers.
█ INPUTS
Core Settings
• ATR Length: Base volatility measurement period (default: 14)
• Smoothing Length: EMA smoothing applied to ATR (default: 10)
• Momentum Length: Rate-of-change lookback (default: 10)
State Classification
• Expansion Threshold (%): Momentum above this = Expansion (default: 5.0)
• Decay Threshold (%): Momentum below this = Decay (default: -5.0)
• Persistence Bars: Bars required to confirm state change (default: 3)
• Stability Lookback: Window for stability calculation (default: 20)
• Stability Threshold: Below this = forced Transition (default: 0.5)
Visual Settings
• Show State Histogram: Toggle main display (default: ON)
• Show Momentum Line: Thin confirmation line (default: OFF)
• Show Zero Line: Baseline reference (default: ON)
• Show Background Tint: Subtle state coloring (default: OFF)
█ DATA WINDOW EXPORTS
When enabled, the following values are exported:
• ATR (Raw)
• ATR (Smoothed)
• Volatility Momentum (%)
• Stability Score (0-1)
• State (-1/0/1): Decay = -1, Transition = 0, Expansion = 1
• Is Expansion (0/1)
• Is Decay (0/1)
• Is Transition (0/1)
These exports allow VSI to be used as a filter in Pine Script strategies or alert conditions.
█ ORIGINALITY
While ATR and volatility indicators are common, VSI is original because it:
1. Classifies volatility into behavioral states rather than showing raw levels
2. Applies momentum analysis to volatility itself (rate-of-change of ATR)
3. Uses stability filtering to detect genuinely unstable conditions
4. Implements persistence logic to prevent state flickering
5. Provides a state-first visual design optimized for instant recognition
VSI is state-first: it classifies volatility regimes (Expansion/Decay/Transition) rather than plotting volatility level alone, using momentum and stability to reduce false regime reads.
This is not a modified ATR or Bollinger Band — it is a volatility regime classifier.
█ SUITABLE MARKETS
Works on: Stocks, Futures, Forex, Crypto
Timeframes: All timeframes — state classification adapts accordingly
Best on: Instruments with consistent volatility patterns
█ RELATED
• Market Efficiency Ratio — measures price path efficiency
• Effort-Result Divergence — compares volume effort to price result
█ DISCLAIMER
This indicator is for educational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis before making trading decisions.
Order Flow Trade Detector [Dynamic Sizes]detects absorption in the market and gives an idea where buyers and sellers are.
RSI Monitor (High/Low) + MTF & Time FilterDual-Source RSI: Calculates RSI on the candle High (to detect selling pressure/overbought) and Candle Low (to detect buying pressure/oversold) rather than just the Close.
Multi-Timeframe (MTF) Dashboard: An on-screen table displays the Real-Time RSI High and Low values for your current chart plus two user-defined higher timeframes (e.g., 1H, 4H).
Session-Based Alerts: A built-in time filter restricts alerts to a specific trading window (e.g., 09:30–16:00), effectively blocking signals during low-volume overnight sessions.
Independent Alert Timeframe: You can configure alerts to monitor a specific timeframe (e.g., 60-min) regardless of the timeframe you are currently viewing.
Real-Time Execution: Alerts trigger immediately when levels are crossed (no bar-close confirmation required), ensuring you catch moves as they happen.
Liquidity ZonesLiquidity Zones
Liquidity Zones is a price-action–based indicator designed to identify high-probability support and resistance areas where liquidity has historically accumulated.
Instead of drawing single lines, the script builds dynamic price zones based on repeated pivot reactions validated by volume, helping traders focus on meaningful levels rather than noise.
How It Works
Pivot Detection
The indicator scans historical price data for pivot highs and pivot lows using a fixed pivot strength.
Each pivot represents a potential liquidity interaction point.
Volume Qualification
A pivot is only considered valid if the volume at the pivot bar exceeds:
Volume SMA × Sensitivity
This filters out weak or low-participation levels and keeps zones formed during strong market interest.
Zone Construction
Nearby pivots are grouped into a single zone if their price difference stays within an ATR-based threshold.
Each time price reacts within this threshold, the zone’s touch count increases.
Once the minimum number of touches is reached, a liquidity zone is drawn and extended to the right.
Adaptive Zone Expansion
As new qualifying pivots appear, zones automatically expand to reflect the true liquidity range instead of staying static.
Dynamic Zone Coloring
Zones update their color in real time based on price position:
Green (Support) → Price is above the zone
Red (Resistance) → Price is below the zone
Gray (In-Zone) → Price is trading inside the zone
This allows instant visual feedback on whether a level is acting as support, resistance, or an active liquidity area.
Settings Overview
Bars to Apply
Controls how much historical data is scanned for liquidity zones.
Volume Sensitivity
Higher values require stronger volume spikes to validate pivots, resulting in fewer but higher-quality zones.
Styling Options
Fully customizable colors and transparency for support, resistance, and in-zone states.
Best Use Cases
Identifying high-liquidity support and resistance zones
Planning entries, exits, and stop placement
Combining with trend-following or momentum indicators
Filtering out weak levels in sideways or choppy markets
Market Efficiency DashboardDescription
This indicator is an analytical tool designed to visualize the relationship between price action and market efficiency. Based on the Choppiness Index (CI), this indicator identifies whether the market is in a state of Range Contraction (Consolidation) or Range Expansion (Trending) . This implementation introduces a unique 50-pivot baseline to better differentiate between these two market characters, providing traders with an objective view of volatility cycles.
Key Features
Volatility Cycle Logic: A refined implementation of the Choppiness Index that assists in filtering market noise during low-volatility periods.
Pivot-50 Visualization: A custom geometric layout that separates range contraction from trend expansion for faster visual interpretation.
Multi-Timeframe (MTF) Data Handling: Enables the monitoring of higher-timeframe efficiency cycles without switching charts.
Trend Context Filter: Integrates a 200-period EMA to provide a directional baseline relative to the current market state.
Real-Time Status Dashboard: A real-time data table providing a summary of current market efficiency and trend bias.
Signal Refinement: Includes optional smoothing (EMA/SMA/WMA) to reduce calculation "jitter" and provide clearer structural signals.
Inputs Overview
Choppiness Length: Sets the lookback period for the efficiency calculation (Default: 14).
Calculation Timeframe: Allows the user to select the source timeframe for the index data.
Smoothing Method: Users can choose between multiple moving average types to filter the raw index output.
Threshold Levels: Customizable Fibonacci-based levels (61.8 and 38.2) used to define the boundaries of "Choppy" and "Trending" environments.
EMA Filter: Toggle for the 200-period Exponential Moving Average used for directional bias.
How to Use
Context Identification: Observe the histogram’s position relative to the 50-pivot. Bars expanding upward toward the 61.8 level indicate the market is coiling/congested.
Trend Confirmation: Bars expanding downward toward the 38.2 level indicate the market is moving efficiently in a specific direction.
Bias Alignment: When the Trend Bias is Bullish and the state is Trending, price discovery is likely occurring to the upside. Conversely, a Bearish bias in a Trending state suggests efficient movement to the downside.
Risk Management: Rising choppiness levels often precede a period of trend exhaustion or reversal, signaling a potential time to reduce exposure.
How it Helps
This tool is designed to assist in objective decision-making by identifying the current "market character." By distinguishing between trending and non-trending environments, it helps traders select the appropriate strategy for the current context—avoiding trend-following entries during sideways markets and identifying when a market has entered a period of price expansion.
Alerts
Trend Starting: Triggers when the index crosses below the lower threshold, suggesting a transition into an efficient trend.
Squeeze/Consolidation: Notifies the user when the index crosses above the upper threshold, indicating range contraction.
Midpoint Cross: Signals when the index crosses the 50-level, marking a shift in market momentum.
⚠️ Disclaimer:
This script/indicator is not endorsed by, affiliated with, sponsored by, or connected to TradingView in any manner. The author is not a TradingView partner.
This script/indicator and all related content are provided “as is” and “as available,” without any warranties of any kind, express or implied. The content is strictly for educational and informational purposes and does not constitute financial, investment, trading, or legal advice.
The author makes no representations or guarantees regarding accuracy, reliability, profitability, or future performance. Use of this script/indicator is entirely at the user’s own risk, and the author assumes no liability for any losses, damages, or financial consequences arising from its use.
alplerThe 4H Engulf Indicator is a rule-based price action tool designed to identify high-probability trading opportunities on the 4-hour timeframe. Its core logic is built around bullish and bearish engulfing candles, which are widely accepted as strong reversal or continuation signals in technical analysis.
This indicator focuses only on confirmed engulfing patterns, meaning the signal is generated after the candle is fully closed, not while it is forming. This helps eliminate false signals and emotional, premature entries. When a bullish engulfing candle appears, the indicator marks a bullish signal, suggesting potential upward momentum. Conversely, when a bearish engulfing candle forms, a bearish signal is displayed, indicating possible downward pressure.
One of the key strengths of the 4H Engulf Indicator is its clarity and simplicity. Signals are shown directly on the chart using visually clear arrows and labels, allowing the trader to quickly assess market direction without clutter. The indicator does not predict the market; instead, it reacts to confirmed price behavior, which aligns well with disciplined and systematic trading.
The 4-hour timeframe provides a balance between noise reduction and timely opportunities, making this indicator suitable for swing traders and position traders. When combined with trend filters, risk management rules, or higher-timeframe analysis, the 4H Engulf Indicator becomes a powerful component of a professional trading system.
ITCP ATR BB RSI Stoch SignalsThis indicator generates BUY/SELL signals when price stretches outside Bollinger Bands during elevated volatility, confirmed by RSI, a Stochastic crossover, and a volume filter. To reduce counter-trend entries, it applies a macro trend filter using the Daily SMA 200: it looks for longs only above the SMA 200 and shorts only below it.
It tends to perform best in Forex, especially on liquid pairs, because market conditions (liquidity, continuous sessions, and relatively stable spreads on major pairs) often suit this confirmation-based approach. That said, it can be adapted to other markets (indices, commodities, or crypto) by tuning parameters such as Bollinger length/deviation, RSI/Stoch thresholds, and ATR settings (multipliers/factors) to fit the asset’s volatility.
It also plots ATR-based stop-loss reference levels (configurable smoothing) and includes webhook-ready alerts with a JSON payload (action, symbol, price, stop_loss, time, and interval) for external automation. The goal is to support rules-based execution and reduce impulsive trades: if conditions don’t align, there’s no signal.
If you manage to improve it, discover better settings, or build a more robust solution inspired by this, I’d really appreciate it if you share it back (even if it’s just feedback or an idea). I’m open to collaborating and iterating together to create stronger versions over time.
Statistical Deviation per AssetINDICATOR: STATISTICAL DEVIATION PER ASSET (SDPA)
1. Overview
The Statistical Deviation per Asset (SDPA) is a quantitative analysis tool designed to measure the strength and exhaustion of price movements. Unlike standard oscillators (like RSI ), the SDPA calculates the actual percentage deviation from the most recent pivot point (High or Low) and compares it against historical performance averages specific to each asset.
---
2. Core Logic & Calculation
The script operates on a Mean Reversion principle. It assumes that every asset (Gold, Bitcoin, Ethereum, etc.) has a unique "volatility signature" depending on the timeframe.
* Dynamic Pivot Detection : The indicator identifies recent Swing Highs and Swing Lows using an adaptive lookback period.
* Real-Time Return Calculation : Once a pivot is confirmed, the script calculates the real-time percentage gain (from a Low) or loss (from a High).
* Zero-Indexed Histogram : This return is plotted as an oscillator centered around a Zero Line , representing the current trend's progress since the last reversal.
---
3. Adaptive Intelligence (Multi-Asset & Multi-TF)
The SDPA is pre-loaded with a statistical database. It automatically adjusts its sensitivity and thresholds based on:
1. The Selected Asset : Whether trading XAUUSD , Bitcoin , or Solana , the deviation thresholds adapt to the specific volatility of that instrument.
2. The Timeframe (TF) : The calculation period ( period ) and performance targets ( hausse_perf / baisse_perf ) change dynamically. For example, a 1-minute scalping setup uses a longer lookback (200) compared to a Daily swing setup (10).
---
4. Visual Anatomy
The interface is designed for instant "at-a-glance" interpretation:
* The Histogram :
* Green : Price is trending up since the last Swing Low .
* Red : Price is trending down since the last Swing High .
* Threshold Lines (The Statistical Averages) :
* Thick Line (60% Opacity) : Represents the Average Historical Deviation . When the histogram hits this line, the move is considered "statistically mature."
* Thin Line (70% Opacity) : Represents the Strong Deviation Zone (1.5x the average), indicating extreme momentum or potential exhaustion.
* Background Highlighting : The chart background colors automatically when the price exceeds historical averages, signaling a High-Probability Reversal Zone .
---
5. How to Trade with SDPA
* Trend Maturity : If the histogram exceeds the Bullish Average (Green line), the current move has reached its typical historical limit. Traders should look for take-profit opportunities or wait for a reversal.
* Impulse Strength : A rapid move from the Zero Line toward the thresholds confirms strong institutional interest.
* Mean Reversion : When the histogram reaches the Strong Zone (1.5x), the price is "overextended" statistically, offering a high reward-to-risk ratio for counter-trend setups.
---
6. Technical Parameters
* Asset Choice : Dropdown menu to select the specific asset.
* Colors : Customizable Bullish and Bearish colors to match any UI theme.
* Precision : Set to 4 decimal places to ensure accuracy across all asset types.
BTC Gann Harmonics Weighted + Phase + EMA OptimizedBTC Gann Harmonics Weighted + Phase + EMA Optimized
AperonFx Pivot Points ATRThis indicator builds on classic pivot point methodology and enhances it with volatility-based ATR offsets to define adaptive support and resistance zones.
The pivot level is derived from the prior period’s price data, while the surrounding levels are calculated using the current day’s ATR to reflect prevailing market conditions.
Support and resistance are placed at incremental distances of 0.5, 1, 1.5 and 2 ATR away from the pivot, creating a structured price framework.
Users can adjust the pivot calculation method, reference timeframe, and visual presentation to suit their workflow.
AperonFx Pivot Points 1.1This indicator plots ATR-based pivot levels with a clean, institutional layout.
The central pivot (P) is calculated from the selected timeframe and price formula, while support and resistance levels are placed at equal distance steps above and below the pivot.
Users can choose between an automatic step based on ATR or a fixed price step for fully controlled, symmetric levels.
All levels are drawn as continuous segments that align precisely with the active pivot period.
Price annotations are displayed in a minimal, unobtrusive style and always match the exact level values.
The indicator is designed to remain consistent across chart timeframes without recalculation drift.
It is intended for traders who want clear, structured reference levels rather than reactive signals.
Resumo de Velas (120) ROMANOCounting the last 120 candles with volume data
Count of positive candles + count of negative candles
Ratio between negative and positive candles
If the ratio is greater than 1.20, enter a sell position
If the ratio is less than 0.80, enter a buy position
Use on a high timeframe chart
------------------------
Contagem das ultimas 120 velas com volumes
Contagem velas positivas + contagem velas negativas
Razão entre negativas e positivas
Se a razão é maior que 1.20 entra em venda
Se a razão é menor que 0.80 entra em compra
Uso no grafico de alto timeframe






















