Power Hour Trendlines [LuxAlgo]The Power Hour Trendlines indicator is based on Power Hours detection, and includes up to three displayed trendlines derived from the closing prices of all the bars within the last user-selected Power Hours.
Users can edit the time of Power Hours, choose how many sessions to take into account, enable or disable any trendlines, and change their colors.
🔶 USAGE
The Power Hour is defined as the last hour of the trading session and is set by default from 3:00 p.m. to 4:00 p.m. New York time. During this period, volume and volatility enter the market. Traders using higher timeframes may use this period to enter or exit positions by placing MOC (Market on Close) orders.
This tool works under the hypothesis that prices made during power hours (periods with high trading activity) are more relevant when used for the construction of trendlines.
An initial trendline is fit using linear regression; prices from power hours located above this initial fit are used for the upper trendline, while the ones below the fit are used for the lower one.
As with any trendline, traders can analyze the slope to determine the market's direction:
Positive slope: The market is trending up.
Negative slope: The market is trending down.
No slope: The market is trending sideways.
As we can see in the image, Nasdaq and Bitcoin are clearly in downtrends, gold is clearly in an uptrend, and the euro/U.S. dollar is in a sideways market over the last visible sessions.
As you can see, the trend lines may or may not be parallel to each other. The wider the area, the more volatile the data. The narrower the area, the less volatile the data. Let's look at an example.
In the image, the Dow30 and the euro/U.S. dollar have opposite behaviors. The volatility above the middle trendline is growing in the first case but shrinking in the second. In both cases, the volatility in the bottom area seems steady, so there are no big surprises there.
Traders can adjust the number of sessions for calculations, making the tool ideal for analyzing price behavior over different time frames.
As the image shows, we can clearly see how the market behaves over different time periods. XLY has been moving down over the last 10, 20, and 40 sessions, with a steeper decline over shorter periods. However, it has been moving sideways over the last 70 sessions.
One of the main uses of trendlines is to provide key support and resistance. In the image, SPY is shown with trendlines over the last 20 sessions. These lines provide excellent reference points for trading and observing price behavior in those areas, such as whether prices are accepted or rejected, which may trigger a response from other traders.
🔹 Not Allowed Timeframes
For obvious reasons, timeframes larger than 1H are not allowed. The Power Hour is defined as the last hour of the trading session. The tool will display a warning message if the timeframe is longer than 60 minutes.
🔶 SETTINGS
Power Hour (NY Time): Choose a custom Power Hour in New York time
Sessions Memory: Select how many Power Hours to take into account for calculations.
🔹 Style
Top: Enable or disable the top line and choose the line and background colors.
Middle: Enable or disable the middle line and choose the line color.
Bottom: Enable or disable the bottom line and choose the line and background colors.
Background: Enable or disable the background color for top and bottom lines.
Analisis Tren
Swing Failure Signals [AlgoAlpha]🟠 OVERVIEW
This script detects swing failure patterns by tracking how price interacts with recent swing highs and lows, then confirming those sweeps with a change in candle behavior. The goal is to highlight areas where price briefly breaks a key level, fails to continue, and then shifts direction. These events often occur around liquidity runs, where stops are triggered before price reverses. The script draws levels, colors bars, and prints clear markers to help visualize where these failures occur and when they are confirmed.
🟠 CONCEPTS
The logic starts with pivot-based swing detection. Recent swing highs and lows are stored and monitored. When price trades beyond one of these levels within a defined historical window, it is treated as a sweep. A sweep alone is not enough. The script then waits for a Change in State of Delivery (CISD), which is defined by a shift in candle structure that shows follow-through in the opposite direction. A tolerance filter measures how far price traveled beyond the level relative to the reaction that followed. If the reaction is strong enough and happens within a limited number of bars, the sweep is validated as a swing failure. In short: the swing defines the reference, the sweep shows intent, and the CISD confirms acceptance or rejection.
🟠 FEATURES
Sweep detection with a maximum lookback to avoid outdated levels
CISD confirmation using candle structure and price expansion
Alert conditions for bullish and bearish swing failures
🟠 USAGE
Setup : Add the script to your chart. It works on any market and timeframe. Lower timeframes highlight intraday liquidity runs, while higher timeframes show structural failures. Start with the default inputs before adjusting.
Read the chart : A bullish swing failure occurs when price sweeps a prior low, then reverses and confirms with a bullish CISD. A bearish swing failure is the opposite, sweeping a prior high and confirming with a bearish CISD. Dashed lines mark the swept swing. Solid lines mark the CISD level. Bars are colored while the SFP state is active.
Settings that matter : Increasing Pivot Detection Length finds more significant swings but fewer signals. Reducing Max Pivot Point Edge limits how far back sweeps are allowed, keeping signals more current. The Patience setting controls how many bars are allowed for confirmation after a sweep. The Trend Noise Filter raises or lowers how strong the reaction must be to qualify as a valid failure.
Adaptive Trend Envelope [BackQuant]Adaptive Trend Envelope
Overview
Adaptive Trend Envelope is a volatility-aware trend-following overlay designed to stay responsive in fast markets while remaining stable during slower conditions. It builds a dynamic trend spine from two exponential moving averages and surrounds it with an adaptive envelope whose width expands and contracts based on realized return volatility. The result is a clean, self-adjusting trend structure that reacts to market conditions instead of relying on fixed parameters.
This indicator is built to answer three core questions directly on the chart:
Is the market trending or neutral?
If trending, in which direction is the dominant pressure?
Where is the dynamic trend boundary that price should respect?
Core trend spine
At the heart of the indicator is a blended trend spine:
A fast EMA captures short-term responsiveness.
A slow EMA captures structural direction.
A volatility-based blend weight dynamically shifts influence between the two.
When short-term volatility is low relative to long-term volatility, the fast EMA has more influence, keeping the trend responsive. When volatility rises, the blend shifts toward the slow EMA, reducing noise and preventing overreaction. This blended output is then smoothed again to form the final trend spine, which acts as the structural backbone of the system.
Volatility-adaptive envelope
The envelope surrounding the trend spine is not based on ATR or fixed percentages. Instead, it is derived from:
Log returns of price.
An exponentially weighted variance estimate.
A configurable multiplier that scales envelope width.
This creates bands that automatically widen during volatile expansions and tighten during compression. The envelope therefore reflects the true statistical behavior of price rather than an arbitrary distance.
Inner hysteresis band
Inside the main envelope, an inner band is constructed using a hysteresis fraction. This inner zone is used to stabilize regime transitions:
It prevents rapid flipping between bullish and bearish states.
It allows trends to persist unless price meaningfully invalidates them.
It reduces whipsaws in sideways conditions.
Trend regime logic
The indicator operates with three regime states:
Bullish
Bearish
Neutral
Regime changes are confirmed using a configurable number of bars outside the adaptive envelope:
A bullish regime is confirmed when price closes above the upper envelope for the required number of bars.
A bearish regime is confirmed when price closes below the lower envelope for the required number of bars.
A trend exits back to neutral when price reverts through the trend spine.
This structure ensures that trends are confirmed by sustained pressure rather than single-bar spikes.
Active trend line
Once a regime is active, the indicator plots a single dominant trend line:
In a bullish regime, the lower envelope becomes the active trend support.
In a bearish regime, the upper envelope becomes the active trend resistance.
In neutral conditions, price itself is used as a placeholder.
This creates a simple, actionable visual reference for trend-following decisions.
Directional energy visualization
The indicator uses layered fills to visualize directional pressure:
Bullish energy fills appear when price holds above the active trend line.
Bearish energy fills appear when price holds below the active trend line.
Opacity gradients communicate strength and persistence rather than binary states.
A subtle “rim” effect is added using ATR-based offsets to give depth and reinforce the active side of the trend without cluttering the chart.
Signals and trend starts
Discrete signals are generated only when a new trend regime begins:
Buy signals appear at the first confirmed transition into a bullish regime.
Sell signals appear at the first confirmed transition into a bearish regime.
Signals are intentionally sparse. They are designed to mark regime shifts, not every pullback or continuation, making them suitable for higher-quality trend entries rather than frequent trading.
Candle coloring
Optional candle coloring reinforces regime context:
Bullish regimes tint candles toward the bullish color.
Bearish regimes tint candles toward the bearish color.
Neutral states remain visually muted.
This allows the chart to communicate trend state even when the envelope itself is partially hidden or de-emphasized.
Alerts
Built-in alerts are provided for key trend events:
Bull trend start.
Bear trend start.
Transition from trend to neutral.
Price crossing the trend spine.
These alerts support hands-off trend monitoring across multiple instruments and timeframes.
How to use it for trend following
Trend identification
Only trade in the direction of the active regime.
Ignore counter-trend signals during confirmed trends.
Entry alignment
Use the first regime signal as a structural entry.
Use pullbacks toward the active trend line as continuation opportunities.
Trend management
As long as price respects the active envelope boundary, the trend remains valid.
A move back through the spine signals loss of trend structure.
Market filtering
Periods where the indicator remains neutral highlight non-trending environments.
This helps avoid forcing trades during chop or compression.
Adaptive Trend Envelope is designed to behave like a living trend structure. Instead of forcing price into static rules, it adapts to volatility, confirms direction through sustained pressure, and presents trend information in a clean, readable form that supports disciplined trend-following workflows.
Chainbey Ai - HTF Trend Matrix (Clean)Chainbey Ai – HTF Trend Matrix is a professional, higher-timeframe trend detection indicator designed to give traders a clean, reliable market bias, regardless of the chart timeframe they are trading on.
This indicator automatically analyzes multiple higher timeframes (HTFs) and combines:
EMA trend direction
Trend strength (ADX)
Market structure (trend vs range)
Trend disagreement across HTFs
Reversal probability estimation
All results are displayed in a compact table at the bottom-right, making it perfect for scalpers, day traders, and swing traders who need fast, decision-ready information.
🧠 What This Indicator Solves
❌ No more guessing the higher-timeframe trend
❌ No more trading against the main market bias
❌ No more confusion between trend vs range
✅ Clear BULLISH / BEARISH / RANGE bias
✅ Strength score to avoid weak trends
✅ Reversal probability to manage risk
📊 How to Read the Table (User Manual)
🔹 FINAL Row
Example:
FINAL | BEARISH TREND | -46
Text (BEARISH / BULLISH / RANGE) → Overall market bias
Number (-46) → Trend Strength Score
Trend Score Guide:
Score Meaning
0 to ±20 No trend / Choppy
±20 to ±40 Weak trend
±40 to ±70 Healthy trend
±70+ Very strong / extended trend
📌 Negative = Bearish
📌 Positive = Bullish
🔹 REVERSAL – Possibility (%)
Example:
REVERSAL | Possibility | 45%
This shows the chance of trend exhaustion or reversal.
Reversal % Meaning
0–30% Strong trend continuation
30–50% Normal pullback risk
50%+ High reversal probability
70%+ Dangerous to chase trades
📌 Use this to avoid late entries.
🔹 HTF Rows (60 / 240 / D)
Each row shows:
DIR / STRUCT
Direction from EMA trend
Market structure (TREND / RANGE)
ADX
Trend strength
STRONG / MEDIUM / CHOP
📌 If multiple HTFs agree → higher confidence
📌 If HTFs conflict → reduce position size or wait
🛠 Recommended Trading Usage
✅ Best Practices
Trade in the direction of FINAL trend
Enter on pullbacks, not breakouts
Use lower timeframes only for entries
❌ Avoid
Trading against FINAL bias
Chasing trades when reversal % is high
Over-leveraging in CHOP conditions
🎯 Ideal For
Crypto traders (Spot & Futures)
Forex traders
Gold / Commodity traders
Scalping, Intraday & Swing trading
⚠️ Disclaimer
This indicator is a decision-support tool, not financial advice. Always combine it with proper risk management, confirmations, and your trading plan.
Volatility Regimes | GainzAlgo📊 OVERVIEW:
=========
This is a comprehensive ATR-based trading system designed for professional
traders who need advanced volatility analysis, precise trade management, and
intelligent market regime detection. The indicator combines multiple proven
volatility concepts into one powerful, customizable tool.
⭐ WHY THIS SYSTEM IS UNIQUE AND WORTHY OF PUBLICATION:
====================================================
This is not simply a collection of ATR-based indicators placed together.
It represents a unified volatility analysis framework where each component
is specifically designed to work in concert with the others, creating a
complete trading workflow that cannot be replicated by using multiple
separate indicators.
🔗 SYNERGISTIC INTEGRATION - How Components Work Together:
🧠 1. CONTEXT-AWARE ANALYSIS
The Volatility Regime Detection acts as the "brain" of the system,
classifying market conditions into 4 distinct phases. Every other
component then adapts its behavior based on this regime classification:
- ATR Bands expand/contract with regime changes
- Stop Loss distances automatically adjust (tighter in compression,
wider in high volatility)
- Take Profit targets scale proportionally to current regime
- Signal sensitivity filters itself based on market phase
📐 2. UNIFIED VOLATILITY FOUNDATION
All calculations share a single ATR baseline calculation, ensuring
internal consistency across the entire system. When ATR changes, every
element updates in perfect synchronization:
- Bands recalculate from the same ATR value
- Risk management levels use the same volatility measurement
- Regime classification and signals reference identical data
🛡️ 3. INTEGRATED RISK MANAGEMENT
The system doesn't just show WHERE to enter - it calculates HOW MUCH
to risk:
- Dynamic Stop Loss adapts to current ATR automatically
- Position Size Calculator uses the dynamic stop to compute exact quantities
- Take Profit levels scale proportionally, maintaining optimal risk:reward
✅ 4. TWO-STAGE SIGNAL CONFIRMATION
The alert system creates a logical progression:
Step 1: Volatility Breakout → Market energy is building
Step 2: Trend Confirmation → Direction confirmed with volatility support
This prevents false breakouts by requiring both volatility AND direction.
🏦 5. PROFESSIONAL WORKFLOW INTEGRATION
The system mirrors how institutional traders analyze markets:
Phase 1: Assess regime → What's the market doing?
Phase 2: Identify setup → Where's the opportunity?
Phase 3: Calculate risk → What's my exposure?
Phase 4: Set targets → Where do I take profit?
Phase 5: Monitor regime → When do conditions change?
❌ WHY NOT USE SEPARATE INDICATORS?
- Separate ATR Bands: Don't know about regime changes, remain static
- Separate Regime Indicator: Doesn't automatically adjust stop/targets
- Separate Position Calculator: Doesn't know your actual ATR-based stop
- Manual Integration: Requires constant mental calculation and cross-referencing
🧮 DETAILED CALCULATION METHODOLOGY:
=================================
📏 ATR (AVERAGE TRUE RANGE) CALCULATION:
- True Range = Maximum of:
1. Current High - Current Low
2. Absolute value of (Current High - Previous Close)
3. Absolute value of (Current Low - Previous Close)
- ATR = Simple Moving Average of True Range over specified period (default: 14)
📊 DYNAMIC ATR BANDS:
- Upper Band = Current Close + (ATR × Band Multiplier)
- Lower Band = Current Close - (ATR × Band Multiplier)
- Band 1: 1.0× ATR (closest support/resistance)
- Band 2: 2.0× ATR (intermediate zone)
- Band 3: 3.0× ATR (extended zone)
🌡️ VOLATILITY REGIME CLASSIFICATION:
Step 1: Calculate ATR Baseline
- Baseline ATR = SMA or EMA of ATR over long period (default: 50 bars)
- This represents "normal" volatility for the instrument
Step 2: Calculate ATR Ratio
- ATR Ratio = Current ATR ÷ Baseline ATR
- Example: If current ATR = 70 and baseline = 50, ratio = 1.40
Step 3: Classify Regime Based on Ratio
- COMPRESSION: Ratio < 0.70 (ATR is 30% below normal)
Market consolidating, volatility contracting, energy building
- EXPANSION: Ratio between 1.15 and 1.40 (ATR is 15-40% above normal)
Volatility breaking out, early phase of directional movement
- HIGH VOLATILITY: Ratio > 1.40 (ATR is 40%+ above normal)
Strong sustained trend with high participation
- EXHAUSTION: ATR declining after high volatility period
Requires: Previous high ratio + declining ATR over X bars (default: 5)
Trend maturity, potential reversal or consolidation approaching
🛑 DYNAMIC STOP LOSS CALCULATION:
- For Long Positions: Stop Loss = Entry Price - (ATR × SL Multiplier)
- For Short Positions: Stop Loss = Entry Price + (ATR × SL Multiplier)
- Default Multiplier: 2.0× ATR
- Adjusts automatically: Wider in high volatility, tighter in compression
🎯 TAKE PROFIT LEVELS:
- TP1 = Entry Price ± (ATR × TP1 Multiplier)
- TP2 = Entry Price ± (ATR × TP2 Multiplier)
- TP3 = Entry Price ± (ATR × TP3 Multiplier)
- Direction (+ or -) depends on trade direction
📦 POSITION SIZE CALCULATION:
Formula: Position Size = Account Risk Amount ÷ Stop Loss Distance
Step-by-step:
1. Risk Amount = Account Size × (Risk Percentage ÷ 100)
2. Stop Distance = |Entry Price - Stop Loss Price|
3. Position Size = Risk Amount ÷ Stop Distance
📈 ATR PERCENTILE RANKING:
- >80% = Extremely high volatility
- 20-80% = Normal volatility range
- <20% = Extremely low volatility
🌀 VOLATILITY CONTRACTION PATTERN:
Detects extended low-volatility periods indicating imminent breakout.
🧭 TREND DETECTION SIGNALS:
Bullish: Price > MA AND Current ATR > ATR MA
Bearish: Price < MA AND Current ATR > ATR MA
⚡ VOLATILITY BREAKOUT SIGNALS:
Triggered when ATR exceeds its moving average by a defined threshold.
🧩 CORE FEATURES:
==============
1. ATR BANDS (Dynamic Support/Resistance)
2. VOLATILITY REGIME DETECTION
3. DYNAMIC STOP LOSS SYSTEM
4. MULTIPLE TAKE PROFIT LEVELS
5. SUPPORT & RESISTANCE LEVELS
6. RISK MANAGEMENT CALCULATOR
7. ATR PERCENTILE RANKING
8. VOLATILITY CONTRACTION PATTERN
9. TREND DETECTION SIGNALS
10. VOLATILITY BREAKOUT SIGNALS
⚙️ RECOMMENDED SETTINGS BY TRADING STYLE:
======================================
DAY TRADING • SWING TRADING • POSITION TRADING • SCALPING
📘 HOW TO USE THIS INDICATOR:
==========================
STEP 1: Identify Market Regime
STEP 2: Wait for Entry Signal
STEP 3: Set Stop Loss
STEP 4: Set Take Profits
STEP 5: Position Sizing
STEP 6: Monitor & Manage
🔔 ALERT SYSTEM:
=============
Alerts for volatility breakouts, trend changes, regime transitions,
ATR band crossings, contraction completion, and percentile extremes.
🎨 CUSTOMIZATION:
==============
All visuals, thresholds, multipliers, colors, alerts, and risk parameters
can be fully customized.
⚠️ IMPORTANT DISCLAIMER:
=====================
This indicator is a volatility analysis tool and does NOT provide financial advice.
Past performance does not guarantee future results.
All trading involves substantial risk.
All trading decisions are the sole responsibility of the user.
Spot Futures Divergence & Auction ContextSpot–Futures Divergence & Auction Context
Spot–Futures Divergence & Auction Context is a contextual market analysis indicator designed to help traders understand where the market is positioned and when structural divergence is meaningful.
This tool compares spot and futures price structure using confirmed swing pivots and overlays that information with VWAP location, auction regime, and higher-timeframe (HTF) trend context.
⚠️ This indicator is NOT a buy/sell signal generator.
It is intended for discretionary decision support and market context only.
🔍 What This Indicator Shows
1️⃣ Spot–Futures Structural Divergence
Identifies divergence between spot and futures swing structure
Highlights where derivatives are leading or lagging cash markets
Uses confirmed pivots only (non-repainting)
2️⃣ Divergence Quality (DIV-A / DIV-B)
DIV-A: Divergence aligned with HTF trend
DIV-B: Divergence against or without HTF alignment
Helps distinguish high-quality context from early warnings
3️⃣ VWAP Context & Deviation Bands
Session VWAP plotted on futures
Optional VWAP deviation bands (±1σ / ±2σ / ±3σ) for auction stretch context
Bands are visual only, not signals
4️⃣ Auction Regime Detection
Classifies market as BALANCED or IMBALANCED
Helps avoid divergence during strong trend / directional auctions
5️⃣ Options Bias Panel (Context Only)
Provides a high-level directional or volatility bias, such as:
CALL BIAS
PUT BIAS
SELL PREMIUM
WAIT
This bias is informational, not an instruction to trade.
⚙️ Key Settings Explained
Futures / Execution Symbol
Select the futures or derivative symbol you are trading (e.g., NIFTY1!, BANKNIFTY1!, ES1!, BTCUSDT.P).
Spot / Cash Reference Symbol
Select the corresponding spot or cash index used for structural comparison.
Divergence Display Mode
Show All → Displays all divergences
Hide in Imbalanced → Suppresses divergences during strong directional auctions
DIV-A only in Imbalanced → Shows only HTF-aligned divergences on trend days
This is a discipline and visibility control, not a signal filter.
VWAP Deviation Bands
Optional visual bands to assess how far price is trading from fair value.
Best used for context, not entries.
🧭 How to Use (1-Page User Guide)
Recommended Workflow
Start with auction regime
Balanced → mean-reversion context
Imbalanced → trend / momentum context
Observe VWAP location
Near VWAP → fair value
Extended → stretched auction
Note Spot–Futures divergence
DIV-A → higher contextual importance
DIV-B → early warning or risk signal
Use Options Bias panel
As a guideline, not a trigger
Especially useful for options and volatility strategies
🚫 When to Ignore Divergence
Strong imbalanced trend with steep VWAP slope
News-driven or event-driven sessions
Very early session before structure forms
⚠️ Important Disclaimers
This indicator does not generate buy/sell signals.
No profitability or performance claims are made.
Past behavior does not guarantee future results.
Trading futures, options, and leveraged products involves significant risk.
Use this tool for analysis and education only.
📊 Best Use Cases
Index futures & options
Spot vs derivative structure analysis
Intraday auction and VWAP-based context
Risk awareness and trade selection support
Optimus S/R ZonesEnhanced S/R Zones Pro is a sophisticated Support and Resistance indicator designed for traders who need reliable, validated S/R levels with professional-grade visualization. Unlike basic pivot indicators, this tool validates levels based on historical price interaction and provides comprehensive analysis of your current position within the market structure.
✨ Key Features
📊 Extended Lookback Analysis
Lookback Range: 20-500 bars (far beyond standard 80-bar limits)
Pivot Strength: Adjustable 2-10 bars for confirmation
Separate Controls: Independent max levels for support (1-8) and resistance (1-8)
Smart Filtering: Automatic level spacing with customizable minimum distance (0.3-5%)
🎨 Advanced Zone Visualization
Three Zone Styles:
Filled: Solid colored zones
Outlined: Border-only zones
Both: Combined for maximum visibility
Adjustable Transparency: 50-95% opacity control
Dynamic Extension: Zones extend to the right indefinitely
Custom Zone Width: 0.05-1.0% of price
💪 Level Strength System
Touch Validation: Only shows levels tested multiple times
Minimum Touches: Filter for 1-5 minimum confirmations
Color Intensity: Stronger levels (more touches) display darker/brighter
Touch Detection: Customizable sensitivity (0.1-1.0% range)
Independent Display: Show touch counts without color coding
📱 Enhanced Dashboard
Level Count: Active support/resistance zones
Distance Metrics: Percentage to nearest S/R levels
Range Position: Where price sits between S/R (0-100%)
Color Coding: Visual feedback on market position
Four Positions: Top/Bottom, Left/Right placement
🎭 Customizable Visuals
Label Sizes: Tiny, Small, Normal, Large, Huge
Adjustable Line Width: 1-4 pixels
Custom Colors: Full color picker for support/resistance
Optional Touch Count: Toggle touch numbers on/off
Midpoint Line: Shows equilibrium between nearest S/R
🔔 Smart Alerts
Proximity Alerts: Triggers when approaching support zones
Resistance Alerts: Triggers when nearing resistance zones
Customizable Range: Based on touch detection sensitivity
🔧 How It Works
1. Pivot Detection
The indicator scans historical price action using configurable pivot strength to identify significant highs and lows. Extended lookback allows detection of major structural levels that shorter timeframes might miss.
2. Touch Validation
Each potential level is validated by counting how many times price has tested it within the specified touch detection range. Only levels meeting the minimum touch threshold are displayed.
3. Strength Ranking
Levels are ranked by:
Number of touches (primary)
Proximity to current price (secondary)
This ensures the most reliable and relevant levels are always shown.
4. Smart Filtering
The minimum distance filter prevents level clustering, keeping your chart clean and focusing only on distinct, actionable zones.
💡 Use Cases
Swing Trading
Identify major support/resistance for position entries
Set profit targets at strong resistance levels
Place stops below validated support zones
Day Trading
Quick identification of intraday S/R
Monitor range position for mean reversion trades
Use proximity alerts for entry timing
Position Trading
Extended lookback reveals major structural levels
Touch count validation ensures reliability
Range position helps time accumulation/distribution
Risk Management
Distance metrics help size positions appropriately
Strong levels (high touch count) for tight stops
Midpoint line for partial profit taking
⚙️ Settings Guide
Core Settings
Lookback Period: Start with 100 for swing trading, 50 for day trading
Pivot Strength: Higher values = fewer but stronger levels
Max Levels: 2-3 support and 2-3 resistance recommended
Min Distance: 1.0% prevents clustering, increase for volatile assets
Zone Settings
Zone Width: 0.25% default works well for most assets
Zone Style: "Both" for maximum visibility
Extend Zones: Keep enabled to track levels forward
Transparency: 85% provides good visibility without clutter
Level Strength
Show Level Strength: Enable for color-coded importance
Min Touches: 2-3 for validated levels
Touch Detection: 0.3% for precise levels, increase for volatile markets
Visual Settings
Label Size: Small/Normal for most charts
Show Touch Count: Enable to see level validation
Line Width: 2 for standard, 3-4 for presentation charts
📈 Best Practices
Start Conservative: Begin with default settings, adjust based on asset volatility
Combine Timeframes: Use different lookback periods on multiple charts
Respect Strong Levels: Higher touch counts indicate institutional interest
Watch Range Position: <30% = near support, >70% = near resistance
Use Alerts: Set proximity alerts to avoid constant chart watching
Validate Breaks: Zone width shows where true breaks occur vs. fakeouts
🚀 What Makes This Different
Unlike basic pivot indicators that simply mark highs/lows:
✅ Validates levels through touch count analysis
✅ Ranks levels by actual strength, not just recency
✅ Visualizes zones, not just lines
✅ Quantifies your position within market structure
✅ Extends lookback far beyond standard limits
✅ Separates support and resistance controls
🎓 Tips for New Users
First Time Setup:
Add indicator to chart
Enable dashboard in settings (default on)
Observe which levels price respects
Adjust lookback/strength to match your trading style
Set proximity alerts for your key levels
Optimization:
Forex: 0.2-0.3% zone width, 100-200 lookback
Stocks: 0.3-0.5% zone width, 50-150 lookback
Crypto: 0.4-0.6% zone width, 100-200 lookback
Indices: 0.2-0.4% zone width, 100-250 lookback
⚠️ Disclaimer
This indicator is a technical analysis tool and should not be used as the sole basis for trading decisions. Support and resistance levels are not guarantees of price behavior. Always use proper risk management, combine with other analysis methods, and consider fundamental factors. Past performance does not guarantee future results.
Chainbey Ai - Swing High/Low Range📈 Chainbey Ai – Swing High / Swing Low Range
Chainbey Ai – Swing High / Swing Low Range is a clean and powerful market-structure indicator designed to automatically identify key swing levels and visualize the active price range on any chart.
This tool helps traders clearly see where price is reacting, consolidating, or preparing for a breakout.
🔹 What This Indicator Does
✔ Automatically detects the latest confirmed Swing High
✔ Automatically detects the latest confirmed Swing Low
✔ Draws horizontal levels for both swings
✔ Labels levels clearly as “Swing High” and “Swing Low”
✔ Highlights the range between swings using a background fill
✔ Updates dynamically as new market structure forms
🔹 Why It’s Useful
Identify support & resistance without manual drawing
Visualize consolidation zones instantly
Spot breakout and fake-out areas faster
Ideal for range trading, breakout trading, and trend confirmation
Works perfectly with price action, volume, and order-flow concepts
🔹 Best Use Cases
Crypto (Spot & Futures)
Forex
Indices
Commodities (Gold, Silver, Oil)
Timeframes: Works on all timeframes (especially strong on 15M, 30M, 1H)
🔹 How to Trade With It
Buy bias when price holds above Swing Low inside the range
Sell bias when price rejects from Swing High
Breakout confirmation when price closes strongly outside the range
Combine with volume, momentum, or liquidity concepts for higher accuracy
🔹 Customization
Adjust Swing Length to control sensitivity
Enable/disable range background fill
Customize colors and transparency
Extend swing levels to the right for forward guidance
⚠️ Disclaimer
This indicator is a technical analysis tool, not financial advice.
Always manage risk and confirm signals with your own strategy.
🔗 Built by Chainbey Ai
Smart Structure • Clean Levels • Clear Ranges 🚀
Chainbey AI - Pattern Memory Table (v2)Chainbey AI – Pattern Memory & Market Outcome Table
Chainbey AI Pattern Memory is an advanced market behavior reference indicator designed to help traders understand how the current price structure compares with historical market patterns.
Instead of repainting signals or forcing trades, this tool focuses on context awareness:
It analyzes the current price pattern range
Matches it against selected historical price structures
Displays how price reacted after similar patterns in the past
Shows an estimated directional outcome and momentum strength
All results are presented in a lightweight on-chart table, keeping the chart clean and readable.
🔍 What this indicator shows
📅 Matched historical date & time
📈 Expected direction (UP / DOWN / FLAT)
📊 Historical move percentage
⚡ Estimated momentum strength
🧠 Similarity score (lower = closer pattern match)
🎯 How traders use it
Confirm bias before entering a trade
Understand historical reactions at similar market structures
Avoid emotional decisions by referencing past behavior
Combine with support/resistance, volume, RSI, or trend tools
⚠️ This indicator does NOT generate buy/sell signals.
It is a decision-support & market insight tool, best used alongside your own strategy.
🧩 Best use cases
Crypto, Forex, Commodities, Indices
Intraday & swing trading
Market structure and pattern-based strategies
Bias confirmation before entries
⚠️ Disclaimer
This indicator is for educational and analytical purposes only.
It does not guarantee future performance and should not be considered financial advice.
Supertrend BUY Only - Optimized for Gold M15 TimeframeOverview
The Supertrend BUY Only - Production Optimized is a high-performance trend-following indicator specifically tuned for XAUUSD (Gold) on the 15-minute timeframe. Unlike standard Supertrend scripts, this version focuses exclusively on bullish cycles to align with long-term upward bias and uses parameters discovered through deep data analysis of over 20,000 bars of historical market data.
Key Features
Data-Optimized Parameters: Defaults are set to ATR Period 7 and Multiplier 2.1, which backtesting has shown to provide a superior balance between sensitivity and noise reduction for Gold.
Production-Ready Alerts: Includes built-in alertcondition triggers for both BUY (Trend Flip) and STOP BUY (Trend Exit), complete with dynamic messages that include price and interval.
Trailing Support Band: Uses a trailing logic that locks in support levels during upward moves, preventing the band from dropping until the trend officially reverses.
Clean Visuals: Focuses on chart clarity by only plotting the support line during active uptrends and utilizing clean shape labels for entries and exits.
How to Use
Entry (BUY): When the Supertrend line flips from Red to Green and a "BUY" label appears. This indicates bullish momentum has overcome recent volatility.
Exit (STOP BUY): When the price closes below the Green support line. The indicator will plot a red "X" and clear the green background.
Setting Alerts: * Click the Alerts icon in TradingView.
Select this indicator under "Condition."
Choose "BUY Signal" for entries and "STOP BUY / EXIT" for managing your trade or taking profit.
Technical Details
The script allows users to toggle between the TradingView (RMA) ATR calculation and the Standard (SMA) method. For production and live trading, the RMA method is recommended as it provides a smoother response to volatility spikes common in the Gold market.
Asian and London Session High-Low (Auto UK DST) + PDH/PDLThis indicator automatically plots Asian session (7:00am–2:00pm MYT) and London session high/low using Malaysian time, with London adjusting automatically for UK Daylight Saving Time (4:00pm–9:00pm MYT in winter, 3:00pm–8:00pm MYT during DST).
It also shows Previous Day High/Low (PDH/PDL) and a 7:00am MYT daily reset line, while No-Trade zones are available but turned OFF by default and can be enabled when needed.
ORB W/ Custom time FramesRelease Notes: Simplified ORB (Opening Range Breakout)
This indicator is a streamlined, high-performance tool designed to identify the Opening Range—one of the most widely used concepts by professional floor traders and institutional scalpers. It marks the high, low, and midpoint of the initial balance of the market, providing you with a "map" for the rest of the trading session.
Key Features
Customizable Timeframes: Define your opening range window (e.g., the first 5, 15, or 30 minutes) regardless of what timeframe you are currently viewing.
Custom Session Support: Choose between standard market hours (09:30–16:00) or define your own custom window (e.g., the London Open or the first hour of "Power Hour").
Real-Time Midpoint Calculation: Automatically plots the 50% Equilibrium level between the high and low, serving as a pivot point for intraday bias.
Dynamic Updating: During the ORB window, the lines adjust in real-time as new highs or lows are set. Once the window expires, the levels lock in place to act as support and resistance.
Clean Visuals: Utilizes a lightweight line drawing system that is easy on your GPU and keeps the chart clutter-free.
Why This is Essential for Scalping
Scalpers rely on volatility and clear "lines in the sand." The Opening Range Breakout (ORB) provides exactly that:
The "Opening Drive": If price breaks the ORB High with high volume, scalpers look for quick "long" momentum plays. Conversely, a break below the ORB Low signals a bearish trend.
The Midpoint Pivot: The 50% level (Mid) is often treated as the "Fair Value" of the morning. If price is above the mid, the bias is bullish; if below, the bias is bearish.
Stop Loss / Take Profit Anchor: The ORB High and Low act as natural areas for placing stops or targets. A failed breakout that returns inside the range often targets the opposite side of the box.
The Institutional Anchor (Daily OC Zone)The Institutional Anchor (Daily OC)
This indicator is a high-performance tool for traders who rely on "Institutional Candles" or "Opening Candles" (OC) to define their daily bias. Built on the latest Pine Script® v6 engine, it provides a stable, non-repainting foundation for identifying key institutional support and resistance levels.
Core Features & Technical Edge
1. Dual-Mode Zone Definition
Traders have different ways of defining institutional strength. This script supports both methods to suit your specific strategy:
Body-Only Mode: Focuses on the "Real Move" by using the Open and Close of the anchor candle.
Full Range Mode (Wicks): Accounts for total liquidity grabs and volatility by including the High and Low.
2. Precision Equilibrium (Mean Threshold)
In institutional trading, the 50% level of a candle is the "Fair Value" or Mean Threshold.
Includes a customizable Midline with independent styling (Solid, Dashed, Dotted).
Automatically calculates the exact mathematical center, helping you spot high-probability rejections at the "Equilibrium" of the move.
3. Professional Visualization Suite
Global Timezone Alignment: A built-in UTC Offset ensures you can align with New York (UTC-5), London (UTC+0), or your specific exchange time without manual calculations.
Auto-Naming System: Automatically labels zones with the Day of the Week (e.g., "Monday OC") to help you track weekly cycles and "Power of 3" (Accumulation/Manipulation/Distribution).
Historical Memory: Choose to show only the current day's active zone for a clean workspace, or display historical zones to find "nested" levels from previous days.
4. Dynamic Price Action Alerts
Stay notified without being glued to the screen. The script includes pre-configured, logically consistent alert conditions:
Equilibrium Touch: Triggers the moment price interacts with the 50% Mean Threshold.
Boundary Breach: Notifies you when price exits or taps the upper or lower edges of the zone.
5. Universal Market Compatibility
BTC & Crypto Optimized: Handles 24/7 data streams flawlessly without logic gaps.
Forex Precision: Perfect for London Open or Midnight Open strategies on pairs like EUR/USD.
Non-Repainting: Once the anchor hour closes, the zone is locked, providing a reliable reference point for the rest of the trading day.
How to Use
Market Open Hour: Enter the hour (24h format) of your chosen anchor candle (e.g., 2 for 2:00 AM).
UTC Offset: Match the offset to your preferred trading session time.
Customize Style: Adjust colors, transparency, and line styles to match your chart theme.
Auto Liquidity Sweep Trendlines withCustomisable Setting By VJhaThis automatic trendline system draws trendlines automatically. Drawing trendlines has been the most occupying job, so much so good trades are missed by the time these lines are drawn.
Points used to draw these trendlines are not ordinary wicks, rather they are liquidity points of huge importance. This trendline system removes any need for mannual tredline drawing.
Red and Green trendlines pivot numbers are customisable in setting. Traders can adjust these pivot numbers in setting to their likings and needs.
This version is improved and upgraded one.
Session Anchored OIWAP [Arjo]The Session Anchored OIWAP (Open Interest Weighted Average Price) indicator shows you a weighted average price that uses Open Interest (OI) changes during different trading sessions . It divides the day into four clear sessions: Opening Hour , Morning Session , Mid-Day Session , and Closing Session .
For each session , it calculates a weighted average price using both market price and open interest data from futures . This line updates as the session progresses and resets when a new session starts .
You can also see optional deviation bands that you visually compare to how far the market price is moving away from the session’s weighted average. This indicator also helps you watch how Open Interest changes connect with price movements during specific market hours.
Concepts
This tool works on a few simple ideas:
Session anchoring
Each session starts fresh. The indicator resets and begins a new calculation when a new time block begins. This allows users to visually study each session independently.
Open-interest weighting
Instead of treating all price moves equally, price changes linked to higher open-interest activity have more influence on the OIWAP. This gives a weighted reflection of where the market has been trading during the session.
Averaging and smoothing
The OIWAP line blends many price data points into one smooth curve, making it easier to follow than raw price movement.
Volatility display with bands
The upper and lower bands are placed at ±0.5 standard deviation from the OIWAP line. These bands simply help you see when price stretches further away than usual from the session average.
Features
Four Independent Session Calculations: Shows separate OIWAP lines for Opening Hour (default: 09:15-10:15), Morning (10:15-11:30), Mid-Day (11:30-14:00), and Closing (14:00-15:30) sessions
Open Interest Weighting: Uses absolute OI change as the weight instead of traditional volume
Customizable Session Times: You can change the time ranges for each session to match your market or what you need
Optional Deviation Bands: You can turn ±0.5 standard deviation bands on or off around each OIWAP line
Color-Coded Sessions: Each session has its own color so you can tell them apart easily
Selective Display: You can turn individual sessions and bands on or off
Data Availability Check: Shows you a notification when Open Interest data isn't available for your symbol
Adjustable Position Timeframe: You can calculate OI changes on different timeframes (Chart, Daily, 15min, 30min, 60min, 120min)
How to use
Add this indicator to a chart of any symbol that has Open Interest data ( from futures or derivatives contracts). Once you add it, you'll see colored lines showing the OIWAP for each session you enable, along with optional deviation bands.
Adjusting Settings:
Turn individual sessions on or off using the checkboxes in the " Sessions " section
Change session colors to match your chart or what looks good to you
Turn deviation bands on or off using the " Show Bands " option in the Display settings
Change session time ranges in the " Session Times " section to match your market hours or what you want to analyze
Change the Position Timeframe if you want to see OI changes calculated on a different time period
Visual Interpretation:
Each OIWAP line shows you the OI-weighted average price for that session
The deviation bands show you how much prices spread out, weighted by OI changes
You can watch how price interacts with these levels to see where significant OI activity happened
Different sessions may show different OIWAP levels, showing you how the OI-price relationship changes throughout the trading day
Note:
This indicator needs Open Interest data to work. If OI data isn't available for your symbol, you'll see a message in the center of your chart. This indicator works only with derivatives markets like futures and options in the Indian Market where OI data is publicly available.
Conclusion
The Session Anchored OIWAP indicator is designed to support structured market observation by combining price, open interest, and session anchoring into a clear visual format. It helps users study market behavior during different parts of the day without generating trading instructions or outcomes.
Disclaimer
This indicator is for educational and visual-analysis purposes only. It does not provide trading signals , financial advice, or guaranteed outcomes . You should perform your own research and consult a licensed financial professional when needed. All trading decisions are solely the responsibility of the user.
Happy Trading
GCM Price Volume Trend [Dual Signal Ribbon]1. Title
GCM Price Volume Trend
2. Description (Copy & Paste)
Overview
The GCM Price Volume Trend (PVT) is an advanced enhancement of the classic Price Volume Trend indicator. While standard PVT indicators typically use a single signal line, this version introduces a Dual Signal Ribbon System. This allows traders to visualize trend strength, filter out market noise, and identify momentum shifts more accurately.
This script is built upon the foundational logic of the Price Volume Trend indicator by @everget, upgraded here to Pine Script v6 with significant functional additions.
How It Works
The Price Volume Trend (PVT) is similar to On Balance Volume (OBV), but with a key difference: while OBV adds all volume on an up day, PVT adds only a portion of the volume proportional to the percentage price change. This makes PVT a more accurate representation of money flow relative to price movement.
Key Features in This Version
1. Dual Signal Ribbon: Unlike the original single-line version, this indicator plots two signal lines. The area between them acts as a "Cloud" or "Ribbon."
o Green Ribbon: Indicates strong bullish momentum.
o Red Ribbon: Indicates bearish momentum.
o Narrow/Twisting Ribbon: Indicates consolidation or indecision.
2. 7 Smoothing Algorithms: You are no longer limited to just SMA or EMA. You can independently set both signal lines to use:
o SMA (Simple)
o EMA (Exponential)
o WMA (Weighted)
o RMA (Rolling/Wilder's)
o HMA (Hull - Great for reducing lag)
o VWMA (Volume Weighted)
o LSMA (Least Squares / Linear Regression)
3. Visual Customization: Fully standardized coloring system with adjustable opacity for the ribbons to keep your chart clean.
How to Use
• Trend Following: When the main PVT line is above both signal lines and the ribbon is Green, the trend is Bullish.
• Crossovers: A crossover of the PVT line above the Primary Signal (Signal 1) is an early entry warning. A crossover above the Secondary Signal (Signal 2) confirms the trend.
• Divergence: If Price makes a Higher High but the PVT line makes a Lower High (and fails to break above the ribbon), look for a potential reversal.
Settings
• Signal 1 & 2 Type/Length: Customize the sensitivity of the ribbon.
• Style & Colors: Adjust Bull/Bear colors and transparency levels to fit your dark or light theme.
Credits
• Original PVT script logic inspired by @everget.
• Modifications, Dual-Signal logic, and v6 upgrade by @uniGram.
RONBO red candle without wick - early BUY signalthis indicator puts an arrow and smiley below the red candle without a wick. This can be a premature BUY signal. Look for the conformation after the arrow and do your research
Broadening Formation Structure Review ToolThis script provides an educational, checklist-based framework for studying Broadening Formations together with basic Strat-style reversal behavior and higher-timeframe direction. It is designed to show multiple structural conditions in one place so users can observe how they interact. It does not execute trades, generate signals, or provide financial advice.
What makes this script original is the integration of four components into a single logical framework:
• dynamic tracking of Broadening Formation high/low levels
• proximity evaluation relative to those levels
• classification of simple bar reversal behavior
• higher-timeframe open–close continuity checks
Instead of using these concepts as separate tools, the script combines them into a single checklist so users can see when multiple conditions occur at the same time.
Broadening Formation levels may be user-defined or automatically derived using:
• unlimited dynamic expansion
• range-limited dynamic expansion
• swing-pivot detection
• manual input mode
Users may also optionally lock levels once a structure is identified.
Proximity to BF levels can be measured in several ways, including percentage, ticks, points, dollars, ATR multiples, or expected-move multiples. The script can also detect when price takes out BF highs or lows.
The script classifies basic Strat-style price behavior, including:
• two-up / two-down moves
• outside bars
• failed 2U/2D reversals
• 2D→2U and 2U→2D reversals
A selectable higher timeframe (such as 60, 240, D, W, or M) is used to evaluate direction by comparing the higher-timeframe open and close.
The on-chart table summarizes:
• current BF High and BF Low levels
• proximity status relative to those levels
• whether BF highs or lows have been taken out
• reversal classification results
• higher-timeframe direction
• theoretical risk distance and 2R/3R projections
Optional alerts can notify when three-condition or four-condition checklist alignment occurs, based only on the logical rules visible in the script. Optional chart lines for BF levels may also be displayed.
Transparency and behavior notes
• swing pivots repaint until confirmed
• higher-timeframe direction is only final at bar close
• dynamically derived BF levels may update as price forms new extremes
This script is intended purely for market-structure study and education. It does not guarantee performance, predict outcomes, or recommend trades.
HaP RSIComprehensive Guide to HaP RSI Indicator
Introduction
The HaP RSI indicator is a custom technical analysis tool designed to replicate the logic and structure of the HaP MACD indicator but applied to the Relative Strength Index (RSI). This indicator combines traditional RSI concepts with advanced smoothing techniques, dynamic signal generation, and visual cues to help traders identify potential entry and exit points, trend strength, and momentum shifts.
This document provides an exhaustive explanation of the indicator's logic, its components, and practical strategies for trading with it.
Logic and Structure of HaP RSI
The HaP RSI indicator is built on the foundation of the RSI oscillator, which measures the speed and change of price movements to identify overbought and oversold conditions. The indicator enhances RSI by incorporating the following elements:
RSI Calculation: Uses a customizable length (default 10) and allows selection of smoothing type (EMA or SMA) for flexibility.
Signal Line: A moving average of the RSI (default length 9) that acts as a reference for crossovers and trend confirmation.
DEMA Logic: Double Exponential Moving Average applied to RSI and its signal line to generate dynamic dot signals for entries and exits.
Visual Elements: Midline at 50, Overbought/Oversold levels at 70 and 30, color-coded dots (Blue, Green, Orange, Red) for intuitive interpretation.
Conditions and Signal Generation
The indicator uses a sophisticated set of conditions to determine market states and generate actionable signals:
Buy Condition: Triggered when the DEMA of RSI is above the DEMA of its signal line AND the DEMA signal line is rising. This indicates strengthening bullish momentum.
First Signal Dot: Appears as a Blue dot when the buy condition becomes true for the first time after being false. This marks the start of a potential bullish phase.
Ongoing Signal Dot: Appears as Green if RSI is rising or Orange if RSI is falling while the buy condition remains true. This provides real-time feedback on momentum strength.
Exit Dot: Appears as Red when the buy condition turns false after being true, signaling a potential end to the bullish phase.
Crossovers: RSI crossing above its signal line (bullish) or below (bearish) are calculated but hidden by default, offering additional confirmation if enabled.
Trading Strategies Using HaP RSI
The HaP RSI indicator can be used in multiple ways to enhance trading decisions. Below are detailed strategies and best practices:
1. Entry Strategies
Enter long positions when a Blue dot appears, confirming the start of bullish momentum. Ideally, combine this with RSI above the midline (50) and price action breaking resistance.
Add to positions or scale in when Green dots appear, indicating continued bullish strength.
2. Exit Strategies
Exit or tighten stops when a Red dot appears, signaling weakening momentum.
Consider partial exits on Orange dots if momentum slows but the trend remains intact.
3. Trend Confirmation
Use the midline (50) as a regime filter: RSI above 50 generally favors long trades, while below 50 favors shorts.
Overbought/Oversold levels (70/30) can help identify exhaustion points for reversals or caution zones.
4. Risk Management
Always combine HaP RSI signals with stop-loss placement based on recent swing lows/highs.
Avoid chasing signals in low-volatility environments; confirm with volume or higher timeframe trend.
Advanced Usage and Best Practices
Combine HaP RSI with other indicators like moving averages or price action patterns for confluence.
Use alerts for Blue and Red dots to automate monitoring and reduce missed opportunities.
Backtest the indicator on multiple timeframes (H1 recommended) to optimize settings for your trading style.
Summary
HaP RSI is a powerful tool that blends RSI's simplicity with advanced signal logic, making it suitable for trend-following, momentum trading, and swing strategies. Its visual clarity and dynamic alerts allow traders to act decisively while managing risk effectively.
Apex Adaptive TrailApex Adaptive Trail: Adaptive Volatility Trend System
This custom trend-following indicator improves on standard SuperTrend implementations by addressing two key weaknesses: excessive whipsaws during high volatility and false signals in ranging markets.
Core Logic:
- Synthetic Heikin Ashi values are calculated internally (without changing chart candles) to provide smoother source data for trend detection.
- ATR-based trailing stop with adaptive multiplier: dynamically adjusts between 0.8x and 1.5x the base factor based on current volatility (ATR / 50-period SMA of ATR). Widens in volatile conditions, tightens in quiet markets.
- Weighted Confluence Score (0-100%): Combines four independent filters, each contributing 25%:
• Price position relative to 21-period EMA (trend alignment)
• ADX > 20 (momentum strength)
• Choppiness Index < 60 (trending vs ranging detection)
• Alignment with Daily EMA(50) trend direction
Signals are only generated when price crosses the adaptive trail AND the confluence score exceeds 75% (standard) or 90% (MAX 🔥 ultra-strong). This combination significantly reduces low-quality entries compared to traditional SuperTrend crossovers.
Key Features:
- Dynamic confidence cloud (opacity based on score)
- Real-time dashboard showing volatility state, active filters, trend bias, and estimated historical win rate
- Optional dynamic/fixed profit targets
- Fully customizable filters and adaptive behavior
Usage: Best on 15m to 4H timeframes for trend-following strategies (Crypto, Forex, Indices). Enter on APEX signals, use trail as stop-loss, TP lines for partial exits.
This script integrates established concepts into a unique adaptive framework with volatility-responsive risk management and multi-filter validation.
Disclaimer: For educational and analysis purposes only. Past performance is not indicative of future results. Always use proper risk management.
"This script combines established indicators (ATR trailing, ADX, Choppiness Index, EMA, MTF) into a unique adaptive system with dynamic volatility adjustment and weighted confluence scoring – features not found together in standard SuperTrend variations."
Price Action TrendPrice Action Trend measures trend *strength* by modelling where price sits inside a smoothed price-action channel, then applying RSI to that “channel position”. It doesn’t predict, but shows what price is doing now.
This indicator uses the same calculations as my old "Price Action Trend Overlay" script, which I'd published Protected for some forgotten reason. Some users have asked for the source code, so I'm republishing it as open source. I've also tidied up the code a bit, added some visualisations of elements that were present but never drawn, such as the PA channels themselves, drawn the trend metric in a separate pane, added alerts, and made some more configuration options available.
🟩 HIGHLIGHTS
⭐ Trend colouring on the main chart.
⭐ A trend line drawn in its own pane.
⭐ Overbought/oversold markers on the main chart, derived from the same PA calculations.
⭐ Optional “Price Average” line and channel colouring.
🟩 WHAT’S UNIQUE ABOUT THE TREND CALCULATION
Most “trend RSI” tools run RSI on close, or on some moving average of price.
This script runs RSI on a *normalised* price-action series:
- We build a smoothed channel from RMA(high) and RMA(low).
- We normalise price against that channel (relative to the channel midpoint and width).
- We run RSI on that normalised series (default 14, but optionally matched to the Trend Lookback Period).
Using highs and lows instead of close or OHLC4 makes the trend value sensitive to *range shape* and *asymmetry* (big wicks, uneven extremes), not just the centre of the candle.
As compared to a simple RSI (also included simply for comparison), this PA Trend tends to decay faster and recovers faster.
🟩 HOW TO USE IT (PRACTICAL)
⭐ Trend pane
- Treat the line as a measure of *trend strength*, not a prediction.
- Neutral zone = trend is not convincingly bullish or bearish.
- Strong moves away from neutral = “trend has conviction”.
⭐ Overbought / oversold markers
Overbought/oversold doesn’t mean “reversal right now”.
It means the *rate of directional change* is unsustainably strong.
- Overbought in an uptrend: trend is overheating. Tighten long stops; expect rest/retrace/reversal once overheating ends.
- Oversold in an uptrend: the countertrend down is likely exhausting. Potential “buy the dip” context.
- Reverse the above for downtrends.
This works on any market, any timeframe. Lower timeframes will be choppier.
Don’t trade these signals blindly; use market structure, S/R, and your other tools.
🟩 SETTINGS (OVERVIEW)
🟦 Settings
- Pane Plot Mode: choose whether the pane shows Trend or Overbought/Oversold series.
- Trend Lookback Period: channel smoothing for the trend model (higher = smoother, lower = faster).
- Show Overbought & Oversold Shapes: show/hide the triangles on the main chart.
- Overbought/sold Lookback Period: channel smoothing for OB/OS detection (lower = more sensitive).
- Overbought/sold Adaptive Length: smoothing for the dynamic OB/OS levels (lower = more adaptive).
🟦 Display
- Transparency for the candle colour: bar colour transparency (Gradient mode).
- Trend Colour Mode: Classic vs strength-based Gradient.
🟦 Price Average
- Show Price Average: show/hide the OHLC4 average price line.
- Lookback: length for the price average.
- Smoothing: SMA / EMA / RMA.
- Colour Channel by Price Average: neutral/green/red channel colouring depending on whether the price average is inside/above/below the channel.
🟦 Advanced
- Trend Upper/Lower Neutral Threshold: neutral zone bounds (also used by the dynamic OB/OS logic).
- PA RSI Length: choose Fixed (14) or match the Trend Lookback Period.
- Show RSI (close): optional “reference RSI” plot with length.
🟩 ALERTS
There are built-in alert conditions for this indicator:
- Overbought PA Trend: triggers when the PA overbought condition is true.
- Oversold PA Trend: triggers when the PA oversold condition is true.
- Trend flips up: triggers when the trend changes from down to up (ignores any intervening neutral bars).
- Trend flips down: triggers when the trend changes from up to down (ignores any intervening neutral bars).
- Lost overbought: triggers on the first red candle after the overbought condition ends (set this alert on close to avoid false alerts).
- Lost oversold: triggers on the first green candle after the oversold condition ends (set this alert on close to avoid false alerts).
🟩 REPAINTING / CALCULATION NOTES
According to my understanding, this indicator does not repaint (it does not go back and alter closed bars).
However, while the current candle is forming, values that depend on the current price will update in real time. Once the candle closes, they are fixed.
The overbought/oversold calculations use Williams fractal-style confirmation logic, which cannot be known until some bars afterwards.
This affects when the OB/OS levels update, but new confirmations only affect future calculations, not the past.
🟩 CREDITS
The idea for using smoothed highs/lows to create a price-action channel came from my humble trading mentor. All the code is my own.
🟩 DISCLAIMER
No indicator is a substitute for knowing what you’re doing.
By using this indicator you agree that it might not do what you or anyone else expects.
You retain full responsibility for your trading at all times.
Before trading with actual money, first make sure your risk management is professional-level.
Chart Wolf ToolkitVWAP • PDH/PDL • NY Kill Zone
This indicator is built for traders who trade less, not more.
The Chart Wolf WLR Toolkit standardizes your chart so every decision is made from location, structure, and timing — not indicators, signals, or predictions.
It is designed to support the Wolf Liquidity Reversal (WLR) and Wolf Value Reversion (WVR) trade models.
Relative Strength by MomentradeRelative Strength Indicator (Index Comparison)
This Pine Script indicator displays the Relative Strength (RS) of the selected instrument compared to a benchmark index, primarily designed for Nifty. It measures performance comparison, helping traders identify whether the asset is outperforming or underperforming the index over a chosen period.
A rising Relative Strength line indicates outperformance, while a falling line signals underperformance. This tool is ideal for trend confirmation, stock selection, and strength-based trading, allowing users to focus on strong assets during bullish markets and avoid weak ones. The indicator is fully customizable and can be applied to any index, stock, or timeframe.






















