AzaInsideIt shows inside bars, providing a convenient visual representation for traders.
An alert feature has also been added. ✅
Indikatoren und Strategien
Advanced Smart Trading Suite with OTE═══════════════════════════════════════
ADVANCED SMART TRADING SUITE WITH OPTIMAL TRADE ENTRY
═══════════════════════════════════════
A comprehensive institutional trading system combining multiple advanced concepts including multi-timeframe liquidity analysis, order blocks, fair value gaps, and optimal trade entry zones. Features optional anti-repainting controls for confirmed signal generation.
───────────────────────────────────────
WHAT THIS INDICATOR DOES
───────────────────────────────────────
This all-in-one trading suite provides:
- Multi-Timeframe Liquidity Detection - HTF (Higher Timeframe), LTF (Lower Timeframe), and current timeframe liquidity sweep identification
- Order Blocks - Institutional accumulation/distribution zones with enhanced detection
- Fair Value Gaps (FVG) - Price imbalance detection
- Inverse Fair Value Gaps (iFVG) - Counter-trend imbalance zones
- Optimal Trade Entry (OTE) Zones - Fibonacci retracement-based entry zones (0.618-0.786)
- Trading Sessions - Asian, London, and New York session visualization
- Anti-Repainting Controls - Optional confirmed signals with adjustable confirmation bars
- Comprehensive Alert System - Notifications for all major events
───────────────────────────────────────
HOW IT WORKS
───────────────────────────────────────
ANTI-REPAINTING SYSTEM:
This indicator includes optional anti-repainting controls that fundamentally change how signals are generated:
Confirmed Mode (Recommended):
- Signals wait for confirmation bars before appearing
- No repainting - what you see is final
- Adjustable confirmation period (1-5 bars)
- Slight lag in signal generation
- Better for backtesting and systematic trading
Live Mode:
- Signals appear immediately as patterns develop
- May repaint as new bars form
- Faster signal generation
- Better for discretionary real-time trading
The confirmation system affects all features: liquidity sweeps, order blocks, FVGs, and OTE zones.
LIQUIDITY SWEEP DETECTION:
Three-Tier System:
1. Current Timeframe Liquidity:
- Detects swing highs/lows on chart timeframe
- Configurable lookback and confirmation periods
- Session-tagged for context (Asian/London/NY)
2. HTF (Higher Timeframe) Key Liquidity:
- Default: 4H timeframe (configurable to Daily/Weekly)
- Strength-based filtering using ATR multipliers
- Distance-based clustering prevention
- Only strongest levels displayed (top 1-10)
- Labels show timeframe and strength rating
3. LTF (Lower Timeframe) Key Liquidity:
- Default: 1H timeframe (configurable)
- Precision entry/exit levels
- Strength-based ranking
- Distance filtering to avoid clutter
Sweep Detection Methods:
- Wick Break: Any wick beyond the level
- Close Break: Close price beyond the level
- Full Retrace: Break and close back inside (stop hunt detection)
Buffer System:
- Configurable ATR-based buffer for sweep confirmation
- Prevents false positives from minor price fluctuations
ORDER BLOCKS (Enhanced):
Detection Methodology:
- Identifies the last opposing candle before significant structure break
- Bullish OB: Last red candle before bullish break
- Bearish OB: Last green candle before bearish break
Enhanced Filters:
1. Size Filter:
- Minimum order block size (ATR-based)
- Ensures significant zones only
2. Volume Filter:
- Requires above-average volume (configurable multiplier)
- Confirms institutional participation
3. Imbalance Filter:
- Requires strong directional move after OB formation
- Validates true institutional activity
Violation Detection:
- Wick-based: Any wick through the zone
- Close-based: Close price through the zone
- Automatic removal of broken order blocks
FAIR VALUE GAPS (FVG):
Bullish FVG: Gap between candle 3 low and candle 1 high (three-bar pattern)
Bearish FVG: Gap between candle 3 high and candle 1 low
Requirements:
- Minimum gap size (ATR-based)
- Clear price imbalance
- No overlap between the three candles
Fill Detection:
- Configurable fill threshold (default 50%)
- Tracks partial and complete fills
- Removes filled gaps to keep chart clean
INVERSE FAIR VALUE GAPS (iFVG):
What are iFVGs:
- Counter-trend FVGs that form after original FVG is filled
- Indicate potential reversal or continuation failure
- Form within specific timeframe after original FVG
Detection Rules:
- Must occur after a FVG is filled
- Must form within 20 bars of original FVG
- Minimum size requirement (ATR-based)
- Opposite direction to original FVG
Visual Distinction:
- Dashed border boxes
- Different color scheme from regular FVGs
- Combined labels when FVG and iFVG overlap
OPTIMAL TRADE ENTRY (OTE) ZONES:
Based on Fibonacci retracement principles used by institutional traders:
Concept:
After a structure break (swing high/low violation), price often retraces to specific Fibonacci levels before continuing. The OTE zone (0.618 to 0.786) represents the optimal entry area.
Bullish OTE Formation:
1. Swing low is formed
2. Structure breaks above previous swing high (bullish structure break)
3. Price retraces into 0.618-0.786 Fibonacci zone
4. Entry signal when price enters and holds in OTE zone
Bearish OTE Formation:
1. Swing high is formed
2. Structure breaks below previous swing low (bearish structure break)
3. Price retraces into 0.618-0.786 Fibonacci zone
4. Entry signal when price enters and holds in OTE zone
Key Fibonacci Levels:
- 0.618 (Golden ratio - primary target)
- 0.705 (Square root of 0.5 - institutional level)
- 0.786 (Square root of 0.618 - deep retracement)
Structure Break Requirement:
- Optional setting to require confirmed structure break
- Prevents premature OTE zone identification
- Ensures proper swing structure is established
Entry/Exit Tracking:
- Green checkmark: Price entered OTE zone validly
- Red X: Price exited OTE zone (stop or target)
- Real-time status monitoring
TRADING SESSIONS:
Displays three major trading sessions with full customization:
Asian Session (Tokyo + Sydney):
- Default: 01:00-13:00 UTC+4
- Typically lower volatility
- Sets up key levels for London open
London Session:
- Default: 11:00-20:00 UTC+4
- Highest liquidity period
- Major institutional moves
New York Session:
- Default: 16:00-01:00 UTC+4
- US market hours
- High impact news events
Features:
- Real-time status indicators (🟢 Open / 🔴 Closed)
- Session high/low tracking
- Overlap detection and highlighting
- Historical session display (0-30 days)
- Customizable colors and borders
───────────────────────────────────────
HOW TO USE
───────────────────────────────────────
MASTER CONTROLS:
Enable/disable major features independently:
- Trading Sessions
- Liquidity Sweeps (Current TF)
- HTF Liquidity Sweeps
- LTF Liquidity Sweeps
- Order Blocks
- Fair Value Gaps
- Inverse Fair Value Gaps
- Optimal Trade Entry Zones
ANTI-REPAINTING SETUP:
For Backtesting/Systematic Trading:
1. Enable "Use Confirmed Signals"
2. Set Confirmation Bars to 2-3
3. All signals will wait for confirmation
4. No repainting will occur
For Real-Time Discretionary Trading:
1. Disable "Use Confirmed Signals"
2. Signals appear immediately
3. Be aware signals may adjust with new bars
MULTI-TIMEFRAME LIQUIDITY STRATEGY:
Top-Down Analysis:
1. Identify HTF liquidity levels (4H/Daily) for major targets
2. Find LTF liquidity levels (1H) for entry refinement
3. Wait for HTF liquidity sweep (liquidity grab)
4. Enter on LTF order block in direction of HTF sweep
5. Target next HTF or LTF liquidity level
Liquidity Sweep Trading:
1. HTF liquidity sweep = major institutional move
2. Look for immediate reversal or continuation
3. Use order blocks for entry timing
4. Place stops beyond the swept liquidity
SESSION-BASED TRADING:
Asian Session Strategy:
1. Identify Asian session high/low
2. Wait for London or NY session to open
3. Trade breakouts of Asian range
4. Target previous day's highs/lows
London/NY Session Strategy:
1. Watch for liquidity sweeps at session open
2. Enter on order block confirmation
3. Use OTE zones for retracement entries
4. Target session high/low or HTF liquidity
OTE ZONE TRADING:
Setup Identification:
1. Wait for clear swing high/low formation
2. Confirm structure break in intended direction
3. Monitor for price retracement to 0.618-0.786 zone
4. Enter when price enters OTE zone with confirmation
Entry Rules:
- Bullish: Long when price enters OTE zone from above
- Bearish: Short when price enters OTE zone from below
- Stop loss: Beyond 0.786 level or swing extreme
- Target: Previous swing high/low or HTF liquidity
Exit Management:
- Indicator tracks when price exits OTE zone
- Red X indicates position should be managed/closed
- Use order blocks or FVGs for partial profit targets
FAIR VALUE GAP STRATEGY:
FVG Entry Method:
1. Wait for FVG formation
2. Monitor for price return to FVG
3. Enter on first touch of FVG zone
4. Stop beyond FVG boundary
5. Target: Fill of FVG or next liquidity level
iFVG Reversal Strategy:
1. Original FVG is filled
2. iFVG forms in opposite direction
3. Indicates failed move or reversal
4. Enter on iFVG confirmation
5. Target: Opposite end of range or next structure
Combined FVG + iFVG:
- When both overlap, indicator combines labels
- Represents high-probability reversal zone
- Use with order blocks for confirmation
ORDER BLOCK STRATEGY:
Entry Approach:
1. Wait for order block formation after structure break
2. Enter on first return to order block
3. Place stop beyond order block boundary
4. Target: Next order block or liquidity level
Confirmation Layers:
- Order block + FVG = strong confluence
- Order block + Liquidity sweep = institutional setup
- Order block + OTE zone = optimal entry
- Order block + Session open = high probability
Volume Analysis:
- Wider colored section = stronger institutional interest
- Use volume bars to confirm order block strength
- Higher volume order blocks = more reliable
───────────────────────────────────────
CONFIGURATION GUIDE
───────────────────────────────────────
LIQUIDITY SETTINGS:
Lookback: 5-30 bars
- Lower = more frequent, sensitive levels
- Higher = fewer, more significant levels
- Recommended: 15 for intraday, 20-25 for swing
Sweep Detection Type:
- Wick Break: Most sensitive
- Close Break: More conservative
- Full Retrace: Stop hunt detection
Sweep Buffer: 0-1.0 ATR
- Adds distance requirement for sweep confirmation
- Prevents false positives
- Recommended: 0.1 for most markets
HTF/LTF LIQUIDITY:
HTF Timeframe Selection:
- Swing trading: 1D or 1W
- Day trading: 4H or 1D
- Scalping: 1H or 4H
LTF Timeframe Selection:
- Swing trading: 4H or 1D
- Day trading: 1H or 4H
- Scalping: 15m or 1H
Strength Filters:
- Min Pivot Strength: Higher = fewer, stronger levels
- Min Distance: Higher = less clustering
- Recommended: 2.0 ATR for HTF, 1.5 ATR for LTF
ORDER BLOCK SETTINGS:
Swing Length: 5-20
- Controls sensitivity of structure break detection
- Lower = more order blocks, faster signals
- Higher = fewer order blocks, stronger signals
- Recommended: 8-10 for most timeframes
Enhancement Filters:
- Min Size: 0.5-1.5 ATR typical
- Volume Multiplier: 1.2-2.0 typical
- Imbalance: Enable for strongest signals only
OTE SETTINGS:
Swing Length: 5-50
- Controls OTE zone formation sensitivity
- Lower = more frequent, smaller moves
- Higher = fewer, larger trend moves
- Recommended: 10-15 for intraday
Require Structure Break:
- Enabled: Only shows OTE after confirmed break
- Disabled: Shows potential OTE zones earlier
- Recommended: Enable for higher probability setups
FVG SETTINGS:
Min FVG Size: 0.1-2.0 ATR
- Lower = more gaps detected
- Higher = only significant gaps
- Recommended: 0.5 ATR for most markets
Fill Threshold: 0.1-1.0
- Determines when gap is considered "filled"
- 0.5 = 50% fill required
- Higher = more conservative
iFVG Min Size: 0.1-2.0 ATR
- Typically smaller than regular FVG
- Recommended: 0.3 ATR
ALERT SYSTEM:
Available Alerts:
- Liquidity Sweeps (Current TF)
- HTF Liquidity Sweeps
- LTF Liquidity Sweeps
- Session Changes (Open/Close)
- OTE Entry Signals
Alert Setup:
1. Enable alerts in settings
2. Select specific alert types
3. Create TradingView alert using "Any alert() function call"
4. Configure delivery method (mobile, email, webhook)
Alert Messages Include:
- Event type and direction
- Confirmation status (if using confirmed mode)
- Price level
- Timeframe (for liquidity sweeps)
───────────────────────────────────────
RECOMMENDED CONFIGURATIONS
───────────────────────────────────────
For Day Trading (15m-1H charts):
- HTF Liquidity: 4H
- LTF Liquidity: 1H
- Liquidity Lookback: 15
- Order Block Swing Length: 8
- OTE Swing Length: 10
- Confirmed Signals: Enabled, 2 bars
For Swing Trading (4H-1D charts):
- HTF Liquidity: 1D or 1W
- LTF Liquidity: 4H
- Liquidity Lookback: 20
- Order Block Swing Length: 10
- OTE Swing Length: 15
- Confirmed Signals: Enabled, 2-3 bars
For Scalping (5m-15m charts):
- HTF Liquidity: 1H or 4H
- LTF Liquidity: 15m or 1H
- Liquidity Lookback: 10-12
- Order Block Swing Length: 6-8
- OTE Swing Length: 8
- Confirmed Signals: Optional
───────────────────────────────────────
PERFORMANCE OPTIMIZATION
───────────────────────────────────────
This indicator is optimized with:
- max_bars_back declarations for efficient lookback
- Automatic memory cleanup every 10 bars
- Conditional execution based on enabled features
- Drawing object limits to prevent performance degradation
Memory Management:
- Old liquidity zones automatically removed
- Filled FVGs/iFVGs cleaned up
- Exited OTE zones removed
- Mitigated order blocks deleted
Best Practices:
- Enable only needed features
- Use appropriate timeframe combinations
- Don't display excessive historical sessions
- Monitor drawing object counts on lower timeframes
───────────────────────────────────────
EDUCATIONAL DISCLAIMER
───────────────────────────────────────
This indicator combines multiple institutional trading concepts:
- Liquidity theory (where orders accumulate)
- Order flow analysis (institutional footprints)
- Price imbalance detection (FVGs)
- Fibonacci retracement theory (OTE zones)
- Session-based trading (time-of-day patterns)
All calculations use standard technical analysis methods:
- Pivot high/low detection
- ATR-based normalization
- Volume analysis
- Fibonacci ratios
- Time-based filtering
The indicator identifies potential setups but does not predict future price movements. Success depends on proper application within a complete trading plan including risk management, position sizing, and market context analysis.
───────────────────────────────────────
USAGE DISCLAIMER
───────────────────────────────────────
This tool is for educational and analytical purposes. Trading involves substantial risk of loss. The anti-repainting features provide confirmed signals but do not guarantee profitability. Always conduct independent analysis, use proper risk management, and never risk capital you cannot afford to lose. Past performance does not indicate future results.
Trend scalping ROVTradingOnly trading with bullish or bearish trend. Working fine at m5 and m15 time frame
Rank Correlation Index (RCI) Strategy newmy firsht scripy by test only test
my firsht scripy by test only test
my firsht scripy by test only test
onli test
AR-Session-Orb-HTF H&L V4This indicator is built for intraday model execution around liquidity grabs, session timing, and higher-timeframe draw-on-liquidity. It maps out sessions, killzones, opening ranges, and key highs/lows from higher timeframes directly onto any lower timeframe chart (down to 1 minute).
________________________________________
1. Sessions (Asia / London / New York)
• Highlights the 3 main sessions with colored boxes:
o Asia
o London
o New York
• Default session times are set in New York local time:
o Asia: 18:00–02:00
o London: 03:00–12:00
o New York: 08:00–17:00
• You can change these times in the settings.
• Each box automatically expands as the session progresses.
These session windows make it easy to see where liquidity builds and when expansion usually happens.
________________________________________
2. ICT Killzones
The script includes 4 configurable killzones (also based on NY local time by default):
• Asia late session: 20:00–00:00
• London killzone: 02:00–05:00
• New York AM: 07:00–10:00
• New York Midday: 10:00–12:00
For each killzone, the script draws vertical dashed/dotted markers at the start and end of that window so you can quickly see if price is operating inside a high-probability delivery period.
You can:
• toggle each killzone on/off
• adjust the time windows
• choose line style (dashed or dotted)
• choose marker color
________________________________________
3. Opening Range Levels
The indicator captures the high and low of the first X minutes (default 15) of each important window and projects those levels as horizontal lines.
It does this for:
• Asia Open Range
• London Open Range
• New York Open Range
• New York Mid-Session Range (2nd NY range later in the session)
Behavior:
• Asia OR: after the first X minutes of Asia session, the high/low are projected across the entire rest of the trading day.
• London OR: first X minutes of London, then the levels extend only during the London session.
• NY OR: first X minutes of New York, extended only while NY session is active.
• NY Mid OR: a second New York range that starts later in the session (default 10:00). It also uses the first X minutes from that custom start time and extends through the rest of NY.
You can:
• choose the range length in minutes (1–30)
• style each session’s OR separately (colors, on/off)
• show/hide labels on every range
Labels are fully customizable:
• Text (e.g. “NY OR High”, “Asia OR Low”, “NY Mid High”)
• Label background color
• Label text color
• Label size
• Opacity
This gives you clear reference levels that often act as liquidity pools, targets, or rejection points.
________________________________________
4. Previous Week High / Low
The script plots the previous week’s high and low on any timeframe.
• Drawn as dashed lines.
• Lines are kept inside the visible chart area instead of stretching forever.
• Each level is labeled (default “PW High” / “PW Low”), and you can rename and recolor those labels.
These are common liquidity targets for the current week.
________________________________________
5. Monthly High / Low
The script plots BOTH:
• Previous Month High / Low
• Current Month High / Low (live, updating)
Behavior:
• Previous Month levels are one style (default dashed / purple).
• Current Month levels are another (default solid / blue).
• All four levels get labels, which are customizable.
You can change:
• line colors
• label text
• label background color
• label text color
• label size / opacity
• how far back the lines extend on the chart (in bars)
This helps you frame higher-timeframe draw-on-liquidity without switching to the monthly chart.
________________________________________
6. 4H High / Low (Intra-session Liquidity Map)
On any timeframe up to 4H, the indicator also plots:
• Previous 4H candle high/low
• Current 4H candle high/low
Important:
• These levels are only drawn inside their specific 4H window.
o Previous 4H high/low is only drawn across the timestamps of the PREVIOUS 4H candle.
o Current 4H high/low is only drawn across the CURRENT 4H candle as it forms.
• They do not extend across the whole day.
Each one is labeled too (for example “P4H High”, “C4H Low”), and you can edit those names and colors.
This is extremely useful for scalping, because price often raids the previous 4H high/low during London or NY and reverses.
________________________________________
7. Customization / Inputs
Everything is editable:
• Session windows and colors
• Killzone windows, style (dashed/dotted), and color
• Opening range length (in minutes)
• Which opening ranges to show (Asia / London / NY / NY Mid)
• Text and style of every label
• Line colors for weekly, monthly, and 4H levels
• How far HTF levels should extend on the chart (bars span)
• Label size and background opacity for higher timeframe levels
This indicator is meant to be traded visually at your own confluence points, not to spam signals.
________________________________________
How to Use
Typical workflow:
1. Use monthly / weekly levels to understand macro draw on liquidity.
2. Use session box + killzone timing to know when to pay attention.
3. Use opening range highs/lows as the “dealing range” and watch liquidity runs above/below those.
4. Use previous 4H and current 4H highs/lows to frame premium/discount and stop runs inside the active session.
This gives you a top-down bias and an intraday execution model all on one chart without flipping timeframes.
________________________________________
Notes
• Times are interpreted in the chart’s exchange/session timezone. If you trade off NY time, keep your chart in NY session or adjust the inputs.
• TradingView has drawing/label limits. On extremely low timeframes far back in history, some older drawings may recycle. This is expected.
________________________________________
Disclaimer
This script is for educational and charting purposes only.
It does not generate trade signals, manage risk, or guarantee profitability.
Trading involves risk. Do your own analysis.
Special Thanks to Sabo & Hive Community
Quantum Fluxtrend [CHE] Quantum Fluxtrend — A dynamic Supertrend variant with integrated breakout event tracking and VWAP-guided risk management for clearer trend decisions.
Summary
The Quantum Fluxtrend builds on traditional Supertrend logic by incorporating a midline derived from smoothed high and low values, creating adaptive bands that respond to market range expansion or contraction. This results in fewer erratic signals during volatile periods and smoother tracking in steady trends, while an overlaid event system highlights breakout confirmations, potential traps, or continuations with visual lines, labels, and percentage deltas from the close. Users benefit from real-time VWAP calculations anchored to events, providing dynamic stop-loss suggestions to help manage exits without manual adjustments. Overall, it layers signal robustness with actionable annotations, reducing noise in fast-moving charts.
Motivation: Why this design?
Standard Supertrend indicators often generate excessive flips in choppy conditions or lag behind in low-volatility drifts, leading to whipsaws that erode confidence in trend direction. This design addresses that by centering bands around a midline that reflects recent price spreads, ensuring adjustments are proportional to observed variability. The added event layer captures regime shifts explicitly, turning abstract crossovers into labeled milestones with trailing VWAP for context, which helps traders distinguish genuine momentum from fleeting noise without over-relying on raw price action.
What’s different vs. standard approaches?
- Baseline reference: Diverges from the classic Supertrend, which uses average true range for fixed offsets from a median price.
- Architecture differences:
- Bands form around a central line averaged from smoothed highs and lows, with offsets scaled by half the range between those smooths.
- Regime direction persists until a clear breach of the prior opposite band, preventing premature reversals.
- Event visualization draws persistent lines from flip points, updating labels based on price sustainment relative to the trigger level.
- VWAP resets at each event, accumulating volume-weighted prices forward for a trailing reference.
- Practical effect: Charts show fewer direction changes overall, with color-coded annotations that evolve from initial breakout to continuation or trap status, making it easier to spot sustained moves early. VWAP lines provide a volume-informed anchor that curves with price, offering visual cues for adverse drifts.
How it works (technical)
The process starts by smoothing high and low prices over a user-defined period to form upper and lower references. A midline sits midway between them, and half the spread acts as a base for band offsets, adjusted by a multiplier to widen or narrow sensitivity. On each bar, the close is checked against the previous bar's opposite band: crossing above expands the lower band downward in uptrends, or below contracts the upper band upward in downtrends, creating a ratcheting effect that locks in direction until breached.
Persistent state tracks the current regime, seeding initial bands from the smoothed values if no prior data exists. Flips trigger new horizontal lines at the breach level, styled by direction, alongside labels that monitor sustainment—price holding above for up-flips or below for down-flips keeps the regime, while reversal flags a trap.
Separately, at each flip, a dashed VWAP line initializes at the breach price and extends forward, accumulating the product of typical prices and volumes divided by total volume. This yields a curving reference that updates bar-by-bar. Warnings activate if price strays adversely from this VWAP, tinting the background for quick alerts.
No higher timeframe data is pulled, so all computations run on the chart's native resolution, avoiding lookahead biases unless repainting is enabled via input.
Parameter Guide
SMA Length — Controls smoothing of highs and lows for midline and range base; longer values dampen noise but increase lag. Default: 20. Trade-offs: Shortens responsiveness in trends (e.g., 10–14) but risks more flips; extend to 30+ for stability in ranging markets.
Multiplier — Scales band offsets from the half-range; higher amplifies to capture bigger swings. Default: 1.0. Trade-offs: Above 1.5 widens for volatile assets, reducing false signals; below 0.8 tightens for precision but may miss subtle shifts.
Show Bands — Toggles visibility of basic and adjusted band lines for reference. Default: false. Tip: Enable briefly to verify alignment with price action.
Show Background Color — Displays red tint on VWAP adverse crosses for visual warnings. Default: false. Trade-offs: Helps in live monitoring but can clutter clean charts.
Line Width — Sets thickness for event and VWAP lines. Default: 2. Tip: Thicker (3–5) for emphasis on key levels.
+Bars after next event — Extends old lines briefly before cleanup on new flips. Default: 20. Trade-offs: Longer preserves history (40+) at resource cost; shorter keeps charts tidy.
Allow Repainting — Permits live-bar updates for smoother real-time view. Default: false. Tip: Disable for backtest accuracy.
Extension 1 Settings (Show, Width, Size, Decimals, Colors, Alpha) — Manages dotted connector from event label to current close, showing percentage change. Defaults: Shown, width 2, normal size, 2 decimals, lime/red for gains/losses, gray line, 90% transparent background. Trade-offs: Fewer decimals for clean display; adjust alpha for readability.
Extension 2 Settings (Show, Method, Stop %, Ticks, Decimals, Size, Color, Inherit, Alpha) — Positions stop label at VWAP end, offset by percent or ticks. Defaults: Shown, percent method, 1.0%, 20 ticks, 4 decimals, normal size, white text, inherit tint, 0% alpha. Trade-offs: Percent for proportional risk; ticks for fixed distance in tick-based assets.
Alert Toggles — Enables notifications for breakouts, continuations, traps, or VWAP warnings. All default: true. Tip: Layer with chart alerts for multi-condition setups.
Reading & Interpretation
The main Supertrend line colors green for up-regimes (price above lower band) and red for down (below upper band), serving as a dynamic support/resistance trail. Flip shapes (up/down triangles) mark regime changes at band breaches.
Event lines extend horizontally from flips: green for bull, red for bear. Labels start blank and update to "Bull/Bear Cont." if price sustains the direction, or "Trap" if it reverses, with colors shifting lime/red/gray accordingly. A dotted vertical links the trailing label to the current close, mid-labeled with the percentage delta (positive green, negative red).
VWAP dashes yellow (bull) or orange (bear) from the event, curving to reflect volume-weighted average. At its end, a left-aligned label shows suggested stop price, annotated with offset details. Background red hints at weakening if price crosses VWAP opposite the regime.
Deltas near zero suggest consolidation; widening extremes signal momentum buildup or exhaustion.
Practical Workflows & Combinations
- Trend following: Enter long on green flip shapes confirmed by higher highs, using the event line as initial stop below. Trail stops to VWAP for bull runs, exiting on trap labels or red background warnings. Filter with volume spikes to avoid low-conviction breaks.
- Exits/Stops: Conservative: Set hard stops at suggested SL labels. Aggressive: Hold through minor traps if delta stays positive, but cut on regime flip. Pair with momentum oscillators for overbought pullbacks.
- Multi-asset/Multi-TF: Defaults suit forex/stocks on 15m–4H; for crypto, bump multiplier to 1.5 for volatility. Scale SMA length proportionally across timeframes (e.g., double for daily). Combine with structure tools like Fibonacci for confluence on event lines.
Behavior, Constraints & Performance
Live bars update lines and labels dynamically if repainting is allowed, but signals confirm on close for stability—flips only trigger post-bar. No higher timeframe calls, so no inherent lookahead, though volume weighting assumes continuous data.
Resources cap at 1000 bars back, 50 lines/labels max; events prune old ones on new flips to stay under budget, with brief extensions for visibility. Arrays or loops absent, keeping it lightweight.
Known limits include lag in extreme gaps (e.g., overnight opens) where bands may not adjust instantly, and VWAP sensitivity to sparse volume in illiquid sessions.
Sensible Defaults & Quick Tuning
Start with SMA 20, multiplier 1.0 for balanced response across majors. For choppy pairs: Lengthen SMA to 30, multiplier 0.8 to tighten bands and cut flips. For trending equities: Shorten to 14, multiplier 1.2 for quicker entries. If traps dominate, enable bands to inspect range compression; for sluggish signals, reduce extension bars to focus on recent events.
What this indicator is—and isn’t
This serves as a visualization and signal layer for trend regimes and breakouts, highlighting sustainment via annotations and risk cues through VWAP—ideal atop price action for confirmation. It is not a standalone system, predictive oracle, or risk calculator; always integrate with broader analysis, position sizing, and stops. Use responsibly as an educational tool.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Time Cycle SMTThis indicator identifies Smart Money Time (SMT) divergences between correlated assets, focusing exclusively on the 90-minute time cycle.
It is designed to provide traders with a glimpse into the power of multi-asset analysis for identifying potential market reversals.
Key Features:
90M SMT Detection: This demonstration version is specifically locked to the 90-minute cycle, a key intraday timeframe for many time and price traders. It plots bullish and bearish SMT divergences based on failures to confirm new highs or lows between the primary chart asset and up to two correlated assets.
Automatic Asset Correlation: The script attempts to automatically detect a correlated asset to streamline the setup process. For instance, it will pair NQ with ES or BTC with ETH. This can be manually overridden in the settings.
Customizable Visuals: You have full control over the appearance of the SMT lines, including color and width, to match your charting preferences.
How It Works:
The indicator analyzes price action within rolling 90-minute cycles starting each day at 02:30 AM. A bearish SMT is identified when one asset makes a higher high, but the correlated asset fails to confirm this move and instead creates a lower high. Conversely, a bullish SMT occurs when one asset forms a lower low, while the correlated asset prints a higher low. These divergences can often signal a weakening of the current trend and a potential reversal.
How to Use:
In the settings, either allow the script to auto-detect a correlated asset or manually select the desired symbols for comparison.
Observe the plotted lines on your chart. Green lines indicate a bullish SMT, while red lines signify a bearish SMT.
Consider these signals in conjunction with your existing trading strategy and analysis for confirmation.
Unlock the Full Potential:
This demo version is limited to the 90M cycle to showcase the core functionality.
The full version of the Time Cycle SMT indicator includes a range of cycles, from 3 minutes to quarterly, providing a much deeper and more granular view of the market.
To access all time cycles and unlock a complete suite of analytical tools—including the Market Maker Tool and the Time Cycles indicator—please visit the Market Maker Tool Bundle at:
whop.com
TimezoneDiffLibLibrary "TimezoneDiffLib"
get_tz_diff(tz1, tz2)
Parameters:
tz1 (string)
tz2 (string)
Key Liquidity Advanced Multi-Timeframe Suite═══════════════════════════════════════
KEY LIQUIDITY ADVANCED MULTI-TIMEFRAME SUITE
═══════════════════════════════════════
A professional-grade indicator focused on identifying institutional liquidity levels across multiple timeframes, combined with order flow analysis and market structure tools.
───────────────────────────────────────
WHAT THIS INDICATOR DOES
───────────────────────────────────────
This tool specializes in multi-timeframe liquidity analysis with the following components:
- Multi-Timeframe Liquidity Levels - Track swing highs/lows on HTF (Higher Timeframe), LTF (Lower Timeframe), and CTF (Current Timeframe)
- Order Blocks - Identify institutional accumulation and distribution zones
- Premium/Discount Zones - Show price distribution relative to swing ranges
- Market Structure Breaks - Highlight significant trend changes
- Trading Sessions - Display major market session boundaries (Optional)
───────────────────────────────────────
HOW IT WORKS
───────────────────────────────────────
MULTI-TIMEFRAME LIQUIDITY SYSTEM:
The indicator uses a three-tier liquidity detection system:
1. HTF (Higher Timeframe) Liquidity:
- Default: 4H timeframe (configurable to Daily, Weekly)
- Identifies major institutional levels
- Uses pivot detection with adjustable left/right bar parameters
- Color-coded: Green for highs, Red for lows
2. LTF (Lower Timeframe) Liquidity:
- Default: 1H timeframe (configurable)
- Provides precision entry/exit levels
- Color-coded: Blue for highs, Orange for lows
3. CTF (Current Timeframe) Liquidity:
- Optional feature for chart timeframe levels
- Color-coded: Purple for highs, Pink for lows
Calculation Method:
- Uses standard pivot high/low detection algorithm
- Configurable sensitivity via left bars (lookback) and right bars (confirmation)
- Levels automatically removed when price sweeps through them (mitigation)
- Optional display of mitigated levels with reduced opacity
ORDER BLOCKS:
Detection Logic:
- Bullish OB: Last bearish candle before significant bullish move
- Bearish OB: Last bullish candle before significant bearish move
- Uses swing length parameter to identify structural breaks
- Strength visualization showing buying vs selling pressure
Visual Elements:
- Split-colored boxes showing institutional sentiment
- Upper half: Bullish strength (teal)
- Lower half: Bearish strength (red)
- Labels positioned at center with institutional markers
Violation Detection:
- Configurable: Wick-based or Close-based
- Automatically removes broken order blocks
- Optional overlap hiding to keep chart clean
PREMIUM/DISCOUNT ZONES:
Zone Structure:
- Premium Zone: Upper 5% of swing range (institutional selling area)
- Equilibrium: Middle 5% representing fair value
- Discount Zone: Lower 5% of swing range (institutional buying area)
The zones dynamically update based on trailing swing extremes and adapt to current market structure.
MARKET STRUCTURE BREAKS (MSB):
Identifies when price breaks through significant swing points:
- Bearish MSB: Price closes below swing low
- Bullish MSB: Price closes above swing high
- Labels appear only on trend direction changes
- Horizontal lines extend from break point
TRADING SESSIONS (Optional):
Displays time-based session boxes for:
- Asian Session (Tokyo + Sydney combined)
- London Session
- New York Session
Features:
- Customizable session times and time zones
- Session high/low tracking
- Overlap detection showing when multiple sessions are active
- Fully configurable colors and display options
───────────────────────────────────────
HOW TO USE
───────────────────────────────────────
MASTER TOGGLE CONTROLS:
Use these to enable/disable major features:
- Key Liquidity Levels (Main feature)
- Premium/Discount Zones
- Order Blocks
- Market Structure Breaks
- Trading Sessions
MULTI-TIMEFRAME LIQUIDITY STRATEGY:
Conservative Approach:
1. Wait for HTF liquidity sweep (4H or Daily level)
2. Look for LTF confirmation (1H level hold)
3. Enter when order block forms at discount (bullish) or premium (bearish)
Aggressive Approach:
1. Trade LTF liquidity sweeps in direction of HTF trend
2. Use order blocks for entry refinement
3. Target next LTF or HTF liquidity level
Range Trading:
1. Identify premium and discount zones
2. Buy at discount, sell at premium
3. Use equilibrium as profit target or re-entry
ORDER BLOCK TRADING:
Entry Method:
1. Wait for order block formation (after structure break)
2. Enter on first return to order block zone
3. Place stop beyond the order block
Strength Analysis:
- Wider bullish section = stronger institutional buying
- Wider bearish section = more selling pressure
- Use this to gauge conviction
Violation:
- Order block broken = setup invalidated
- Look for next order block in continuation
MARKET STRUCTURE TRADING:
MSB signals potential trend change:
- Bearish MSB + Bearish OB = short opportunity
- Bullish MSB + Bullish OB = long opportunity
- Wait for retest of broken level for confirmation
───────────────────────────────────────
CONFIGURATION GUIDE
───────────────────────────────────────
KEY LIQUIDITY SETTINGS:
Pivot Detection:
- Left Bars (Default: 15): Lookback period for pivot identification
- Right Bars (Default: 5): Confirmation period
- Higher values = fewer, more significant levels
- Lower values = more frequent, sensitive levels
Timeframe Selection:
- HTF: Recommended 4H, 1D, or 1W for swing trading
- LTF: Recommended 1H or 4H for day trading
- CTF: Use for scalping on current chart timeframe
Display Options:
- Display Limit: Maximum number of levels shown per timeframe
- Extension: Short/Current/Max - how far lines extend
- Line Width: Visual prominence (1-5)
- Text Size: Label size adjustment
Mitigation:
- Remove: Delete levels when swept (cleaner chart)
- Show: Keep swept levels visible with reduced opacity
ORDER BLOCKS SETTINGS:
Core Parameters:
- Swing Length (Default: 8): Sensitivity for structure detection
- Show Last X (Default: 4): Number of active blocks displayed
- Violation Check: Choose Wick or Close-based invalidation
- Hide Overlap: Remove overlapping blocks for clarity
PREMIUM/DISCOUNT ZONES:
- Swing Detection Length (Default: 50): Range calculation period
- Longer period = broader zones, more stable
- Shorter period = tighter zones, more reactive
TRADING SESSIONS:
Time Configuration:
- Adjust session times for your timezone
- Use IANA timezone database format recommended
- Days to Show: Historical session display (0-10)
Visualization:
- Session boxes with colored backgrounds
- Optional high/low lines within each session
- Optional open/close lines
- Overlap highlighting when sessions coincide
───────────────────────────────────────
ALERT SYSTEM
───────────────────────────────────────
Available Alerts:
- HTF High Liquidity Hit
- HTF Low Liquidity Hit
Alert Configuration:
1. Enable HTF Liquidity Alerts in settings
2. Select specific alert types (High/Low)
3. Create TradingView alert with "Any alert() function call"
4. Alerts fire once per bar when liquidity is swept
Alert Message Format:
- Event type and description
- Timeframe information
- Current price
- Timestamp
───────────────────────────────────────
RECOMMENDED TIMEFRAME COMBINATIONS
───────────────────────────────────────
Swing Trading:
- Chart: 4H or 1D
- HTF Liquidity: 1D or 1W
- LTF Liquidity: 4H or 1D
Day Trading:
- Chart: 15m or 1H
- HTF Liquidity: 4H or 1D
- LTF Liquidity: 1H or 4H
Scalping:
- Chart: 5m or 15m
- HTF Liquidity: 1H or 4H
- LTF Liquidity: 15m or 1H
- Enable CTF Liquidity
───────────────────────────────────────
PERFORMANCE NOTES
───────────────────────────────────────
This indicator is optimized for performance:
- Uses max_bars_back declarations to limit lookback
- Conditional execution based on toggle settings
- Efficient array management for drawing objects
- Recommended for intraday timeframes only
- Sessions feature requires intraday timeframes
───────────────────────────────────────
EDUCATIONAL DISCLAIMER
───────────────────────────────────────
This indicator identifies areas where institutional orders may be positioned based on historical price action. It uses standard technical analysis techniques:
- Pivot point detection for liquidity levels
- Swing analysis for market structure
- Volume-weighted order block strength
- Time-based session filtering
The indicator does not predict future price movements. Always combine with your own analysis, risk management, and trading plan.
───────────────────────────────────────
USAGE DISCLAIMER
───────────────────────────────────────
This tool is for educational and analytical purposes. Past performance does not guarantee future results. Trading involves substantial risk of loss. Always conduct your own due diligence and never risk more than you can afford to lose.
BH BTC LS Atopetrader Bitcoin 15M Advanced Trading Strategy
This strategy is designed to trade Bitcoin on the 15-minute timeframe for long and short positions. It uses an advanced system adapted to price action, combined with automated risk management through stop loss and take profit. It is optimized to adapt to the high volatility and speculative nature of BTC, seeking out trend-driven momentum opportunities and avoiding low-probability periods detected through historical analysis.
Timeframe Compatibility
While the strategy is specifically adapted and optimized for the 15-minute timeframe (15M), it has been engineered to perform across multiple timeframes ranging from 5-minute to 4-hour intervals. This multi-timeframe versatility allows traders to adjust the strategy parameters according to their preferred trading style and market conditions.
This adaptability across different timeframes significantly enhances the strategy's robustness, making it more resilient to varying market regimes and reducing over-optimization to a single timeframe. By testing and validating across 5-minute to 4-hour intervals, the strategy demonstrates consistent edge across diverse trading environments, which strengthens confidence in its performance across broader market conditions.
Cross-Asset Testing
Beyond Bitcoin, this strategy could be tested and adapted for trading other cryptocurrencies, making it a flexible framework for exploring momentum-based opportunities across different digital assets with varying volatility profiles.
Performance Summary
This strategy has significantly outperformed a simple buy-and-hold approach over the 6-year backtest period. Here are the standout metrics:
Total P&L: +$41,277.80 USDT (+2,063.89%)
Net Profit: +$41,277.80 USDT with only 18.35% max drawdown
Total Trades: 2,169 with 44.63% win rate
Profit Factor: 2.17x (strong edge)
Key Advantage Over Buy & Hold
The Buy & Hold return was +$16,576.63 USDT (+828.83%), meaning this strategy more than doubled Buy & Hold returns over the same period. The active trading approach consistently captured momentum while the 2.17x profit factor demonstrates edge-based entries.
Commission Structure: A 0.1% commission per trade has been factored into the backtesting analysis, which is more than sufficient to cover typical exchange trading fees on major platforms. This conservative fee structure ensures the reported results account for real-world trading costs while still demonstrating substantial profitability.
Important Disclaimer
This strategy does not guarantee future profits and should be used after testing and analyzing in a simulated environment. A disciplined approach and appropriate risk management are recommended for the cryptocurrency market. Past performance is not indicative of future results, and actual trading may differ from backtested scenarios due to market slippage, liquidity conditions, and changing market dynamics.
Risk Position Sizer (Entry=Close, Stop=Daily Low)This is for trading stocks/shares. Its main goal is to help you gauge how big or how small of a position you should add based on your account size.
Supertrend + EMA Long TradingThis indicator flags weekly trend-following buy/sell signals based on a weekly EMA‑10 filter plus a bullish Supertrend(10,3), and it fires alerts on the weekly bar close.
Purpose
Screen and alert for swing entries when weekly momentum is aligned: green weekly candle, price closing above EMA‑10, and Supertrend(10,3) in bullish state.
Exit and alert when the weekly close drops back below EMA‑10, preventing repeated buy signals during the same up‑leg.
Core logic
Weekly data is pulled via higher‑timeframe requests for Open, Close, EMA‑10, and Supertrend(10,3).
Buy condition: weekly candle is green (Close > Open), Close > EMA‑10, and Supertrend direction is bullish; note the built‑in Supertrend returns direction −1 for bullish and +1 for bearish.
Sell condition: the weekly Close falls below weekly EMA‑10.
One‑shot behavior
A simple state variable inLong ensures only one buy alert per trend leg; no repeated buy markers while the condition remains valid.
The state flips to flat at the sell condition, enabling the next future buy when rules are met again.
Exact timing (no next‑bar delay)
Signals are gated to the precise weekly bar close using a time alignment check and barstate confirmation.
On intraday charts, signals still trigger at the instant the weekly candle completes, not on the following bar.
Visuals
Plots the weekly EMA‑10 on the chart for context.
Draws green “BUY‑W” triangles below bars and red “SELL‑W” triangles above bars.
Optionally tints the background a subtle green while inLong is true.
Alerts
Two alertcondition entries are provided: one for the buy event and one for the sell event.
Create alerts from the chart by selecting this indicator and choosing the corresponding condition; messages include ticker and interval.
Inputs
Signal timeframe: default Weekly (can be changed if needed).
EMA length: default 10.
Supertrend parameters: ATR length 10 and factor 3.
Practical use
Add the indicator to weekly or lower‑timeframe charts; it will always evaluate and trigger at the weekly close.
Combine with position sizing and risk controls outside the script; the script is an indicator, not an order‑executing strategy.
Notes and caveats
Supertrend direction mapping is intentional: −1 indicates bullish (green), +1 bearish (red) in the built‑in function.
Because signals confirm at bar close, intra‑week fluctuations won’t trigger early; alerts only occur when the weekly candle is finalized.
CK Trading RSIRSI with colour-coded areas for accumulation, BUY, take profit and SELL zones. Ideally, it can be used on the 8-hour chart over a longer period of time.
Executive Supply and DemandExecutive Supply & Demand (Invite-Only)
A precision tool that maps institutional supply and demand regions and manages them through confirmation and lifecycle logic. Designed for traders who value automation, consistency, and visual clarity with minimal configuration.
Core Concept
The algorithm continuously analyzes candle structure to locate equilibrium bases and measure displacement strength.
It operates through three adaptive layers:
Base Detection – isolates consolidation zones using relative body-vs-range filters to eliminate wick noise.
Impulse Confirmation – validates displacement strength through dynamic body-sum ratios and adaptive thresholds.
Lifecycle Management – extends each zone forward, tracks active interaction, and removes it automatically once invalidated by price action.
Key Features
Sensitivity Profiles: Auto / Scalping / Swing / Daily modes for consistent structure mapping across timeframes.
Dynamic Zone Scoring: Combines impulse strength and volume context to evaluate zone quality.
Auto-Cleanup: Invalid or broken zones are removed in real time to maintain chart clarity.
Context Overlay: A subtle trend fill derived from the relationship between two internal smoothers, providing directional bias without altering zone logic.
Alerts: Optional notifications for zone touches or breaks, helping traders respond to meaningful structure shifts.
Usage Tip
After adding the indicator, open Settings → Scales → Pin to scale → Right to ensure zones align correctly with price.
(You only need to do this once — TradingView will remember your setting.)
Notes
This script is closed-source to protect proprietary scoring logic, persistence algorithms, and array-based zone management.
Works across all assets and timeframes.
This invite-only publication is part of an internal research effort exploring adaptive zone detection. It’s released privately for evaluation and educational purposes.
For educational and informational purposes only. Not financial advice.
Info Box⚙️ Purpose
Shows useful trade and event-related data such as:
% Distance from stop levels (D, DH)
Earnings countdown in bars
All displayed in a single floating info box (table) on the chart.
📋 Key Features
Customizable Display
Choose table position (Top Right, Bottom Center, etc.)
Choose table size (Auto, Large, Tiny, etc.)
Custom text and background colors
Metrics Shown
D: % Distance from stop (difference between close and low/high)
DH: % Distance from midpoint of the candle
Earnings Countdown: Number of bars until next earnings event
Conditional Styling
If earnings are within 3 bars, text color turns red as a warning.
Execution Conditions
Runs only on daily timeframe
Updates on last bar only (no historical clutter)
Output
Displays all selected metrics in one line, separated by “×”
e.g. → D: -2.1% × 5 × DH: 1.4%
🧩 Overall Function
Creates a clean, customizable “info box” showing trade distances and upcoming earnings countdown for quick decision-making directly on your TradingView chart.
Precision Momentum By RevanBlezinskyPrecision Momentum Scalper + Bandarmology Info is a hybrid momentum–volume indicator designed for short-term traders who want to capture daily breakouts while reading market sentiment through volume-based bandarmology behavior.
It combines momentum analysis, volatility tracking, and bandarmology detection (accumulation vs. distribution) into a single powerful system that identifies the most optimal entry zones within one trading day.
⚙️ Core Logic
Momentum Detection
Uses dual-EMA crossovers (EMA-20 & EMA-50) and RSI strength (> 60) to confirm trend acceleration.
Supports three entry types:
E1 (Early Momentum): initial impulse above EMA-20 with high volume.
E2 (Confirmation Break): strong breakout above EMA-50 with RSI confirmation.
E3 (Retest Support): rebound entry after a minor pullback.
Volatility-Based Risk Management
Employs ATR (Average True Range) for dynamic Take Profit (TP) and Stop Loss (SL) zones.
Default setup: TP = 3 × ATR, SL = 1.5 × ATR.
Bandarmology Analysis
Evaluates market behavior through volume and price action:
🟢 Accumulation → High volume + rising price.
🔴 Distribution → High volume + falling price.
⚪ Normal → Neutral market activity.
Displays real-time “Bandarmology Status” directly on the chart.
🧭 Usage Guide
Works best on 15-minute to 1-hour timeframes for intraday or swing trading.
Focus on E2 signals during Accumulation phases for higher probability setups.
Use the integrated info panel to monitor RSI, ATR, TP, SL, and current market condition.
📊 Features
Feature Description
✅ EMA 20/50 Momentum Filter Identifies short-term trend direction.
✅ RSI > 60 Confirmation Ensures genuine bullish strength.
✅ ATR-Based TP & SL Adaptive profit and stop levels per volatility.
✅ Bandarmology Info Detects accumulation, distribution, or neutral conditions.
✅ Alerts & Visual Signals Instant notifications for buy entries, TP/SL hits, and volume anomalies.
✅ Clean UI Panel Shows all key metrics at a glance.
💡 Recommended Use
Ideal for scalpers and day traders focusing on stocks or indices with strong volume behavior.
Avoid trading when Bandarmology = Distribution.
Combine with multi-timeframe confirmation (e.g., 15 m + 1 h) for higher accuracy.
Volume Sentiment Breakout Channels [AlgoAlpha]🟠 OVERVIEW
This tool visualizes breakout zones based on volume sentiment within dynamic price channels . It identifies high-impact consolidation areas, quantifies buy/sell dominance inside those zones, and then displays real-time shifts in sentiment strength. When the market breaks above or below these sentiment-weighted channels, traders can interpret the event as a change in conviction, not just a technical breakout.
🟠 CONCEPTS
The script builds on two layers of logic:
Channel Detection : A volatility-based algorithm locates price compression areas using normalized highs and lows over a defined lookback. These “boxes” mark accumulation or distribution ranges.
Volume Sentiment Profiling : Each channel is internally divided into small bins, where volume is aggregated and signed by candle direction. This produces a granular sentiment map showing which levels are dominated by buyers or sellers.
When a breakout occurs, the script clears the previous box and forms a new one, letting traders visually track transitions between phases of control. The colored gradients and text updates continuously reflect the internal bias—green for net-buying, red for net-selling—so you can see conviction strength at a glance.
🟠 FEATURES
Volume-weighted sentiment map inside each box, with gradient color intensity proportional to participation.
Dynamic text display of current and overall sentiment within each channel.
Real-time trail lines to show active bullish/bearish trend extensions after breakout.
🟠 USAGE
Setup : Add the script to your chart and enable Strong Closes Only if you prefer cleaner breakouts. Use shorter normalization length (e.g., 50–80) for fast markets; longer (100–200) for smoother transitions.
Read Signals : Transparent boxes mark active sentiment channels. Green gradients show buy-side dominance, red shows sell-side. The middle dashed line is the equilibrium of the channel. “▲” appears when price breaks upward, “▼” when it breaks downward.
Understanding Sentiment : The sentiment profile can be used to show the probability of the price moving up or down at respective price levels.
OPADA//@version=5
indicator("Buy/Sell Zones – TV Style", overlay=true, timeframe="", timeframe_gaps=true)
//=====================
// الإعدادات
//=====================
len = input.int(100, "Length", minval=10)
useATR = input.bool(true, "Use ATR (بدل الانحراف المعياري)")
mult = input.float(2.0, "Band Multiplier", step=0.1)
useRSI = input.bool(true, "تفعيل فلتر RSI")
rsiOB = input.int(70, "RSI Overbought", minval=50, maxval=90)
rsiOS = input.int(30, "RSI Oversold", minval=10, maxval=50)
//=====================
// القناة: أساس + انحراف
//=====================
basis = ta.linreg(close, len, 0)
off = useATR ? ta.atr(len) * mult : ta.stdev(close, len) * mult
upper = basis + off
lower = basis - off
// نطاق علوي/سفلي بعيد لعمل تعبئة المناطق
lookback = math.min(bar_index, 500)
topBand = ta.highest(high, lookback) + 50 * syminfo.mintick
bottomBand = ta.lowest(low, lookback) - 50 * syminfo.mintick
//=====================
// الرسم
//=====================
pUpper = plot(upper, "Upper", color=color.new(color.blue, 0), linewidth=1)
pLower = plot(lower, "Lower", color=color.new(color.red, 0), linewidth=1)
pBasis = plot(basis, "Basis", color=color.new(color.gray, 60), linewidth=2)
// تعبئة المناطق: فوق القناة (أزرق)، تحت القناة (أحمر)
pTop = plot(topBand, display=display.none)
pBottom = plot(bottomBand, display=display.none)
fill(pUpper, pTop, color=color.new(color.blue, 80)) // منطقة مقاومة/بيع
fill(pBottom, pLower, color=color.new(color.red, 80)) // منطقة دعم/شراء
//=====================
// خط أفقي من قمّة قريبة (يمثل مقاومة) – قريب من الخط المنقّط في الصورة
//=====================
resLen = math.round(len * 0.6)
dynRes = ta.highest(high, resLen)
plot(dynRes, "Recent Resistance", color=color.new(color.white, 0), linewidth=1)
//=====================
// إشارات BUY / SELL + فلتر RSI (اختياري)
//=====================
rsi = ta.rsi(close, 14)
touchLower = ta.crossover(close, lower) or close <= lower
touchUpper = ta.crossunder(close, upper) or close >= upper
buyOK = useRSI ? (touchLower and rsi <= rsiOS) : touchLower
sellOK = useRSI ? (touchUpper and rsi >= rsiOB) : touchUpper
plotshape(buyOK, title="BUY", location=location.belowbar, style=shape.labelup,
text="BUY", color=color.new(color.green, 0), textcolor=color.white, size=size.tiny, offset=0)
plotshape(sellOK, title="SELL", location=location.abovebar, style=shape.labeldown,
text="SELL", color=color.new(color.red, 0), textcolor=color.white, size=size.tiny, offset=0)
// تنبيهات
alertcondition(buyOK, title="BUY", message="BUY signal: price touched/closed below lower band (RSI filter may apply).")
alertcondition(sellOK, title="SELL", message="SELL signal: price touched/closed above upper band (RSI filter may apply).")
Buy/Sell Zones – TV Style//@version=5
indicator("Buy/Sell Zones – TV Style", overlay=true, timeframe="", timeframe_gaps=true)
//=====================
// الإعدادات
//=====================
len = input.int(100, "Length", minval=10)
useATR = input.bool(true, "Use ATR (بدل الانحراف المعياري)")
mult = input.float(2.0, "Band Multiplier", step=0.1)
useRSI = input.bool(true, "تفعيل فلتر RSI")
rsiOB = input.int(70, "RSI Overbought", minval=50, maxval=90)
rsiOS = input.int(30, "RSI Oversold", minval=10, maxval=50)
//=====================
// القناة: أساس + انحراف
//=====================
basis = ta.linreg(close, len, 0)
off = useATR ? ta.atr(len) * mult : ta.stdev(close, len) * mult
upper = basis + off
lower = basis - off
// نطاق علوي/سفلي بعيد لعمل تعبئة المناطق
lookback = math.min(bar_index, 500)
topBand = ta.highest(high, lookback) + 50 * syminfo.mintick
bottomBand = ta.lowest(low, lookback) - 50 * syminfo.mintick
//=====================
// الرسم
//=====================
pUpper = plot(upper, "Upper", color=color.new(color.blue, 0), linewidth=1)
pLower = plot(lower, "Lower", color=color.new(color.red, 0), linewidth=1)
pBasis = plot(basis, "Basis", color=color.new(color.gray, 60), linewidth=2)
// تعبئة المناطق: فوق القناة (أزرق)، تحت القناة (أحمر)
pTop = plot(topBand, display=display.none)
pBottom = plot(bottomBand, display=display.none)
fill(pUpper, pTop, color=color.new(color.blue, 80)) // منطقة مقاومة/بيع
fill(pBottom, pLower, color=color.new(color.red, 80)) // منطقة دعم/شراء
//=====================
// خط أفقي من قمّة قريبة (يمثل مقاومة) – قريب من الخط المنقّط في الصورة
//=====================
resLen = math.round(len * 0.6)
dynRes = ta.highest(high, resLen)
plot(dynRes, "Recent Resistance", color=color.new(color.white, 0), linewidth=1)
//=====================
// إشارات BUY / SELL + فلتر RSI (اختياري)
//=====================
rsi = ta.rsi(close, 14)
touchLower = ta.crossover(close, lower) or close <= lower
touchUpper = ta.crossunder(close, upper) or close >= upper
buyOK = useRSI ? (touchLower and rsi <= rsiOS) : touchLower
sellOK = useRSI ? (touchUpper and rsi >= rsiOB) : touchUpper
plotshape(buyOK, title="BUY", location=location.belowbar, style=shape.labelup,
text="BUY", color=color.new(color.green, 0), textcolor=color.white, size=size.tiny, offset=0)
plotshape(sellOK, title="SELL", location=location.abovebar, style=shape.labeldown,
text="SELL", color=color.new(color.red, 0), textcolor=color.white, size=size.tiny, offset=0)
// تنبيهات
alertcondition(buyOK, title="BUY", message="BUY signal: price touched/closed below lower band (RSI filter may apply).")
alertcondition(sellOK, title="SELL", message="SELL signal: price touched/closed above upper band (RSI filter may apply).")
Lightning Osc PreVersion2Lightning Osc PreVersion2 is a refined evolution of the earlier Lightning Osc PreVersion designed in a cleaner visual style and equipped with enhanced divergence recognition.
It continues the Lightning philosophy of precision and minimalism — built for traders who need a clear, responsive oscillator that reacts naturally to market rhythm without over-complication.
The indicator highlights the key dynamic zones at ±67.65 and ±98.7, which often mark momentum transitions, exhaustion areas, or the beginning of structural shifts.
These zones help identify when the market is entering overheated or oversold states and when it is likely to regain balance.
The divergence system tracks confirmed turning points, showing potential moments of internal reversal within the current move.
Lightning Osc PreVersion2 is crafted to read momentum clarity rather than raw noise.
It keeps the chart clean, focusing only on the essential impulses that often precede visible changes in structure.
Although it functions perfectly on its own, it works especially well when used together with Lightning Fib PreVersion — forming a powerful combination where the Fib indicator defines structure, and the Oscillator defines timing and strength.
Best Timeframes: 1m–1h
Style: non-repainting, minimal, precision momentum reading
,
by MahaTrend
VWAP + EMA shows the VWAP + EMA 9/20/50/100/200 all in one indicator... you can adjust VWAP's calculation method + color + the outer bands or remove them.. can remove fill as well.. personally i just keep the VWAP
Advanced Liquidity Trading Suite═══════════════════════════════════════
ADVANCED LIQUIDITY TRADING SUITE
═══════════════════════════════════════
A comprehensive institutional trading indicator that identifies key market structure elements used by professional traders.
───────────────────────────────────────
WHAT THIS INDICATOR DOES
───────────────────────────────────────
This tool visualizes multiple institutional trading concepts on a single chart:
- Multi-Timeframe Liquidity Levels - Identifies swing highs/lows where institutional orders may be resting
- Order Blocks - Highlights the last opposing candle before significant price moves
- Dynamic Trendlines - Automatically draws support/resistance channels based on pivot points
- Premium/Discount Zones - Displays price distribution zones relative to swing ranges
- Trading Sessions - Shows Asian, London, and New York session boundaries with their key levels
- Market Structure Breaks - Identifies when price breaks through significant swing points
───────────────────────────────────────
HOW IT WORKS
───────────────────────────────────────
LIQUIDITY LEVELS:
- Uses pivot high/low detection with configurable left/right bar parameters
- Operates on multiple timeframes (HTF for major levels, LTF for precision entries)
- Levels are removed when price sweeps through them (configurable)
- Detection method: Standard pivot point algorithm with customizable sensitivity
ORDER BLOCKS:
- Identifies the last bearish candle before a bullish move (bullish OB)
- Identifies the last bullish candle before a bearish move (bearish OB)
- Uses swing length detection to find institutional accumulation/distribution zones
- Color-coded strength indicators show buying vs selling pressure within each block
- Violation detection using either wick or close-based invalidation
DYNAMIC TRENDLINES:
- Automatically connects pivot points to form trend channels
- Creates parallel channel lines at configurable spacing
- Breaks are detected when price closes through the channel
- Optional gradient fills for visual clarity
PREMIUM/DISCOUNT ZONES:
- Calculates equilibrium price based on swing range
- Premium zone: Upper 50% of range (institutional selling area)
- Discount zone: Lower 50% of range (institutional buying area)
- Equilibrium: Middle zone representing fair value
TRADING SESSIONS:
- Displays time-based session boxes for major market hours
- Tracks session high/low levels
- Shows session overlaps when multiple markets are active
- Fully customizable session times and time zones
───────────────────────────────────────
HOW TO USE
───────────────────────────────────────
SETUP:
1. Enable desired features using the Master Toggle Controls
2. Adjust timeframes for HTF (4H/Daily) and LTF (1H/4H) liquidity
3. Configure colors and display preferences
4. Set up alerts for key events
TRADING APPLICATIONS:
For Trend Trading:
- Use HTF liquidity levels as major support/resistance
- Wait for LTF liquidity sweeps to enter in trend direction
- Monitor dynamic trendlines for trend confirmation
For Reversal Trading:
- Watch for liquidity sweeps beyond HTF levels
- Look for order block formation after sweep
- Enter when price returns to the order block
For Range Trading:
- Trade between premium and discount zones
- Use equilibrium as profit target
- Monitor session highs/lows for intraday ranges
RISK MANAGEMENT:
- Place stops beyond liquidity levels
- Use order blocks for entry refinement
- Exit at premium zones in uptrends, discount zones in downtrends
───────────────────────────────────────
CONFIGURATION GUIDE
───────────────────────────────────────
Master Controls: Toggle features on/off globally
Liquidity Settings:
- Left/Right Bars: Adjust pivot sensitivity
- Display Limit: Number of levels shown
- Mitigation: Remove or show swept levels
- Extension: How far lines extend
Order Blocks:
- Swing Length: Detection sensitivity
- Show Last X: Number of active blocks
- Violation Type: Wick or close-based
- Hide Overlap: Manage overlapping blocks
Trendlines:
- Period: Pivot lookback
- Channel Padding: Distance between lines
- Gradient Fills: Visual enhancement
- Show History: Keep broken trendlines
Sessions:
- Time Settings: Customize session hours
- Time Zone: Adjust for your location
- Days to Show: Historical session display
- High/Low Lines: Session range markers
───────────────────────────────────────
ALERTS
───────────────────────────────────────
Available alert conditions:
- HTF Liquidity Hit (High/Low)
- Order Block Formation (Bullish/Bearish)
- Order Block Violation
- Trendline Formation
- Trendline Break
Configure alerts per your trading strategy requirements.
───────────────────────────────────────
EDUCATIONAL NOTE
───────────────────────────────────────
This indicator is based on institutional order flow concepts. It does not predict future price movements but rather identifies areas where significant market participants may be positioned. Always combine with your own analysis and proper risk management.
The indicator uses standard technical analysis methods (pivot detection, swing analysis, session time filtering) combined into a unified visualization tool.
───────────────────────────────────────
DISCLAIMER
───────────────────────────────────────
This indicator is for educational purposes. Past performance does not guarantee future results. Always conduct your own analysis and manage risk appropriately.
RRE volume I've simplified the script to show only a blue arrow when there's a green Heiken Ashi candle with high volume (5× average). Removed:
Red arrows for non-green HA high volume
Background highlighting
Information labels
The "All Candles" alert condition
Now you'll only see clean blue arrows for the green HA + high volume signals.






















