TitanFlow Position CalculatorTitanFlow Position Calculator - Professional Risk Management Tool
Transform your trading with precision position sizing and advanced risk management
The TitanFlow Position Calculator is a comprehensive Pine Script indicator designed for serious traders who demand professional-grade risk management tools. Whether you're trading forex, commodities, indices, or crypto, this calculator ensures you never risk more than intended while maximizing your profit potential.
🎯 Key Features:
SMART POSITION SIZING
Automatic lot size calculation based on your risk parameters
Support for percentage risk, fixed amount, or losing streak buffer modes
Real-time position size updates as market conditions change
Double-up mode for aggressive trading strategies
MULTI-ASSET SUPPORT
Pre-configured settings for Forex Major/Minor pairs
Commodities: Gold, Silver, Oil with accurate pip values
Stock indices with proper contract specifications
Cryptocurrency trading support
Custom instrument configuration for any asset
ADVANCED RISK MANAGEMENT
Visual risk level categorization (Conservative, Moderate, Aggressive, Extreme)
Color-coded risk warnings with threshold alerts
Margin requirement calculations with leverage integration
Take profit level planning with lot distribution
PROFESSIONAL THEMES
TitanFlow Dark theme matching the professional trading platform
TitanFlow Light theme for bright chart environments
Classic dark/light themes for traditional traders
Full custom colour control for personalized setups
COMPREHENSIVE LEVERAGE SUPPORT
Complete leverage options from 1:1 to 1:500 including:
1:1, 1:10, 1:15, 1:20, 1:30, 1:50, 1:100, 1:200, 1:300, 1:400, 1:500
📊 What You'll See:
REAL-TIME CALCULATIONS
Position size in lots displayed prominently
Risk level percentage with color coding
Margin requirements in your account currency
Stop loss distance in pips
Take profit distribution across multiple levels
CLEAN INFORMATION TABLE
Account balance and currency display
Current risk amount being wagered
Calculated position size and margin needs
Risk categorization with visual indicators
Leverage ratio confirmation
SMART ALERTS
Extreme risk warnings (>5% per trade)
Large position alerts (>10 lots)
High margin usage notifications (>50% account)
Real-time risk assessment updates
🚀 Take Your Trading Further with TitanFlow
Want more than just position sizing?
Visit titanflow.co.uk to discover the complete TitanFlow trading ecosystem:
✅ Advanced Trading Dashboard - Comprehensive portfolio tracking and analytics
✅ Trade Journal Integration - Log and analyze every trade automatically
✅ AI-Powered Coaching - Get personalized trading insights and recommendations
✅ Monthly Performance Reports - Detailed analytics delivered to your inbox
✅ Risk Management Suite - Professional tools for serious traders
✅ Trading Calendar - Never miss important market events
✅ Community Access - Connect with successful traders worldwide
Special Offer: TradingView users get exclusive access to premium features. Transform your trading from guesswork to systematic success. coming soon
🎨 Customization Options:
Theme Selection
Choose from 5 professional themes
Customize every colour element
Match your chart aesthetic perfectly
Professional branding options
Display Controls
Position table in any corner
Show/hide alerts and warnings
Adjustable text sizes
Clean, distraction-free interface
💡 Perfect For:
Day Traders who need quick position sizing decisions
Swing Traders planning multi-level exits
Scalpers requiring precise risk control
Portfolio Managers overseeing multiple accounts
Risk Managers monitoring exposure levels
Trading Educators teaching proper risk management
🚀 How to Use:
Set Your Account - Enter balance and currency
Choose Risk Mode - Percentage (recommended 1-2%), fixed amount, or losing streak buffer
Configure Instrument - Select asset type or use custom settings
Set Stop Loss - Enter your stop distance in pips
Read Results - Get instant position size and risk analysis
⚠️ Risk Management Excellence:
This calculator embodies the core principle that successful trading is about risk management, not just profit hunting. By using proper position sizing, you'll:
Survive losing streaks with capital intact
Compound profits systematically
Sleep better knowing your risk is controlled
Build consistent trading habits
Protect your trading capital long-term
Ready to elevate your entire trading operation? Start with this position calculator, then visit titanflow.co.uk to unlock the full potential of systematic, professional trading.
This indicator is part of the TitanFlow trading ecosystem. titanflow.co.uk coming soon here you'll be able to obtain the complete professional trading platform.
Educational
FVG & IFVG ICT IndicatorThe FVG & IFVG ICT Indicator is a comprehensive technical analysis tool designed for traders who follow the Fair Value Gap (FVG) and Inversion Fair Value Gap (IFVG) methodology popularized by ICT concepts. It automatically detects bullish and bearish FVGs and IFVGs on your chart, plots them with customizable colors and mitigation levels, and provides real-time alerts for potential trading opportunities.
Key features include:
FVG & IFVG Detection: Automatically identifies demand (bullish) and supply (bearish) FVGs and their inversion counterparts.
Mitigation Levels: Highlights key reaction zones using Proximal, 50% OB, or Distal levels to plan entry or exit strategies.
Alert System: Sends alerts for FVG and IFVG mitigations with customizable frequency and time zone display.
Break Triangles: Plots visual triangle markers when price breaks an FVG, validated with ATR thresholds for reliable signals.
Customizable Visuals: Supports light and dark color themes and full control over displayed zones and colors.
Advanced Filtering: Filters FVGs by width (Very Aggressive → Very Defensive) to reduce noise and focus on significant zones.
Dynamic Lookback: Tracks the most recent FVGs and resets them after a defined lookback period to avoid multiple signals.
This indicator is ideal for swing and intraday traders seeking precise zone-based entries, exits, and confirmations based on price imbalance logic.
Relative Strength Heat [InvestorUnknown]The Relative Strength Heat (RSH) indicator is a relative strength of an asset across multiple RSI periods through a dynamic heatmap and provides smoothed signals for overbought and oversold conditions. The indicator is highly customizable, allowing traders to adjust RSI periods, smoothing methods, and visual settings to suit their trading strategies.
The RSH indicator is particularly useful for identifying momentum shifts and potential reversal points by aggregating RSI data across a range of periods. It presents this data in a visually intuitive heatmap, with color-coded bands indicating overbought (red), oversold (green), or neutral (gray) conditions. Additionally, it includes signal lines for overbought and oversold indices, which can be smoothed using RAW, SMA, or EMA methods, and a table displaying the current index values.
Features
Dynamic RSI Periods: Calculates RSI across 31 periods, starting from a user-defined base period and incrementing by a specified step.
Heatmap Visualization: Displays RSI strength as a color-coded heatmap, with red for overbought, green for oversold, and gray for neutral zones.
Customizable Smoothing: Offers RAW, SMA, or EMA smoothing for overbought and oversold signals.
Signal Lines: Plots scaled overbought (purple) and oversold (yellow) signal lines with a midline for reference.
Information Table: Displays real-time overbought and oversold index values in a table at the top-right of the chart.
User-Friendly Inputs: Allows customization of RSI source, period ranges, smoothing length, and colors.
How It Works
The RSH indicator aggregates RSI calculations across 31 periods, starting from the user-defined Starting Period and incrementing by the Period Increment. For each period, it computes the RSI and determines whether the asset is overbought (RSI > threshold_ob) or oversold (RSI < threshold_os). These states are stored in arrays (ob_array for overbought, os_array for oversold) and used to generate the following outputs:
Heatmap: The indicator plots 31 horizontal bands, each representing an RSI period. The color of each band is determined by the f_col function:
Red if the RSI for that period is overbought (>threshold_ob).
Green if the RSI is oversold (
Guru Tandav ShortGuru Tandav Short is a price-action + momentum based short selling indicator designed for intraday.
⚡ Designed for intraday short trades but can also be applied to higher timeframes for swing setups.
3-Layer Trend Trail SystemThia is best for first 15 min after market opens. It will show you Buy and Sell signals with 85% accurate.
Indian market session on Gift Nifty chartsGift Nifty Market Session Highlighter
This indicator highlights the official Indian market session on Gift Nifty charts — from 9:15 AM to 3:30 PM IST. It shades the background during this time window so traders can instantly identify when the local market is open.
Features:
Marks 9:15 AM to 3:30 PM (IST) session on intraday charts.
Adjustable highlight color and transparency.
Works seamlessly across lower timeframes (1m, 5m, 15m, etc.).
Helps traders align Gift Nifty activity with NSE market hours.
Use Cases:
Quickly distinguish active market hours from overnight or global sessions.
Backtest trading strategies specific to Indian session volatility.
Improv
e focus on expiry-day setups and intraday opportunities.
Disclaimer:
This tool is provided for educational and informational purposes only. It is not financial advice, nor does it guarantee trading success. Always do your own research and consult a licensed financial professional before making investment decisions.
SMT Divergence PSP&PCP - Milana TradesThis indicator is designed for traders who want to combine SMT Divergence (SMT) analysis with Precision Swing Points and Candles (PSP/PCP) to identify potential market reversals, trend changes, and optimal entry points. It works on one, two, or three symbols simultaneously, and provides alerts for all key signals.
1. SMT Divergence
Purpose:
SMT Divergence identifies discrepancies between the price movements of a reference market (controlling asset) and the current chart. This helps traders detect when “smart money” might be acting differently than the public trend.
How it works:
The indicator tracks pivot highs and lows in both the current chart and the reference symbol.
If the current chart forms a high but the reference asset fails to confirm it (or vice versa), this creates a bearish or bullish divergence.
These divergences are drawn as lines on the chart with customizable color, style, and label size.
Broken or invalid divergences are automatically removed to avoid clutter.
Visual Features:
+SMT / -SMT labels indicate bullish or bearish divergences.
Lines connect the divergence points for easy visualization.
Alerts:
Bullish SMT
Bearish SMT
2. Precision Swing Points (PSP) and Precision Candle Points (PCP)
Purpose:
Precision Swing Points are extremely accurate pivot points in the price movement, showing potential short-term reversals.
Precision Candle Points extend this by confirming reversal candlestick patterns at these pivots.
How it works:
The indicator checks pivot highs/lows for patterns across multiple symbols.
Bullish PSP indicates a potential upward reversal.
Bearish PSP indicates a potential downward reversal.
PCP signals are more conservative and require a pattern confirmation, often used for safer entries.
Key Features:
Works with 1, 2, or 3 symbols simultaneously to detect correlated reversals.
Automatically removes broken or invalid PSP/PCP points.
Supports display customization: text size, colors, and which patterns to show.
Provides correlation between symbols to gauge market synchronicity.
Alerts:
Bullish PSP
Bullish PCP
Bearish PSP
Bearish PCP
This SMT & Precision Swing Point Indicator combines smart money divergence with highly accurate swing points and candlestick pattern confirmations to provide a powerful tool for market analysis. It helps traders:
Detect divergences between key markets.
Identify high-probability reversal points.
Filter signals according to trend and precision.
Receive alerts for actionable trading opportunities without constant chart monitoring.
It is ideal for traders using Price Action, Smart Money concepts, and multi-symbol analysis.
Qabas systemQabas System — Multi-Layered Smart Trading Framework
The Qabas System is an advanced all-in-one Pine Script indicator designed to combine institutional-grade analysis, smart entry/exit detection, and adaptive risk management into a single framework. It integrates multiple professional trading concepts into one ecosystem, making it suitable for intraday, swing, and position trading.
⸻
Core Components
1. VSA Engine (Volume Spread Analysis)
Detects institutional footprints (accumulation, distribution, no-demand, supply tests) by analyzing the relationship between candle spread, volume, and close location.
2. Order Blocks (Supply & Demand Zones)
Automatically highlights bullish and bearish order blocks with customizable transparency, showing where institutions left unfilled orders.
3. Smart Traps (Liquidity Traps)
Identifies bull and bear traps by detecting abnormal wicks and volume exhaustion near highs/lows — a common reversal signal.
4. Fibonacci Golden Levels
Draws adaptive retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6) aligned with the current market trend.
5. CPR (Central Pivot Range)
Daily pivot zones acting as magnets for price, helping detect high-probability reversal and breakout areas.
6. Liquidity Zones
Detects liquidity sweeps above highs and below lows combined with strong volume confirmation.
7. Market Structure (Chanlun Waves)
Tracks higher-highs / lower-lows to outline bullish or bearish structural waves.
8. Breakout Engine (Duanxian Gate)
Confirms valid breakouts using EMA/Donchian/Linear Regression baselines with ATR and volume filters.
9. Adaptive Resonance Oscillator (ARO)
A proprietary entry/exit system based on Hilbert transform and RSI resonance, plotting BUY/SELL arrows only when conditions are valid and alternating (to avoid duplicate signals).
⸻
Risk & Trade Management
• Smart ATR / Fibonacci / Structure-based stop loss options.
• Fibonacci / Risk-Reward / Structure-based take profit logic.
• Built-in auto-risk engine with position sizing (% risk per trade).
• ATR-based adaptive targets for breakout scenarios.
⸻
Visualization & Dashboard
• Multiple color themes (Neon, Professional, Matrix, Gold).
• Smart candle coloring for volume spikes and weak drops.
• Order Block boxes with custom transparency.
• A dynamic Arabic/RTL dashboard showing:
• Decision (Buy/Sell/Strong Buy/Strong Sell/Wait)
• Trend strength (across multiple timeframes)
• Volume pressure (Accumulation / Distribution / Neutral)
• Range & Breakout probabilities
⸻
Dynamic Probabilities Engine
The system records historical outcomes near supply/demand boundaries and continuously adapts breakout probability calculations. This enables it to dynamically project probability of ranging vs breaking out, and update targets accordingly.
⸻
How It Works (Step-by-Step)
1. Market Context: Multi-timeframe EMAs define overall trend score.
2. Institutional Clues: VSA, order blocks, traps, CPR, liquidity, and Fibonacci generate signals.
3. Structural Confirmation: Breakouts and wave analysis validate directional bias.
4. Decision Engine: Weighted scoring system fuses all signals into a single decision (BUY / SELL / WAIT) with confidence level.
5. Execution: ARO entry/exit signals provide precise timing inside the broader context.
6. Risk Management: Adaptive stop loss and take profit methods are applied automatically.
⸻
👉 In summary:
The Qabas System acts like an institutional trading toolkit inside one indicator — combining price action, smart volume, liquidity, structure, and adaptive risk to deliver context-aware, probability-driven trade signals with a clear visual dashboard.
Lot Size & Risk Calculator [FunkyMax]🔹 Overview
This script is a lot size and risk management calculator directly integrated into your chart.
It automatically determines the optimal position size based on your account balance, chosen risk percentage, and stop-loss distance.
In addition to risk calculation, the script also displays Entry, Stop-Loss, and Take-Profit levels on the chart, along with a dashboard panel summarizing all key trading information:
Account balance
Selected risk %
Amount at risk
Optimal lot size
Stop & TP distances in pips
Risk/Reward ratios (R:R)
Potential profit for each TP
Contract size & pip size
🔹 Key Features
✅ Automatic lot size calculation based on:
Account balance
Risk %
Stop-Loss distance
✅ Clear visual display:
Dynamic labels for Entry, Stop, and TP (supports 1 or 2 TPs)
Colored lines (green for TP, red for SL, blue for Entry)
Profit/Loss zones filled on the chart
✅ Dashboard panel:
Compact summary displayed on-screen (position customizable)
Real-time automatic updates
✅ Automatic asset detection:
Forex: contract size = 100,000 (pip = 0.0001 or 0.01 for JPY pairs)
Gold (XAUUSD): contract size = 100 (pip = 0.1)
Indices & crypto: contract size = 1 (pip = 1.0)
Manual override available (custom contract & pip size)
✅ Multi-currency support:
Display in USD or EUR
🔹 How to Use
Add the indicator to your chart then define entry price, stop-loss, Take-Profit targets (TP1 & TP2) by clicking directly on chart. Then, configure settings of the indicator as needed :
1. Basic settings (Money Management tab):
Enter your account balance (e.g., $1000).
Select your risk percentage (e.g., 1%, 2%, 3%).
Choose your deposit currency (USD or EUR).
2. Trading levels (Levels tab):
Set your Entry price.
Define your Stop-Loss (SL).
Add up to two Take-Profit targets (TP1 / TP2).
3. Chart display:
Toggle levels on/off with Display TP & SL on chart.
Levels appear automatically with lot size and R:R ratio.
4. Dashboard (Dashboard tab):
Choose text size (Normal / Small).
Position the info panel anywhere (top/bottom/left/right).
🔹 Benefits
Time-saving: no more manual lot size calculations
Risk control: enforces consistent money management
Versatility: works across Forex, Gold, Indices, Crypto
Clarity: instant visualization of risk and potential reward
🔹 Limitations
Pip value may vary depending on your broker (CFDs, Futures, etc.). Double-check with your platform.
Educational purpose only: this script is not financial advice.
🔹 Author
Script developed and optimized by FunkyMax.
Globex Trap w/ percentage [SLICKRICK]Globex Trap w/ Percentage
Overview
The Globex Trap w/ Percentage indicator is a powerful tool designed to help traders identify high-probability trading opportunities by analyzing price action during the Globex (overnight) session and regular trading hours. By combining Globex session ranges with Supply & Demand zones, this indicator highlights potential "trap" areas where significant price reactions may occur. Additionally, it calculates the Globex session range as a percentage of the daily Average True Range (ATR), providing valuable context for assessing market volatility.
This indicator is ideal for traders in futures markets or other instruments traded during Globex sessions, offering a visual and analytical edge for spotting key price levels and potential reversals or breakouts.
Key Features
Globex Session Tracking:
Visualizes the high and low of the Globex session (default: 3:00 PM to 6:30 AM PST) with customizable time settings.
Displays a semi-transparent box to mark the Globex range, with labels for "Globex High" and "Globex Low."
Calculates the Globex range as a percentage of the daily ATR, displayed as a label for quick reference.
Supply & Demand Zones:
Identifies Supply & Demand zones during regular trading hours (default: 6:00 AM to 8:00 AM PST) with customizable time settings.
Draws semi-transparent boxes to highlight these zones, aiding in the identification of key support and resistance areas.
Trap Area Identification:
Highlights potential trap zones where Globex ranges and Supply & Demand zones overlap, indicating areas where price may reverse or consolidate due to trapped traders.
Customizable Settings:
Adjust Globex and Supply & Demand session times to suit your trading preferences.
Toggle visibility of Globex and Supply & Demand zones independently.
Customize box colors for better chart readability.
Set the lookback period (default: 10 days) to control how many historical zones are displayed.
Configure the ATR length (default: 14) for the percentage calculation.
PST Timezone Default:
All times are based on Pacific Standard Time (PST) by default, ensuring accurate session tracking for users in this timezone or those aligning with U.S. West Coast market hours.
Recommended Usage
Timeframes: Best used on 1-hour charts or lower (e.g., 15-minute, 5-minute) for precise entry and exit points.
Markets: Optimized for futures (e.g., ES, NQ, CL) and other instruments traded during Globex sessions.
Historical Data: Ensure at least 10 days of historical data for optimal visualization of zones.
Strategy Integration: Use the indicator to identify potential reversals or breakouts at Globex highs/lows or Supply & Demand zones. The ATR percentage provides context for whether the Globex range is significant relative to typical daily volatility.
How It Works
Globex Session:
Tracks the high and low prices during the user-defined Globex session (default: 3:00 PM to 6:30 AM PST).
When the session ends, a box is drawn from the start to the end of the session, capturing the high and low prices.
Labels are placed at the midpoint of the session, showing "Globex High," "Globex Low," and the range as a percentage of the daily ATR (e.g., "75.23% of Daily ATR").
Supply & Demand Zones:
Tracks the high and low prices during the user-defined regular trading hours (default: 6:00 AM to 8:00 AM PST).
Draws a box to mark these zones, which often act as key support or resistance levels.
ATR Percentage:
Calculates the Globex range (high minus low) and divides it by the daily ATR to express it as a percentage.
This metric helps traders gauge whether the overnight price movement is significant compared to the instrument’s typical volatility.
Time Handling:
Uses PST (UTC-8) for all time calculations, ensuring accurate session timing for users aligning with this timezone.
Properly handles overnight sessions that cross midnight, ensuring seamless tracking.
Input Settings
Globex Session Settings:
Show Globex Session: Enable/disable Globex session visualization (default: true).
Globex Start/End Time: Set the start and end times for the Globex session (default: 3:00 PM to 6:30 AM PST).
Globex Box Color: Customize the color of the Globex session box (default: semi-transparent gray).
Supply & Demand Zone Settings:
Show Supply & Demand Zone: Enable/disable zone visualization (default: true).
Zone Start/End Time: Set the start and end times for Supply & Demand zones (default: 6:00 AM to 8:00 AM PST).
Zone Box Color: Customize the color of the zone box (default: semi-transparent aqua).
General Settings:
Days to Look Back: Number of historical days to display zones (default: 10).
ATR Length: Period for calculating the daily ATR (default: 14).
Notes
All times are in Pacific Standard Time (PST). Adjust the start and end times if your market operates in a different timezone or if you prefer different session windows.
The indicator is optimized for instruments with active Globex sessions, such as futures. Results may vary for non-24/5 markets.
A typo in the label "Globe Low" (should be "Globex Low") will be corrected in future updates.
Ensure your TradingView chart is set to display sufficient historical data to view the full lookback period.
Why Use This Indicator?
The Globex Trap w/ Percentage indicator provides a unique combination of session-based range analysis, Supply & Demand zone identification, and volatility context via the ATR percentage. Whether you’re a day trader, swing trader, or scalper, this tool helps you:
Pinpoint key price levels where institutional traders may act.
Assess the significance of overnight price movements relative to daily volatility.
Identify potential trap zones for high-probability setups.
Customize the indicator to fit your trading style and market preferences.
Statistical FootprintStatistical Footprint - Behavioral Support & Resistance
This indicator identifies key price levels based on actual market behavior rather than traditional pivot calculations. It analyzes how bulls and bears have historically moved price from session opens, creating statistical zones where future reactions are most likely.
The concept is simple: track how far bullish candles typically push above the open versus how far bearish candles drop below it. These patterns reveal the market's behavioral "footprint" - showing where momentum typically stalls and reverses.
Key Features:
- Separate analysis for daily and weekly timeframes
- Smart zone merging when levels cluster together (within 5 points)
- Uses both mean and median calculations for more robust levels
- XGBoost-optimized lookback periods for maximum statistical significance
- Clean zone-only display focused on actionable price areas
How it Works:
The code separates bullish and bearish sessions, measuring their typical range extensions from the open. It then projects these statistical ranges forward from current session opens, creating "behavioral zones" where the market has historically shown consistent reactions.
When daily and weekly levels align closely, they merge into combined zones with enhanced significance. Labels show both the mean and median values when they differ meaningfully.
Best Used For:
- Identifying high-probability reversal zones
- Setting profit targets based on historical behavior
- Understanding market sentiment shifts at key levels
- Confluence analysis between different timeframes
The lookback periods have been optimized using machine learning to find the most predictive historical sample sizes for current market conditions.
Prev RTH FibsThis study captures the previous day’s Regular Trading Hours (RTH) range (default 09:30–16:00 America/New_York), then projects it onto the current session. It draws HIGH, LOW, and an optional 50% midpoint, plus a configurable set of inside fib-style percentages measured from the HIGH downward. Every level extends a short distance to the right of the current price and shows a clean numeric label (no box) on the right edge.
Key features
Prev-day RTH range tracked automatically; plotted each new session.
Inside levels (from HIGH ↓): 11%, 25%, 29.5%, 38.2%, 45%, 55%, 62% (OTE), 70.5%, 75%, 78.6%, 85% (toggle any on/off).
Clean right-side labels: numbers only, resizable (Tiny → Huge) with transparent background.
Line styling: HIGH/LOW and 50% are solid; inside levels can be Solid/Dashed/Dotted with independent color/width.
Smart right padding: lines/labels extend a few bars past the latest candle, so annotations stay beside price without violating TradingView’s “>500 bars in future” rule.
Works on any symbol/timeframe; RTH window and timezone are adjustable.
Inputs you control
Session: RTH session string and timezone.
Right-side padding (bars) and number size.
Visibility & style for HIGH, LOW, and 50%.
Which inside levels to show, plus their style/color/width.
Goldbach Time Indicator🔧 Key Fixes Applied:
1. Time Validation & Bounds Checking:
Hour/Minute Bounds: Ensures hours stay 0-23, minutes stay 0-59
Edge Case Handling: Prevents invalid time calculations from causing missing data
UTC Conversion Safety: Better handling of timezone edge cases
2. Enhanced Value Validation:
NA Checking: Validates all calculated values before using them
Goldbach Detection: Only flags valid, non-NA values as Goldbach hits
Plot Safety: Prevents plotting invalid or NA values that could cause gaps
3. Improved Plot Logic:
Core Level Colors: Blue for core levels (29,35,71,77), yellow/lime/orange for regular hits
Debug Mode Enhanced: Shows all calculations with gray dots when enabled
Better Filtering: Only plots positive, valid values for minus calculations
4. Background vs Dots Issue:
The large green/blue background you see suggests the indicator is detecting Goldbach times correctly, but the dots weren't plotting due to validation issues. This should now be fixed.
Balanced Big Wicks (50/50) HighlighterDetects candles with unusually long, balanced upper and lower wicks—a potential sign of market indecision followed by strong breakout action.
What It Does
Identifies candles where both upper and lower wicks each account for at least a configurable percentage (e.g., 30–40%) of the total range, and where the body remains small—creating the classic “balanced wick” (50/50) appearance.
Marks these candles visually with color (bullish/bearish), optional background shading, and a tiny “50/50” label above the candle.
Why It’s Useful
Balanced wicks often precede decisive moves once price breaks either wick. This script highlights such opportunities systematically.
Helpful for traders looking for clean entry signals: long on close above the upper wick, short on close below the lower wick—with straightforward risk management (SL at opposite wick, TP 1:1).
Key Inputs (default values shown in parentheses)
Min wick % (each side): 30%
Max body %: 20%
Equality tolerance: 10%
Min range filter (ATR multiples): 0 (disable)
ATR length: 14
Color candles: On
Background highlight: Off by default
Plot label on candle: On
Adjust these to fit your preferred timeframe or instrument (e.g., raise wick thresholds or ATR filter for noisy 15‑minute altcoin charts; relax slightly for smoother 1‑hour BTC analysis).
Alerts
Three alert options included:
“50/50 Wick (Any)” — triggers on any balanced-wick candle.
“50/50 Wick (Bullish)” — only when the candle closes bullish (upper close).
“50/50 Wick (Bearish)” — only when the candle closes bearish (lower close).
How to Use It
Add the indicator to your chart.
Adjust input settings to suit the timeframe or trading style.
Watch for highlighted candles.
Optional alert: create alerts using one of the provided alert conditions (e.g., “50/50 Wick (Any)”) with “Once per bar close” to get notified when signal bars appear.
Use your own trade logic (e.g., breakout entries as described above).
Disclaimer & Originality
Original Concept: I built this script from scratch to highlight a specific candle structure often used by traders in breakout setups—long balanced wicks with small bodies.
No external code references; it’s entirely open-source and self-explanatory.
Note: This indicator highlights potential setups—not financial advice. Always backtest any strategy, and use sound risk management. Past patterns do not guarantee future success.
Optimized Settings for 5m–15m Scalping
Min wick % (each side): 0.30
→ Forces both wicks to be almost half the candle each. Very strict.
Max body % of range: 0.40
→ Candle body must be ≤10% of full range = almost a doji.
Equality tolerance: 0.1
→ Wicks must be within 5% of each other relative to full candle size.
Min range filter (ATR multiples): 0
→ Candle must be at least 1.2× bigger than recent average (ATR14). Filters out weak fake dojis.
ATR Length: 14 (standard, stable)
Color candles / Plot labels: On (so you clearly see them)
Background highlight: Optional
Crypto Flows [ETF|On-chain]The surge in Bitcoin and Ethereum spot ETFs has transformed how crypto is held and traded. By mid‑2025, U.S. spot Bitcoin ETFs already controlled roughly 1.28 million BTC, or about 6.5 percent of the circulating supply (Fosque, 2025). This accumulation has coincided with sharp price rallies and signals that regulated vehicles are absorbing a meaningful share of supply (Fosque, 2025; Wright, 2025). At the same time, on‑chain analytics show that exchange flows still influence markets: large inflows to exchanges often precede sell‑offs, whereas withdrawals to private wallets signal accumulation and reduced sell pressure (Singh, 2024; CryptoQuant, 2024). IntoTheBlock’s large‑holder inflow indicator even notes that spikes in whale buying frequently mark major bottoms (IntoTheBlock, 2022). I wanted to weave these pieces together, so I created this indicator.
Essence and logic
The script draws from two data streams: net flows into ETFs and net on‑chain flows from large holders, both scaled by the asset’s circulating market cap. ETF flows are aggregated across the ten largest INDEX:BTCUSD Bitcoin ETFs, the ten largest Ethereum INDEX:ETHUSD ETFs and the first CRYPTOCAP:SOL Solana ETF; each fund has its own checkbox and colour selection. On‑chain data uses IntoTheBlock’s large‑holder inflows and outflows, with dozens of coins available( CRYPTO:XRPUSD CRYPTOCAP:AVAX CRYPTOCAP:ADA CRYPTOCAP:LINK CRYPTO:DOGEUSD CRYPTOCAP:OTHERS ; if your coin isn’t shown in the dropdown you can manually enter its symbol. For each component, daily flows are converted into either a Z‑score or, by default, a percent‑of‑market‑cap series; users choose the weighting between ETF and on‑chain signals. These weighted series are summed into a composite, smoothed, and then two moving averages (a fast and a slow one) are applied to define bullish or bearish regimes. Because ETFs are a recent phenomenon, the early part of the composite is dominated by on‑chain flows; as ETF history lengthens, the fund‑flow component will become more influential. Trade signals are generated via moving‑average crossovers and optional dip triggers, and a trend table summarises current values and directions.
Why these components?
ETF flows reflect institutional adoption and supply absorption. Funds such as IBIT already hold about 744 000 BTC (roughly 3.3 percent of total supply), and cumulative ETF holdings have been growing faster than new coins are mined (Wright, 2025). Net inflows into these vehicles have tended to accompany rising prices and signal long‑horizon capital (Fosque, 2025). On‑chain flows, meanwhile, capture exchange liquidity dynamics. High inflows to exchanges often indicate that investors are preparing to sell, increasing tradable supply (Singh, 2024; CryptoQuant, 2024). Outflows into self‑custody suggest accumulation and reduced sell pressure, providing a bullish signal (Singh, 2024; CryptoQuant, 2024). IntoTheBlock points out that spikes in large‑holder inflows—whales moving coins into cold storage—have historically preceded price bottoms (IntoTheBlock, 2022). By weighting and standardising these flows relative to market cap, the composite aims to offer a more objective lens on risk‑on versus risk‑off regimes than price alone.
Limitations and outlook
ETFs a pretty new, so the data history is short. The list of tracked funds is currently limited to U.S. and European products; adding Asian or Canadian vehicles could provide a fuller picture. On‑chain flows can be noisy and occasionally give conflicting signals, and large‑holder data is not available for every crypto asset. The ETF and on‑chain components are also correlated through market cap, so equal weighting may amplify common trends. As macro conditions evolve and ETF redemption mechanisms change, the usefulness of fund flows could vary. I see this indicator as one tool among many, and I’m considering adding stablecoin flows, derivatives funding rates, or halving‑cycle adjustments. Suggestions are welcome.
Personal note
I’m a student who enjoys exploring the intersection of macro flows, on‑chain analytics and market psychology. This script is free to use. You can enable or disable each component, adjust weights, change the display mode and lookback, and select individual ETF tickers. If it brings you value, feel free to follow my work or reach out with feedback. I appreciate your support. Please remember that this indicator is for educational purposes and not investment advice. I built this indicator in addition to my Liquidity indicator, where I use Global M2, the yield curve, and the high-yield spread to define risk-on/risk-off regimes. If you are interested, you can find it here:
References
CryptoQuant Team. (2024). Exchange in/outflow and netflow user guide.
Fosque, J. (2025). Bitcoin ETFs pull $17.8 billion in 90 days as price surges past $118 K. The Digital Chamber.
IntoTheBlock. (2022). Large holders inflow indicator description.
Singh, O. (2024). Crypto exchange inflows and outflows explained: What they reveal about market trends. CCN.
Wright, L. (2025). Bitcoin ETFs to lock up 1.5 million BTC by New Year as supply squeeze tightens grip. CryptoSlate.
Major & Modern Wars TimelineDescription:
This indicator overlays vertical lines and labels on your chart to mark the start and end dates of major global wars and modern conflicts.
Features:
Displays start (red line + label) and end (green line + label) for each war.
Covers 20th century wars (World War I, World War II, Korean War, Vietnam War, Gulf War, Afghanistan, Iraq).
Includes modern conflicts: Syrian Civil War, Ukraine War, and Israel–Hamas War.
For ongoing conflicts, the end date is set to 2025 for timeline visualization.
Customizable: label position (above/below bar), line width.
Works on any chart timeframe, overlaying events on financial data.
Use case:
Useful for historical market analysis (e.g., gold, oil, S&P 500), helping traders and researchers see how wars and conflicts align with market movements.
Daily Start Vertical Lines (≤1H)This indicator automatically plots vertical lines at the start of each new trading day, based on the selected chart’s timezone. Unlike the default daily session boundaries (which often start at 17:00 New York time), this tool ensures that lines are drawn precisely at 00:00 midnight of the chart’s timezone.
🔹 Features:
Plots a vertical line at every new day start (midnight).
Fully time-zone aware → lines adjust automatically when you change the chart’s timezone.
Customizable line style, width, and color.
Option to limit plotting to specific timeframes (e.g., show only on ≤ 1H charts).
Lightweight & optimized (does not clutter higher-timeframe charts).
🔹 Use Cases:
Quickly identify daily boundaries for intraday analysis.
Helps scalpers and day traders align trades with new day opens.
Useful for strategies that depend on daily session resets.
This tool is especially helpful for traders who want clarity when working across different time zones.
Candle ShapeCandle Shape
This indicator visualizes rolling candles that aggregate price action over a chosen lookback period, allowing you to see how OHLC dynamics evolve in real time.
Instead of waiting for a higher timeframe (HTF) bar to close, you can track its development directly from a lower timeframe chart.
For example, view how a 1-hour candle is forming on a 1-minute chart — complete with rolling open, high, low, and close levels, as well as colored body and wick areas.
---
🔹 How it works
- Lookback Period (n) → sets the bucket size, defining how many bars are merged into a “meta-candle.”
- The script continuously updates the meta-open, meta-high, meta-low, and meta-close.
- Body and wick areas are filled with color , making bullish/bearish transitions easy to follow.
---
🔹 Use cases
- Monitor the intra-development of higher timeframe candles.
- Analyze rolling OHLC structures to understand how price dynamics shift across different aggregation windows.
- Explore unique perspectives for strategy confirmation, breakout anticipation, and market structure analysis.
---
✨ Candle Shape bridges the gap between timeframes and uncovers new layers of price interaction.
VWAP Price ChannelVWAP Price Channel cuts the crust off of a traditional price channel (Donchian Channel) by anchoring VWAPs at the highs and lows. By doing this, the flat levels, characteristic of traditional Donchian Channels, are no more!
Author's Note: This indicator is formed with no inherent use, and serves solely as a thought experiment.
> Concept
I would be hesitant to call this a "predictive" indicator, however the behavior of it would suggest it could be considered at least partially predictive
Essentially, the Anchored VWAPs creates something from otherwise nothing.
While the DC upper or lower values are staying flat, the VWAPs improvise based on price and volume to project a level that may be a better representation of where future highs or lows may settle.
Visually, this looks like we have cut off the corners of the Donchian Channel.
Note: Notice how we are calculating values before the corners are realized.
> Implementation
While this is only a concept indicator, The specific application I've gone with for this, is a sort of supertrend-ish display (A Trend Flipping Trailing Stop Loss).
The script uses basic logic to create a trend direction, and then displays the Anchored VWAPs as a form of trailing stop loss.
While "In Trend", the script fills in the area between the VWAP and Price in the direction of trend.
When new highs or lows are made while in trend, the opposite VWAP will start to generate at the new highs or lows. These happen on every new high or low, so they are not indicating the trend shift, but could be interpreted as breakout levels for the current trend direction in order for continuation.
Note: All values are drawn live, but when using higher timeframes, there is a natural calculation discrepancy when using live data vs. historical.
> Technicals
In this script, I'm simply detecting new highs or lows from the DC and using those as the anchor frequency on the built-in VWAP function.
So each time a new high or low is made based on DC, the VWAP function re-anchors to the high or low of the candle.
Past that, I have implemented some logic in order to account for a common occurrence I faced during development.
Frequently, the price would outpace the anchored VWAP, so we would end up with the VWAP being further from price than the actual DC upper or lower.
Due to this, what I have ended up with was a third value which, rather than switching between raw VWAP values and DC values, it adjusts the value based on the change in the VWAP value.
This can be simply thought of as a "Start + Change" type of setup.
By doing this, I can use the change values from the actual anchored VWAP, and under normal conditions, this will also be the true VWAP value.
However, situationally, I am able to update the start value which we're applying the VWAP change to.
In other words, when these situations happen, the VWAP change is added to the new (closer to price) DC value.
The specific trend logic being used is nothing fancy at all, we are simply checking if a new high or low is created and setting the trend in that direction.
This is in line with some traditional DC Strategies.
To those who made it here,
Just remember:
The chart may be ugly, but it's the fastest analysis of the data you can get.
Nicer displays often come at the hidden cost of latency.
You have to shoot your shot to make it.
Choose 2: Fast, Clean, Useful
Enjoy!
Market Cap Landscape 3DHello, traders and creators! 👋
Market Cap Landscape 3D. This project is more than just a typical technical analysis tool; it's an exploration into what's possible when code meets artistry on the financial charts. It's a demonstration of how we can transcend flat, two-dimensional lines and step into a vibrant, three-dimensional world of data.
This project continues a journey that began with a previous 3D experiment, the T-Virus Sentiment, which you can explore here:
The Market Cap Landscape 3D builds on that foundation, visualizing market data—particularly crypto market caps—as a dynamic 3D mountain range. The entire landscape is procedurally generated and rendered in real-time using the powerful drawing capabilities of polyline.new() and line.new() , pushed to their creative limits.
This work is intended as a guide and a design example for all developers, born from the spirit of learning and a deep love for understanding the Pine Script™ language.
---
🧐 Core Concept: How It Works
The indicator synthesizes multiple layers of information into a single, cohesive 3D scene:
The Surface: The mountain range itself is a procedurally generated 3D mesh. Its peaks and valleys create a rich, textured landscape that serves as the canvas for our data.
Crypto Data Integration: The core feature is its ability to fetch market cap data for a list of cryptocurrencies you provide. It then sorts them in descending order and strategically places them onto the 3D surface.
The Summit: The highest point on the mountain is reserved for the asset with the #1 market cap in your list, visually represented by a flag and a custom emblem.
The Mountain Labels: The other assets are distributed across the mountainside, with their rank determining their general elevation. This creates an intuitive visual hierarchy.
The Leaderboard Pole: For clarity, a dedicated pole in the back-right corner provides a clean, ranked list of the symbols and their market caps, ensuring the data is always easy to read.
---
🧐 Example of adjusting the view
To evoke the feeling of flying over mountains
To evoke the feeling of looking at a mountain peak on a low plain
🧐 Example of predefined colors
---
🚀 How to Use
Getting started with the Market Cap Landscape 3D:
Add to Chart: Apply the "Market Cap Landscape 3D" indicator to your active chart.
Open Settings: Double-click anywhere on the 3D landscape or click the "Settings" icon next to the indicator's name.
Customize Your Crypto List: The most important setting is in the Crypto Data tab. In the "Symbols" text area, enter a comma-separated list of the crypto tickers you want to visualize (e.g., BTC,ETH,SOL,XRP ). The indicator supports up to 40 unique symbols.
> Important Note: This indicator exclusively uses TradingView's `CRYPTOCAP` data source. To find valid symbols, use the main symbol search bar on your chart. Type `CRYPTOCAP:` (including the colon) and you will see a list of available options. For example, typing `CRYPTOCAP:BTC` will confirm that `BTC` is a valid ticker for the indicator's settings. Using symbols that do not exist in the `CRYPTOCAP` index will result in a script error. or, to display other symbols, simply type CRYPTOCAP: (including the colon) and you will see a list of available options.
Adjust Your View: Use the settings in the Camera & Projection tab to rotate ( Yaw ), tilt ( Pitch ), and scale the landscape until you find a view you love.
Explore & Customize: Play with the color palettes, flag design, and other settings to make the landscape truly your own!
---
⚙️ Settings & Customization
This indicator is highly customizable. Here’s a breakdown of what each setting does:
#### 🪙 Crypto Data
Symbols: Enter the crypto tickers you want to track, separated by commas. The script automatically handles duplicates and case-insensitivity.
Show Market Cap on Mountain: When checked, it displays the full market cap value next to the symbol on the mountain. When unchecked, it shows a cleaner look with just the symbol and a colored circle background.
#### 📷 Camera & Projection
Yaw (°): Rotates the camera view horizontally (side to side).
Pitch (°): Tilts the camera view vertically (up and down).
Scale X, Y, Z: Stretches or compresses the landscape in width, depth, and height, respectively. Fine-tune these to get the perfect perspective.
#### 🏞️ Grid / Surface
Grid X/Y resolution: Controls the detail level of the 3D mesh. Higher values create a smoother surface but may use more resources.
Fill surface strips: Toggles the beautiful color gradient on the surface.
Show wireframe lines: Toggles the visibility of the grid lines.
Show nodes (markers): Toggles the small dots at each grid intersection point.
#### 🏔️ Peaks / Mountains
Fill peaks volume: Draws vertical lines on high peaks, giving them a sense of volume.
Fill peaks surface: Draws a cross-hatch pattern on the surface of high peaks.
Peak height threshold: Defines the minimum height for a peak to receive the fill effect.
Peak fill color/density: Customizes the appearance of the fill lines.
#### 🚩 Flags (3D)
Show Flag on Summit: A master switch to show or hide the flag and emblem entirely.
Flag height, width, etc.: Provides full control over the dimensions and orientation of the flag on the highest peak.
#### 🎨 Color Palette
Base Gradient Palette: Choose from 13 stunning, pre-designed color themes for the landscape, from the classic SUNSET_WAVE to vibrant themes like NEON_DREAM and OCEANIC .
#### 🛡️ Emblem / Badge Controls
This section gives you granular control over every element of the custom emblem on the flag. Tweak rotation, offsets, and scale to design your unique logo.
---
👨💻 Developer's Corner: Modifying the Core Logic
If you're a developer and wish to customize the indicator's core data source, this section is for you. The script is designed to be modular, making it easy to change what data is being ranked and visualized.
The heart of the data retrieval and ranking logic is within the f_getSortedCryptoData() function. Here’s how you can modify it:
1. Changing the Data Source (from Market Cap to something else):
The current logic uses request.security("CRYPTOCAP:" + syms.get(i), ...) to fetch market capitalization data. To change this, you need to modify this line.
Example: Ranking by RSI (14) on the Daily timeframe.
First, you'll need a function to calculate RSI. Add this function to the script:
f_getRSI(symbol, timeframe, length) =>
request.security(symbol, timeframe, ta.rsi(close, length))
Then, inside f_getSortedCryptoData() , find the `for` loop that populates the `caps` array and replace the `request.security` call:
// OLD LINE:
// caps.set(i, request.security("CRYPTOCAP:" + syms.get(i), timeframe.period, close))
// NEW LINE for RSI:
// Note: You'll need to decide how to format the symbol name (e.g., "BINANCE:" + syms.get(i) + "USDT")
caps.set(i, f_getRSI("BINANCE:" + syms.get(i) + "USDT", "D", 14))
2. Changing the Data Formatting:
The ranking values are formatted for display using the f_fmtCap() function, which currently formats large numbers into "M" (millions), "B" (billions), etc.
If you change the data source to something like RSI, you'll want to change the formatting. You can modify f_fmtCap() or create a new formatting function.
Example: Formatting for RSI.
// Modify f_fmtCap or create f_fmtRSI
f_fmtRSI(float v) =>
str.tostring(v, "#.##") // Simply format to two decimal places
Remember to update the calls to this function in the main drawing loop where the labels are created (e.g., str.format("{0}: {1}", crypto.symbol, f_fmtCap(crypto.cap)) ).
By modifying these key functions ( f_getSortedCryptoData and f_fmtCap ), you can adapt the Market Cap Landscape 3D to visualize and rank almost any dataset you can imagine, from technical indicators to fundamental data.
---
We hope you enjoy using the Market Cap Landscape 3D as much as we enjoyed creating it. Happy charting! ✨
Sunmool's Silver Bullet Model FinderICT Silver Bullet Model Indicator - Complete Guide
📈 Overview
The ICT Silver Bullet Model indicator is a supplementary tool for utilizing ICT's (Inner Circle Trader) market structure analysis techniques. This indicator detects institutional liquidity hunting patterns and automatically identifies structural levels, helping traders analyze market structure more effectively.
🎯 Core Features
1. Structural Level Identification
STL (Short Term Low): Recent support levels formed in the short term
STH (Short Term High): Recent resistance levels formed in the short term
ITL (Intermediate Term Low): Stronger support levels with more significance
ITH (Intermediate Term High): Stronger resistance levels with more significance
2. Kill Zone Time Display
London Kill Zone: 02:00-05:00 (default)
New York Kill Zone: 08:30-11:00 (default)
These are the most active trading hours for institutional players where significant price movements occur
3. Smart Sweep Detection
Bear Sweep (🔻): Pattern where price sweeps below lows then recovers - Simply indicates sweep occurrence
Bull Sweep (🔺): Pattern where price sweeps above highs then declines - Simply indicates sweep occurrence
Important: Sweep labels only mark liquidity hunting locations, not directional bias.
🔧 Configuration Parameters
Basic Settings
Sweep Detection Lookback: Number of candles for sweep detection (default: 20)
Structure Point Lookback: Number of candles for structural point detection (default: 10)
Sweep Threshold: Percentage threshold for sweep validation (default: 0.1%)
Time Settings
London Kill Zone: Active hours for London session
New York Kill Zone: Active hours for New York session
Visualization Settings
Customizable colors for each level type
Enable/disable alert notifications
📊 How to Use
1. Chart Setup
Most effective on 1-minute to 1-hour timeframes
Recommended for major currency pairs (EUR/USD, GBP/USD, etc.)
Also applicable to cryptocurrencies and indices
2. Signal Interpretation
🔻 Bear Sweep / 🔺 Bull Sweep Labels
Simply indicate liquidity hunting occurrence points
Not directional bias indicators
Reference for understanding overall context on HTF
🟢 Silver Bullet Long (Huge Green Triangle)
After Bear Sweep occurrence
Within Kill Zone timeframe
Current price positioned above swept level
→ Actual BUY entry signal
🔴 Silver Bullet Short (Huge Red Triangle)
After Bull Sweep occurrence
Within Kill Zone timeframe
Current price positioned below swept level
→ Actual SELL entry signal
3. Risk Management
Use swept levels as stop-loss reference points
Approach signals outside Kill Zone hours with caution
Recommended to use alongside other technical analysis tools
💡 Trading Strategies
Silver Bullet Strategy
Preparation Phase: Monitor charts 30 minutes before Kill Zone
Sweep Observation: Identify liquidity hunting points with 🔻🔺 labels (reference only)
Entry: Enter ONLY when huge triangle Silver Bullet signal appears within Kill Zone
Take Profit: Target opposite structural level or 1:2 reward ratio
Stop Loss: Beyond the swept level
Important: Small sweep labels are NOT trading signals!
Multi-Timeframe Approach
Step 1: HTF (Higher Time Frame) Sweep Reference
Observe 🔻🔺 sweep labels on 4-hour and daily charts
Reference only sweeps occurring at major structural levels
HTF sweeps are used to identify liquidity hunting points
Reference only, not for directional bias
Step 2: Transition to LTF (Lower Time Frame)
Move to 15-minute, 5-minute, and 1-minute charts
Analyze LTF with reference to HTF sweep information
Use STL, STH, ITL, ITH for precise entry point identification
Structural levels on LTF are the core of actual trading decisions
Only huge triangle (Silver Bullet) signals are actual entry signals
Recommended Usage
Identify overall sweep occurrence points on HTF (🔻🔺 labels)
Use this indicator on LTF to identify structural levels
Reference only huge triangle signals for actual trading during Kill Zone
Small sweep labels (🔻🔺) are for reference only, not entry signals
📋 Information Table Interpretation
Real-time information in the top-right table:
Kill Zone Status: Current active session status
Level Counts: Number of each structural level type
⚠️ Important Disclaimers
Backtesting results do not guarantee future performance
Exercise caution during high market volatility periods
Always apply proper risk management
Recommend comprehensive analysis with other analytical tools
🎓 Learning Resources
Study original ICT concepts through free YouTube educational content
Research Market Structure analysis techniques
Optimize through backtesting for personal use
🔬 Technical Implementation
Algorithm Logic
Pivot Point Detection: Uses TradingView's built-in pivot functions to identify swing highs and lows
Classification System: Automatically categorizes levels based on recent price action frequency
Sweep Validation: Confirms legitimate sweeps through price action analysis
Time-Based Filtering: Prioritizes signals during institutional active hours
Performance Optimization
Efficient array management prevents memory overflow
Dynamic level cleanup maintains chart clarity
Real-time calculation ensures minimal lag
🛠️ Customization Tips
Adjust lookback periods based on market volatility
Modify kill zone times for different market sessions
Experiment with sweep threshold for different instruments
Color-code levels according to personal preference
📈 Expected Outcomes
When properly implemented, this indicator can help traders:
Identify high-probability reversal points
Time entries with institutional flow
Reduce false signals through kill zone filtering
Improve risk-to-reward ratios
This indicator automates ICT's concepts into a user-friendly tool that can be enhanced through continuous learning and practical application. Success depends on understanding the underlying market structure principles and combining them with proper risk management techniques.
PDH/PDL Breakout—Anchored Ghost Targets + (Truth Table)What this does (integrated purpose—not a mashup):
This tool implements a “prove-it” breakout framework around prior-day levels. It (1) anchors Previous Day High/Low (PDH/PDL) to RTH, (2) reveals anchored ghost targets only after price proves itself beyond PDH/PDL, and (3) confirms direction using a 3-consecutive-closes rule. A compact Truth Table summarizes regime: Control Line, PDH/PDL position, and a microstructure-based composite trend score. Everything is designed to work together to filter fake breaks and provide objective upside/downside targets.
How it works (math/logic in plain English):
Prior-day levels (no repaint):
Pulls High, Low, Close of the previous day and extends PDH/PDL through today’s RTH session. (Daily values are read from the prior bar so signals don’t look ahead.)
Session scoping:
RTH is 09:30–16:00 ET. The script resets at 09:30, pre-creates all lines to the 16:00 session end, and confines triggers to RTH context.
Ghost target packs (original piece):
Compute classic pivot set from prior day:
P = (H+L+C) / 3, R1 = 2P − L, S1 = 2P−H
Create one full range-shift above and below the prior day:
range=H−L.
Add Fib overlays (0.382) around P/R1/S1 to form the pack.
Anchoring rule: packs are shifted so the upper pack never dips below PDH and the lower pack never rises above PDL. This prevents visual crossing with PDH/PDL and keeps targets clean after a confirmed break. Packs stay hidden until price proves itself (see next point).
Directional “prove-it” trigger:
You only get a signal after an actual cross of PDH/PDL followed by N consecutive RTH closes beyond that level (default 3; user input).
• Long: crossover above PDH → then 3 closes > PDH → one-bar pulse + optional alert.
• Short: crossunder below PDL → then 3 closes < PDL → one-bar pulse + optional alert.
After the first qualified trigger each session, bars beyond the level get a subtle Neo candle style so breakouts are visually distinct.
Truth Table (integration, not decoration):
Control Line = a smoothed multi-EMA control band (we expose a single “control line” derived from it),
PDH/PDL position (above, below, or inside),
Composite Trend = non-lag microstructure score combining: close-location value, thrust, wick imbalance, range-expansion direction, and HH/HL vs LL/LH structure (all summed over a short causal window).
Header colors use majority vote across those three rows so you see regime at a glance. This is used to interpret breaks and avoid chasing noise.
How to use it (practical workflow):
On equities during RTH, watch PDH/PDL.
When a break occurs, wait for the 3-close confirmation—that’s your “prove-it” trigger.
Upon trigger, the corresponding ghost pack becomes visible and provides objective intraday targets (pack lines + dashed Fib lines).
Use the Truth Table to sanity-check regime (e.g., bullish majority + PDH break = higher-confidence continuation).
Inputs & alerts:
Consecutive closes required (default 3).
Show Truth Table (on/off).
EMA ribbon/control line (on/off).
Alerts: “Bullish Trigger” and “Bearish Trigger” fire on the one-bar pulses right when confirmation completes.
Notes & limitations:
Designed for stocks using 09:30–16:00 ET. On 24/7 markets (e.g., crypto) RTH logic isn’t applicable.
Prior-day values are fixed from the daily timeframe, so the logic does not repaint.
The “Neo” candle styling is post-trigger only to keep earlier bars clean.
Why this is original/useful:
This is a single, integrated framework: anchored ghost targets (with a non-crossing constraint), prove-it confirmation (3-close rule), and a non-lag composite microstructure score summarized in a Truth Table. The components are purpose-built to work together to reduce false breakouts and supply clean, objective targets after confirmation—this is not a cosmetic mashup.
Educational note: Not financial advice. Test before use.
ICT OTE (Optimal Trade Entry) IndicatorWhat This Indicator Does:
This is an ultra-clean ICT (Inner Circle Trader) indicator that shows only ONE high-probability signal at a time when multiple confluences perfectly align. It eliminates chart clutter and focuses on the absolute best trading opportunities.
How It Takes Positions:
🔍 Signal Requirements (ALL Must Align):
Market Structure Break - Significant swing high/low break with volume confirmation
Fair Value Gap (FVG) - Large price imbalance/gap (minimum 0.5% size)
Order Block - Institutional supply/demand zone from recent rejection candle
OTE Sweet Spot - Price retraces to 70.5% Fibonacci level (optimal entry zone)
Volume Confirmation - 50% above 50-bar average volume
Rejection Candle - Proper candle formation showing rejection at the level
📊 Position Entry Logic:
BUY Signal Triggers When:
Price breaks above a significant swing high (bullish structure break)
Price retraces back down into a Fair Value Gap or Order Block
Retracement reaches exactly the 70.5% optimal level
Volume spike confirms institutional interest
Rejection candle forms (closes higher than it opened during retracement)
No other signal has been active in the last 50 bars (cooldown system)
SELL Signal Triggers When:
Price breaks below a significant swing low (bearish structure break)
Price retraces back up into a Fair Value Gap or Order Block
Retracement reaches exactly the 70.5% optimal level
Volume spike confirms institutional interest
Rejection candle forms (closes lower than it opened during retracement)
No other signal has been active in the last 50 bars (cooldown system)
⚡ Key Features:
Ultra-Strict Filtering: Only 2-4 signals per month on average (quality over quantity)
One Signal Rule: Only one active signal at a time - no confusion
50-Bar Cooldown: Prevents signal spam and overtrading
Perfect Confluence: Requires 3+ ICT concepts to align simultaneously
Clean Chart: No boxes, lines, or visual clutter - just clear BUY/SELL labels
🎯 Trading Strategy:
Wait for Signal: Large BUY or SELL label appears on chart
Entry: Enter immediately when signal appears (all confluences already confirmed)
Stop Loss: Place beyond the Fair Value Gap or Order Block (typically 1-2% risk)
Take Profit: Target previous swing high/low or major liquidity levels
Risk Management: Only trade when signal appears - no guessing or early entries
💡 Why It Works:
This indicator combines ICT's most powerful concepts (market structure, FVGs, order blocks, optimal retracements) into one confluence-based system. It only signals when institutional money is likely moving, giving you the highest probability entries with minimal noise.
Perfect for: Swing traders, day traders, and anyone wanting clean, high-probability ICT signals without chart clutter.