Volume Delta [BigBeluga]🔵 OVERVIEW
The Volume Delta indicator visualizes the dominance between buying and selling volume within a given period. It calculates the percentage of bullish (buy) versus bearish (sell) volume, then color-codes the candles and provides a real-time dashboard comparing delta values across multiple currency pairs. This makes it a powerful tool for monitoring order-flow strength and intermarket relationships in real time.
🔵 CONCEPTS
Each bar’s buy volume is counted when the close is higher than the open.
Each bar’s sell volume is counted when the close is lower than the open.
volumeBuy = 0.
volumeSell = 0.
for i = 0 to period
if close > open
volumeBuy += volume
else
volumeSell += volume
The indicator sums both over a chosen period to calculate the ratio of buy-to-sell pressure.
Delta (%) = (Buy Volume ÷ (Buy Volume + Sell Volume)) × 100.
Gradient colors highlight whether buying or selling pressure dominates.
🔵 FEATURES
Calculates real-time Volume Delta for the selected chart or for multiple assets.
Colors candles dynamically based on the delta intensity (green = buy pressure, red = sell pressure).
Displays a dashboard table showing volume delta % for up to five instruments.
The dashboard features visual progress bars for quick intermarket comparison.
An optional Delta Bar Panel shows the ratio of Buy/Sell volumes near the latest bar.
A floating label shows the exact Buy/Sell percentages.
Works across all symbols and timeframes for multi-asset delta tracking.
🔵 HOW TO USE
When Buy % > Sell % , it often signals bullish momentum or strong accumulation—but can also indicate over-excitement and a possible market top.
Market Tops
When Sell % > Buy % , it typically reflects bearish pressure or distribution—but may also occur near a market bottom where selling exhaustion forms.
Market Bottom
Use the Dashboard to compare volume flow across correlated assets (e.g., major Forex pairs or sector groups).
Combine readings with trend or volatility filters to confirm whether the imbalance aligns with broader directional conviction.
Treat the Delta Bar visualization as a real-time sentiment gauge—showing which side (buyers or sellers) dominates the current session.
🔵 CONCLUSION
Volume Delta transforms volume analysis into an intuitive directional signal.
By quantifying buy/sell pressure and displaying it as a percentage or color gradient, it provides traders with a clearer picture of real-time volume imbalance — whether within one market or across multiple correlated instruments.
Trendtrading
Market Sentiment Technicals by Carlos ChavezA comprehensive visual tool that measures market sentiment by combining multiple indicators (RSI, Stochastic, CCI, Bull/Bear Power, MA, VWAP, Bollinger Bands, Supertrend, Linear Regression, Market Structure, etc.) into a unified sentiment meter.
This script includes:
Horizontal Sentiment Thermometer with clear Strong Bearish → Strong Bullish labels.
Dynamic Color Gradient for intuitive trend visualization (red → green).
Market Sentiment Oscillator with real-time divergence detection.
Technical Panel displaying oscillator and trend indicator readings with automatic normalization.
It’s designed for traders who want a quick and powerful overview of market strength and direction during intraday or swing sessions.
All credits and layout belong to Carlos C.
Inspired by LuxAlgo’s Market Sentiment concept.
This version is a complete re-implementation with unique visual improvements and logic optimizations by Carlos C.
Institutional AI-Enhanced Market StructureInstitutional AI-Enhanced Market Structure Indicator
COMPREHENSIVE DESCRIPTION
Overview and Purpose
This indicator combines institutional trading concepts (Smart Money Concepts) with a proprietary AI-inspired probability scoring system to identify high-probability trading opportunities. Unlike standard trend-following or support/resistance indicators, this tool integrates multiple institutional order flow concepts and quantifies their confluence through a dynamic scoring algorithm that adapts to market conditions.
The indicator is closed-source because it contains a unique multi-factor probability calculation engine and adaptive parameter optimization system that took extensive development and backtesting to create. The specific weighting, thresholds, and interaction between components represent proprietary intellectual property.
What Makes This Original
1. AI-Inspired Adaptive Probability Scoring System
The core innovation is a dynamic scoring algorithm that evaluates trade setups based on 6 confluence factors:
Market Structure Quality (20 points): Validates Break of Structure (BOS) or Change of Character (CHoCH) using pivot-based swing analysis
Order Flow Strength (15 points): Measures institutional volume participation relative to 20 and 50-period moving averages with standard deviation filtering
Liquidity Engineering (15 points): Detects liquidity sweeps at equal highs/lows (EQL) where retail stop losses cluster
Imbalance Presence (10 points): Identifies unfilled Fair Value Gaps (3-candle imbalances) as institutional entry zones
Market Regime Alignment (10 points): Confirms directional bias through multi-factor regime classification
Volatility Environment (5 points): Penalizes signals during high-volatility "chop" periods
Each factor is weighted based on backtested importance, and the total score (50-100%) must exceed a user-defined threshold before displaying signals. This is NOT a simple indicator mashup—the scoring system dynamically evaluates how these concepts work together in real-time.
2. Dynamic Market Regime Detection
Most indicators use static parameters. This indicator continuously classifies the market into one of four regimes using four calculations:
Trend Strength: EMA(21) vs EMA(50) divergence relative to price
Volatility Ratio: Current price standard deviation vs 50-period average
Volume Regime: Current volume vs 50-period SMA
Average Daily Range: 20-bar high-low range normalized to price
Based on these inputs, the algorithm classifies markets as:
BULL_TREND: Strong upward momentum with above-average volume
BEAR_TREND: Strong downward momentum with above-average volume
RANGING: Low trend strength with contained volatility
VOLATILE: Elevated volatility ratio above 1.5x average
The regime detection then adaptively modifies:
ATR multipliers for stop placement (2.5x in volatile, 1.2x in ranging, 1.8x in trending)
Signal probability requirements (higher in volatile conditions)
Order block decay rates
Fair value gap sensitivity
3. Institutional Order Flow Integration
The indicator detects and tracks institutional footprints through three proprietary methods:
Order Blocks: Unlike simple supply/demand zones, this uses a multi-condition filter:
Volume spike > 2.0 standard deviations above 20-period average
Large candle body > 0.8x ATR
Confirmation of Break of Structure in the same direction
Touch tracking and "tested" status when price revisits
Automatic decay after user-defined bars (prevents chart clutter)
Fair Value Gaps (Imbalances): 3-candle inefficiency detection where:
Bullish FVG: low > high AND close > high (gap between candle 0 and 2)
Bearish FVG: high < low AND close < low
Real-time fill percentage tracking as price revisits the gap
Assumes institutions will defend or fill these imbalances
Liquidity Zones: Detects equal highs/lows where retail stops cluster:
Identifies swing points within user-defined percentage threshold (default 0.3%)
Tracks "sweep" events when price spikes through then reverses (wick through level, close back inside)
Differentiates swept vs unswept liquidity for entry timing
4. Volume-Weighted Dynamic Levels
Instead of simple moving averages or static pivots, support/resistance are calculated using volume-weighted price:
Support = Σ(low × volume ) / Σ(volume ) for i=0 to 19
Resistance = Σ(high × volume ) / Σ(volume ) for i=0 to 19
This gives more weight to price levels with higher institutional participation, creating more reliable stop-loss placement when "Adaptive Stop Loss" is enabled.
5. Multi-Timeframe Confluence
The indicator queries daily timeframe data for higher-timeframe confirmation:
Daily EMA trend direction (21 vs 50)
Daily volume regime (above/below 20-period average)
Daily market regime classification
Signals only trigger when current timeframe setup aligns with daily timeframe bias, filtering out counter-trend noise.
How It Works - Technical Methodology
Market Structure Detection (Smart Money Concepts)
Uses ta.pivothigh() and ta.pivotlow() with user-defined strength (default 5 bars each side)
Stores last 50 swing highs and lows in arrays for historical reference
Break of Structure (BOS): Price closes beyond the most recent swing high (bullish) or swing low (bearish)
Change of Character (CHoCH): Price breaks counter-trend structure (low breaks above previous swing low = potential reversal)
Signal Generation Logic
A valid LONG signal requires ALL of the following:
Setup: Bullish BOS or CHoCH confirmed
Confirmation: Bullish liquidity sweep OR unfilled bullish FVG present
HTF Alignment: Daily timeframe in uptrend with above-average volume
Probability Score: AI scoring system returns ≥65% (user adjustable 50-95%)
Risk:Reward: Calculated stop (ATR-based or adaptive) allows minimum 2:1 R:R (user adjustable)
SHORT signals use inverse logic (bearish structure, bearish sweeps/FVGs, daily downtrend).
Adaptive Risk Management
Stop loss calculation adapts based on:
Current market regime (wider stops in volatile markets)
Volume-weighted support/resistance levels when "Adaptive" enabled
Minimum risk threshold (0.2% of price) to avoid over-tight stops
Take profit targets automatically calculate based on user-defined risk:reward ratio (default 2:1).
How To Use This Indicator
Initial Setup
Market Structure Group:
Start with default Swing Strength (5) for 1H-4H timeframes
Increase to 10-15 for daily timeframes
Decrease to 3 for scalping on 5-15min timeframes
AI Features Group:
Set "Signal Probability Threshold" to 65% for balanced approach
Increase to 75-80% for fewer but higher-quality signals
Lower to 60% in strong trending markets for more entries
Risk Management:
Enable "Adaptive Stop Loss" for dynamic support/resistance-based stops
Set "Minimum Risk:Reward" to 2.0 or higher (institutional standard)
Adjust ATR Length (14) based on timeframe (shorter for intraday)
Reading The Signals
Visual Elements:
Small triangles: Swing highs (red) and lows (green) - market structure pivots
Circles: Break of Structure - lime (bullish) or red (bearish)
Diamonds: Change of Character - cyan (bullish reversal) or orange (bearish reversal)
Boxes: Order blocks (green=bullish, red=bearish, yellow border=tested)
Transparent boxes: Fair Value Gaps (blue=bullish, purple=bearish)
Dashed/solid lines: Liquidity zones (purple=unswept, yellow=swept)
Large arrows: Trade signals with probability % (🔼 LONG / 🔽 SHORT)
Red/Green lines: Stop loss and take profit levels
Statistics Dashboard (top right by default):
Market Regime: Current classification (BULL_TREND, BEAR_TREND, RANGING, VOLATILE)
Volatility Ratio: Current vs average volatility (>1.5 = avoid trading)
Volume Regime: Current vs average volume (>1.2 = strong institutional participation)
Active Order Blocks: Number of untested institutional zones
Unfilled FVGs: Number of imbalances awaiting price return
Liquidity Zones: Unswept equal highs/lows (potential reversal areas)
HTF Alignment: Daily timeframe bias (confirm direction)
Last Signal Prob: Confidence score of most recent signal
Trading Strategy
For LONG Entries:
Wait for bullish BOS or CHoCH marker (circle/diamond below price)
Confirm market regime is BULL_TREND or RANGING (not VOLATILE)
Look for bullish liquidity sweep (yellow line below price) or unfilled bullish FVG (blue box)
When all align, watch for 🔼 LONG signal with probability ≥65%
Enter on signal candle close
Stop loss = red line, Take profit = green line
Monitor FVG fills and order block tests for possible early exit
For SHORT Entries:
Same logic in reverse (bearish structure, BEAR_TREND regime, bearish sweeps/FVGs, 🔽 SHORT signals)
Advanced Usage:
Order Block Confluence: Highest probability entries occur when price retraces to tested order block (yellow border) + FVG overlap
Liquidity Sweep Reversals: Best entries often follow immediate sweep (yellow line) then signal in opposite direction
Regime Filtering: Avoid trading during VOLATILE regime or when volatility ratio >1.5
HTF Confirmation: Only take signals when HTF Alignment matches direction (BULLISH for longs, BEARISH for shorts)
Customization:
Every visual element has individual toggle and color controls in settings:
Hide swing points if chart too cluttered
Disable BOS/CHoCH markers if only using order blocks
Turn off FVGs if focusing on liquidity sweeps
Customize colors to match your chart theme
Reposition dashboard to any corner
Why This Requires Closed-Source Protection
This indicator represents months of development integrating:
Proprietary probability weighting system - The specific point allocation (20/15/15/10/10/5) and interaction logic between factors is based on extensive backtesting across multiple markets and timeframes
Adaptive parameter optimization algorithms - How the indicator modifies ATR multipliers, decay rates, and thresholds based on regime detection uses proprietary mathematical relationships
Volume-weighted level calculations - The specific lookback periods and weighting formulas for dynamic support/resistance are optimized through statistical analysis
Multi-factor regime classification - The exact thresholds for trend strength (0.02), volatility ratio (1.3/1.5), and volume regime (1.0/1.2) are calibrated values
While the underlying concepts (SMC, order blocks, FVGs) are known, the integration methodology, scoring system, and adaptive algorithms are original intellectual property. An open-source version would allow immediate copying of years of development work, defeating the purpose of creating a professional-grade tool.
The detailed description above provides traders with complete transparency on WHAT the indicator does and HOW to use it effectively, without revealing the exact mathematical relationships and thresholds that make it effective.
Disclaimer
This indicator is an analytical tool for identifying potential trading opportunities based on institutional order flow concepts. It does not guarantee profits and should be used alongside proper risk management, fundamental analysis, and personal trading rules. Past performance does not indicate future results. Always use stop losses and never risk more than you can afford to lose.
RSI Cross Strategy [RSI ULTIMATE]RSI Cross Strategy — Release Notes (EN)
Version: 1.4 (Pine v6)
Date: 14 Oct 2025
Authors: Abraham ICARD
🚀 Summary
This release adds tighter trade governance (cooldown, weekdays-only, one-at-a-time) and sharper entry rules (RSI thresholds), on top of the existing daily trade cap, session hours, and entry/exit alerts.
✨ What’s New
• Cooldown Between Trades
◦ cooldown_minutes prevents a new entry until X minutes have elapsed since the last trade.
• Weekdays-Only Filter
◦ weekdays_only limits trading to Monday–Friday (exchange timezone).
• Single Position at a Time
◦ pyramiding = 0 + logic checks ensure only one active trade at any moment.
• RSI Thresholds for Cross Entries
◦ Long entries require RSI ≥ 52.
◦ Short entries require RSI ≤ 48.
◦ Inputs: rsi_long_min, rsi_short_max.
✅ Existing Features (kept & compatible)
• Daily Trade Limit: max_trades_per_day with robust day reset.
• Trading Session Window: session_allowed + option to block entries outside session.
• Trend Filter (opt-in): EMA50, SMA200, optional VWAP gate.
• TP/SL in % from average position price.
• Alerts:
◦ UI: ENTRY LONG, ENTRY SHORT, EXIT LONG, EXIT SHORT.
◦ Runtime toggle: enable_runtime_alerts, with per-bar or per-bar-close frequency.
• Performance Table: closed trades, winrate, net PnL, PF, max DD, trades today.
• Clean chart visuals: EMA/SMA/VWAP and BUY/SELL markers.
🔧 Key Parameters
• Risk & Entries
◦ tp_percent, sl_percent
◦ rsi_fast_len, rsi_slow_len, src
◦ rsi_long_min (default 52), rsi_short_max (default 48)
• Governance
◦ max_trades_per_day
◦ session_allowed, block_entries_outside_session
◦ cooldown_minutes
◦ weekdays_only (Mon–Fri)
• Trend Filter
◦ use_trend_filter, ema_len, sma_len, use_vwap
• Alerts
◦ enable_runtime_alerts
◦ alert_once_on_close
🔔 Alerts (UI & Runtime)
• ENTRY LONG — “RSI cross + trend + RSI ≥ threshold; rules OK”
• ENTRY SHORT — “RSI cross + trend + RSI ≤ threshold; rules OK”
• EXIT LONG / EXIT SHORT — position closed (TP/SL or manual close)
Create from Create Alert → choose the alertcondition by name; or enable alert() runtime via inputs.
🛠 Improvements & Robustness
• Day Reset: Uses a date key (YYYYMMDD) to guarantee boolean reset condition; avoids na on first bar.
• Session Handling: Session window interpreted in the exchange timezone of the symbol.
• VWAP: Uses ta.vwap(hlc3) for stability across markets.
⚠️ Notes & Limitations
• Backtesting granularity: Strategy logic evaluates on bar close (standard Pine behavior).
• Sessions & Timezone: Hours/weekday checks align with the symbol’s exchange timezone.
• No built-in optimizer: Tune via Strategy Tester/inputs.
📜 Changelog
1.4
• Added cooldown_minutes, weekdays_only, single-position enforcement, RSI entry thresholds (≥52 / ≤48).
• Integrated with existing daily cap, session window, and alerting.
1.3
• Daily trade cap, session gating, entry/exit alerts (UI + runtime), KPI table refresh.
1.2
• Enhanced KPIs & overlays (EMA/SMA/VWAP), French alert messaging.
1.1
• Combined trend filter; RSI fast/slow cross entries; TP/SL percentages.
1.0
• Initial Pine v6 version.
PRICE_EMA {S4SUSHO}Spot momentum transitions before the crowd — clarity meets precision with PRICE_EMA {S4SUSHO}.
This indicator helps you instantly identify higher-timeframe momentum shifts.
It highlights when the 20 EMA crosses the 200 EMA on weekly and monthly charts with distinct background colors and blended overlays when both align.
The script also plots tiny arrows where price crosses above or below the weekly 200 EMA, signaling potential long-term breakouts or breakdowns.
Clean, minimal, and designed for swing and positional traders who want fast visual confirmation of trend direction across multiple timeframes — without clutter.
TwinPulse Q Lead SPY x QQQ Intermarket Pulse 1HTwinPulse Q Lead is a concise one hour indicator for SPY and QQQ that converts three sources of market information into a single pulse line, a mode readout with BUY SELL WAIT, and compact alerts. It blends intermarket leadership between QQQ and SPY, intraday flow from the slope of session VWAP, and where the current price sits inside the regular trading hours range. The three components are normalized, fused, compressed to a stable range, and smoothed for clear thresholds. The aim is a readable intraday regime signal that helps you decide when to participate and when to stand aside.
The script is built with Pine v6, uses request security with lookahead off, and does not repaint. It is an indicator, not a strategy. It does not contain any solicitation, links, or outside references. The description is self contained and explains both logic and use so that any trader can understand the design without reading code.
What makes this original and useful
Intermarket leadership is measured directly from QQQ and SPY on your working timeframe using a Z score of the return spread. When growth is leading value heavy large caps, leadership turns positive. When it lags, leadership turns negative. This gives a real time read of the Nasdaq versus S and P tug of war that most day traders watch informally.
Intraday flow is taken from the slope of the session VWAP. A linear regression of VWAP over a short window captures whether value is rising or falling inside the day. Dividing by ATR normalizes slope by typical movement so that the signal is comparable across weeks.
Session position places price inside the current regular hours high to low. It answers whether the day is trading in the top half, the bottom half, or the middle. This is a simple but powerful context filter for breakouts and fades.
The three components are fused into one pulse, compressed with either hyperbolic tangent or softsign to keep values bounded, and then smoothed by a short EMA. This yields a stable range with a zero line so the eye can read shifts quickly.
The panel shows a human readable mode with reasons and a strength score. Traders who do not want to read lines can rely on a simple state and a compact justification that explains why the state is set.
This is not a mashup that simply overlays unrelated indicators. Each component was chosen to answer a distinct question that is common to SPY and QQQ intraday decision making. Leadership answers who is in charge, flow answers whether value inside the session is building or leaking, and position answers if price is pressing the extremes or circling the middle. The pulse ties the three together and prevents any single component from dominating.
How the calculations work
Leadership. Compute a short rate of change for SPY and QQQ. Subtract SPY from QQQ to get spread returns, then compute a rolling Z score over a longer window. Positive values mean QQQ is leading. Negative values mean SPY is leading.
Flow. Compute session VWAP on the active symbol. Regress VWAP over a short window to obtain a slope estimate. Divide by ATR to scale slope by current volatility so that a small rise on a quiet day is not treated the same as a small rise on a wild day.
Position. Track the highest high and lowest low since the start of regular hours. Place the current close inside that range on a zero to one scale, then recenter to a minus one to plus one scale. Positive means the top half of the day, negative means the bottom half.
Fusion. Multiply each component by a weight so users can emphasize or de emphasize leadership, flow, or position. Sum to a raw pulse.
Compression. Pass the raw pulse through a bounded function. Hyperbolic tangent is smooth and has natural saturation near the extremes. Softsign is faster and behaves like a smoother version of sign near zero. Compression avoids unbounded excursions and makes thresholds meaningful across days.
Smoothing. Apply a short EMA to the compressed pulse to reduce noise. This creates the main line called TwinPulse in the plot.
Thresholds. You can use static symmetric levels or adaptive levels. The adaptive option computes a mean and a standard deviation of the smoothed pulse over a user window, then sets upper and lower thresholds as mean plus or minus sigma times standard deviation. This allows thresholds to adjust across regimes. Static levels are still available for traders who want repeatable levels.
Events and mode. A long event fires when the smoothed pulse crosses the upper threshold with positive flow and any optional filters agree. A short event fires on the symmetric condition. The mode reads the current state rather than fire and forget. It returns BUY when the smoothed pulse is above the upper threshold with positive flow, SELL when the smoothed pulse is below the lower threshold with negative flow, otherwise WAIT. A cooldown controls how often events can fire so alerts do not spam during choppy periods.
Inputs and default values
The script ships with defaults chosen for SPY and QQQ on one hour charts.
Symbols. SPY and QQQ by default. You can switch to any pair. Many users may test IWM versus SPY for small cap reads.
Regular hours selector. On by default. This restricts the position factor to New York regular hours. Turn it off if you prefer full session behavior.
ROC length is three bars. Z score length is fifty bars. VWAP slope window is ten bars. ATR length is fourteen bars. Pulse smoothing length is three bars.
Compression mode. Choose hyperbolic tangent or softsign. Hyperbolic tangent is default.
Weights. Leadership and flow are one by default. Position is set to zero point seven to give a modest influence to where price sits inside the day.
Thresholds. Adaptive thresholds are on by default with a lookback of one hundred bars and a sigma width of zero point eight. Static levels at plus or minus zero point six are ready if you disable adaptive mode.
Filters. ADX filter is off by default. If you enable it, the script requires ADX above a user minimum before it will signal. Higher time frame confirmation is off by default. When enabled it compares the smoothed pulse on the confirm timeframe to zero and requires alignment for longs or shorts.
Cooldown. Three bars by default so that alerts do not trigger too frequently.
UI. Bar coloring is on by default. The panel is on by default and sits at the top right.
All request security calls use lookahead off and will not request future data. All persistent state variables are assigned in a way that prevents repainting. The indicator does not use non standard chart types in its logic.
How to use the indicator
Load a one hour chart of SPY or QQQ. Keep a clean chart so that the script output is easy to read.
Turn on regular hours if you want the session position to reflect the cash session. This is recommended for SPY and QQQ.
Watch the panel. Mode reads BUY or SELL or WAIT. The strength value is a simple vote based score that ranges from zero to one hundred. It counts leadership, flow, ADX if enabled, and higher time frame confirmation if enabled. You can use strength to filter weak states.
Consider action only when mode is BUY or SELL and the signal has not just fired on the last bar. The triangles mark where an event fired. Alerts use the same logic as the events. WAIT means stand aside.
To slow the system, enable ADX and set a higher minimum or enable higher time frame confirmation. To speed it up, disable the filters, disable adaptive thresholds, or tighten the sigma width.
When publishing, use a clean chart with only this indicator. Show the symbol and timeframe clearly and make sure the plot legend is visible. If you add drawings on the chart, only include ones that help readers understand the output.
Publication notes and compliance
This description is written in English. The title uses ASCII and only uses capital letters for common abbreviations. The script is original and explains how and why the components work together. There are no links or promotional material. The script does not claim performance. It does not use lookahead. The panel and alerts exist to help a human read and act with discipline. The indicator can be published as open source or as protected. If you choose protected, the description still allows readers to understand how the logic works without access to the code.
If you later convert the logic into a strategy for publication, use realistic commission and slippage, risk no more than a small share of equity per trade, and choose a dataset that yields a large enough sample. Explain any deviations from these default recommendations in your strategy description. Do not publish results from non standard chart types since they can mislead readers on signal timing.
Limitations and risks
Intermarket leadership is a relative measure. There are hours when both SPY and QQQ fall while leadership remains positive. Treat leadership as a context, not a stand alone trigger.
VWAP slope is a path measure inside the session. It can flip several times on a choppy day. That is why the script uses a short smoothing and an optional cooldown. Use ADX or higher time frame confirmation to avoid the worst chop.
Session position assumes a meaningful regular hours range. On half days or around openings with gaps the position factor can be less informative. If this bothers you, reduce the weight of position or turn it off.
Compression and smoothing introduce lag by design. The goal is stability and clarity. If you want earlier but noisier signals, reduce smoothing and weights, and use static thresholds.
No indicator guarantees future results. TwinPulse Q Lead is a decision aid. It should be combined with your risk rules, position size policy, and a clear exit plan. Past behavior is not a promise for the future.
Frequently asked questions
What symbols are supported. Any symbol can be used as the chart symbol. Leadership uses the two user symbols which default to SPY and QQQ. Many traders may try IWM versus SPY or DIA versus SPY.
Can I change the timeframe. Yes, but the design target is one hour. On very short timeframes the VWAP slope becomes very sensitive and you should consider stronger filters.
Does the script repaint. No. It uses request security with lookahead off and the panel updates on the last bar only. Events are based on bar close conditions unless you attach alerts on any alert function call which will still respect the logic without looking into the future.
How are the strength numbers built. The strength score is the share of aligned votes across leadership, flow, ADX if enabled, and higher time frame confirmation if enabled. A value near one hundred means many filters agree. A value near fifty means partial alignment. It is not a probability or an accuracy number.
Can I use non standard chart types. You can view the indicator on them but do not publish signals from non standard chart types because that can mislead readers about timing. Use classic candles or bars when you publish and when you test.
Why do I sometimes see BUY but the price is not moving. A BUY mode requires pulse above the upper threshold and positive flow. It does not require higher highs immediately. Treat BUY as a permission to look for entries using your own execution rules.
Whale Breaker — HTF Order Blocks + Market Structure HUDWhale Breaker (Debug Edition) is an advanced Smart Money Concept (SMC) tool designed to project High Timeframe (HTF) order blocks onto your Lower Timeframe (LTF) charts while tracking market structure breaks (BOS / CHoCH).
This debug build adds extra transparency: the mini-HUD not only shows HTF trend, last signal, and active order blocks, but also explains why no new block was created (e.g. no HTF BOS, body not found, ATR filter too strict, max-per-side limit). This makes it easier to fine-tune your settings and understand the logic behind the indicator.
Key features:
- HTF order blocks (e.g. 1h) projected into LTF charts (e.g. 15m)
- Automatic right-extension until mitigation (MB)
- Mitigation detection: blocks shaded once filled
- ATR filter to remove insignificant micro-zones
- Per-side cap: limit the maximum active BU/B blocks
- Lookback-based pruning for clean charts
- BOS/CHoCH arrows on chart (▲ green = bullish, ▼ red = bearish)
- Compact HUD with trend, last signal, active OBs, legend, and debug reasons
Usage:
- Define your HTF (e.g. 1h) and trade entries on the LTF (e.g. 15m).
- Wait for a BOS in HTF direction, then target the projected order block.
- Stop Loss just beyond the OB, Take Profit at next opposite OB or using a fixed RRR.
Note: This is a debugging/educational version to understand order block creation logic.
For live trading, consider using the standard Whale Breaker.
Market Regime IndexThe Market Regime Index is a top-down macro regime nowcasting tool that offers a consolidated view of the market’s risk appetite. It tracks 32 of the world’s most influential markets across asset classes to determine investor sentiment by applying trend-following signals to each independent asset. It features adjustable parameters and a built-in alert system that notifies investors when conditions transition between Risk-On and Risk-Off regimes. The selected markets are grouped into equities (7), fixed income (9), currencies (7), commodities (5), and derivatives (4):
Equities = S&P 500 E-mini Index Futures, Nasdaq-100 E-mini Index Futures, Russell 2000 E-mini Index Futures, STOXX Europe 600 Index Futures, Nikkei 225 Index Futures, MSCI Emerging Markets Index Futures, and S&P 500 High Beta (SPHB)/Low Beta (SPLV) Ratio.
Fixed Income = US 10Y Treasury Yield, US 2Y Treasury Yield, US 10Y-02Y Yield Spread, German 10Y Bund Yield, UK 10Y Gilt Yield, US 10Y Breakeven Inflation Rate, US 10Y TIPS Yield, US High Yield Option-Adjusted Spread, and US Corporate Option-Adjusted Spread.
Currencies = US Dollar Index (DXY), Australian Dollar/US Dollar, Euro/US Dollar, Chinese Yuan/US Dollar, Pound Sterling/US Dollar, Japanese Yen/US Dollar, and Bitcoin/US Dollar.
Commodities = ICE Brent Crude Oil Futures, COMEX Gold Futures, COMEX Silver Futures, COMEX Copper Futures, and S&P Goldman Sachs Commodity Index (GSCI) Futures.
Derivatives = CBOE S&P 500 Volatility Index (VIX), ICE US Bond Market Volatility Index (MOVE), CBOE 3M Implied Correlation Index, and CBOE VIX Volatility Index (VVIX)/VIX.
All assets are directionally aligned with their historical correlation to the S&P 500. Each asset contributes equally based on its individual bullish or bearish signal. The overall market regime is calculated as the difference between the number of Risk-On and Risk-Off signals divided by the total number of assets, displayed as the percentage of markets confirming each regime. Green indicates Risk-On and occurs when the number of Risk-On signals exceeds Risk-Off signals, while red indicates Risk-Off and occurs when the number of Risk-Off signals exceeds Risk-On signals.
Bullish Signal = (Fast MA – Slow MA) > (ATR × ATR Margin)
Bearish Signal = (Fast MA – Slow MA) < –(ATR × ATR Margin)
Market Regime = (Risk-On signals – Risk-Off signals) ÷ Total assets
This indicator is designed with flexibility in mind, allowing users to include or exclude individual assets that contribute to the market regime and adjust the input parameters used for trend signal detection. These parameters apply to each independent asset, and the overall regime signal is smoothed by the signal length to reduce noise and enhance reliability. Investors can position according to the prevailing market regime by selecting factors that have historically outperformed under each regime environment to minimise downside risk and maximise upside potential:
Risk-On Equity Factors = High Beta > Cyclicals > Low Volatility > Defensives.
Risk-Off Equity Factors = Defensives > Low Volatility > Cyclicals > High Beta.
Risk-On Fixed Income Factors = High Yield > Investment Grade > Treasuries.
Risk-Off Fixed Income Factors = Treasuries > Investment Grade > High Yield.
Risk-On Commodity Factors = Industrial Metals > Energy > Agriculture > Gold.
Risk-Off Commodity Factors = Gold > Agriculture > Energy > Industrial Metals.
Risk-On Currency Factors = Cryptocurrencies > Foreign Currencies > US Dollar.
Risk-Off Currency Factors = US Dollar > Foreign Currencies > Cryptocurrencies.
In summary, the Market Regime Index is a comprehensive macro risk-management tool that identifies the current market regime and helps investors align portfolio risk with the market’s underlying risk appetite. Its intuitive, color-coded design makes it an indispensable resource for investors seeking to navigate shifting market conditions and enhance risk-adjusted performance by selecting factors that have historically outperformed. While it has proven historically valuable, asset-specific characteristics and correlations evolve over time as market dynamics change.
MACD cross over Buy/SellThis Indicator is purely on buying and selling the Script based on the MACD crossover Signals, which can be used for Scalping and finding the trend of the script for short and long term. When the MACD Line crosses the Signal line upwards, the script will move towards higher, and will move towards Lower when it crosses downwards. It's simple. Particularly, when the MACD line Crosses above the zero line after crossing the Signal line, the momentum will be high. Whereas when the MACD line Crosses below the zero line after crossing the Signal line downward, the momentum of falling will be high.
AMF PG Strategy v2.3 The AMF PG Strategy (Praetorian Guard) is an advanced trading system designed to seamlessly adapt to market conditions. Its unique structure balances precise entries with intelligent protection, giving traders confidence in both trending and volatility environments.
Key points include:
Adaptive Core (AMF Engine) – A dynamic framework that automatically adjusts for clearer long- and short-term opportunities and generates a robust tracking line.
Praetorian Guard – A built-in protective shield that activates in extreme conditions and helps stabilize performance when markets become turbulent.
Versatility – Effective across multiple timeframes, from scalping to swing trading, without constant parameter adjustments.
Clarity – Clear visual signals and color-coded monitoring for instant decision-making.
This strategy is designed for traders who want more than just entries and exits; it offers a command center for disciplined, adaptable, and resilient trading.
Disclaimer:
It should be noted that no strategy is guaranteed. This strategy does not provide buy-sell-hold advice. Responsibility rests with the user.
Version 2.3: Bugs overlooked in Version 2 have been corrected and improvements have been made.
Multi-Symbol and Multi-Timeframe Supertrend Screener [Pineify]Multi-Symbol and Multi-Timeframe Supertrend Screener
Advanced Supertrend screener for TradingView that monitors 6 symbols across 4 timeframes simultaneously. Features customizable ATR periods, visual alerts, and color-coded trend direction displays for efficient market scanning.
Key Features
The Supertrend Screener is a comprehensive multi-symbol market monitoring tool that displays Supertrend indicator signals across multiple assets and timeframes in a single, organized table view. This screener eliminates the need to manually check individual charts by providing real-time trend analysis for up to 6 symbols across 4 different timeframes simultaneously.
How It Works
The screener utilizes the proven Supertrend indicator methodology, which combines Average True Range (ATR) and price action to determine trend direction. The core calculation involves:
Computing the ATR using a customizable period (default: 10)
Applying a multiplication factor (default: 3.0) to create dynamic support/resistance levels
Determining trend direction based on price position relative to these levels
Displaying results through color-coded cells with customizable text labels
The indicator employs the request.security() function to fetch data from multiple symbols and timeframes, ensuring accurate cross-market analysis without chart switching.
Trading Ideas and Insights
This screener excels in several trading scenarios:
Market Overview: Quickly assess overall market sentiment across major cryptocurrencies or forex pairs
Trend Confirmation: Verify trend alignment across multiple timeframes before entering positions
Divergence Spotting: Identify when shorter timeframes diverge from longer-term trends
Opportunity Scanning: Locate assets showing consistent trend direction across all monitored timeframes
Risk Management: Monitor multiple positions simultaneously to spot potential trend reversals
The screener is particularly effective for swing traders and position traders who need to monitor multiple assets without constantly switching between charts.
How Multiple Indicators Work Together
While this screener focuses specifically on the Supertrend indicator, it incorporates several complementary technical analysis components:
ATR Foundation: Uses Average True Range to adapt to market volatility, making the indicator responsive to current market conditions
Multi-Timeframe Analysis: Combines signals from 1-minute, 5-minute, 10-minute, and 30-minute timeframes to provide comprehensive trend perspective
Price Action Integration: The Supertrend calculation inherently incorporates price action by using high, low, and close values
Volatility Adjustment: The ATR-based calculation ensures the indicator adapts to different volatility regimes across various assets
The synergy between these elements creates a robust screening system that accounts for both momentum and volatility , providing more reliable trend identification than single-timeframe analysis.
Unique Aspects
Several features distinguish this screener from standard Supertrend implementations:
Table-Based Display: Presents data in an organized, space-efficient format rather than overlay plots
Customizable Visual Elements: Full control over text labels, colors, and background styling
Multi-Asset Capability: Monitors 6 different symbols simultaneously without performance degradation
Efficient Resource Usage: Optimized code structure minimizes calculation overhead
Professional Presentation: Clean, institutional-grade visual design suitable for trading desks
How to Use
Symbol Configuration: Input your desired symbols in the Symbol section (default includes major crypto pairs)
Timeframe Setup: Configure four timeframes for analysis (default: 1m, 5m, 10m, 30m)
Supertrend Parameters: Adjust the Factor (sensitivity) and ATR Period according to your trading style
Visual Customization: Set custom text labels and colors for up/down trends
Market Analysis: Monitor the table for consistent signals across timeframes and symbols
Interpretation Guide:
- Green cells indicate uptrend (price above Supertrend line)
- Red cells indicate downtrend (price below Supertrend line)
- Look for alignment across multiple timeframes for stronger signal confidence
Customization
The screener offers extensive customization options:
Factor Setting: Adjust sensitivity (higher values = less sensitive, fewer signals)
ATR Period: Modify lookback period for volatility calculation
Text Labels: Customize up/down trend display text
Color Scheme: Full RGB color control for text and background elements
Symbol Selection: Monitor any TradingView-supported symbols
Timeframe Array: Choose any four timeframes for comprehensive analysis
Conclusion
The Supertrend Screener transforms traditional single-chart analysis into an efficient, multi-dimensional market monitoring system. By combining the reliability of the Supertrend indicator with multi-timeframe and multi-symbol capabilities, this tool empowers traders to make more informed decisions with greater market context.
Whether you're managing multiple positions, scanning for new opportunities, or confirming trend direction before entries, this screener provides the comprehensive overview needed for professional trading operations. The clean interface and customizable features make it suitable for traders of all experience levels while maintaining the analytical depth required for serious market analysis.
Perfect for day traders, swing traders, and anyone requiring efficient multi-market trend monitoring in a single view.
Trend Pivots Profile [BigBeluga]🔵 OVERVIEW
The Trend Pivots Profile is a dynamic volume profile tool that builds profiles around pivot points to reveal where liquidity accumulates during trend shifts. When the market is in an uptrend , the indicator generates profiles at low pivots . In a downtrend , it builds them at high pivots . Each profile is constructed using lower timeframe volume data for higher resolution, making it highly precise even in limited space. A colored trendline helps traders instantly recognize the prevailing trend and anticipate which type of profile (bullish or bearish) will form.
🔵 CONCEPTS
Pivot-Driven Profiles : Profiles are only created when a new pivot forms, aligning liquidity analysis with market structure shifts.
Trend-Contextual : Profiles form at low pivots in uptrends and at high pivots in downtrends.
Lower Timeframe Data : Volume and close values are pulled from smaller timeframes to provide detailed, high-resolution profiles inside larger pivot windows.
Adaptive Bin Sizing : Bin size is automatically calculated relative to ATR, ensuring consistent precision across different markets and volatility conditions.
Point of Control (PoC) : The highest-volume level within each profile is marked with a PoC line that extends until the next pivot forms.
Trendline Visualization : A wide, semi-transparent line follows the rolling average of highs and lows, colored blue in uptrends and orange in downtrends.
🔵 FEATURES
Pivot Length Control : Adjust how far back the script looks to detect pivots (e.g., length 5 → profiles cover 10 bars after pivot).
Pivot Profile toggle :
On → draw the filled pivot profile + PoC + pivot label.
Off → hide profiles; show only PoC level (clean S/R mode).
Trend Length Filter : Smooths trendline detection to ensure reliable up/down bias.
Precise Volume Distribution : Volume is aggregated into bins, creating a smooth volume curve around the pivot range.
PoC Extension : Automatically extends the most active price level until a new pivot is confirmed.
Profile Visualization : Profiles appear as filled shapes anchored at the pivot candle, colored based on trend.
Trendline Overlay : Thick, semi-transparent trendline provides visual guidance on directional bias.
Automatic Cleanup : Old profiles are deleted once they exceed the chart’s capacity (default 25 stored profiles).
🔵 HOW TO USE
Spotting Trend Liquidity : In an uptrend, monitor profiles at low pivots to see where buyers concentrated. In downtrends, use high-pivot profiles to spot sell-side pressure.
Watch the PoC : The PoC line highlights the strongest traded level of the pivot structure—expect reactions when price retests it.
Anticipate Trend Continuation/Reversal : Use the trendline (blue = bullish, orange = bearish) together with pivot profiles to forecast directional momentum.
Combine with HTF Context : Overlay with higher timeframe structure (order blocks, liquidity zones, or FVGs) for confluence.
Fine-Tune with Inputs : Adjust Pivot Length for sensitivity and Trend Length for smoother or faster trend shifts.
🔵 CONCLUSION
The Trend Pivots Profile blends pivot-based structure with precise volume profiling. By dynamically plotting profiles on pivots aligned with the prevailing trend, highlighting PoCs, and overlaying a directional trendline, it equips traders with a clear view of liquidity clusters and directional momentum—ideal for anticipating reactions, pullbacks, or breakouts.
Eyas's EyeTry it and see!!
# 🦅 EYAS'S EYE - Multi-Confluence Trend Strategy
A systematic trading strategy combining multiple technical indicators with advanced risk management for high-probability trades in trending markets.
## 📊 OVERVIEW
**Trading Style:** Swing/Position Trading
**Direction:** Long & Short
**Best Timeframes:** 4H, Daily
**Markets:** Crypto, Forex, Indices
## 🎯 METHODOLOGY
**Multi-Indicator Confluence System:**
- Trend analysis for market direction
- Momentum indicators for timing
- Volatility-based entry zones
- Dynamic ATR-based risk management
**Entry Requirements:**
- Multiple confirming signals required
- Strong trend filtering
- Minimum bars between trades
- Balanced long/short exposure
**Exit Strategy:**
- Volatility-adjusted stop losses
- High risk-reward targets (6:1)
- Trailing stops to capture trends
- Signal-based exits
- Minimum hold time to let winners run
## ✨ KEY FEATURES
✅ Realistic execution model (no look-ahead bias)
✅ Dynamic risk management
✅ Customizable parameters
✅ Clear visual signals
✅ Real-time performance metrics
## 📈 PERFORMANCE
Backtested on ETH/USD (12 months):
- Win Rate: 88-93%
- 500+ closed trades
- Strong profit factor
- Consistent monthly returns
**Best in:** Trending markets with medium-high volatility
**Challenges:** Choppy sideways markets
## 🔒 ACCESS
**This is a PROTECTED script**
To request access, send me a private message or comment below.
## ⚠️ DISCLAIMER
Trading involves substantial risk. Past performance does not guarantee future results. This is not financial advice. Always test with paper trading first and never risk more than you can afford to lose.
---
**Strategy Philosophy:** Quality over quantity. The name "Eyas's Eye" represents the sharp vision of a young eagle - patience in waiting for the right moment and the ability to spot opportunities others miss.
🦅 **Trade with vision. Trade with Eyas's Eye.**
Ichimoku Screener [Pineify]Advanced Multi-Timeframe Ichimoku Screener - Complete Market Analysis Tool
This sophisticated Ichimoku Screener represents a comprehensive approach to multi-timeframe market analysis, combining four distinct Ichimoku-based indicators into a unified screening system. Unlike traditional single-symbol indicators, this screener provides simultaneous analysis across multiple assets and timeframes, enabling traders to identify optimal trading opportunities with enhanced precision and efficiency.
Key Features
Multi-asset screening capability for up to 10 symbols simultaneously
Four customizable timeframes per symbol for comprehensive analysis
Four integrated Ichimoku-based indicators working in harmony
Real-time visual feedback with color-coded signals
Customizable Ichimoku parameters for personalized analysis
Clean, organized table display for easy interpretation
Automated signal strength assessment and timing
How It Works
The screener employs the traditional Ichimoku Kinko Hyo methodology, utilizing five core components: Conversion Line (Tenkan-sen), Base Line (Kijun-sen), Leading Span A (Senkou Span A), Leading Span B (Senkou Span B), and displacement calculations. Each component is mathematically calculated using specific period lengths:
Conversion Line = (Highest High + Lowest Low) / 2 over conversion period
Base Line = (Highest High + Lowest Low) / 2 over base period
Leading Span A = (Conversion Line + Base Line) / 2
Leading Span B = (Highest High + Lowest Low) / 2 over lagging span period
The screener processes these calculations across multiple securities simultaneously using TradingView's security() function, enabling real-time cross-asset analysis. The system tracks state changes using barssince() functions to provide precise timing information for each signal type.
Trading Ideas and Insights
This screener excels in identifying momentum convergence patterns where multiple Ichimoku components align across different timeframes. The most powerful signals occur when:
Cloud color aligns with price position relative to the cloud
Conversion Line crosses above/below Base Line in the same direction as cloud bias
Multiple timeframes show consistent directional bias
Entry signals appear with minimal bars since formation (indicating fresh momentum)
For trend following strategies , focus on symbols where the cloud maintains consistent color across higher timeframes while showing recent entry signals on lower timeframes. For reversal opportunities , identify assets where cloud color changes coincide with price re-entering the cloud after extended periods above or below.
The screener particularly excels in cryptocurrency and forex markets where momentum shifts can be dramatic and sustained. By monitoring multiple timeframes simultaneously, traders can identify when short-term signals align with longer-term trends, significantly improving trade success probability.
How Multiple Indicators Work Together
The four integrated indicators create a comprehensive analytical framework through synergistic interaction:
Ichimoku Cloud (IchiCld) establishes the primary trend bias by comparing Leading Span A with Leading Span B. When Span A > Span B, the cloud displays bullish characteristics; when Span A < Span B, bearish characteristics emerge. The indicator tracks duration since the last cloud color change, providing momentum persistence insight.
Ichimoku Lagging Cloud (IchiLagCld) determines price position relative to the displaced cloud formation. This indicator identifies whether current price action occurs above, below, or within the cloud structure, revealing support/resistance dynamics and trend confirmation signals.
Conversion vs Base (IchiC>Base) monitors the relationship between short-term (Conversion Line) and medium-term (Base Line) momentum. Crossovers in this relationship often precede significant price movements and provide early trend change warnings.
Ichimoku Entry (IchiEnt) synthesizes all components into actionable signals by requiring alignment between cloud bias, price position, and conversion/base relationship. This multi-factor confirmation approach significantly reduces false signals while maintaining sensitivity to genuine momentum shifts.
The mathematical foundation ensures that each indicator contributes unique information while maintaining logical consistency. The system's strength lies in requiring multiple confirmations before generating entry signals, following Ichimoku's original philosophy of comprehensive market analysis.
Unique Aspects
This implementation distinguishes itself through several innovative features:
Advanced State Tracking : Unlike standard Ichimoku indicators that show current values, this screener tracks duration since state changes , providing crucial timing information for signal freshness and momentum strength assessment.
Multi-Asset Efficiency : The screener eliminates the need to manually check multiple charts by presenting comparative analysis across assets and timeframes in a single view, dramatically improving analytical efficiency.
Customizable Visual Feedback : The color-coding system adapts to different signal types and strengths, with recent signals receiving enhanced visual prominence to draw attention to fresh opportunities.
Professional Table Architecture : The organized display accommodates up to 40 symbol-timeframe combinations (10 symbols × 4 timeframes), with intelligent pagination for optimal screen utilization.
Signal Correlation Analysis : By displaying multiple timeframes for each symbol, traders can quickly identify timeframe confluence and divergence patterns that would otherwise require extensive manual analysis.
How to Use
Symbol Configuration : Enter up to 10 symbols in the Symbol input group. Use full exchange:ticker format for optimal compatibility (e.g., "BINANCE:BTCUSDT").
Timeframe Selection : Configure four timeframes in ascending order for logical analysis progression. Recommended combinations include 1m/5m/15m/1h for intraday analysis or 1h/4h/1D/1W for swing trading.
Ichimoku Parameters : Adjust the four core parameters based on your trading style:
Conversion Line Length (default: 9) - Controls short-term momentum sensitivity
Base Line Length (default: 26) - Determines medium-term trend identification
Leading Span B Length (default: 52) - Sets long-term trend calculation period
Displacement (default: 26) - Controls forward projection of cloud structure
Signal Interpretation :
Green backgrounds indicate bullish conditions
Red backgrounds indicate bearish conditions
Numerical values show bars since last state change
"L:" prefix indicates long entry signals
"S:" prefix indicates short entry signals
"N/A" indicates neutral/transitional states
Trading Workflow : Scan for symbols showing consistent signals across multiple timeframes, prioritize fresh signals (low bar counts), and use individual charts for precise entry timing and risk management.
Customization
The screener accommodates various trading approaches through parameter adjustment:
Scalping Configuration : Use shorter periods (Conversion: 5, Base: 13, Span B: 26) with 1m/3m/5m/15m timeframes for high-frequency opportunities.
Swing Trading Setup : Employ standard parameters with 4h/1D/3D/1W timeframes for position trading across days or weeks.
Cryptocurrency Optimization : Given crypto's 24/7 nature, consider using 4h/8h/1D/3D combinations for optimal signal timing.
Symbol selection can focus on correlated assets (e.g., major cryptocurrencies) for sector analysis or diverse assets for portfolio opportunity identification. The flexible timeframe configuration allows adaptation to any market's characteristic volatility and trading patterns.
Conclusion
This Advanced Multi-Timeframe Ichimoku Screener transforms traditional single-chart analysis into a comprehensive market monitoring system. By integrating multiple Ichimoku components across various timeframes and assets, it provides traders with unprecedented analytical efficiency and signal reliability.
The mathematical rigor of traditional Ichimoku analysis combines with modern Pine Script capabilities to deliver a professional-grade screening tool. Whether used for identifying trend continuation opportunities, spotting potential reversals, or conducting broad market analysis, this screener offers the analytical depth and practical functionality required for serious trading applications.
The system's emphasis on signal confluence across multiple timeframes and indicators significantly improves trade selection quality while reducing analysis time. For traders seeking to leverage Ichimoku's proven methodology across multiple markets simultaneously, this screener represents an essential analytical upgrade to traditional single-symbol approaches.
FirstStrike Long 200 - Daily Trend Rider [KedArc Quant]Strategy Description
FirstStrike Long 200 is a disciplined, long-only momentum strategy designed for daily "strike-first" entries in trending markets. It scans for RSI momentum above a customizable trigger (default 50), confirmed by EMA trend filters, and limits you to *exactly one trade per day* to avoid overtrading. It uses ATR for dynamic risk management (1.5x stop, 2:1 RR target) and optional trailing stops to ride winners. Backtested with realistic commissions and sizing, it prioritizes low drawdowns (<1% max in tests) over aggressive gains—ideal for swing traders seeking quality setups in bull runs.
Why It's Different from Other Strategies
Unlike generic RSI crossover bots or EMA ribbon mashups that spam signals and bleed in chop, FirstStrike enforces a "one-and-done" daily gate, blending precision momentum (RSI modes with grace/sustain) with robust filters (volume, sessions, rearm dips).
How It Helps Traders
- Reduces Emotional Trading: One entry/day forces discipline—miss a setup? Wait for tomorrow. Perfect for busy pros avoiding screen fatigue.
- Adapts to Regimes: Switch modes for trends ("Cross+Grace") vs. ranges ("Any bar")—boosts win rates 5-10% in backtests on high-beta names like .
- Risk-First Design: ATR scales stops to vol capping DD at 0.2% while targeting 2R winners. Trailing option locks +3-5% runs without early exits.
- Quick Insights: Labels/alerts flag entries with RSI values; bgcolor highlights signals for visual scanning. Helps spot "first-strike" edges in uptrends, filtering ~60% noise.
Why This Is Not a Mashup
This isn't a Frankenstein of off-the-shelf indicators—while it uses standard RSI/EMA/ATR (core Pine primitives), the innovation lies in:
- Custom Trigger Engine: Switchable modes (e.g., "Cross+Grace+Sustain" requires post-cross hold) prevent perpetual signals, unlike basic `ta.crossover()`.
- Daily Rearm Gate: Resets eligibility only after a dip (if enabled), tying momentum to mean-reversion—original logic not found in common scripts.
- Per-Day Isolation: `var` vars + `ta.change(time("D"))` ensure zero pyramiding/overlaps, beyond simple session filters.
All formulae are derived in-house for "first-strike" (early RSI pops in trends), not copied from public repos.
Input Configurations
Let's break down every input in the FirstStrike Long 200 strategy. These settings let you tweak the strategy like a dashboard—start with defaults for quick testing,
then adjust based on your asset or timeframe (5m for intraday). They're grouped logically to keep things organized, and most have tooltips in the script for quick reminders.
RSI / Trigger Group: The Heart of Momentum Detection
This is where the magic starts—the strategy hunts for "upward energy" using RSI (Relative Strength Index), a tool that measures if a stock is overbought (too hot) or oversold (too cold) on a 0-100 scale.
- RSI Length: How many bars (candles) back to calculate RSI. Default is 14, like a 14-day window for daily charts. Shorter (e.g., 9) makes it snappier for fast markets; longer (21) smooths out noise but misses quick turns.
- Trigger Level (RSI >= this): The key RSI value where the strategy says, "Go time!" Default 50 means enter when RSI crosses or holds above the neutral midline. Why is this trigger required? It acts as your "green light" filter—without it, you'd enter on every tiny price wiggle, leading to endless losers. RSI above this shows building buyer power, avoiding weak or sideways moves. It's essential for quality over quantity, especially in one-trade-per-day setups.
- Trigger Mode: Picks how strict the RSI signal must be. Options: "Cross only" (exact RSI crossover above trigger—super precise, fewer trades); "Cross+Grace" (crossover or within a grace window after—gives a second chance); "Cross+Grace+Sustain" (crossover/grace plus RSI holding steady for bars—best for steady climbs); "Any bar >= trigger" (looser, any bar above—more opportunities but riskier in chop). Start with "Any bar" for trends, switch to "Cross only" for caution.
- Grace Window (bars after cross): If mode allows, how many bars post-RSI-cross you can still enter if RSI dips but recovers. Default 30 (about 2.5 hours on 5m). Zero means no wiggle room—pure precision.
- Sustain Bars (RSI >= trigger): In sustain mode, how many straight bars RSI must stay above trigger. Default 3 ensures it's not a fluke spike.
- Require RSI Dip Below Rearm Before Any Entry?: A yes/no toggle. If on, the strategy "rearms" only after RSI dips below a low level (like a breather), preventing back-to-back signals in overextended rallies.
- Rearm Level (if requireDip=true): The dip threshold for rearming. Default 45—RSI must go below this to reset eligibility. Lower (30) for deeper pullbacks in volatile stocks.
For the trigger level itself, presets matter a lot—default 50 is neutral and versatile for broad trends. Bump to 55-60 for "strong momentum only" (fewer but higher-win trades, great in bull runs like tech surges); drop to 40-45 for "early bird" catches in recoveries (more signals but watch for fakes in ranges). The optimize hint (40-60) lets you test these in TradingView to match your risk—higher presets cut noise by 20-30% in backtests.
Trend / Filters Group: Keeping You on the Right Side of the Market
These EMAs (Exponential Moving Averages) act like guardrails, ensuring you only long in uptrends.
- EMA (Fast) Confirmation: Short-term EMA for price action. Default 20 periods—price must be above this for "recent strength." Shorter (10) reacts faster to intraday pops.
- EMA (Trend Filter): Long-term EMA for big-picture trend. Default 200 (classic "above the 200-day" rule)—price above it confirms bull market. Minimum 50 to avoid over-smoothing.
Optional Hour Window Group: Timing Your Strikes
Avoid bad hours like lunch lulls or after-hours tricks.
- Restrict by Session?: Yes/no for using exact market hours. Default off.
- Session (e.g., 0930-1600 for NYSE): Time string like "0930-1600" for open to close. Auto-skips pre/post-market noise.
- Restrict by Hour Range?: Fallback yes/no for simple hours. Default off.
- Start Hour / End Hour: Clock times (0-23). Defaults 9-15 ET—focus on peak volume.
Volume Filter Group: No Volume, No Party
Confirms conviction—big moves need big participation.
- Require Volume > SMA?: Yes/no toggle. Default off—only fires on above-average volume.
- Volume SMA Length: Periods for the average. Default 20—compares current bar to recent norm.
Risk / Exits Group: Protecting and Profiting Smartly
Dynamic stops based on volatility (ATR = Average True Range) keep things realistic.
- ATR Length: Bars for ATR calc. Default 14—measures recent "wiggle room" in price.
- ATR Stop Multiplier: How far below entry for stop-loss. Default 1.5x ATR—gives breathing space without huge risk
- Take-Profit R Multiple: Reward target as multiple of risk. Default 2.0 (2:1 ratio)—aims for twice your stop distance.
- Use Trailing Stop?: Yes/no for profit-locking trail. Default off—activates after entry.
- Trailing ATR Multiplier: Trail distance. Default 2.0x ATR—looser than initial stop to let winners run.
These inputs make the strategy plug-and-play: Defaults work out-of-box for trending stocks, but tweak RSI trigger/modes first for your style.
Always backtest changes—small shifts can flip a 40% win rate to 50%+!
Outputs (Visuals & Alerts):
- Plots: Blue EMA200 (trend line), Orange EMA20 (price filter), Green dashed entry price.
- Labels: Green "LONG" arrow with RSI value on entries.
- Background: Light green highlight on signal bars.
- Alerts: "FirstStrike Long Entry" fires on conditions (integrates with TradingView notifications).
Entry-Exit Logic
Entry (Long Only, One Per Day):
1. Daily Reset: New day clears trade gate and (if required) rearm status.
2. Filters Pass: Time/session OK + Close > EMA200 (trend) + Close > EMA20 (price) + Volume > SMA (if enabled) + Rearmed (dip below rearm if toggled).
3. Trigger Fires: RSI >= trigger via selected mode (e.g., crossover + grace window).
4. Execute: Enter long at close; set daily flag to block repeats.
Exit:
- Stop-Loss: Entry - (ATR * 1.5) – dynamic, vol-scaled.
- Take-Profit: Entry + (Risk * 2.0) – fixed RR.
- Trailing (Optional): Activates post-entry; trails at Close - (ATR * 2.0), updating on each bar for trend extension.
No shorts or hedging—pure long bias.
Formulae Used
- RSI: `ta.rsi(close, rsiLen)` – Standard 14-period momentum oscillator (0-100).
- EMAs: `ta.ema(close, len)` – Exponential moving averages for trend/price filters.
- ATR: `ta.atr(atrLen)` – True range average for stop sizing: Stop = Entry - (ATR * mult).
- Volume SMA: `ta.sma(volume, volLen)` – Simple average for relative strength filter.
- Grace Window: `bar_index - lastCrossBarIndex <= graceBars` – Counts bars since RSI crossover.
- Sustain: `ta.barssince(rsi < trigger) >= sustainBars` – Consecutive bars above threshold.
- Session Check: `time(timeframe.period, sessionStr) != 0` – TradingView's built-in session validator.
- Risk Distance: `riskPS = entry - stop; TP = entry + (riskPS * RR)` – Asymmetric reward calc.
FAQ
Q: Why only one trade/day?
A: Prevents revenge trading in volatile sessions . Backtests show it cuts losers by 20-30% vs. multi-entry bots.
Q: Does it work on all assets/timeframes?
A: Best for trending stocks/indices on 5m-1H. Test on crypto/forex with wider ATR mult (2.0+).
Q: How to optimize?
A: Use TradingView's optimizer on RSI trigger (40-60) and EMA fast (10-30). Aim for PF >1.0 over 1Y data.
Q: Alerts don't fire—why?
A: Ensure `alertcondition` is enabled in script settings. Test with "Any alert() function calls only."
Q: Trailing stop too loose?
A: Tune `trailMult` to 1.5 for tighter; it activates alongside fixed TP/SL for hybrid protection.
Glossary
- Grace Window: Post-RSI-cross period (bars) where entry still allowed if RSI holds trigger.
- Rearm Dip: Optional pullback below a low RSI level (e.g., 45) to "reset" eligibility after signals.
- Profit Factor (PF): Gross profit / gross loss—>1.0 means winners outweigh losers.
- R Multiple: Risk units (e.g., 2R = 2x stop distance as target).
- Sustain Bars: Consecutive bars RSI stays >= trigger for mode confirmation.
Recommendations
- Backtest First: Run on your symbols (/) over 6-12M; tweak RSI to 55 for +5% win rate.
- Live Use: Start paper trading with `useSession=true` and `useVol=true` to filter noise.
- Pairs Well With: Higher TF (daily) for bias; add ADX (>25) filter for strong trends (code snippet in prior chats).
- Risk Note: 10% sizing suits $100k+ accounts; scale down for smaller. Not financial advice—past performance ≠ future.
- Publish Tip: Add tags like "momentum," "RSI," "long-only" on TradingView for visibility.
Strategy Properties & Backtesting Setup
FirstStrike Long 200 is configured with conservative, realistic backtesting parameters to ensure reliable performance simulations. These settings prioritize capital preservation and transparency, making it suitable for both novice and experienced traders testing on stocks.
Initial Capital
$100,000 Standard starting equity for portfolio-level testing; scales well for retail accounts. Adjust lower (e.g., $10k) for smaller simulations.
Base Currency
Default (USD) Aligns with most US equities (e.g., NASDAQ symbols); auto-converts for other assets.
Order Size
1 (Quantity) Fixed share contracts for simplicity—e.g., buys 1 share per trade. For % of equity, switch to "Percent of Equity" in strategy code.
Pyramiding
0 Orders No additional entries on open positions; enforces strict one-trade-per-day discipline to avoid overexposure.
Commission
0.1% Realistic broker fee (e.g., Interactive Brokers tier); factors in round-trip costs without over-penalizing winners.
Verify Price for Limit Orders
0 Ticks No slippage delay on TPs—assumes ideal fills for historical accuracy.
Slippage
0 Ticks Zero assumed slippage for clean backtests; real-world trading may add 1-2 ticks on volatile opens.
These defaults yield low drawdowns (<0.3% max in tests) while capturing trend edges. For live trading, enable slippage (1-3 ticks) to mimic execution gaps. Always forward-test before deploying!
⚠️ Disclaimer
This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
ADR% / CDR% Range Analyzer - PajameinThe "ADR%/CDR% Range Analyzer" is a versatile TradingView indicator designed for traders who want to monitor and compare the "Average Daily Range (ADR%)" and "Current Daily Range (CDR%)" in real-time. ADR% represents the average percentage range (high-low relative to low) over a user-defined number of daily bars, helping you gauge a stock's typical volatility. CDR% shows the current session's range as a percentage, either intraday (customizable from start to end price) or full daily, allowing you to assess how the current bar's movement stacks up against historical norms.
Key features include:
- "Visual Comparison": Displays both values as clean labels on the chart with customizable positions (separate or combined).
- "Dynamic Background Coloring": CDR% label background changes color based on its relation to ADR%—light green for low volatility (< low threshold), light blue for neutral (between thresholds), and light red for high volatility (> high threshold). This helps quickly spot expansion or contraction in daily moves.
- "Flexibility": Works on any timeframe, with options for intraday customization and anti-clipping adjustments for multi-pane layouts.
This indicator is ideal for day traders, swing traders, or anyone tracking volatility breakouts, range-bound setups, or risk management based on expected daily moves.
Input Settings Guide
Here's a breakdown of each setting and how it enhances your trading workflow:
- "Show ADR%" (Boolean, default: true)
Toggle to display/hide the ADR% label. Use this to declutter your chart when focusing solely on current range.
- "Show CDR%" (Boolean, default: true)
Toggle to display/hide the CDR% label. Ideal for charts where you only need historical average or current metrics.
- "ADR% Length" (Integer, default: 20, min: 1)
Number of daily bars for averaging the range percentage. Shorter lengths (e.g., 10) for recent volatility; longer (e.g., 50) for broader trends.
- "CDR%: Start" (Source, default: low)
Starting price for intraday CDR% (e.g., open, previous close). Customize for specific range measurements like gap fills.
- "CDR%: End" (Source, default: high)
Ending price for intraday CDR% (e.g., low, close). Pair with Start for targeted ranges, like open-to-low for downside capture.
- "Intraday Display" (String dropdown: "Intraday CDR%", "Daily CDR%", default: "Daily CDR%")
Switch between real-time intraday calculation (dynamic updates) or fixed daily value (stable, non-repainting).
- "Low Threshold %" (Float, default: 40.0, range: 0-100)
Percentage of ADR% below which CDR% gets the low (green) background. Lower it (e.g., 30%) for stricter low-volatility alerts.
- "High Threshold %" (Float, default: 60.0, range: 0-100)
Percentage of ADR% above which CDR% gets the high (red) background. Raise it (e.g., 70%) to highlight only extreme expansions.
- "ADR% Text Color" (Color picker, default: black)
Foreground color for ADR% text. Choose contrasting colors for dark/light themes.
- "CDR% Text Color" (Color picker, default: black)
Foreground color for CDR% text. Ensures readability over dynamic backgrounds.
- "Low CDR% Background (below low threshold)" (Color picker, default: light green with 70% transparency)
Background for subdued ranges. Adjust opacity for subtlety.
- "Mid CDR% Background (between thresholds)" (Color picker, default: light blue with 70% transparency)
Neutral background for typical moves.
- "High CDR% Background (above high threshold)" (Color picker, default: light red with 70% transparency)
Alert-style background for breakouts.
- "Cell Height %" (Integer, default: 8, range: 1-20)
Vertical padding for labels as a percentage of chart height. Increase (e.g., 12) in multi-pane layouts to prevent text clipping; decrease for compact views.
- "ADR% Position" (String dropdown: Top/Bottom/Middle Left/Right/Center, default: Bottom Right)
Placement of ADR% label. Use separate positions for side-by-side comparison.
- "CDR% Position" (String dropdown: Top/Bottom/Middle Left/Right/Center, default: Bottom Right)
Placement of CDR% label. Matching positions auto-stacks them vertically.
- "Text Size" (String dropdown: Tiny/Small/Normal/Large, default: Normal)
Font size for labels. "Small" for dense charts; "Normal" for clarity.
Usage Tips
- "Volatility Trading": Set thresholds to 50%/80% for spotting range expansions during news events.
- "Multi-Timeframe": Apply on 5-min charts with daily ADR for intraday targets (e.g., aim for 80% of ADR).
- "Customization": For forex/crypto, tweak Start/End to session opens. Test in replay mode to verify non-repainting.
- "Limitations": Intraday mode updates live but may not repaint until bar close; daily mode is fixed.
Project Pegasus ChronosDescription
Project Pegasus Chronos is the flagship volume-intelligence overlay of the Pegasus suite, built for traders who read the tape. It spots where the tape gets hit, where moves get absorbed, and when pressure flips — in real time, without repainting. Chronos blends high-signal volume spikes, absorption, pure-delta mismatches, and two crisp market-pressure HUDs into one surgical visualization that stays readable even on noisy charts.
What’s unique
Layered volume intelligence that cuts through noise: spikes, absorption, delta traps, trend bias, and pressure — at a glance.
Absorption Engine – Proprietary scoring of wick/body/delta context to flag “hit & hold” moments where moves stall.
Pure-Delta Mismatch Bubbles – Instantly reveal fake strength or weakness when the candle fights the tape.
Mirage Filters (Add-on) – Smart VolSpike & PriceClamp regime tags (squeeze vs. burst) for clean entries and exits.
Pegasus TrendDynamic – Adaptive bias band with one-look flips and optional shadow fill for context.
Dual HUDs – Buy/Sell Volume HUD and Market Pressure HUD with a Shock badge for sudden impulses.
Readable by Design – Color presets, clustering, absolute filters, and performance scopes (12/24/48/72H) keep charts fast & clean.
Non-repainting – Signals are produced only on confirmed bars; no lookahead.
How it works
Chronos aggregates recent market behavior into simple, decisive visuals:
Bubbles scale by spike tier and direction to highlight initiative participation.
Absorption marks flag bars where flow hits and fails to push through.
Pure-delta markers expose liquidity traps (delta vs. candle color).
TrendDynamic provides a smooth, adaptive bias rail.
HUDs quantify who’s pressing harder and when a shock event fires.
How to use
Stalk large bubbles near key levels; pair them with absorption marks to time fades or continuations.
Treat pure-delta mismatches as early trap signals — especially near session highs/lows or FVGs.
Trade in alignment with the TrendDynamic bias; use Market Pressure HUD & Shock to time adds or cuts.
Refine visuals via clustering and absolute-volume filters on fast instruments.
Notes & limitations
Built for intraday futures, crypto, and FX — but works across assets and timeframes.
If visuals get heavy, use scope, clustering, and filters to keep it buttery smooth.
Analysis and visualization tool — not a signal service.
Disclaimer
For educational and informational purposes only. Not financial advice.
Adaptive Machine Learning Trading System [PhenLabs]📊Adaptive ML Trading System
Version: PineScript™v6
📌Description
The Adaptive ML Trading System is a sophisticated machine learning indicator that combines ensemble modeling with advanced technical analysis. This system uses XGBoost, Random Forest, and Neural Network algorithms to generate high-confidence trading signals while incorporating robust risk management features. Traders benefit from objective, data-driven decision-making that adapts to changing market conditions.
🚀Points of Innovation
• Machine Learning Ensemble - Three integrated models (XGBoost, Random Forest, Neural Network)
• Confidence-Based Trading - Only executes trades when ML confidence exceeds threshold
• Dynamic Risk Management - ATR-based stop loss and max drawdown protection
• Adaptive Position Sizing - Volatility-adjusted position sizing with confidence weighting
• Real-Time Performance Metrics - Live tracking of win rate, Sharpe ratio, and performance
• Multi-Timeframe Feature Analysis - Adaptive lookback periods for different market regimes
🔧Core Components
• ML Ensemble Engine - Weighted combination of XGBoost, Random Forest, and Neural Network outputs
• Feature Normalization System - Advanced preprocessing with custom tanh/sigmoid activation
• Risk Management Module - Dynamic position sizing and drawdown protection
• Performance Dashboard - Real-time metrics and risk status monitoring
• Alert System - Comprehensive alert conditions for entries, exits, and risk events
🔥Key Features
• High-confidence ML signals with customizable confidence thresholds
• Multiple trading modes (Conservative, Balanced, Aggressive) for different risk profiles
• Integrated stop loss and risk management with ATR-based calculations
• Real-time performance metrics including win rate and Sharpe ratio
• Comprehensive alert system with entry, exit, and risk management notifications
• Visual confidence bands and threshold indicators for easy signal interpretation
🎨Visualization
• ML Signal Line - Primary signal output ranging from -1 to +1
• Confidence Bands - Visual representation of model confidence levels
• Threshold Lines - Customizable buy/sell threshold levels
• Position Histogram - Current market position visualization
• Performance Tables - Real-time metrics display in customizable positions
📖Usage Guidelines
Model Configuration
• Confidence Threshold: Default 0.55, Range 0.5-0.95 - Minimum confidence for signals
• Model Sensitivity: Default 0.9, Range 0.1-2.0 - Adjusts signal sensitivity
• Ensemble Mode: Conservative/Balanced/Aggressive - Trading style preference
• Signal Threshold: Default 0.55, Range 0.3-0.9 - ML signal threshold for entries
Risk Management
• Position Size %: Default 10%, Range 1-50% - Portfolio percentage per trade
• Max Drawdown %: Default 15%, Range 5-30% - Maximum allowed drawdown
• Stop Loss ATR: Default 2.0, Range 0.5-5.0 - Stop loss in ATR multiples
• Dynamic Sizing: Default true - Volatility-based position adjustment
Display Settings
• Show Signals: Default true - Display entry/exit signals
• Show Threshold Signals: Default true - Display ±0.6 threshold crosses
• Show Confidence Bands: Default true - Display ML confidence levels
• Performance Dashboard: Default true - Show metrics table
✅Best Use Cases
• Swing trading with 1-5 day holding periods
• Trend-following strategies in established trends
• Volatility breakout trading during high-confidence periods
• Risk-adjusted position sizing for portfolio management
• Multi-timeframe confirmation for existing strategies
⚠️Limitations
• Requires sufficient historical data for accurate ML predictions
• May experience low confidence periods in choppy markets
• Performance varies across different asset classes and timeframes
• Not suitable for very short-term scalping strategies
• Requires understanding of basic risk management principles
💡What Makes This Unique
• True machine learning ensemble with multiple model types
• Confidence-based trading rather than simple signal generation
• Integrated risk management with dynamic position sizing
• Real-time performance tracking and metrics
• Adaptive parameters that adjust to market conditions
🔬How It Works
Feature Calculation: Computes 20+ technical features from price/volume data
Feature Normalization: Applies custom normalization for ML compatibility
Ensemble Prediction: Combines XGBoost, Random Forest, and Neural Network outputs
Signal Generation: Produces confidence-weighted trading signals
Risk Management: Applies position sizing and stop loss rules
Execution: Generates alerts and visual signals based on thresholds
💡Note:
This indicator works best on daily and 4-hour timeframes for most assets. Ensure you understand the risk management settings before live trading. The system includes automatic risk-off modes that halt trading during excessive drawdown periods.
Trend Fib Zone Bounce (TFZB) [KedArc Quant]Description:
Trend Fib Zone Bounce (TFZB) trades with the latest confirmed Supply/Demand zone using a single, configurable Fib pullback (0.3/0.5/0.6). Trade only in the direction of the most recent zone and use a single, configurable fib level for pullback entries.
• Detects market structure via confirmed swing highs/lows using a rolling window.
• Draws Supply/Demand zones (bearish/bullish rectangles) from the latest MSS (CHOCH or BOS) event.
• Computes intra zone Fib guide rails and keeps them extended in real time.
• Triggers BUY only inside bullish zones and SELL only inside bearish zones when price touches the selected fib and closes back beyond it (bounce confirmation).
• Optional labels print BULL/BEAR + fib next to the triangle markers.
What it does
Finds structure using confirmed swing highs/lows (you choose the confirmation length).
Builds the latest zone (bullish = demand, bearish = supply) after a CHOCH/BOS event.
Draws intra-zone “guide rails” (Fib lines) and extends them live.
Signals only with the trend of that zone:
BUY inside a bullish zone when price tags the selected Fib and closes back above it.
SELL inside a bearish zone when price tags the selected Fib and closes back below it.
Optional labels print BULL/BEAR + Fib next to triangles for quick context
Why this is different
Most “zone + fib + signal” tools bolt together several indicators, or fire counter-trend signals because they don’t fully respect structure. TFZB is intentionally minimal:
Single bias source: the latest confirmed zone defines direction; nothing else overrides it.
Single entry rule: one Fib bounce (0.3/0.5/0.6 selectable) inside that zone—no counter-trend trades by design.
Clean visuals: you can show only the most recent zone, clamp overlap, and keep just the rails that matter.
Deterministic & transparent: every plot/label comes from the code you see—no external series or hidden smoothing
How it helps traders
Cuts decision noise: you always know the bias and the only entry that matters right now.
Forces discipline: if price isn’t inside the active zone, you don’t trade.
Adapts to volatility: pick 0.3 in strong trends, 0.5 as the default, 0.6 in chop.
Non-repainting zones: swings are confirmed after Structure Length bars, then used to build zones that extend forward (they don’t “teleport” later)
How it works (details)
*Structure confirmation
A swing high/low is only confirmed after Structure Length bars have elapsed; the dot is plotted back on the original bar using offset. Expect a confirmation delay of about Structure Length × timeframe.
*Zone creation
After a CHOCH/BOS (momentum shift / break of prior swing), TFZB draws the new Supply/Demand zone from the swing anchors and sets it active.
*Fib guide rails
Inside the active zone TFZB projects up to five Fib lines (defaults: 0.3 / 0.5 / 0.7) and extends them as time passes.
*Entry logic (with-trend only)
BUY: bar’s low ≤ fib and close > fib inside a bullish zone.
SELL: bar’s high ≥ fib and close < fib inside a bearish zone.
*Optionally restrict to one signal per zone to avoid over-trading.
(Optional) Aggressive confirm-bar entry
When do the swing dots print?
* The code confirms a swing only after `structureLen` bars have elapsed since that candidate high/low.
* On a 5-min chart with `structureLen = 10`, that’s about 50 minutes later.
* When the swing confirms, the script plots the dot back on the original bar (via `offset = -structureLen`). So you *see* the dot on the old bar, but it only appears on the chart once the confirming bar arrives.
> Practical takeaway: expect swing markers to appear roughly `structureLen × timeframe` later. Zones and signals are built from those confirmed swings.
Best timeframe for this Indicator
Use the timeframe that matches your holding period and the noise level of the instrument:
* Intraday :
* 5m or 15m are the sweet spots.
* Suggested `structureLen`:
* 5m: 10–14 (confirmation delay \~50–70 min)
* 15m: 8–10 (confirmation delay \~2–2.5 hours)
* Keep Entry Fib at 0.5 to start; try 0.3 in strong trends, 0.6 in chop.
* Tip: avoid the first 10–15 minutes after the open; let the initial volatility set the early structure.
* Swing/overnight:
* 1h or 4h.
* `structureLen`:
* 1h: 6–10 (6–10 hours confirmation)
* 4h: 5–8 (20–32 hours confirmation)
* 1m scalping: not recommended here—the confirmation lag relative to the noise makes zones less reliable.
Inputs (all groups)
Structure
• Show Swing Points (structureTog)
o Plots small dots on the bar where a swing point is confirmed (offset back by Structure Length).
• Structure Length (structureLen)
o Lookback used to confirm swing highs/lows and determine local structure. Higher = fewer, stronger swings; lower = more reactive.
Zones
• Show Last (zoneDispNum)
o Maximum number of zones kept on the chart when Display All Zones is off.
• Display All Zones (dispAll)
o If on, ignores Show Last and keeps all zones/levels.
• Zone Display (zoneFilter): Bullish Only / Bearish Only / Both
o Filters which zone types are drawn and eligible for signals.
• Clean Up Level Overlap (noOverlap)
o Prevents fib lines from overlapping when a new zone starts near the previous one (clamps line start/end times for readability).
Fib Levels
Each row controls whether a fib is drawn and how it looks:
• Toggle (f1Tog…f5Tog): Show/hide a given fib line.
• Level (f1Lvl…f5Lvl): Numeric ratio in . Defaults active: 0.3, 0.5, 0.7 (0 and 1 off by default).
• Line Style (f1Style…f5Style): Solid / Dashed / Dotted.
• Bull/Bear Colors (f#BullColor, f#BearColor): Per-fib color in bullish vs bearish zones.
Style
• Structure Color: Dot color for confirmed swing points.
• Bullish Zone Color / Bearish Zone Color: Rectangle fills (transparent by default).
Signals
• Entry Fib for Signals (entryFibSel): Choose 0.3, 0.5 (default), or 0.6 as the trigger line.
• Show Buy/Sell Signals (showSignals): Toggles triangle markers on/off.
• One Signal Per Zone (oneSignalPerZone): If on, suppresses additional entries within the same zone after the first trigger.
• Show Signal Text Labels (Bull/Bear + Fib) (showSignalLabels): Adds a small label next to each triangle showing zone bias and the fib used (e.g., BULL 0.5 or BEAR 0.3).
How TFZB decides signals
With trend only:
• BUY
1. Latest active zone is bullish.
2. Current bar’s close is inside the zone (between top and bottom).
3. The bar’s low ≤ selected fib and it closes > selected fib (bounce).
• SELL
1. Latest active zone is bearish.
2. Current bar’s close is inside the zone.
3. The bar’s high ≥ selected fib and it closes < selected fib.
Markers & labels
• BUY: triangle up below the bar; optional label “BULL 0.x” above it.
• SELL: triangle down above the bar; optional label “BEAR 0.x” below it.
Right-Panel Swing Log (Table)
What it is
A compact, auto-updating log of the most recent Swing High/Low events, printed in the top-right of the chart.
It helps you see when a pivot formed, when it was confirmed, and at what price—so you know the earliest bar a zone-based signal could have appeared.
Columns
Type – Swing High or Swing Low.
Date – Calendar date of the swing bar (follows the chart’s timezone).
Swing @ – Time of the original swing bar (where the dot is drawn).
Confirm @ – Time of the bar that confirmed that swing (≈ Structure Length × timeframe after the swing). This is also the earliest moment a new zone/entry can be considered.
Price – The swing price (high for SH, low for SL).
Why it’s useful
Clarity on repaint/confirmation: shows the natural delay between a swing forming and being usable—no guessing.
Planning & journaling: quick reference of today’s pivots and prices for notes/backtesting.
Scanning intraday: glance to see if you already have a confirmed zone (and therefore valid fib-bounce entries), or if you’re still waiting.
Context for signals: if a fib-bounce triangle appears before the time listed in Confirm @, it’s not a valid trade (you were too early).
Settings (Inputs → Logging)
Log swing times / Show table – turn the table on/off.
Rows to keep – how many recent entries to display.
Show labels on swing bar – optional tags on the chart (“Swing High 11:45”, “Confirm SH 14:15”) that match the table.
Recommended defaults
• Structure Length: 10–20 for intraday; 20–40 for swing.
• Entry Fib for Signals: 0.5 to start; try 0.3 in stronger trends and 0.6 in choppier markets.
• One Signal Per Zone: ON (prevents over trading).
• Zone Display: Both.
• Fib Lines: Keep 0.3/0.5/0.7 on; turn on 0 and 1 only if you need anchors.
Alerts
Two alert conditions are available:
• BUY signal – fires when a with trend bullish bounce at the selected fib occurs inside a bullish zone.
• SELL signal – fires when a with trend bearish bounce at the selected fib occurs inside a bearish zone.
Create alerts from the chart’s Alerts panel and select the desired condition. Use Once Per Bar Close to avoid intrabar flicker.
Notes & tips
• Swing dots are confirmed only after Structure Length bars, so they plot back in time; zones built from these confirmed swings do not repaint (though they extend as new bars form).
• If you don’t see a BUY where you expect one, check: (1) Is the active zone bullish? (2) Did the candle’s low actually pierce the selected fib and close above it? (3) Is One Signal Per Zone suppressing a second entry?
• You can hide visual clutter by reducing Show Last to 1–3 while keeping Display All Zones off.
Glossary
• CHOCH (Change of Character): A shift where price breaks beyond the last opposite swing while local momentum flips.
• BOS (Break of Structure): A cleaner break beyond the prior swing level in the current momentum direction.
• MSS: Either CHOCH or BOS – any event that spawns a new zone.
Extension ideas (optional)
• Add fib extensions (1.272 / 1.618) for target lines.
• Zone quality score using ATR normalization to filter weak impulses.
• HTF filter to only accept zones aligned with a higher timeframe trend.
⚠️ Disclaimer This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
Uptrick: Volatility Weighted CloudIntroduction
The Volatility Weighted Cloud (VWC) is a trend-tracking overlay that combines adaptive volatility-based bands with a multi-source smoothed price cloud to visualize market bias. It provides users with a dynamic structure that adapts to volatility conditions while maintaining a persistent visual record of trend direction. By incorporating configurable smoothing techniques, percentile-ranked volatility, and multi-line cloud construction, the indicator allows traders to interpret price context more effectively without relying on raw price movement alone.
Overview
The script builds a smoothed price basis using the open, and close prices independently, and uses these to construct a layered visual cloud. This cloud serves both as a reference for price structure and a potential area of dynamic support and resistance. Alongside this cloud, adaptive upper and lower bands are plotted using volatility that scales with percentile rank. When price closes above or below these bands, the script interprets that as a breakout and updates the trend bias accordingly.
Candle coloring is persistent and reflects the most recent confirmed signal. Labels can optionally be placed on the chart when the trend bias flips, giving traders additional visual reference points. The indicator is designed to be both flexible and visually compact, supporting different strategies and timeframes through its detailed configuration options.
Originality
This script introduces originality through its combined use of percentile-ranked volatility, adaptive envelope sizing, and multi-source cloud construction. Unlike static-band indicators, the Volatility Weighted Cloud adjusts its band width based on where current volatility ranks within a defined lookback range. This dynamic scaling allows for smoother signal behavior during low-volatility environments and more responsive behavior during high-volatility phases.
Additionally, instead of using a single basis line, the indicator computes two separate smoothed lines for open and close. These are rendered into a shaded visual cloud that reflects price structure more completely than traditional moving average overlays. The use of ALMA and MAD, both less commonly applied in volatility-band overlays, adds further control over smoothing behavior and volatility measurement, enhancing its adaptability across different market types.
Inputs
Group: Core
Basis Length (short-term): The number of bars used for calculating the primary basis line. Affects how quickly the basis responds to price changes.
Basis Type: Option to choose between EMA and ALMA. EMA provides a standard exponential average; ALMA offers a centered, Gaussian-weighted average with reduced lag.
ALMA Offset: Determines the balance point of the ALMA window. Only applies when ALMA is selected.
Sigma: Sets the width of the ALMA smoothing window, influencing how much smoothing is applied.
Basis Smoothing EMA: Adds additional EMA-based smoothing to the computed basis line for noise reduction.
Group: Volatility & Bands
Volatility: Choose between StDev (standard deviation) and MAD (median absolute deviation) for measuring price volatility.
Vol Length (short-term): Length of the window used for calculating volatility.
Vol Smoothing EMA: Smooths the raw volatility value to stabilize band behavior.
Min Multiplier: Minimum multiplier applied to volatility when forming the adaptive bands.
Max Multiplier: Maximum multiplier applied at high volatility percentile.
Volatility Rank Lookback: Number of bars used to calculate the percentile rank of current volatility.
Show Adaptive Bands: Enables or disables the display of upper and lower volatility bands on the chart.
Group: Trend Switch Labels
Show Trend Switch Labels: Toggles the appearance of labels when the trend direction changes.
Label Anchor: Defines whether the labels are anchored to recent highs/lows or to the main basis line.
ATR Length (offset): Length used for calculating ATR, which determines label offset distance.
ATR Offset (multiplier): Multiplies the ATR value to place labels away from price bars for better visibility.
Label Size: Allows selection of label size (tiny to huge) to suit different chart setups.
Features
Adaptive Volatility Bands: The indicator calculates volatility using either standard deviation or MAD. It then applies an EMA smoothing layer and scales the band width dynamically based on the percentile rank of volatility over a user-defined lookback window. This avoids fixed-width bands and allows the indicator to adapt to changing volatility regimes in real time.
Volatility Method Options: Users can switch between two volatility measurement methods:
➤ Standard Deviation (StDev): Captures overall price dispersion, but may be sensitive to spikes.
➤ Median Absolute Deviation (MAD): A more robust measure that reduces the effect of outliers, making the bands less jumpy during erratic price behavior.
Basis Type Options: The core price basis used for cloud and bands can be built from:
➤ Exponential Moving Average (EMA): Fast-reacting and widely used in trend systems.
➤ Arnaud Legoux Moving Average (ALMA): A smoother, more centered alternative that offers greater control through offset and sigma parameters.
Multi-Line Basis Cloud: The cloud is formed by plotting two individually smoothed basis lines from open and close prices. A filled area is created between the open and close basis lines. This cloud serves as a dynamic support or resistance zone, allowing users to identify possible reversal areas. Price moving through or rejecting from the cloud can be interpreted contextually, especially when combined with band-based signals.
Persistent Trend Bias Coloring: The indicator uses the last confirmed breakout (above upper band or below lower band) to determine bias. This bias is reflected in the color of every subsequent candle, offering a persistent visual cue until a new signal is triggered. It helps simplify trend recognition, especially in choppy or sideways markets.
Trend Switch Labels: When enabled, the script places labeled markers at the exact bar where the bias direction switches. Labels are anchored either to recent highs/lows or to the main basis line, and spaced vertically using an ATR-based offset. This allows the trader to quickly locate historical trend transitions.
Alert Conditions: Two built-in alert conditions are available:
➤ Long Signal: Triggered when the close crosses above the upper adaptive band.
➤ Short Signal: Triggered when the close crosses below the lower adaptive band.
These conditions can be used for custom alerts, automation, or external signaling tools.
Display Control and Flexibility: Users can disable the adaptive bands for a cleaner layout while keeping the basis cloud and candle coloring active. The indicator can be tuned for fast or slow response depending on the strategy in use, and is suitable for intraday, swing, or position trading.
Summary
The Volatility Weighted Cloud is a configurable trend-following overlay that uses adaptive volatility bands and a structured cloud system to help visualize market bias. By combining EMA or ALMA smoothing with percentile-ranked volatility and a four-line price structure, it provides a flexible and informative charting layer. Its key strengths lie in the use of dynamic envelopes, visually persistent trend indication, and clearly defined breakout zones that adapt to current volatility conditions.
Disclaimer
This indicator is for informational and educational purposes only. Trading involves risk and may not be suitable for all investors. Past performance does not guarantee future results.
Uptrick: ATR ModelIntroduction
The Uptrick: ATR Model is a multi-regime directional tool designed to adapt to various trading styles and timeframes. It combines trend assessment, market state evaluation, visual overlays, and signal filtering into a single, highly configurable system. This indicator is intended to help traders interpret directional conditions, structure their entries and exits, and view real-time shifts in market context, all without relying on external scripts or multiple chart layers.
Core Functionality
At its foundation, the Uptrick: ATR Model builds a framework that responds to user-defined structure and market behavior. Through a wide range of inputs, traders can adjust the internal responsiveness, signal frequency, and volatility interaction of the system. The core behavior of the model can be shaped via:
Custom starting date for signal activation
Flexible smoothing structure
Adjustable expansion control for range boundaries
Signal persistence settings to limit noise
Conditional plotting of directional signals
Real-time bar coloring and overlays
Custom routing between long, short, and neutral positioning
This indicator is not tied to a single interpretation of market movement. Instead, it adapts to how the user defines structural behavior, volatility confirmation, and trend alignment.
Multi-Regime Architecture
The script includes four unique operating regimes, each offering a distinct model of interpreting market conditions:
Trend Mode
This regime focuses on trend state transitions over time. Signal behavior is aligned with directional market shifts and transitions are plotted with visual labels. Optional filters and persistence settings help control signal quality and responsiveness.
Cloud Close Mode
Cloud Close mode detects transitions when price interacts with dynamic boundaries. Signals are generated when the asset moves in or out of these ranges. This regime supports state memory to avoid repeated signals and emphasizes confirmation over reactivity.
Lightning Trend Mode
This mode evaluates momentum alignment across selected structures. Its behavior is based on composite assessments and dynamically reflects changes in directional agreement. This regime is well-suited for intraday or high-resolution users seeking visual confirmation of trend shifts.
Final Verdict Mode
A meta-regime that combines the output of the other three modes into a single directional consensus. A live decision table is displayed on-screen, showing the current verdict of each regime and a final, averaged output. This mode is designed for high-conviction or conservative traders who prefer confirmation across multiple systems.
Each regime can be enabled through a single selector, and the indicator adapts its signal behavior and bar coloring to reflect the active mode.
Signal System and Visual Feedback
The indicator generates Long, Short, or Cash (neutral/exit) signals depending on the active regime, directional configuration, and filter conditions. Signal shapes are plotted only once per state transition and are color-coded for clarity.
Users can define:
Whether signals should support both long and short, or long-only
Whether repeated signals are allowed (pyramiding control)
Whether to enforce a minimum number of confirming bars before a signal is allowed (persistence)
Signals are accompanied by real-time bar coloring, giving users an instant visual cue of the current state without relying on shape markers alone. These signals adjust based on the selected regime and are subject to any active confirmation filters.
Confirmation Filters
To reduce noise and improve the relevance of each signal, the model includes two optional filters:
Strength Filter
[Applies a condition based on the asset’s momentum. When enabled, signals will only fire if this condition aligns with the trade direction. Includes parameters for sensitivity and smoothness.
Trend Filter
Applies a directional filter based on a broader trend context. Signals will only trigger when this larger structure supports the directional bias. This filter is useful for avoiding signals during counter-trend moves or consolidations.
Both filters can be toggled independently. When disabled, the model will operate with fewer restrictions.
Dynamic Structure Customization
Users can control how the internal structure of the model behaves using:
Source selection (e.g., close, open, high, etc.)
Smoothing configuration using a tiered structure with up to three stages
Custom length inputs to adjust responsiveness
Selectable method options for each layer
Expansion settings to adjust the distance of dynamic boundaries
Signal persistence threshold to delay entries until confirmation is met
This modular control allows traders to define whether they want faster reaction to movement or more conservative, delayed responses depending on their strategy.
Final Verdict Table
The Final Verdict table is a live display that summarizes the signal output of the three core regimes (Trend, Cloud Close, and Lightning Trend). It includes:
Regime names and their current directional state
Directional scores for each regime
A final averaged score and directional label
The table is updated every bar and is fully customizable:
Position on screen (top left, center, bottom right, etc.)
Text size for readability
Color-coded state labels for fast interpretation
This feature is designed to offer structured decision support by showing consensus or divergence across all logic models in real time.
Static Levels Module
An optional module allows the user to anchor a high point (typically an all-time high) from a user-defined historical date. From that anchor, multiple levels are projected downward using fixed ratios. These levels are:
Automatically updated when new highs occur
Visualized using horizontal step-lines
Fully customizable in terms of count, color, and source
These levels serve as contextual guides and can assist with price projection, risk management, or discretionary confluence zones.
Directional Control
The model supports both Long & Short and Long Only signal modes. In Long Only mode, exit signals are routed to neutral (Cash) instead of Short. This allows users to align the indicator with personal strategy, risk appetite, or portfolio rules. Neutral signals are also plotted with distinct labels and coloring to indicate a directional reset.
Input Summary
All components of the script are user-configurable through the following inputs:
Start date selector to restrict signal generation
Source selection for core price input
Custom lengths and responsiveness settings
Smoothing structure with optional stacking
Expansion control for range width
Signal persistence threshold
Signal type selector (long-only or long & short)
Regime selector between four logic systems
Filters: strength-based and trend-based
Verdict table display settings (position and size)
Static levels: anchor date, count, source, and visual customization
Originality
What sets the Uptrick: ATR Model apart is its integration of multiple directional systems into a single, configurable interface. Each regime is distinct and interprets market behavior from a unique perspective, while the Final Verdict mode offers a consolidated view that few tools provide in a fully visual and non-redundant format. The Lightning Trend scoring engine and modular structural design offer a level of control and flexibility uncommon in single-layer indicators. The combination of signal gating, decision tables, and state tracking creates a cohesive, structured environment for directional evaluation.
Summary
The Uptrick: ATR Model is a complete directional and volatility analysis system designed for customizable trend evaluation, signal clarity, and strategic filtering. It adapts to different trader needs through its configurable regimes, state-aware signals, dynamic overlays, and visual decision tools. It is suitable for discretionary traders seeking structured guidance, as well as systematic users who require configurable state management and signal control.
Disclaimer
This tool is provided for informational and research purposes only. It does not constitute investment advice or a recommendation to buy or sell any financial instrument. All trading involves risk, and past performance does not guarantee future results. Users are solely responsible for their own decisions.
⚪ Liquidity Spike Marker
Description:
The Liquidity Spike Marker indicator helps to identify abnormal bursts of liquidity in the market. The logic is based on comparing the product of the volume by the minimum candle price (Volume × Low) with the threshold value set by the user.
When the value exceeds the threshold, a white triangle appears under the candle, indicating a possible influx of liquidity. This can help traders pay attention to the key points where large participants may enter the market.
Features:
Displays a placemark (⚪ white triangle) when the threshold is exceeded.
Configurable parameter Volume × Low Threshold.
The ability to set an alert for automatic notification.
A lightweight and minimalistic tool without unnecessary elements.
Note: The indicator is not a trading recommendation. Use it in combination with your own trading system and other analysis methods.
Pulse FlowPulse Flow is a market structure indicator that extracts the hidden rhythm of price. It combines micro-structure detection with a rule-based trend engine, making waves and turning points visible in real time. Instead of drawing swings by hand or guessing breakouts, Pulse Flow enforces strict, objective rules for what counts as structure.
What it shows
Micro-Structure (Fractals): Internal swings are extracted from baseline crosses (EMA or ALMA). These fractals show how price oscillates inside the wave, providing context for micro pullbacks and internal breaks.
Trend (HH, HL, LH, LL): Pulse Flow uses a finite state machine (FSM) to track the current trend. Every trend represents a wave.
- Confirmed higher highs and higher lows define bullish waves.
- Confirmed lower highs and lower lows define bearish waves.
- When a wave breaks, a new wave begins. Turning points are explicitly marked as WH (wave high) and WL (wave low).
Active Range (RL & RH): The indicator continuously maintains the current range, based on closing prices rather than wicks. This ensures consistent behavior during liquidity events, where extremes are often tested intrabar.
Retracement Levels (0.50 & 0.71): Inside each active range, Pulse Flow plots the midrange and the 0.71 “optimal entry zone,” highlighting areas where pullbacks most often react.
Breakout Confirmation: A breakout is only valid if:
- The close extends beyond RL or RH by at least an ATR-based threshold.
- A second candle confirms the move.
This filters false signals and ensures structural integrity.
How it helps
Pulse Flow helps traders by taking the guesswork out of structure. Instead of debating whether a high or low should count, the indicator applies objective rules and marks every confirmed swing directly on the chart. Each wave is highlighted the moment the trend flips, so you always see where the market has turned and which direction the active wave is heading. The internal fractal structure reveals how price moves within the range, while the explicit HH, HL, LH, and LL points define the external trend. This distinction allows you to make tactical decisions on internal breaks and strategic decisions on external breaks, giving you clarity across timeframes. Because ranges are calculated using closing prices, the levels remain stable even when liquidity sweeps occur, making the indicator reliable in volatile markets. Combined with automatically plotted retracement levels, you gain a consistent framework for spotting likely reaction zones without redrawing lines or relying on subjective judgment.
How it works
Under the hood, Pulse Flow combines two engines. The pivot engine extracts micro swings by tracking how price crosses a baseline, which can be either EMA or ALMA, depending on your settings. Each cross defines a candidate high or low, and together these pivots form the fractal zigzag that represents the market’s micro-structure. On top of this, a finite state machine manages the active range. It tracks the range high and range low, validates breakouts only when price closes beyond these levels with ATR-based confirmation, and waits for a pullback before locking in the new structure. When the FSM confirms a new trend, Pulse Flow explicitly marks the turning point as a wave high or wave low. In this way, every confirmed HH, HL, LH, and LL is not a guess but the logical outcome of strict structural rules. The interaction between pivots and the FSM creates a complete and consistent map of the market’s waves, from micro oscillations to macro trend shifts.
Summary
Pulse Flow extracts micro-structure, defines waves, and highlights turning points. It shows the active range with key retracement levels and confirms breakouts with ATR + candle logic. By using closing prices to define RL/RH, it stays consistent even through liquidity sweeps.
For traders who trade based on structure, Pulse Flow is not just another tool. It is a framework: a rule-based map of how markets actually move in waves.