Buying Opportunity Score V2.1Overview
A composite scoring system (0-100) that identifies high-probability buying opportunities during market pullbacks. Validated through backtesting on SPY from 2010-2024.
How It Works
The indicator combines multiple fear and oversold signals into a single actionable score. When fear is elevated and the market is oversold, the score rises. Higher scores historically correlate with better forward returns.
Scoring Components
VIX Level (30 pts) - Market fear gauge
Drawdown (30 pts) - Distance from 52-week high
RSI 14 (12 pts) - Oversold confirmation
Bollinger Band (13 pts) - Statistical extreme
VIX Timing (15 pts) - Bonus when VIX declining from peak
Signal Levels
80+ = STRONG BUY (high conviction)
70-79 = BUY (consider entry)
60-69 = WATCH (monitor closely)
Below 60 = No signal
Backtest Results (SPY, 2010-2024)
70+ Signals: 85% win rate, 7.5% average 20-day return
80+ Signals: 100% win rate, 14% average 20-day return
Features
Statistics table showing 1Y, 3Y, 5Y rolling performance
Signal markers (green triangles) on buy signals
Outcome labels showing WIN/LOSS after measurement period
Multiple alert options
Works on SPY, QQQ, IWM (use VIX for all)
How To Use
Add to SPY, QQQ, or IWM (daily timeframe)
Wait for score to reach 70+ or 80+
Green triangle marks signal day
Check statistics table for recent performance
Set alerts for notifications
Alerts Available
STRONG BUY Signal (80+)
BUY Signal (70+)
Moderate Signal (60+)
Score Crossed 80/70
Score Dropped Below 70
Important Notes
Designed for daily timeframe on broad market ETFs
Signals confirm at end of day (bar close)
Statistics table shows rolling windows based on loaded data
Past performance does not guarantee future results
Indicateurs et stratégies
TASC 2026.01 The Reversion Index█ OVERVIEW
This script implements the Reversion Index as presented by John F. Ehlers in the January 2026 edition of the TASC Traders' Tips , "Identifying Peaks And Valleys In Ranging Markets”. This indicator was created to provide timely buy and sell signals for mean reversion strategies.
█ CONCEPTS
Ehlers came up with the idea for the Reversion Index following the development of the "Continuation Index" (featured in the September 2025 edition). While the Continuation Index provides indications for trend onset, continuation, and exhaustion; the Reversion Index serves as its counterpart for mean-reversion trading.
The raw Reversion Index value is calculated as the net change in price normalized to the sum of the absolute value of change in price over the same period; for clarity, it is then smoothed using Ehlers' SuperSmoother.
The Smooth Reversion Index value is led by a "Trigger" line, which is created by smoothing the raw data to half the smoothing period of the smoothed index.
Note: Ehlers suggests the smoothing lengths be left at 8 and 4 (Reversion Index & Trigger). For this reason these lengths are hard-coded in the script but can be easily modified in the code.
█ USAGE
In order to identify peaks and valleys effectively, the "Length" should ideally be set to half of that of the expected cycle of the data. If the expected cycle of your trading data is 20 bars, a 10 bar length should be set.
Note: The Reversion Index is intended to identify peaks and valleys within a cycle, not over a large sample period. Ehlers suggests that this would create an estimation of trend, which is not the goal here.
Once the length is set, peaks and valleys are interpreted as the cross of the "Trigger" and "Smooth" lines.
GruxxFX EMA Rejection + SMC Bias Kit (v6)new indicator / alert kit for ema20/50 rejection, stay in until alert tells you otherwise, move sl's to break even.
BTC Market Regime Scanner (Free Preview)This idea demonstrates how Bitcoin price action behaves very differently
depending on the underlying market regime.
Most indicators react to price.
This framework focuses on context.
Instead of highlighting isolated buy/sell moments, the chart visualizes:
• When the market is structurally trending versus conditionally neutral
• Why certain price moves should be ignored despite strong momentum
• How multiple filters work together to block low-quality participation
• Where late entries statistically deteriorate expectancy
The regime logic is designed to answer a simple but critical question:
"Is this environment even worth engaging?"
By combining trend strength, regime classification and structural filters,
the framework avoids common pitfalls such as:
– chasing extended moves
– trading inside neutral compression zones
– reacting to noise instead of structure
Important:
– This is NOT a trading signal
– No entries, no alerts, no automation
– The purpose is structural market interpretation, not execution
The indicator shown here is a free visual preview of a more advanced,
invite-only system that extends this logic with execution rules,
risk management and automation.
If you are interested in testing the full system,
feel free to DM me on TradingView.
5-Min ORB - NY Session5-Minute Opening Range Breakout (ORB) - NY Session Indicator
This TradingView indicator identifies and plots the Opening Range Breakout (ORB) based on the first 5-minute candle of the New York trading session.
Key Features:
Automatic Detection: Automatically detects the NY session open (default 9:30 AM ET, fully customizable) and captures the high/low of the first 5-minute bar
Multi-Timeframe Support: Works on any chart timeframe (1-min, 3-min, 15-min, etc.) by requesting 5-minute data
Dynamic Price Targets: Calculates both bullish (above ORB high) and bearish (below ORB low) price targets based on the opening range size
Configurable Targets: Set up to 10 price target levels on each side, with targets spaced proportionally to the ORB range
Extended Lines: All lines automatically extend ahead of the current bar by a configurable number of minutes for better forward visibility
Price Labels: Optional price labels display exact values at the end of each level
Midpoint Line: Optional dashed midpoint line shows the center of the opening range
Custom Styling: Fully customizable colors and transparency for all lines and labels
How It Works:
The indicator measures the distance between the ORB high and midpoint, then projects additional targets at equal intervals above the high (bullish targets in green) and below the low (bearish targets in red).
Why Use a 5-Minute ORB?
Tighter Range: The 5-minute opening range is typically smaller than the 15-minute range, providing more precise entry and exit levels
Earlier Signals: Breakouts are identified sooner, allowing for faster reaction times
Scalping-Friendly: Ideal for day traders and scalpers who prefer shorter timeframes and quicker price movements
Higher Probability Zones: The narrower range often creates more reliable support/resistance levels for intraday trading
Best Practices:
Works best on liquid instruments with high volume during NY session open
Combine with volume analysis to confirm breakout validity
Consider using the first target as a take-profit level for quick scalps
Watch for false breakouts within the first 15-30 minutes of the session
QQQ/ES Overlay on NQQQQ/ES Overlay on NQ
This indicator overlays QQQ or ES price levels onto your NQ chart, dynamically mapping reference levels from your chosen symbol to equivalent NQ prices. Perfect for tracking correlations between Nasdaq futures and related instruments.
Key Features
Dual Symbol Support - Toggle between QQQ and ES with a dropdown. Each symbol uses optimized defaults: QQQ shows every 1 point, ES shows every 5 points.
Pre-Market Ready - Extended session support starting at 4:00 AM ET captures pre-market movement. By 9:00 AM, levels accurately reflect overnight action.
Smart Level Mapping - Calculates real-time ratio between NQ and your overlay symbol, then maps round price levels (like QQQ 614 or ES 5985) to equivalent NQ prices.
Anti-Jitter Technology - Stability threshold prevents lines from shaking on minor movements while maintaining accuracy.
How It Works
The indicator fetches live prices from both QQQ and ES, calculates the dynamic ratio to NQ, and displays mapped reference levels. For example, if NQ trades at 21,500 and QQQ at 614, the ratio is approximately 35.016. This means QQQ 615 maps to roughly 21,535 on your NQ chart.
Customization
Choose overlay source (QQQ or ES)
Adjust level increments independently for each symbol
Set number of levels above/below price
Customize line style, width, and color
Control label appearance and position
Fine-tune update sensitivity
Use Cases
Track market correlations in real-time, identify divergences between instruments, trade off psychological round numbers from correlated markets, monitor pre-market relationships, and maintain consistent reference levels across timeframes.
Settings
Default configuration shows 20 levels above and below current price with white lines at 40% opacity. QQQ uses 1-point increments, ES uses 5-point increments. Labels appear 8 bars to the right with dashed lines. Minimum 0.5-point move required to update positions.
Technical Notes
Designed specifically for NQ charts. Uses extended session data (4:00 AM - 8:00 PM ET) for live calculations. Outside trading hours, maintains ratio from previous close. Real-time updates depend on active data feed for all symbols.
Market Internal Overlay - Skew and Put/Call RatioTracks both the CBOE:SKEW and INDEX:CPC and will highlight when certain thresholds are met.
Blue candle = skew is below 125 (low relative levels of hedging occurring)
Gray candle = skew is above 150 (higher relative levels of hedging occurring)
Red candle = 10 DMA of the put/call ratio is above 1.0 (signaling potential overbought territory)
Green candle = 10 DMA of the put/call ratio is below 0.80 (signaling potential oversold territory)
Purple candle = Both signals are occurring (in either direction)
To view the candle overlay, either switch the price data off, or change the colors to be darker and more transparent.
The Strat Candle Types (1 / 2U / 2D / 3)This script uses TheStrat candle numbers 1, 2D, 2U, 3 and places the text below or above. You can also change the text size. This also allows you to change the colors of the candles with two options for the 1 & 3 so you can color them in the direction they are going. For example a 1 that is green can be green and a 1 that is red can be red.
ORB Pro - NY Opening Range Breakout by Elev8+ORB Pro - NY Opening Range Breakout | Smart Support & Resistance
ORB Pro is a comprehensive, professional-grade toolkit designed for intraday traders who rely on the Opening Range Breakout (ORB) strategy.
Unlike standard ORB indicators that simply draw lines, this suite offers a complete dashboard-driven system that monitors four distinct sessions simultaneously, providing real-time status updates and precision alerts.
— — —
🎯 What is the Opening Range Breakout (ORB)?
The Opening Range is the price range established during the first period of the trading session (e.g., the first 15 or 30 minutes). This period represents the initial balance between buyers and sellers. A breakout from this range often signals the likely trend direction for the remainder of the session.
— — —
🚀 Key Features
1. Multi-ORB Monitoring
Stop switching settings constantly. This suite monitors four key ranges at once:
Pre-Market 15m (08:00 – 08:15 ET)
Pre-Market 30m (08:00 – 08:30 ET)
NY Cash Open 15m (09:30 – 09:45 ET)
NY Cash Open 30m (09:30 – 10:00 ET)
2. Smart Status Dashboard
A compact panel in the bottom-right corner gives you the live state of every session:
⏳ Waiting: The session has not started yet.
⚡ Forming: The range is currently being built.
↔️ Range: The range has formed, but price is still contained within the range.
🚀 BULL / 📉 BEAR: A confirmed breakout has occurred.
⛔ OFF: The session is disabled in settings.
3. "Dynamic Resolution" Technology
This is a unique pro feature.
Precision: The script always calculates the High/Low levels using 1-minute data , ensuring your support/resistance lines are pixel-perfect regardless of your chart timeframe.
Flexibility: Breakout signals (Alerts/Labels) are triggered based on your current chart timeframe. This allows you to trade a 5m or 15m breakout strategy while keeping 1m-level precision on your levels.
4. Visual Clarity
Breakout Labels: Automatically plots "BULL" or "BEAR" labels on the exact candle that confirms a breakout.
Profit Targets: Optional toggle to show 1x and 2x profit targets projected from the breakout level.
Time-Bound Signals: Signals are strictly time-bound to the active window to prevent late, low-quality alerts.
— — —
🛠️ How to Use
Add to Chart: Works best on intraday timeframes (1m, 5m, 15m).
Configure: Enable the sessions you trade (e.g., NY 15m) in the settings.
Wait for Forming: Watch the box form live. The dashboard will show "⚡ Forming".
Trade the Break: Wait for a candle Close outside the range. The dashboard will flip to "BULL" or "BEAR" and a label will appear.
Manage Risk: Use the opposite side of the range or the midline as your stop loss.
— — —
⚙️ Settings Overview
Global Settings: Toggle forming boxes, dashboard, and label visibility.
Breakout Method: Choose between Close (safer) or Wick (aggressive) for signal triggers.
Session Groups: Individually enable/disable the 4 distinct sessions and customize their colors/styles.
— — —
📝 Update Notes (Recent)
New PDH/PDL Levels: Added the ability to display Previous Day High and Previous Day Low lines on the chart.
Auto-Update & Cleanup: The PDH/PDL lines now automatically update daily and erase historical lines, ensuring only the current day's levels are visible to keep the chart clean.
Dashboard Positioning: Added a new setting to move the Status Dashboard to any corner of the screen.
Enhanced Customization: Added full styling options in settings for PDH/PDL lines and Dashboard positioning.
— — —
Disclaimer: This tool is for educational and analytical purposes only. Past performance of a strategy does not guarantee future results. Always manage your risk.
Scalping Signals with MTF Fibo BandsThis indicator is a scalping / intraday signal system built on Multi-Timeframe (MTF) Fibonacci Bands, combined with an RSI midline filter and an optional direction-lock mechanism to reduce consecutive losing entries.
🔹 What does this indicator do?
It plots two independent Fibonacci Band sets (A & B), each calculated from a higher timeframe SMA + ATR.
Entry zones are defined between Band 2 and Band 3, representing statistically extreme price areas.
You can choose to generate signals from:
Band A only
Band B only
BOTH (A + B confirmation)
📈 Entry Logic
LONG
Price closes inside the Lower Zone (between Fib2 Lower & Fib3 Lower)
RSI is above the midline (default 50)
SHORT
Price closes inside the Upper Zone (between Fib2 Upper & Fib3 Upper)
RSI is below the midline (default 50)
🟧 Direction Lock System
If enabled, the indicator locks the trade direction when a position hits Stop Loss before reaching TP1.
This prevents repeated entries in the same direction during unfavorable conditions.
🔓 Unlock Logic
The lock can be removed when:
RSI crosses back over the midline (RSI > 50 for LONG, RSI < 50 for SHORT)
AND price closes again inside the valid Band 2–3 zone
With the optional setting enabled, a new entry can occur on the same candle
🛑 Stop Loss Logic (Important)
This indicator uses price-action-based stop logic, not fixed pip stops.
1️⃣ Before TP1
LONG: Two consecutive candle closes below Fib3 Lower
SHORT: Two consecutive candle closes above Fib3 Upper
⚠️ Because SL depends on candle closes, you must monitor lower timeframes (1m or below) to react quickly and avoid delayed exits.
2️⃣ After TP1 (Break-Even Protection)
Once TP1 is touched:
SL automatically shifts to Break-Even (entry price)
Any return to entry will close the position
⚠️ Usage Warning
This indicator is NOT designed for sharp, explosive, or news-driven moves
Avoid using it during:
High-impact news
Extremely fast impulsive candles
Sudden volatility spikes
Best performance is achieved in structured price action environments, not chaotic market conditions.
Yield Curve Inversion Indicator Will track the TVC:US10Y and TVC:US03MY spread, often followed for the "yield curve inversion" trade/indicator.
When an inversion occurs, which lasts a minimum of the defined days (default 10) the indicator will paint forward a warning period (default is 365 days).
The yield curve being inverted is not the signal, the REVERSION back to a positive curve is the associated signal, namely the following 12 months after a reversion. This is often used as an early warning of trouble in markets.
Hope this helpful for those who follow macro/internal warning signals.
Elev8+ Impulse Levels | Smart Support & ResistanceElev8+ Impulse Levels | Smart Support & Resistance
Ever notice price rejecting “empty” areas on the chart—like it remembered something that isn’t obvious?
That “something” is often Institutional Impulse : footprints left behind by large, aggressive moves that get defended again days or weeks later .
Elev8+ Impulse Levels automatically detects these moments and projects the most important prices forward so you can see the structure most traders miss.
— — —
🧠 How It Works (The Logic)
This is not a typical support/resistance tool. It does not hunt swing highs/lows.
It looks for Market Intent —the “Perfect Storm” when two conditions align:
Volume Spike — buying/selling pressure significantly exceeds average volume (multiplier-based).
Volatility Expansion — the candle body is unusually large relative to recent ATR.
When both occur, the script marks the event and treats the impulse close as a key “line in the sand” that can influence future reactions.
— — —
🎯 How to Use These Levels
The script includes a Smart Line behavior that changes level styling based on how price interacts with it—so you can quickly separate two core setups:
1) The Defense (Bounce)
Visual: 🟢 Solid line (Fresh / Untouched)
What it means: Price has not yet traded through or “invalidated” the level.
What to look for: First return to the level → rejection / bounce behavior.
Why it matters: Large players often defend prior entries; first tests can react sharply.
2) The Flip (Break & Retest)
Visual: ◌ Dotted line (Broken / Re-priced)
What it means: A candle has closed through the level.
What to look for: Price returns to the dotted level from the other side (“kiss”) → continuation.
Why it matters: Broken support can act as resistance (and vice versa), similar to a breaker concept.
— — —
✨ Key Features
Smart Visualization — levels automatically transition from solid → dotted when broken to reduce chart noise.
Impulse Candle Highlighting — see the exact candle that created the level (origin clarity).
Fully Customizable Sensitivity — tune volume + size thresholds for Crypto, Forex, Futures, or Stocks.
— — —
🚀 The Elev8+ Workflow
Think of Impulse Levels as your map : it shows where reactions are most likely.
For entry timing, pair it with Elev8+ Pro Reversal to confirm the moment price reacts at these high-value zones.
— — —
Disclaimer: Trading involves risk. This tool is for educational/technical analysis purposes only and does not guarantee future results.
MGC1! - Stats jour du Weekly High/Low Lun VenIndicator Name: Weekly High/Low Day Statistics (Probability Dashboard)
Description:
This indicator provides a statistical edge by analyzing historical price action to determine which day of the week is most likely to form the Weekly High or the Weekly Low.
Designed for intraday traders and swing traders, this tool helps you anticipate the structure of the weekly candle. By understanding the probabilities of when the extremums (HOD/LOD of the week) usually occur, you can better align your trade setups with the true weekly expansion.
Key Features:
Historical Analysis: Calculates statistics based on a user-defined lookback period (default is 104 weeks / 2 years) to ensure statistical significance.
Probability Dashboard: Displays a clean table on the chart showing the percentage chance for each day (Monday to Friday) to be the High or Low of the week.
Rolling Window: Automatically updates data at the close of every week to keep probabilities current.
How to Use (ICT/SMC Context):
Weekly Profiles: Use this data to validate "Classic Tuesday Low" or "Wednesday/Thursday Reversal" profiles.
Bias Confirmation: If the statistics show a 40% chance of the Weekly Low forming on a Tuesday, and price is diving into a Higher Timeframe POI on Tuesday morning, this adds high-probability confluence to your long setups.
Targeting: If the Weekly High typically forms on Thursday and it is currently Wednesday, you can hold runners for an expansion into the next day.
Elev8+ Impulse LevelsElev8+ Impulse Levels | Smart Support & Resistance
Ever notice price rejecting “empty” areas on the chart—like it remembered something that isn’t obvious?
That “something” is often Institutional Impulse : footprints left behind by large, aggressive moves that get defended again days or weeks later .
Elev8+ Impulse Levels automatically detects these moments and projects the most important prices forward so you can see the structure most traders miss.
— — —
🧠 How It Works (The Logic)
This is not a typical support/resistance tool. It does not hunt swing highs/lows.
It looks for Market Intent —the “Perfect Storm” when two conditions align:
Volume Spike — buying/selling pressure significantly exceeds average volume (multiplier-based).
Volatility Expansion — the candle body is unusually large relative to recent ATR.
When both occur, the script marks the event and treats the impulse close as a key “line in the sand” that can influence future reactions.
— — —
🎯 How to Use These Levels
The script includes a Smart Line behavior that changes level styling based on how price interacts with it—so you can quickly separate two core setups:
1) The Defense (Bounce)
Visual: 🟢 Solid line (Fresh / Untouched)
What it means: Price has not yet traded through or “invalidated” the level.
What to look for: First return to the level → rejection / bounce behavior.
Why it matters: Large players often defend prior entries; first tests can react sharply.
2) The Flip (Break & Retest)
Visual: ◌ Dotted line (Broken / Re-priced)
What it means: A candle has closed through the level.
What to look for: Price returns to the dotted level from the other side (“kiss”) → continuation.
Why it matters: Broken support can act as resistance (and vice versa), similar to a breaker concept.
— — —
✨ Key Features
Smart Visualization — levels automatically transition from solid → dotted when broken to reduce chart noise.
Impulse Candle Highlighting — see the exact candle that created the level (origin clarity).
Fully Customizable Sensitivity — tune volume + size thresholds for Crypto, Forex, Futures, or Stocks.
— — —
🚀 The Elev8+ Workflow
Think of Impulse Levels as your map : it shows where reactions are most likely.
For entry timing, pair it with Elev8+ Pro Reversal to confirm the moment price reacts at these high-value zones.
— — —
Disclaimer: Trading involves risk. This tool is for educational/technical analysis purposes only and does not guarantee future results.
Strategy Validator - Backtest & Live TradeStrategy Validator is an analytical indicator for TradingView designed to evaluate trade setups, risk structure, and price behavior in real time.
The indicator builds trade scenarios, visualizes key trade levels, and provides statistical context based on historical data.
Its purpose is to help traders better understand current trade conditions and make decisions based on market structure rather than isolated signals.
🔶 Conceptual Approach
Many tools focus on a single question:
“Is there a signal right now?”
Strategy Validator approaches the market differently by analyzing a trade as a structured scenario that includes:
• current market state
• price position relative to key levels
• acceptable risk boundaries
• potential price expansion range
The indicator evaluates how well the active trade configuration aligns with historically observed market conditions and visualizes its boundaries directly on the chart.
🔶 Trade Condition Analysis
For each active configuration, the indicator evaluates:
• alignment of the entry with market structure
• market phase (directional movement, range, or elevated activity)
• risk-to-outcome relationship
• historical behavior of similar setups
The goal is to highlight trades with a clear structure and controlled risk , while filtering out weak or unstable conditions.
🎯 Trade Structure on Chart
Each trade is displayed directly on the chart with clearly defined elements:
• Entry — trade entry level
• Take Profit — projected target level
• Stop Loss — risk limitation level based on market structure and volatility
This allows immediate understanding of trade boundaries without manual calculations.
🧪 Statistical Context & Backtest
The indicator includes an integrated statistical panel showing:
• Win Rate
• Profit Factor
• Maximum Drawdown
• Net Result
• Total Trades
Two information blocks are available:
• BACKTEST — historical behavior of similar trade conditions
• POSITION — parameters and real-time state of the current trade
Historical data is used to provide analytical context, not to predict future performance.
🔶 Markets & Timeframes
🌍 Compatible with all TradingView markets:
• Crypto
• Forex
• Stocks & ETFs
• Indices
• Commodities
• Futures
⏱ Works on all timeframes — from intraday analysis to long-term charts.
🔶 Intended Use
Strategy Validator is designed for traders who:
• focus on risk-aware decision making
• prefer structured market analysis
• evaluate trades in context rather than isolation
• use statistics as a supporting decision layer
Important Notice
This indicator is an analytical tool and does not guarantee profitability.
It is not a trading robot or an automated execution system.
Past results do not guarantee future outcomes.
Always apply proper risk management.
Session VWAPsOVERVIEW
------------
This indicator automatically anchors VWAP lines at key trading session openings. By default, it calculates separate VWAPs starting at the London Open (03:00 EST) and New York Open (09:30 EST), allowing traders to track institutional price levels from these critical market sessions.
KEY FEATURES
------------
✓ Dual Session VWAPs - London and New York opens
✓ Fully Customizable Times - Set any session opening time
✓ Timezone Support - Choose from UTC-12 to UTC+14
✓ Color Customization - Personalize each VWAP line color
✓ Adjustable Line Width - Set line thickness (1-5)
✓ Visual Session Markers - Labels show "LDN" and "NY" at session starts
✓ Clean Chart Display - Minimal, professional appearance
HOW IT WORKS
------------
The indicator anchors a new VWAP calculation at the specified session opening times. Each VWAP continues to calculate throughout the day until the next session opening the following day, when it resets and starts fresh.
VWAP (Volume Weighted Average Price) is calculated using the typical price (HLC3) weighted by volume, providing dynamic support/resistance levels that reflect institutional trading activity.
DEFAULT SETTINGS
------------
• London Session: 03:00 UTC-5 (Blue line)
• New York Session: 09:30 UTC-5 (Red line)
• Timezone: UTC-5 / EST (adjustable)
CUSTOMIZATION
------------
All parameters are fully adjustable in the indicator settings:
- Session opening hours and minutes
- VWAP line colors
- Line width/thickness
- Timezone offset
USE CASES
------------
• Identify key institutional price levels
• Track session-specific support/resistance
• Monitor price action relative to session opens
• Combine with other strategies for confluence
• Observe how price reacts to VWAP during different sessions
IDEAL FOR
------------
• Intraday traders
• Scalpers
• Day traders focusing on London/New York sessions
• Traders using VWAP strategies
• Anyone tracking institutional order flow
NOTES
------------
- Works on all timeframes (recommended: 1min to 1hour)
- Best used on liquid instruments
- VWAPs reset daily at the specified session times
- Can be used standalone or combined with other indicators
SETTINGS GUIDE
------------
London Session Group:
- Hour: Session opening hour (0-23)
- Minute: Session opening minute (0-59)
- Color: VWAP line color
- Line Width: Thickness of the line
New York Session Group:
- Hour: Session opening hour (0-23)
- Minute: Session opening minute (0-59)
- Color: VWAP line color
- Line Width: Thickness of the line
Timezone:
- Select your local timezone (UTC-12 to UTC+14)
- Default: UTC-5 (EST)
Borna's Zones NY Borna's Zones marks two important time-based zones on the chart: the 08:00 zone and the 09:00 zone.
The 14:00 zone identifies initial liquidity. This zone sets the range where early market participants create significant activity.
The 15:00 zone serves as a reference for confirmation. After 15:00, the indicator helps you identify whether the 14:00 zone should be considered cleared.
Both zones are automatically extended until 17:00, providing clear visual references for potential market reactions.
No trading is recommended after 17:00, as the early morning zones lose relevance.
This indicator is useful for traders who focus on pre-market and early session liquidity, helping to visualize key levels where price may react.
Sell-to-Buy Pressure RatioSell/Buy Pressure Ratio
What It Measures
The Sell/Buy Pressure Ratio quantifies the aggressiveness of sellers versus buyers by comparing conviction-weighted volume on down candles versus up candles. It answers a simple question: who is more committed right now—buyers or sellers?
How It Works
The indicator examines each candle and determines directional conviction based on where price closes within the bar's range. A candle that closes near its high shows strong buyer conviction. A candle that closes near its low shows strong seller conviction. This conviction percentage is then multiplied by volume to create a weighted measure of buying and selling pressure.
The ratio divides total selling pressure by total buying pressure over a lookback period. A ratio of 1.5 means sellers are 50% more aggressive than buyers. A ratio of 0.5 means buyers are twice as aggressive as sellers.
Key Features
Conviction weighting: Not all volume is equal. A strong close near the high counts more than a weak close mid-range.
Doji handling: Indecisive candles (where open and close are nearly equal) split volume 50/50 between buyers and sellers.
Volume filtering: Low-volume bars below 60% of average are excluded to focus on meaningful activity.
Normalized output: Optional -1 to +1 scale for cross-stock comparison.
Interpretation
RatioMeaning≤ 0.5Strong buyers — accumulation, continuation setups0.5 – 0.8Buyers favored — healthy environment for longs0.8 – 1.2Balanced — equilibrium, wait for direction1.2 – 1.5Sellers favored — caution warranted≥ 1.5Strong sellers — distribution, avoid new longs
Primary Use
Timing entries within confirmed trends. The ratio identifies when selling pressure has exhausted itself, signaling safer entry points. Rather than buying strength, traders wait for the ratio to transition from elevated levels back toward equilibrium—buying when selling stops being dangerous.
What It Does Not Do
This indicator does not predict direction. It measures current pressure dynamics. Pair it with trend analysis (moving averages, price structure) to determine direction, then use the pressure ratio to time entries and exits.
Microstructure Participation & Acceptance Indicator📊 Microstructure Participation & Acceptance Indicator
An advanced participation-based filter combining VWAP distance analysis, volume delta detection, and real-time acceptance/rejection state identification—designed for smaller timeframe trading.
📊 FEATURES
VWAP Distance Normalization
Context-aware fair value measurement:
Automatically resets based on selected anchor (Session/Week/Month)
ATR-normalized distance calculation for universal application
Identifies when price is extended or compressed relative to equilibrium
Configurable extreme distance threshold (default: 1.5 ATR)
Adjustable source input (default: HLC3)
Volume Delta Proxy
Bull vs Bear participation tracking:
Calculates volume imbalance between bullish and bearish candles
EMA smoothing for cleaner signal generation (default: 9 periods)
Delta ratio measurement to identify dominant side
Expansion/compression detection to gauge momentum commitment
Configurable expansion threshold (default: 1.3x)
Acceptance/Rejection State Machine
Real-time market regime identification with six distinct states:
🟢 Accepted Long
Price moving away from VWAP with expanding bullish delta
Distance from VWAP increasing
Volume confirming the move
Indicates real buying pressure—trade WITH the move
🟢 Accepted Short
Price moving away from VWAP with expanding bearish delta
Distance from VWAP increasing
Volume confirming the move
Indicates real selling pressure—trade WITH the move
🟠 Fade Long
Price extended beyond threshold (>1.5 ATR above VWAP)
Delta not supporting the extension
Volume participation absent or diminishing
Potential mean-reversion short setup
🟠 Fade Short
Price extended beyond threshold (>1.5 ATR below VWAP)
Delta not supporting the extension
Volume participation absent or diminishing
Potential mean-reversion long setup
⚪ Chop
Price compressed near VWAP
Bollinger Bands tight (width compressed)
Delta neutral—no clear commitment
NO TRADE ZONE—wait for expansion
⚪ Neutral
Transitional state between regimes
Momentum shifting but not yet confirmed
Monitor for next acceptance signal
Bollinger Bands
Standard volatility measurement with TradingView default styling:
Adjustable period length (default: 20)
Configurable standard deviation multiplier (default: 2.0)
Visual fill between bands for volatility context
Used internally for chop/compression detection
Live Dashboard
Real-time metrics display (top-right corner):
Current market state with color coding
VWAP distance in ATR units
Delta ratio (bull/bear volume balance)
Delta state (Expanding/Compressing)
High-contrast design for instant readability
🎯 HOW TO USE
For Trend Trading:
Accepted Long/Short backgrounds indicate confirmed participation—stay with the trend
Strong moves typically travel 1-1.5 ATR from VWAP with delta support
Use VWAP as dynamic support/resistance
Combine with momentum indicators (MACD, RSI) for confluence
Price above VWAP + Accepted Long state = bullish bias
Price below VWAP + Accepted Short state = bearish bias
For Mean Reversion:
Fade Long/Short states signal overextension without participation
Price beyond 1.5 ATR from VWAP with weak delta = potential reversal
Look for price return to VWAP when extended
Bollinger Band extremes + Fade state = high-probability mean reversion setup
VWAP acts as mean reversion anchor during range-bound sessions
For Risk Management:
Chop state = avoid new entries
Bollinger Band compression + Chop = pre-expansion zone (wait for breakout)
Delta compression after strong move = early exhaustion warning
State transitions (Accepted → Neutral → Fade) = tighten stops
Signal Confirmation:
Strongest setups occur when multiple factors align:
BB breakout + Accepted state + price above/below VWAP
Price rejection at BB bands + Fade state
VWAP support/resistance hold + state transition
Delta expansion + distance increasing + trend direction
⚙️ SETTINGS
All components are fully customizable through organized input groups:
VWAP Distance Group:
VWAP source (default: HLC3)
Anchor period (Session/Week/Month)
ATR length for normalization (default: 14)
Extreme distance threshold in ATR multiples (default: 1.5)
Volume Delta Group:
Delta EMA length (default: 9)
Delta expansion threshold (default: 1.3)
Acceptance Logic Group:
Acceptance lookback period (default: 5)
Chop threshold in VWAP/ATR units (default: 0.3)
Bollinger Bands Group:
BB length (default: 20)
Standard deviation multiplier (default: 2.0)
Display Group:
Toggle state backgrounds
Toggle state change labels
Toggle VWAP line
Toggle Bollinger Bands
💡 EDUCATIONAL VALUE
This indicator teaches important concepts:
How institutional money identifies fair value (VWAP)
The difference between price movement and market acceptance
Why volume participation matters more than price action alone
How to distinguish between noise and committed directional moves
The relationship between volatility compression and expansion cycles
Why distance from equilibrium predicts mean reversion probability
⚠️ IMPORTANT NOTES
This indicator is for educational and informational purposes only
This is a filter, not a standalone trading system
No indicator is perfect—always use proper risk management
Past performance does not guarantee future results
Combine with your own analysis and risk tolerance
Test thoroughly on historical data before live trading
This is not financial advice—use at your own risk
🔧 TECHNICAL DETAILS
Pine Script Version 6
Overlay indicator (displays on price chart)
All calculations use standard, well-documented formulas
No repainting—all signals are confirmed on bar close
Compatible with all timeframes and instruments
Optimized for smaller timeframes (1-5 minute charts)
Minimal computational overhead
📝 CHANGELOG
Version 1.0
Initial release
VWAP distance normalization with ATR scaling
Volume delta proxy system (bull/bear EMA)
6-state acceptance/rejection state machine
Bollinger Bands integration
Real-time dashboard with live metrics
State change labels and background coloring
Full customization options
Developed for traders who need objective participation filters to distinguish high-probability setups from low-quality noise—without cluttering their charts with multiple indicator panels.
Malama's PRE-Market Box Overview
Malama's PM Box is a clean, professional pre-market range indicator that tracks the entire pre-market session (default 04:00–09:30 EST), draws a dynamic box during pre-market hours, and automatically extends clean high/low reference lines into the regular trading session. Upon breakout of these levels during regular hours, it optionally displays clear "BREAK" labels and fires alerts — making it ideal for day traders focusing on pre-market range breakouts.
Key Features
Dynamic Pre-Market Box: A real-time updating box that visually represents the developing pre-market high and low range, with customizable fill color, border, and transparency.
Extended Support & Resistance Lines: At the start of regular trading hours (09:30), the final pre-market high (resistance) and low (support) are locked in and extended as horizontal lines across the chart for the entire day.
Breakout Signals: Optional on-chart "BREAK" labels (green upward for bullish, red downward for bearish) when price closes beyond the pre-market high or low during regular hours.
Alerts: Built-in alert conditions for bullish breakouts (above PM high) and bearish breakdowns (below PM low).
Clean & Efficient Drawing: Uses Pine Script boxes and lines for smooth visuals and performance; lines extend automatically until the next trading day.
Major Differences & Improvements from the Older "Malama's KAYCAP Pre-Market Box"
The older script focused on isolating a single specific candle (default 4:00 AM) and plotting its body and wick levels separately. This new version represents a complete evolution into a full pre-market range tool with the following key upgrades:
Full Session Range vs. Single Candle:
Old: Captured only one user-defined minute/candle (e.g., exactly 4:00).
New: Tracks the entire pre-market session (default 04:00–09:30) and continuously updates the true session high/low.
Visual Presentation:
Old: Four separate plots (body top/bottom, high/low) with basic fill.
New: Single professional box with customizable fill/transparency/border during pre-market, plus clean extended horizontal lines after market open.
Extension & Persistence:
Old: Static plots that did not extend or update dynamically.
New: Lines automatically extend rightward throughout the regular session and reset cleanly each day.
Breakout Detection & Signaling:
Old: No breakout logic or alerts.
New: Detects true breakout/breakdown candles during regular hours, with optional visual labels and dedicated alert conditions.
User Experience:
Old: Required manual configuration of exact minute and separate pre-market session inputs (unused in logic).
New: Simplified session input using TradingView's built-in session string, fewer inputs overall, and more intuitive grouping.
In essence, the older version was a niche tool for analyzing one specific pre-market candle's structure, while PM Box (Visual Pro) is a modern, practical day-trading utility focused on the classic pre-market high/low range strategy with superior visuals, automation, and breakout signaling.
How to Use
Apply to 1-minute or 5-minute charts on US stocks or indices with pre-market data.
Default session (04:00–09:30) captures standard US pre-market; adjust if your broker uses a different timezone.
Watch the box develop live during pre-market.
Once regular hours begin, use the extended high (resistance) and low (support) lines as key levels.
Trade breakouts/breakdowns when price closes beyond these lines (confirmed by labels and alerts).
Combine with volume, trend filters, or other confluence for higher-probability setups.
Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice. Past performance does not guarantee future results. Always use proper risk management and combine with your own analysis. Trading involves substantial risk of loss.
RSI For Loop | PWRSI For Loop – True Dominance Oscillator
RSI For Loop – True Momentum Dominance Through Historical Comparison
The Relative Strength Index (RSI) is excellent at measuring recent price change intensity, but a reading of 70 or 30 has completely different implications depending on the market regime. RSI For Loop removes this ambiguity by transforming RSI into a clean, zero-centered dominance / percentile-rank oscillator that always tells you exactly how strong or weak the current momentum is compared to recent history.
How it works
- Standard RSI is calculated normally (default length 46).
- A simple for-loop compares the current RSI value against the actual RSI value of every previous bar inside the user-defined lookback window (default 1 to 99 bars ≈ one full quarter on daily charts).
- Current RSI higher → +1 point
- Current RSI lower → –1 point
The resulting score ranges from –99 to +99 and is naturally centered around zero:
1. +40 = current momentum beats ~70 % of the last 99 bars (approximation)
2. –60 = current momentum is weaker than ~80 % of the last 99 bars (approximation)
3. Near zero = balanced or ranging market
Additional statistical layers
- A very long rolling median of the score (default 240 periods) serves as a slow, robust dynamic centerline
- Upper and lower 3σ bands are calculated from the standard deviation of the underlying RSI median (default length 60) to highlight truly rare extreme-dominance phases
- Asymmetric trend thresholds (default Long +15 / Short –28) reflect the empirical observation that downside momentum is usually sharper and faster
Origin and development
The core idea of using a for-loop on RSI was originally introduced by @viResearch in his invite-only “RSI For Loop” script.
While studying that concept I realised I needed an even more regime-robust strength gauge that looks back far enough to capture full market cycles (2–4 months). Therefore I completely rewrote the loop to compare against actual historical RSI values instead of fixed levels, added a 240-period median centerline, 3σ extreme bands, asymmetric thresholds, and visual signals. All parameters were extensively tested across dozens of major assets (BTC, ETH, SOL, SUI, BNB, XRP, TRX, DOGE, LINK, PAXG, CVX, HYPE, VIRTUAL + 20+ more cryptos; Magnificent 7 stocks, QQQ, SPX, XAUUSD) with the goal of achieving consistent profitability, high Sortino ratio and low drawdown in simple trend-following setups.
The final defaults represent the most robust compromise found — they keep you in real trends for dozens or hundreds of bars while staying almost silent in choppy, ranging markets.
Important Note
The optimization process is tailored to MY needs and have to be adjusted to you prefered timeframe!
I was mainly looking for an indicator that shows the underlying strength of an asset, the trend componant was only a bonus in my eyes.
How to use it
1. Green triangle below bar → score crosses above +15 → new bullish regime confirmed → enter or add to longs
2. Magenta triangle above bar → score crosses below –28 → exit longs or go cash/short
While score stays clearly positive → bullish bias hold
3. Score touching or breaking the 3σ bands → extreme conviction zone (add to winners or prepare for exhaustion)
Strength
Recommended defaults (My preference)
RSI length 46
Loop range 1–99
Long threshold +15
Short threshold –28
Median length 240
SD length 60
Recommended Universal Settings (Tested for low Max-Drawdown, high Sortino)
RSI length 44
Loop range 1–60
Long threshold +14
Short threshold –10
Median length 180
SD length 28
Works on every asset class, but the current settings are tuned for major liquid markets.
Disclaimer: This is not financial advice. Backtests are based on past results and are not indicative of future performance.
Trend SignalSystem Trend Signal — What It Does
Shows you when your trading system says "be long" vs "stay out" — with a trailing line and buy/sell labels only when the state flips.
The Rules Built In:
BUY state requires ALL of these:
Price above 50-DMA (intermediate trend up)
10-DMA above 20-DMA (short-term trend confirmed)
Sell/Buy Pressure Ratio below 1.5 AND flattening or falling (sellers not aggressive)
RSI above 30 and not making lower lows (momentum OK)
SELL state triggers on ANY of these :
Price drops below 50-DMA (trend broken)
Pressure Ratio spikes above 2.0 (heavy selling)
RSI making lower lows AND below 40 (momentum failing)
What You See:
"Buy" label appears only when state flips from sell → buy
"Sell" label appears only when state flips from buy → sell
No spam. One label per flip.
The Trailing Line:
Uses ATR to set distance from price.
In buy state: line = close - (ATR × 2.0), ratchets up only
In sell state: line = close + (ATR × 2.0), ratchets down only
RiskyInvesting Algo PRORiskyInvesting Algo PRO
A premium multi-layer trend-following and momentum-confirmation system built on Heikin-Ashi candles, dual adaptive ATR trailing baselines, and intelligent multi-filter signal validation. The PRO version expands the core 5-parameter foundation with 4 additional advanced parameters, delivering significantly sharper entries, reduced false signals, and deeper market context for disciplined trend-flip trading.This model uses 9 parameters (vs 5 in the Free version), offering greater customization and precision. For more info, follow me on Twitter/X .
Disclaimer :
Must be used with Heikin-Ashi candle type.
Designed to complement your existing trading system. Signals and labels are not financial advice.
Core Features (Shared with Free Version) :
Heikin-Ashi Transformation: Smooths noise for clearer trend structure.
Dual Adaptive Trailing Baselines: ATR-based dynamic support/resistance lines (Parameters 1 & 2) that flip direction on confirmed breaks.
Directional Shift Detection: Buy/sell signals triggered by synchronized baseline flips.
Trend Bias Filtering: EMA vs SMMA relationship colors signals and defines macro bias.
Candle Strength Filter (Parameter 5): Requires meaningful momentum candles (≥30% of ATR body) for signal validity.
Exclusive PRO Version Upgrades :
Parameter 6: EMA/SMMA Proximity Filter
Highlights periods of indecision when the EMA and SMMA are extremely close (tick-based threshold, auto-adjusted by timeframe). Background turns semi-transparent purple to warn of unclear bias and discourage trading.
Parameter 7: Signal Mode Selection
Choose between Default (baselines can flip on separate candles) or Strict (both baselines must flip on the same candle) for higher-conviction entries.
Parameter 8: Retest Filter
Optional confirmation requiring price to retest the prior candle’s high/low (with buffer) after a flip, filtering out weak breakouts and improving win rate on reversals.
Parameter 9: Multi-Timeframe BB/KC Squeeze Filter
Monitors up to 7 higher timeframes (preset or user-customizable) for concurrent BB/KC squeezes — a powerful consolidation detector.
- Visual squeeze counter at chart bottom (color-coded by intensity).
- Real-time squeeze status table (toggleable).
- High squeeze count (5–6+) triggers strong purple consolidation warning.
Enhanced Visual & Alert System (PRO Exclusive) :
Smart Color-Coded Labels: Green/Blue (bullish), Red/Orange (bearish), or Purple (caution) based on bias, proximity, squeeze state, or counter-bias entries.
Star Rating on Signals: 🌟 or 🌟🌟 indicates how many strength filters (body + retest) were passed.
Position Sizing Emojis in Alerts:
🟩 = Full Position | 🟦 = Half Position
🟥 = Full Position | 🟧 = Half Position
Purple Caution Alerts: Clearly explain consolidation, unclear bias, or risky counter-bias setups.
EMA/SMMA Crossover Bias Alerts: Notifies on major macro trend shifts.
Real-Time Intrabar Baseline Cross Alerts: Early warning when price crosses trailing lines mid-bar.
Built for serious traders seeking a highly refined, low-noise trend-reversal system with institutional-grade filters, multi-timeframe awareness, and crystal-clear visual feedback — ideal for volatile intraday and swing setups.






















