CFD Position Sizing Tool (ATR-Based)A visual dashboard is included. This is an ATR Designed robust position sizing calculator for the on the fly traders.
Penunjuk dan strategi
chance-linechance-line style, organic flowing lines formed by randomness, delicate and unpredictable contours, natural generative aesthetics, subtle irregularity, harmonious chaos, lines shaped by chance rather than strict geometry, poetic and experimental visual language
SOFR - EFFR SpreadThis indicator calculates and visualizes the spread between SOFR (Secured Overnight Financing Rate) and EFFR (Effective Federal Funds Rate) on TradingView. It fetches data from FRED to compute the difference. 'Red' indicates a liquidity crunch (tightness) in the market, while 'green' indicates ample liquidity.
Combined Advanced Trading BlueprintCombined Advanced Trading Blueprint
This all-in-one institutional trading suite integrates market structure, volume analysis, and automated target projection. It is designed to find high-probability "Blueprints" by combining PVSRA (Price, Volume, Storage, Resistance, and Support) with dynamic Fibonacci and ATR-based risk management.
🚀 Key Modules
1. Institutional Inflection Zones (Supply & Demand)
Identifies where major market participants are entering.
Supply & Demand: Automatically draws zones at key swing highs and lows.
IZ (Inflection Zones): Real-time labels marking the median of these zones.
BOS (Break of Structure): When a zone is breached, it transforms into a BOS line to signal trend continuation or reversal.
2. PVSRA & Vector Zones
The core of institutional volume analysis.
Climax Volume (Red/Green): Bars with volume >= 200% of average. These mark exhaustion or massive entry.
High Volume (Violet/Blue): Bars with volume >= 150% of average.
Automated Zones: The script draws boxes around these high-volume candles. Price returning to these zones often sees a sharp reaction.
3. Trader Daddy Intelligence
An automated layer for objective target setting.
Auto-Fibonacci: Dynamically calculates the current swing range and plots 0.236, 0.382, 0.5, 0.618 (Golden), 0.786, and extensions.
Volume Gaps (FVG): Detects Fair Value Gaps (FVGs) where price moved too fast. These acts as "magnets" that the market usually returns to fill.
ATR Targets: Dynamic Take Profit (TP1, TP2, TP3) and Stop Loss (SL) lines that adjust based on current market volatility.
4. Confluence Ribbon System
A multi-layered moving average and channel system.
The Ribbon: Uses 8 EMA (Red), 21 EMA (White), 34 EMA (Blue), 50 SMA (Orange), and 200 SMA (Dark Orange).
Keltner Channels: Three standard deviation bands to identify overbought/oversold conditions.
RSI Triggers: A fast 2-period RSI detects "stretches" outside the Keltner bands for precise entry timing.
VWAP: Includes anchored VWAP for Session, Weekly, and Monthly trends.
🎨 Visual Guide & Color Legend
Price Targets (Trader Daddy)
Green Dashed Lines: Take Profit levels (TP1, TP2, TP3).
Red Solid Line: ATR-based Stop Loss.
Cyan/Blue Labels: Fibonacci retracement levels. The Blue level often acts as a major institutional target or "Take Profit" area in a trending market.
Market Zones
Cyan Boxes: Active Demand (Buy) zones.
Grey/White Boxes: Active Supply (Sell) zones.
Purple/Fuchsia Areas: Vector Zones (High institutional volume).
🛠 How to Trade the Blueprint
Locate the Zone: Wait for price to enter a Supply/Demand box or a Purple Vector Zone.
Check the Market State: Look at the top-right info label to see if the trend is Bullish, Bearish, or Neutral.
Wait for Confluence: Look for an 8/21 EMA crossover or an RSI "Circle" trigger near the Keltner bands.
Execute: Use the ATR-generated TP and SL lines to manage your risk automatically.
PineML_v6Library "PineML_v6"
ML Library for lightweight strategies. Implements k-NN with matrix storage.
method new_model(k, history, features)
Създава нов модел
Namespace types: series int, simple int, input int, const int
Parameters:
k (int) : Брой съседи (напр. 5)
history (int) : Дълбочина на паметта (напр. 1000 бара)
features (int) : Брой променливи, които ще следим
method train(model, feature_array, label)
Добавя нови данни към паметта на модела
Namespace types: KNN_Model
Parameters:
model (KNN_Model) : Инстанцията на модела
feature_array (array) : Масив с текущите стойности на индикаторите
label (float) : Резултатът (класът), свързан с тези данни
method predict(model, query_features)
Изчислява прогноза на база текущите данни
Namespace types: KNN_Model
Parameters:
model (KNN_Model)
query_features (array)
KNN_Model
Fields:
k_neighbors (series int)
max_history (series int)
features (matrix)
labels (array)
feature_count (series int)
Adaptive Trend Mapper-ATM [Arjo]Adaptive Trend Mapper (ATM) is a directional pressure indicator designed to visualize how buying and selling commitment evolves during market trends.
Instead of focusing on price direction alone, ATM maps who is exerting stronger pressure —buyers or sellers—and how that pressure expands, weakens, or compresses over time.
Idea
ATM is built around a single concept:
Directional pressure is best understood by weighting trend strength against directional imbalance .
To achieve this, the indicator transforms trend strength into two opposing pressure measures:
Bull Pressure Index
Bear Pressure Index
These indices expand, contract, and converge based on how strongly buyers or sellers are committing, rather than simply tracking momentum or price changes.
How It Works
1. Bull & Bear Pressure Indices
ATM derives two pressure curves by weighting trend strength against directional imbalance:
The Bull Pressure Index increases when upward pressure strengthens.
The Bear Pressure Index increases when downward pressure strengthens.
Both indices operate on a 0–100 scale and are designed to diverge during strong trends and converge during non-directional or compressed phases.
Optional smoothing can be applied to reduce noise and improve readability.
2. Compression / Squeeze Detection
When:
Trend strength weakens,
Bull and Bear pressure converge,
And convergence continues over time,
ATM highlights a compression zone, signaling reduced directional conviction.
These zones often precede directional expansion once pressure rebuilds.
3. Adaptive Trend Context
An adaptive smoothed price curve is displayed on the chart to provide trend context.
Color changes reflect short-term directional shifts, helping align pressure signals with price structure.
This component is contextual only and does not generate signals by itself.
4. Optional Trend Bias Reference
An optional EMA-50 can be enabled to help identify broader directional bias and align pressure behavior with the prevailing trend.
5. Step-Based Visualization
The pressure indices can be optionally step-compressed, improving clarity on fast or noisy charts by reducing minor fluctuations.
How to Use ATM
Rising Bull Pressure → strengthening buyer commitment
Rising Bear Pressure → strengthening seller commitment
Wide separation between indices → strong directional trend
Convergence with compression highlight → range or pre-breakout environment
Notes
ATM uses widely known market concepts such as trend strength, directional imbalance, and adaptive smoothing as conceptual inputs.
All calculations, pressure mapping logic, and compression detection are original implementations developed specifically for this script.
ATM is effective when used to assess participation quality, not as a standalone signal generator.
Disclaimer
This indicator is intended for analysis and educational purposes only.
It does not generate buy or sell signals.
Always apply proper risk management.
Happy Trading.
SPX Iron Fly Session TrackerOverview
This indicator provides visual tracking for iron fly option structures designed for SPX 0-day-to-expiration (0DTE) intraday trading. It implements a two-phase position management system that adapts to different market conditions throughout the trading day.
This is a visualization and tracking tool only. It does not execute trades, access real options data, or calculate actual profit and loss. All displayed positions are theoretical representations based on underlying price movement.
Strategy Goal and Context
The Core Objective:
The strategy aims to have SPX price expire within your iron fly positions at end of day. When price expires inside a fly's profit zone (between the wings), that position captures maximum premium. The challenge is that price moves throughout the day, so static positioning rarely succeeds.
The Solution: Active Management
Rather than setting positions and hoping price cooperates, this approach continuously manages and repositions flies to keep price centered within your profit zones. As SPX drifts during the trading session, you add new flies at current price levels and close flies that price has moved away from.
The Goal: Multiple Profitable Expirations
By session end, you want as many flies as possible to have price expire within their center zones. This requires:
Adding new flies as price moves away from existing positions
Closing flies when price crosses beyond their optimal range
Building layered coverage in the afternoon to increase probability of capture
Adapting wing widths to time of day and volatility
The Reality: Capital and Time Intensive
This is not a passive strategy. Successful implementation requires:
Substantial capital (each fly requires margin, multiple flies compound this)
Active monitoring throughout trading sessions
Quick decision-making as positions trigger
Multiple position adjustments per session
Disciplined adherence to management rules
How This Indicator Helps:
For backtesting:
Use replay mode to study how positions would have managed on historical sessions
Test different parameter combinations to find optimal settings
Observe position behavior during various market conditions
Understand timing and frequency of position adds and closes
Validate whether your capital can support the required position count
For live session support:
Real-time visual tracking shows current position coverage
Alerts notify you immediately when new positions should be added
Position closure alerts help you manage exits promptly
Reference strike tracking shows where you're measuring movement from
History table provides audit trail of all position activity
The indicator handles the complex tracking and rule application, allowing you to focus on execution and risk management.
Key Use Cases
1. Replay Mode - Backtest and Study
Use TradingView's replay feature to validate the strategy on historical sessions:
Step through past SPX sessions bar-by-bar
See exactly when positions would have opened and closed
Count how many flies would have expired profitably
Analyze different parameter settings on the same historical data
Study position behavior during trending vs ranging conditions
Calculate approximate capital requirements for your setup
Refine your parameters before risking real capital
2. Live Session Alerts
Set up real-time notifications for active trading sessions:
Get alerted immediately when new positions trigger
Receive notifications when positions close
Alerts include strike level, wing width, and closure reason
Works on mobile, desktop, email, or webhook
Never miss a position signal during active trading
Maintain awareness even when away from screens briefly
3. Fully Customizable Parameters
Adapt every aspect to your risk tolerance and capital:
Adjust trigger distances for more or fewer position adds
Modify wing widths for different volatility environments
Change session timing to match your trading schedule
Set maximum concurrent positions to your capital limits
Fine-tune spacing to match available strike increments
Iron Fly Structure
An iron fly is a neutral options strategy with four legs:
- Short 1 ATM Call
- Short 1 ATM Put
- Long 1 OTM Call (upper wing protection)
- Long 1 OTM Put (lower wing protection)
The structure creates a defined risk zone. Maximum profit occurs when price expires at the center strike. Loss increases as price moves toward the wings (breakeven points). Maximum loss is defined and occurs beyond the wings.
Expiration Goal:
You want SPX to close inside the fly's wings. If SPX expires at the strike, you capture maximum premium. If SPX expires between the strike and either wing, you still profit (reduced). If SPX expires beyond the wings, you realize a loss (but it's defined and limited by the wings).
Two-Phase Management System
The indicator tracks positions across two distinct trading phases with different management rules:
Phase 1: TWO_GLASS - Morning Session (Default 10am-1pm ET)
Conservative positioning with active repositioning:
- Trigger new positions when price moves 7.5 points from reference strike (configurable)
- Maintain maximum 2 concurrent positions (configurable)
- 10-point spacing between position strikes (configurable)
- 40-point wing width (configurable)
- Exit rule: When two positions are active and price crosses to one strike level, close the OTHER position
This phase uses a "follow the price" approach. You're not trying to stack multiple positions yet - you're maintaining one or two flies centered on wherever price currently is. As price drifts, you add a new fly at the current level and close the old one when price moves too far away.
Phase 2: THREE_GLASS - Afternoon Session (Default 1pm-4pm ET)
Accumulation mode with layered coverage:
- Trigger new positions every 2.5 points of price movement (configurable)
- Maintain maximum 6 concurrent positions (configurable)
- 5-point spacing between strikes (configurable)
- 20-point wings early, reducing to 10 points after 3pm (configurable)
- Exit rule: Positions only close when price reaches wing extremes
This phase builds a stacked profit zone. Instead of swapping positions, you accumulate multiple flies as price moves. The goal is to have several flies active at expiration, creating a wider net to capture price. Tighter spacing and more frequent triggers create this layered coverage.
Why Two Different Phases?
Morning (Phase 1):
Earlier in the day, price has more time to move substantially. Maintaining many concurrent positions is riskier because price could trend and hit multiple wings. The strategy uses selective positioning with wider wings and active replacement.
Afternoon (Phase 2):
Closer to expiration, price movements typically compress. Time for large moves decreases. The strategy shifts to accumulation, building a net of positions to increase probability that final expiration price falls within at least one (ideally several) of your flies. Tighter wings and more positions become appropriate.
Exit Mechanisms
Strike Cross Exit (Phase 1 Only)
When two positions are active, if price moves to or beyond one position's strike level, the OTHER position closes. This keeps your coverage centered on current price action rather than maintaining positions price has moved away from.
Example: Flies at 5900 and 5910 are open. Price moves to 5910. The fly at 5900 closes because price has moved to the 5910 level. You're now positioned at current price (5910) rather than maintaining coverage at old price (5900).
Wing Extreme Exit (Both Phases)
Any position closes immediately when price touches its upper or lower wing boundary. This represents the breakeven/maximum loss point, so the position is closed to prevent further deterioration.
Dynamic Wing Adjustment
Wing widths automatically adjust based on time of day:
- Phase 1 (Morning): 40 points (customizable)
- Phase 2 Early (1pm-3pm): 20 points (customizable)
- Phase 2 Late (3pm-4pm): 10 points (customizable)
This progressive tightening reflects decreasing price movement potential as expiration approaches. Wider wings earlier provide more protection when price could move substantially. Tighter wings later allow more precise positioning when price movements typically compress.
All values are fully adjustable to match your risk parameters and observed market volatility.
Customization Guide
Every parameter can be modified to suit your trading style, risk tolerance, and capital:
Session Timing
- TWO_GLASS Start Hour: When Phase 1 begins (default: 10am ET)
- THREE_GLASS Start Hour: When Phase 2 begins (default: 1pm ET)
- Wing Width Change Hour: When wings tighten (default: 3pm ET)
- Session End Hour: When tracking stops (default: 4pm ET)
Phase 1 Parameters (Fully Adjustable)
- Trigger Distance: How far price must move from reference strike to add new position (default: 7.5, range: 0.1+)
- Fly Spacing: Distance between position strikes (default: 10, range: 1.0+)
- Wing Width: Distance from strike to wings (default: 40, range: 5.0+)
- Max Flies: Maximum concurrent positions (default: 2, range: 1-10)
Phase 2 Early Parameters (Fully Adjustable)
- Trigger Distance: Movement needed to add new position (default: 2.5, range: 0.1+)
- Fly Spacing: Distance between strikes (default: 5, range: 1.0+)
- Wing Width: Strike to wing distance (default: 20, range: 5.0+)
- Max Flies: Maximum concurrent positions (default: 6, range: 1-20)
Phase 2 Late Parameters
- Wing Width: Reduced width after 3pm (default: 10, range: 5.0+)
General Settings
- Strike Rounding: Round strikes to nearest multiple (default: 5.0, range: 1.0+)
- Bars Before Check: Bars to wait before allowing closure (default: 2, prevents premature exits)
Display Options
- Show History Table: Toggle detailed position log (default: on)
- History Table Rows: Number of positions displayed (default: 15, range: 5-30)
Alert Settings
- Enable Alerts: Toggle notifications for opens/closes (default: on)
How to Use
For Backtesting in Replay Mode:
Select a historical SPX trading session
Apply indicator to 1-5 minute timeframe
Configure your preferred parameters
Activate TradingView's replay feature
Play through the session (step-by-step or continuous)
Observe when positions open (green boxes appear)
Watch position closures (boxes turn gray)
Count how many flies would have expired with price inside (green at session end)
Note total number of position adds throughout session
Calculate approximate capital needed (positions × margin per fly)
Test different parameter combinations on same historical data
Study position behavior during trending vs ranging sessions
For Live Trading Sessions:
Apply indicator to SPX on 1-5 minute timeframe
Configure parameters based on your backtest results
Create alerts for "Iron Fly Opened" and "Iron Fly Closed"
Set alert frequency to "Once Per Bar Close"
Choose notification method (popup, mobile app, email, webhook)
Monitor the status table (top-right) for current session and reference strike
Review history table (bottom-right) for position log with timestamps
When alert triggers, use visual cues to manually place actual option orders
Execute position adds and closes as indicated by the tracker
Visual Interpretation:
Green boxes = Active positions (theoretical profit zones)
White lines (Phase 1) / Aqua lines (Phase 2) = Strike levels
Red/Blue dotted lines = Wing boundaries (breakeven/risk limits)
Gray boxes = Closed positions (historical reference)
Current SPX price line = Shows where price is relative to positions
Top-right table = Current session status, reference strike, open/closed counts
Bottom-right table = Complete position history with open/close timestamps
Alert System Details
The indicator generates detailed alert messages for position management:
Position Opened:
- Strike level where fly should be placed
- Wing width (±points from strike)
- Session phase (Phase 1 or Phase 2)
- Alert format example: "Iron Fly OPENED | Strike: 5900 | Wings: ±40 | Session: TWO_GLASS"
Position Closed:
- Strike level of fly being closed
- Closure reason (strike cross, wing extreme, etc.)
- Session phase
- Alert format example: "Iron Fly CLOSED | Strike: 5900 | Reason: Price crossed to lower fly | Session: TWO_GLASS"
Configure alerts once before market open, then receive automatic notifications as positions trigger throughout the trading session.
Parameter Optimization Suggestions
For Higher Volatility Environments:
- Increase trigger distances (e.g., Phase 1: 10-15 points, Phase 2: 3-5 points)
- Widen wing widths (e.g., Phase 1: 50-60 points, Phase 2: 25-30 points early, 15-20 late)
- Increase strike spacing to reduce position frequency
For Lower Volatility Environments:
- Decrease trigger distances (e.g., Phase 1: 5-7 points, Phase 2: 1.5-2 points)
- Tighten wing widths (e.g., Phase 1: 30-35 points, Phase 2: 15-18 points early, 8-10 late)
- Reduce strike spacing for more granular coverage
For Conservative Risk Management:
- Reduce maximum concurrent positions (Phase 1: 1, Phase 2: 3-4)
- Widen wing widths for more breathing room
- Increase bars before check to avoid whipsaws
- Use wider trigger distances to reduce position frequency
For Aggressive Positioning:
- Increase maximum concurrent positions (Phase 2: 8-10)
- Tighten trigger distances for more frequent adds
- Reduce bars before check for faster responses
- Use tighter spacing to create denser coverage
Capital Considerations:
Remember that each fly requires margin. If Phase 2 allows 6 concurrent flies and each requires $10,000 margin, you need $60,000 in available capital just for position requirements, plus additional cushion for adverse movement.
Use replay mode to count maximum concurrent positions that would have occurred on historical sessions with your parameters, then calculate total capital needed.
Practical Application
This tool provides visual guidance and management support. To implement the strategy:
Backtest thoroughly in replay mode first
Validate capital requirements for your parameter settings
Confirm you can actively monitor positions during trading hours
Use displayed positions as reference for manual order placement
Match indicator parameters to your actual option contracts
Account for real-world factors: commissions, slippage, bid-ask spreads, option availability
Implement proper position sizing based on available capital
Set up alerts before market open to catch all signals
Execute actual trades manually in your brokerage platform
Track actual results versus indicator expectations
Important Limitations
Theoretical tracking only - not an automated trading system
No access to real option prices, Greeks, or implied volatility
No profit/loss calculations or risk metrics
Does not account for time decay (theta), delta, gamma, vega changes
Assumes continuous price action - gaps or halts not handled
Designed for 0DTE SPX options - not suitable for other timeframes or instruments
Assumes option availability at all strike levels - may not reflect reality
Does not model actual option bid/ask spreads or liquidity
Assumes instant execution at desired strikes - slippage not considered
Historical replay shows theoretical behavior only - actual market conditions may differ
Does not adjust for changing implied volatility throughout session
Position count and timing may not match what's executable in real markets
Capital and Time Requirements
This strategy is resource-intensive:
Capital Requirements:
Each iron fly requires margin (varies by broker and strike width)
Multiple concurrent positions multiply capital needs
Example: 6 flies at $10,000 each = $60,000 minimum
Additional cushion needed for adverse movement
Pattern Day Trader rules may apply (requires $25,000 minimum)
Time Requirements:
Active monitoring during trading hours (typically 10am-4pm ET)
Quick response to position add/close signals
Multiple position adjustments per session possible
Cannot be passive or set-and-forget
Requires ability to place orders promptly when alerted
Use replay mode to understand the commitment level before attempting live implementation.
Risk Considerations
Iron fly trading involves substantial risk. This indicator provides visualization and management support only - it does not constitute financial advice or trading recommendations.
Options trading can result in total loss of capital. The indicator's theoretical positions do not reflect actual trading results. Backtest analysis and historical visualization do not guarantee similar future outcomes. Multiple concurrent positions multiply both profit potential and loss risk.
Always conduct independent research, understand all risks, validate capital requirements, and never trade with funds you cannot afford to lose. Consider starting with paper trading to validate execution capability before risking real capital.
Technical Notes
The indicator uses price-based triggers only. It does not:
Connect to options data feeds
Calculate theoretical option values or Greeks
Execute trades automatically
Provide specific trading signals or recommendations
Account for option-specific factors (implied volatility, time decay, bid/ask spreads)
All displayed information represents theoretical position placement based solely on underlying SPX price movement and user-configured parameters. The tool helps visualize the management framework but requires the trader to handle all actual execution and risk management decisions.
This is an educational and analytical tool for understanding iron fly position management concepts. It requires active interpretation, backtesting validation, and manual implementation by the user.
MTF Volume Weighted Average PriceSame Orignal VWAP
Now you can set it to any Time Frame, and see it on that Time Frame While on your current Time Frame.
CCI Stoch Chikou + Rolling CVD
Signal Tool Using CCI, Stochastics, Lagging Span, and Delta Threshold
CCI, Stochastics, Lagging Span, Delta Threshold Signal Tool
Do not use this tool alone. Confirm support from rising moving averages and pivots (such as the midline) before entering.
For buys, the entry timing is when it dips below 20 and then crosses above the 20 line, but it might be okay if supported by moving averages or similar.
We recommend not changing the Lagging Span to 25.
The default settings exclude the Delta Threshold (%) setting, but check the box if you want to filter.
Ratio (% Value):
If this value exceeds +10%, it means that out of the last 20 trades, 10% net were “buy” trades.
Conversely, -10% indicates “sell” trades are overwhelmingly dominant. When this value is strong, breakouts tend to succeed more easily. Not that I'm taking responsibility for it, though.
Good luck.
ORB Breakout Strategy with VWAP and Volume FiltersOverview
This strategy implements the classic Opening Range Breakout (ORB) methodology, a well-documented approach in trading literature that has been used by institutional and retail traders for decades. The strategy identifies the high and low of the first 15 minutes of the trading session, then trades breakouts with defined risk management.
This implementation includes multiple customizable filters (VWAP, Volume, Candle Strength) that traders can enable, disable, and tune to find configurations that work for their specific markets and trading style.
How It Works
Opening Range Calculation
The strategy captures the high and low of the first N bars after the session open (default: 3 bars on a 5-minute chart = 15 minutes). These levels become the breakout triggers for the session.
Entry Logic
Long Entry: When a bar closes above the ORB High and all enabled filters pass
Short Entry: When a bar closes below the ORB Low and all enabled filters pass
Exit Logic
Take Profit: Configurable multiple of the ORB range (default: 1x = full range beyond breakout level)
Stop Loss: Opposite side of the ORB range
Breakeven: Optional stop adjustment to entry price when trade reaches configurable profit threshold
Session Close: All positions automatically closed at end of trading session
Configurable Filters
All filters can be independently enabled or disabled:
1. VWAP Filter
Requires price above/below session-anchored VWAP
Requires VWAP slope confirmation (configurable lookback and minimum slope)
Purpose: Align trades with intraday trend direction
2. Volume Filter
Requires minimum volume on the breakout bar
Purpose: Confirm institutional participation in the breakout
3. Candle Strength Filter
Requires close in upper/lower portion of the bar range
Purpose: Filter out weak breakouts with poor conviction
Strategy Properties
Initial Capital - $50.000USD
Position Size - 1 contract (fixed)
Commission - $4.00 per contract
Slippage - 2 ticks
Margin - 1%
Pyramiding - Disabled
Backtest Results (NQ)
Recent Performance (Jan 2025 - Jan 2026)
Total Trades - 243
Win Rate - 39.09%
Profit Factor - 1.03
Net P&L - $3,581 (+7.16%)
Max Drawdown - $25,447 (39.96%)
Long-Term Performance (2010 - 2026)
Total Trades - 1699
Win Rate - 37.61%
Profit Factor - 0.756
Net P&L - ($49,632) (-99.26%)
Max Drawdown - $50,262 (99.27%)
Important: Long-term results show negative expectancy with default settings. This strategy is published as a research framework, not a ready-to-trade system. Users are encouraged to experiment with different configurations to find their edge.
Settings Guide
Main Settings
ORB Bars: Number of bars for opening range (3 = 15 min on 5-min chart)
Trading Session: Time window for trading (e.g., 0930-1200 for morning only)
Timezone: Your market's timezone
Take Profit: Multiple of ORB range for target
Breakeven Trigger: Distance to move stop to entry
Max Trades Per Day: Daily trade limit
VWAP Filter
Use VWAP Filter: Enable/disable
VWAP Slope Lookback: Bars to measure VWAP direction
Min VWAP Slope: Minimum slope threshold
Volume Filter
Use Volume Filter: Enable/disable
Min Breakout
Volume: Minimum contracts required
Candle Strength Filter
Use Candle Strength Filter: Enable/disable
Min Candle Strength: Required close position (0.7 = top/bottom 30%)
Research Suggestions
This strategy provides a foundation for exploring ORB-based approaches. Consider testing:
Different ORB periods: 5, 10, 15, or 30 minutes
Session variations: Morning only (0930-1200), afternoon, or full day
Direction bias: Long-only or short-only based on daily trend
Filter combinations: Different mixes of VWAP, volume, and candle filters
Take profit ratios: 0.5x, 1x, 1.5x, or 2x ORB range
Market regimes: Performance may vary in trending vs ranging markets
Different instruments: Test on ES, NQ, MNQ, or other futures
Visual Elements
Orange Background: ORB forming period
Green Background: Active trading session
Green Line: ORB High level
Red Line: ORB Low level
VWAP Line: Green = upslope, Red = downslope, Gray = flat
White Line: Trade entry price
Lime Line: Take profit level
Red Line: Stop loss level
Orange Line: Breakeven trigger level
Blue Background: Breakeven activated
Triangles: Entry signals (only appear when trade executes)
Limitations
Negative long-term expectancy: Default settings do not produce profitable results over extended periods
Parameter sensitivity: Results highly dependent on filter settings and market conditions
Market regime dependent: May perform differently in trending vs choppy markets
Commission impact: Frequent trading accumulates significant transaction costs
Curve fitting risk: Optimized settings may not persist in future markets
Disclaimer
This strategy is provided for educational and research purposes only. It does not constitute financial advice.
Past performance does not guarantee future results
Backtested results may not reflect actual trading conditions
The long-term backtest shows significant negative returns
Always paper trade before risking real capital
Never risk more than you can afford to lose
Conduct your own research and due diligence
This is a research framework designed for traders to explore and customize, not a plug-and-play trading system.
AIO Oscillator SuiteOverview
The AIO Oscillator Suite is a comprehensive, all-in-one technical analysis tool designed to declutter your chart and streamline your workflow. Instead of constantly adding, removing, and re-configuring different oscillators, this script allows you to switch between 30+ of the most popular and effective momentum, trend, and volatility indicators from a single dropdown menu.
Whether you are a trend follower, a mean-reversion trader, or a volatility analyst, this suite provides instant access to the tools you need without consuming multiple indicator slots on your chart.
Features & Included Indicators
This suite includes a vast array of oscillators, meticulously coded to match standard calculations. You can instantly toggle between:
Momentum & Trend : RSI, Stochastic, Stoch RSI, MACD, PPO, TSI, Williams %R, Momentum (ROC), Ultimate Oscillator, CMO, Connors RSI.
Volatility : ATR, Bollinger %b, Choppiness Index.
Volume-Based : Money Flow Index (MFI), Chaikin Money Flow (CMF), Chaikin Oscillator, Force Index, Ease of Movement (EOM), OBV Oscillator, ADX/DMI.
Advanced/Specialized : TRIX, KST, Aroon, Fisher Transform, Cyber Cycle, Vortex, Balance of Power (BOP), Relative Vigor Index (RVI), Detrended Price Oscillator (DPO).
How It Works
Dynamic Plotting: The script intelligently adjusts the plotting style based on your selection. It automatically renders upper/lower bands (e.g., 70/30 for RSI), midlines (0 lines for MACD), histograms, or signal lines depending on the specific requirements of the chosen indicator.
Clean Interface: To keep your chart pristine, all input parameters (lengths, sources, smoothing factors) are hidden from the status line. You only see the current value of the indicator, ensuring a distraction-free analysis environment.
Customization: Every indicator retains its full set of customizable settings. You can tweak lengths, smoothing types (RMA, SMA, EMA, WMA), and sources within the settings menu.
Level Overrides: By default, the script uses standard levels for each indicator (e.g., 70/30 for RSI, 100/-100 for CCI). However, you can enable the "Override Default Levels" option in the settings to manually define your own Upper, Lower, and Midline values for any indicator.
How to Use
Add the indicator to your chart.
Open the Settings menu.
Under the "Main Settings" group, use the dropdown menu to select your desired indicator (default is RSI).
Adjust the specific parameters for that indicator in the sections below if necessary.
(Optional) To set custom overbought/oversold levels, check the "Override Default Levels?" box and enter your preferred values.
Benefits for Traders
Efficiency: Save time by not having to search for and load different scripts for every analysis technique.
Space Saving: TradingView limits the number of indicators per chart based on your plan. This script counts as only one indicator but functions as thirty.
Comparative Analysis: Quickly cycle through different oscillators to confirm signals. For example, if you see a divergence on RSI, you can instantly check if the same divergence exists on the Stochastic or TSI without leaving the screen.
Disclaimer
This tool is for informational and educational purposes only. It does not constitute financial advice or a recommendation to trade. Technical indicators should be used as part of a comprehensive trading strategy. Past performance is not indicative of future results. Always practice proper risk management.
Open Source
The code is published as open-source to allow the community to verify calculations, learn from the logic, and customize it further if needed.
VIOP Scalping - OriginalVIOP Scalping – Original is a rule-based scalping strategy ported from an original C# logic set. It aims to trade only when trend direction, momentum, and trend strength align, then manages the position using fixed take-profit/stop-loss percentages with an optional trailing mechanism to protect gains during favorable moves.
This strategy is provided for educational and backtesting purposes only. It is not financial advice and does not guarantee profitability. Always test thoroughly before any live usage.
Core Concept
Follow the dominant WMA trend, confirm momentum with EMA separation, filter conditions with RSI + ADX, then exit using fixed TP/SL with trailing behavior after a defined profit threshold.
How the Strategy Works
Trend Direction is defined by WMA: above WMA = long bias, below WMA = short bias.
Momentum is measured via Fast EMA vs Slow EMA and the EMA difference.
Trend Strength is confirmed using ADX (must exceed a threshold).
RSI filters trades to avoid entering when momentum is likely overextended or weak.
A no-trade session blocks entries during a predefined time window (default 09:30–10:05).
Exit logic uses fixed percent TP/SL, with an optional trailing mechanism that activates after a profit threshold.
Inputs and Settings
Trend and Indicator Settings
Main Trend WMA: Determines directional bias (price above = long, price below = short).
Fast EMA / Slow EMA: Used to measure momentum and directional separation.
RSI Period: Filters entries based on RSI range constraints.
ADX Period: Measures trend strength (must exceed threshold to allow entries).
Threshold Settings
EMA Difference Threshold: Minimum EMA separation required to validate momentum.
ADX Threshold: Minimum ADX required to confirm trend strength.
RSI Long Ceiling: RSI must remain below this value for long entries.
RSI Short Floor: RSI must remain above this value for short entries.
Risk Management Settings
Take Profit %: Default TP distance in percent.
Strong Trend Take Profit %: Higher TP used when a “strong trend” condition is detected.
Stop Loss %: Fixed SL distance in percent.
Trailing Activation %: Profit threshold at which trailing starts.
Trailing Distance %: Trailing offset distance used once trailing is active.
Time Filter
No-Trade Hours: Default session is 09:30–10:05. During this window, the strategy does not open new trades.
Entry Logic
No-Trade Time Filter
If the current bar falls inside the no-trade session, entries are blocked.
Long Entry Conditions
Price is above the WMA trend line.
EMA difference is positive and greater than the EMA Difference Threshold.
EMA momentum is increasing (current EMA diff > previous EMA diff).
RSI is within the defined range (RSI > 48 and RSI < RSI Long Ceiling).
Close is higher than the previous close.
ADX is above the ADX Threshold.
Short Entry Conditions
Price is below the WMA trend line.
EMA difference is negative and lower than -EMA Difference Threshold.
Bearish momentum is increasing (current EMA diff < previous EMA diff).
RSI is within the defined range (RSI < 52 and RSI > RSI Short Floor).
Close is lower than the previous close.
ADX is above the ADX Threshold.
Strong Trend Logic (Dynamic TP Selection)
If price is far from the WMA (absolute distance > 20 points) AND EMA separation is strong (absolute EMA diff > 1.5 points), the strategy treats the environment as a strong trend.
In strong trend mode, the strategy uses “Strong Trend Take Profit %” instead of the default “Take Profit %”.
Exit Management (TP/SL + Trailing)
The strategy uses fixed percentage-based TP and SL levels.
Trailing logic is enabled via strategy.exit and activates only after price moves in profit by the defined Trailing Activation %.
Once activated, trailing follows price using the defined Trailing Distance % offset.
This is designed to secure partial gains during extended moves while still allowing room for continuation.
What You See on the Chart
WMA Trend Line (Main Trend Filter).
Fast EMA and Slow EMA (Momentum Confirmation).
Strategy entry/exit markers generated by TradingView.
Recommended Use
Scalping systems that rely on trend-following and momentum confirmation.
Markets where ADX filtering helps avoid choppy conditions.
Traders who want a simple, parameter-driven TP/SL system with trailing after confirmation.
Important Notes
The no-trade session depends on your chart/session settings. Ensure your symbol/session configuration matches your intended market hours.
Percent-based exits scale with price; results will vary across instruments and volatility regimes.
Always validate behavior using bar replay, forward testing, and realistic commission/slippage assumptions.
Buy Sell Signal Pro New (iqraa888)Buy Sell Signal Pro New • by iqraa888
This indicator generates BUY/SELL signals based on EMA trend change and includes ATR-based risk management levels.
Key Features
Trend logic: Fast EMA vs Slow EMA (trend flip detection)
Optional candle confirmation (bullish candle for BUY / bearish candle for SELL)
Automatic SL/TP using ATR with configurable Risk:Reward
Intermediate target levels (TP1, TP2, …) and final TP
Right-side TP number boxes beside each target line
Yellow diamond shows invalidation when an opposite signal appears while in a position
Alerts: BUY, SELL, TP hit, SL hit, Invalidation
Notes
Designed for intraday timeframes (15/30/45 min).
Not financial advice. Always backtest and manage risk.
Anya1This script is a **Trend-Following Momentum Strategy** specifically designed for **Gold (XAUUSD)** but applicable to other assets. It combines an oscillator (to find entry points) with two moving averages (to ensure you are trading with the trend).
Here is a breakdown of how the logic works and how to read the signals on your chart.
---
### 1. The Strategy "Gears" (The Filters)
The script uses a "triple-filter" system. A signal is only generated when all three of these conditions click into place at the exact same time:
* **Gear 1: Momentum (Cipher Twister):** This oscillator looks for "turning points." It identifies when the market is exhausted.
* **Buy:** The momentum lines cross while **below the zero line** (recovering from oversold).
* **Sell:** The momentum lines cross while **above the zero line** (dropping from overbought).
* **Gear 2: Medium-Term Trend (MA 25):** The price must be on the "correct" side of the **Yellow Line**. This ensures that the immediate price action is moving in your favor.
* **Gear 3: Macro Trend (MA 150):** This is the final gatekeeper (the **White Line**). You are forbidden from buying if the price is below this line, and forbidden from selling if it is above. This keeps you on the right side of the "Big Picture."
---
### 2. How to Read the Signals
| Signal | Chart Visual | Rule |
| --- | --- | --- |
| **BUY** | **Green "BUY" Label** | Price is above the Yellow & White lines + Oscillator crossed below zero. |
| **SELL** | **Red "SELL" Label** | Price is below the Yellow & White lines + Oscillator crossed above zero. |
**Visual Confirmation:** The script will also highlight the background in **Lime** for a Buy and **Red** for a Sell to make it impossible to miss.
---
### 3. Risk Management (The Exit)
This version is built as a **Strategy**, meaning it has a built-in "Exit Plan" for every trade:
* **Stop Loss (SL):** 100 Pips ($10.00 move in Gold).
* **Take Profit (TP):** 120 Pips ($12.00 move in Gold).
When a trade is entered, TradingView will automatically track the price. If it hits your target, the trade closes in profit. If it hits your stop, it closes to protect your capital.
---
### 5. Best Use Cases
* **Trending Markets:** This script thrives when Gold is in a clear uptrend or downtrend.
* **Timeframes:** It is most effective on the **15-minute (15M)** or **1-hour (1H)** charts. Lower timeframes (like the 1M) may hit the Stop Loss too frequently due to market noise.
**Would you like me to add a "Trailing Stop" feature, so the strategy locks in profits automatically as the price moves in your favor?**
VIOP Scalping - ATR SNIPERVIOP Scalping – ATR SNIPER is a momentum-based scalping strategy designed to capture short, high-probability moves while keeping risk strictly defined using ATR-based stop-loss and fixed risk/reward targets. The strategy trades only when trend direction, momentum, and strength are aligned.
This script is provided for educational and testing purposes only. It does not guarantee profitability and must be used with proper risk management.
Core Idea
Trade in the direction of the dominant trend, confirm momentum acceleration, and manage risk using ATR-based dynamic stops and targets.
How the Strategy Works
The main trend is defined using a Weighted Moving Average (WMA).
Momentum is measured by the distance and direction between a fast EMA and a slow EMA.
Trend strength is confirmed using ADX.
RSI is used as a filter to avoid weak or overextended market conditions.
Entries are blocked during a predefined no-trade time window to avoid high-noise periods.
Long Entry Conditions
Fast EMA is above Slow EMA and the EMA difference is greater than the minimum threshold.
EMA momentum is increasing compared to the previous bar.
RSI is within the user-defined long range.
Current close is higher than the previous close.
ADX is above the minimum strength threshold.
Price is above the WMA trend line.
The current bar is not inside the no-trade session.
Short Entry Conditions
Fast EMA is below Slow EMA and the EMA difference is below the negative threshold.
Bearish EMA momentum is increasing.
RSI is within the user-defined short range.
Current close is lower than the previous close.
ADX is above the minimum strength threshold.
Price is below the WMA trend line.
The current bar is not inside the no-trade session.
Risk Management – ATR Sniper Logic
Stop-loss distance is calculated as ATR multiplied by the ATR Multiplier.
Take-profit distance is calculated using the defined Risk/Reward ratio.
Stop-loss and take-profit levels are dynamically calculated per trade.
Only one position can be open at any given time.
What You See on the Chart
Weighted Moving Average (WMA) trend line.
Fast EMA and Slow EMA lines.
Dynamic stop-loss line during active trades.
Dynamic take-profit line during active trades.
Recommended Use
Intraday scalping on VİOP instruments.
Momentum-based short-term trading.
Traders who prefer rule-based systems with strict risk control.
Always backtest and forward-test on your own instruments and timeframes before using this strategy in live markets.
APC HIRO Proxy Flow PressureAP Capital – HIRO Proxy (Flow Pressure)
AP Capital – HIRO Proxy is a price- and volume-based flow pressure oscillator designed to approximate institutional hedging / directional pressure using only native chart data.
⚠️ This is a proxy model. It does not use options-market data or real SpotGamma HIRO feeds.
🔍 What this indicator does
The indicator measures directional efficiency × volume pressure on every bar, accumulates it intraday, and then normalizes the result using a Z-score so it adapts cleanly across symbols and timeframes.
The output is displayed as candle-style pressure bars, making momentum shifts and pressure flips visually obvious.
🧠 Core Logic
Directional Efficiency
Measures how effectively price closes within its candle range
Strong closes near highs/lows increase pressure
Volume Weighting
Pressure is weighted by volume (optionally logarithmic)
Prevents single spikes from distorting the signal
Cumulative Flow
Pressure accumulates bar-by-bar
Optional daily reset for intraday trading
Z-Score Normalization
Normalizes pressure relative to recent history
Allows consistent thresholds across assets
📊 How to read the indicator
Green candles above zero
→ Net bullish pressure (buyers in control)
Red candles below zero
→ Net bearish pressure (sellers in control)
Zero line
→ Neutral balance / transition zone
±1 / ±2 Z-Bands
→ Elevated or extreme pressure conditions
Triangle signals
▲ Up Pressure → Z-score crosses above positive threshold
▼ Down Pressure → Z-score crosses below negative threshold
⚙️ Inputs & Controls
Core
Smoothing length
Z-score lookback
Log-volume weighting
Daily reset toggle
Filters
ATR-based dead-market filter
ATR length
Display
Zero line on/off
Z-score bands on/off
Signal threshold control
📈 Best use cases
Intraday momentum confirmation
Detecting pressure shifts before breakouts
Trend continuation filtering
Compression → expansion environments
Pairing with structure, VWAP, EMAs, or session levels
🚫 What this indicator is NOT
Not real options flow
Not SpotGamma HIRO
Not predictive on its own
This tool is designed to support decision-making, not replace risk management.
⚠️ Disclaimer
This indicator is provided for educational purposes only.
No financial advice. Trading involves risk.
Algomist - Adaptive Velocity Cross🚀 Algomist: The Adaptive Velocity Cross (AVC)
Automate Your Edge
This strategy transcends the limitations of classic Moving Average (MA) crossovers. The Adaptive Velocity Cross (AVC) is a state-of-the-art trend-following system designed for automated execution, filtering out low-probability whipsaws and prioritizing high-momentum breakouts in volatile markets.
It's not just a signal generator; it's a fully automated, risk-managed trading plan that delivers structured trade signals directly to your Algomist account.
🔥 Key Features & Technology
Adaptive Hull Moving Averages (HMA): Utilizes the Hull MA to significantly reduce lag compared to standard EMAs and SMAs. The faster and slower HMAs provide a highly responsive gauge of short-term and medium-term trend direction.
Multi-Layer Volatility Filtering: Trades are strictly prohibited during flat, low-volatility market conditions.
Current Timeframe Filter (ATRMinFilter): Ensures trades only fire when current market momentum is strong enough to carry the trend.
Higher Timeframe Filter: Checks the ATR on a higher timeframe (e.g., 1H) to confirm the structural trend strength, preventing entries during tight squeezes.
Visual Trend Velocity: The space between the Fast (Blue) and Slow (Pink) HMAs is colored and filled, providing an immediate visual cue for trend direction and strength (width of the band).
Asymmetric Risk Management: Uses the dynamic Average True Range (ATR) to calculate Stop Loss and Take Profit levels, ensuring risk and reward are proportional to current market volatility.
⚙️ How It Works (The Logic)
The AVC only executes a trade when all three high-conviction criteria are met:
Trend Signal: The Fast $\text{HMA}$ crosses the Slow $\text{HMA}$ (Crossover).
Volatile Market Confirmation: The market must be sufficiently volatile on both the current timeframe and the higher structural timeframe ($\text{ATR}$ filters passed).
Risk Management: A defined $\text{SL}$ (Stop Loss) and $\text{TP}$ (Take Profit) are calculated based on the current market $\text{ATR}$ to manage the position before entry.
🤖 Automation Ready
The strategy is built with automation as the priority. Upon a confirmed entry, the script sends a cleanly formatted JSON string via a TradingView Webhook alert to Algomist. Create your account and get your own web hook @ www.algomist.app
Example Alert Output:
{
"symbol": "ETHUSDC",
"side": "LONG",
"entry_price": 67500.0,
"stop_loss": 66000.0,
"take_profit": 70000.0,
"timestamp": 1766715660462
}
This signal is ready for immediate consumption by your Algomist execution engine, ensuring lightning-fast and error-free order placement.
📊 Recommended Use
Asset Class: Highly effective on high-liquidity, high-volatility assets (e.g., Crypto Majors, Forex Pairs, Indices).
Timeframes: Works best on 1m to 15 min charts.
Risk Profile: Medium-to-High frequency trend-following system.
Disclaimer: The strategy code provided is for informational and educational purposes. Past performance is not indicative of future results. Always backtest and forward-test any automated strategy extensively before using real capital.
Wyckoff v1.3: Effort vs ResultThis script helps a trader know the actions of smart money - clearly differentiating between valid and in-valid price moves. It is a not script that'll give you buy/sell signals, but in a very Wyckoff way give you the essentials of tape reading of the current chart.
Code Algo: From current candle to previous N candles (N is variable), it calculates a parameter called R = (high-low)/volume; for each candle, hence forming a distribution of R's. Hence, parameter R takes into account the price-volume relationship together, combined which is paramount for Wyckoff reading. Then it calculates mean (M) and standard deviation (sigma) of all those R's. Hence, M denotes the regular price movements expected from a given volume, which will also be a 'valid' move. Then we calculate ranges M-x*sigma and M+x*sigma (where x is a constant) for 3 values of x: 0.5, 1.5 and 2.2. These ranges give us deviations from M, split into 3 different levels. 1st range (E1) is closer to M, 2nd range (E2) is slightly more deviated from M, 3rd range (E3) includes large deviations and 4th range (E4) gives us largest deviations (highest Wyckoff invalidation). Henceforth, we can assess the current candles R value and check which range does it fall into. This gives us the validation degree of this current candle's move in perspective of how the market behaved previously. We assign symbol '+' for this current candle if R>M (hence showing exhaustion) or '-' if R
The Setup Factory BreadthThe Setup Factory Breadth
Layer 1: Participation (Adv-Decl Issues)
Calculation: It takes the number of NYSE stocks currently going up and subtracts the number of stocks currently going down.
Layer 2: Conviction (Up - Down Volume)
Calculation: It takes the total volume of all stocks moving up and subtracts the volume of all stocks moving down.
Layer 3: Diversification (The Sector Count)
Calculation: It looks at the 11 S&P 500 Sector ETFs (XLK for Tech, XLF for Banks, etc.). It checks if each one is trading higher than its previous day’s close.
It is updated live intraday.
Forex Supertrend 15m Entry + 1H EMA200 Filterworks well for trend trading using superttend 1h and 15 m
Liquidation Map [Alpha Extract]A sophisticated liquidity distribution visualization system that identifies potential liquidation zones through pivot-based detection and renders them as an interactive histogram with cumulative distance-to-liquidation curves. Utilizing multi-exchange volume aggregation and ATR-scaled pocket detection, this indicator delivers institutional-grade liquidity mapping with real-time histogram display showing relative concentration of long and short liquidation levels across configurable price ranges. The system's box-based rendering architecture combined with cumulative distribution overlays provides comprehensive visual assessment of asymmetric liquidity positioning for strategic trade planning.
🔶 Advanced Multi-Exchange Aggregation Framework
Implements intelligent ticker detection and multi-source volume aggregation across major exchanges including Binance, Bybit, KuCoin, OKX, and MEXC for accurate liquidity weight calculations. The system automatically identifies base currency (BTC, ETH, SOL) from chart ticker, retrieves volume data from matching perpetual contracts across multiple venues, and aggregates into composite volume metric for enhanced pocket weighting accuracy.
🔶 Pivot-Based Liquidation Pocket Detection
Features sophisticated swing point identification using configurable pivot width with ATR-scaled vertical zone construction for volatility-adaptive pocket sizing. The system detects pivot highs for short liquidation zones (placed above swing) and pivot lows for long liquidation zones (placed below swing), applying 200-period ATR with percentage multipliers to determine pocket heights that adjust to market volatility conditions.
🔶 Interactive Histogram Visualization Engine
Provides real-time box-based histogram rendering in indicator pane with configurable bin counts (up to 400 columns) and adjustable height, displaying liquidity concentration across fixed percentage range above and below current price. The system calculates bin sizes from view range, accumulates pocket weights into price bins, and renders vertical bars with gradient color intensity reflecting relative liquidity concentration at each price level.
🔶 Cumulative Distance Overlay System
Implements innovative cumulative distribution curves showing aggregate liquidity distance from current price for both long (left) and short (right) positions. The system calculates running totals of pocket weights from current price outward in both directions, normalizes against maximum span, and overlays line segments showing how much total liquidity exists at various distances, enabling instant assessment of liquidation cascade potential.
🔶 Dynamic Price Range Adaptation
Features fixed percentage-based view window that maintains consistent price range visualization across all timeframes and instruments, automatically centering histogram on current price with configurable +/- percentage bounds. The system recalculates histogram bins and pocket distributions on each bar close, ensuring visualization adapts to price movement while maintaining interpretable scale regardless of volatility regime.
🔶 Touch Detection and Weight Adjustment
Provides intelligent pocket state tracking that identifies when price trades through liquidation zones and applies configurable weight multipliers to touched pockets for historical context. The system monitors price interaction with pocket midpoints, marks pockets as "hit" when violated, and optionally increases their visual weight (default 5x) to emphasize historical liquidation levels while distinguishing from untouched future zones.
🔶 Gradient Intensity Color System
Implements sophisticated color gradient engine that modulates bar opacity from transparent to opaque based on relative liquidity concentration within each bin. The system normalizes bin values against maximum liquidity, applies color interpolation from faded to vivid hues, and distinguishes long liquidation zones (cyan) from short liquidation zones (yellow/gold) with current price column highlighted in red for instant orientation.
🔶 Performance-Optimized Rendering Architecture
Utilizes efficient box and line object management with dynamic allocation based on histogram configuration, implementing intelligent cleanup and reuse to maintain smooth performance. The system includes adaptive line budget calculations that adjust segment density for cumulative curves based on available object limits, ensuring consistent operation even with maximum histogram resolution settings.
🔶 Asymmetric Distribution Analysis
Calculates separate cumulative distributions for long and short liquidation zones split at current price, enabling identification of imbalanced liquidity positioning. The system normalizes distributions against respective maximums and overlays both curves on single histogram, allowing traders to instantly assess whether more liquidation risk exists above (shorts vulnerable) or below (longs vulnerable) current price levels.
🔶 Configurable Label and Scale System
Provides price axis labeling with adjustable frequency to reduce clutter while maintaining reference points, displaying price values at regular column intervals with configurable offset positioning. The system includes current price label showing exact value and percentile position within view range, offering both absolute price reference and relative positioning context for distribution interpretation.
🔶 Historical Pocket Persistence Framework
Maintains rolling window of liquidation pockets up to 3000 bars with automatic expiration management and optional preservation of touched zones for historical analysis. The system tracks pocket creation time, monitors age against lookback limits, and manages array cleanup to prevent memory overflow while retaining relevant historical liquidation levels for pattern recognition and support/resistance validation.
This indicator delivers sophisticated liquidity distribution analysis through histogram visualization and cumulative distance curves that reveal asymmetric positioning of potential liquidation levels. Unlike simple liquidation heatmaps that show absolute levels, the Liquidation Map's cumulative distribution overlays instantly communicate how much total liquidity exists at various distances from current price, enabling assessment of cascade potential. The system's multi-exchange volume aggregation, touch-weighted historical zones, and fixed-range visualization make it essential for traders seeking strategic positioning around institutional liquidity clusters in cryptocurrency futures markets. The histogram format enables instant identification of price levels where concentrated liquidations may trigger significant volatility or reversal events, while the asymmetric distribution curves reveal whether market structure favors upside or downside cascades.
Trend Table (Gradient Pill)Single-row layout with each timeframe as a "pill" cell (label + arrow combined)
Background color changes to teal green for bullish, coral red for bearish
White text on colored backgrounds for better contrast
Cleaner arrows (▲/▼) instead of emoji arrows
Transparent outer frame with subtle border
30bb//@version=5
indicator("BB Open SMA 30 (2.5 / 1.5)", overlay=true)
// 공통 설정
length = 30
src = open
// 중심선 계산 (표시는 안 함)
basis = ta.sma(src, length)
// 표준편차
dev = ta.stdev(src, length)
// BB 2.5
upper_25 = basis + dev * 2.5
lower_25 = basis - dev * 2.5
// BB 1.5
upper_15 = basis + dev * 1.5
lower_15 = basis - dev * 1.5
// 선 그리기
u25 = plot(upper_25, title="Upper 2.5", color=color.new(color.red, 0))
l25 = plot(lower_25, title="Lower 2.5", color=color.new(color.red, 0))
u15 = plot(upper_15, title="Upper 1.5", color=color.new(color.blue, 0))
l15 = plot(lower_15, title="Lower 1.5", color=color.new(color.blue, 0))
// 음영 처리
fill(u25, l25, color=color.new(color.red, 85))
fill(u15, l15, color=color.new(color.blue, 85))






















