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 (
Educational
Session Based Liquidity# Session Based Liquidity Indicator - Educational Open Source
## 📊 Overview
The Session Based Liquidity indicator is a comprehensive educational tool designed to help traders understand and visualize liquidity concepts across major trading sessions. This indicator identifies Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL) levels created during Asia, London, and New York trading sessions, providing insights into institutional order flow and potential market reversal zones.
## 🎯 Key Features
### 📈 Multi-Session Tracking
- **Asia Session**: Tokyo/Sydney overlap (20:00-02:00 EST)
- **London Session**: European markets (03:00-07:30 EST)
- **New York Session**: US markets (09:30-16:00 EST)
- Individual session toggle controls for focused analysis
### 💧 Liquidity Level Detection
- **Buy-Side Liquidity (BSL)**: Identifies stop losses above swing highs where short positions get stopped out
- **Sell-Side Liquidity (SSL)**: Identifies stop losses below swing lows where long positions get stopped out
- Advanced filtering algorithm to identify only significant liquidity zones
- Configurable pivot strength for sensitivity adjustment
### 🎨 Visual Management System
- **Unclaimed Levels**: Active liquidity zones that haven't been hit (default: black lines)
- **Claimed Levels**: Swept liquidity zones showing historical interaction (default: red lines)
- Customizable line styles, colors, and widths for both states
- Dynamic label system showing session origin and level significance
- Real-time line extension and label positioning
### ⚙️ Advanced Configuration
- **Pivot Strength**: Adjust sensitivity (1-20) for liquidity detection
- **Max Levels Per Side**: Control number of tracked levels (1-10) per session
- **Label Offset**: Customize label positioning
- **Style Customization**: Full control over visual appearance
## 📚 Educational Value
### Core Concepts Explained
- **Liquidity Pools**: Areas where stop losses and pending orders cluster
- **Liquidity Sweeps**: When price moves through levels to trigger stops, then reverses
- **Session-Based Analysis**: How different market sessions create distinct liquidity characteristics
- **Institutional Order Flow**: Understanding how large players interact with retail liquidity
### Trading Applications
- Identify high-probability reversal zones after liquidity sweeps
- Understand where stop losses are likely clustered
- Avoid trading into obvious liquidity traps
- Use session context for timing entries and exits
- Recognize institutional accumulation and distribution patterns
### Code Learning Opportunities
- **Pine Script v6 Best Practices**: Modern syntax and efficient coding patterns
- **Object-Oriented Design**: Custom types and methods for clean code organization
- **Array Management**: Dynamic data structure handling for performance
- **Visual Programming**: Line, label, and styling management
- **Session Detection**: Time-based filtering and timezone handling
## 🔧 Technical Implementation
### Performance Optimized
- Efficient memory management with automatic cleanup
- Limited historical level tracking to maintain responsiveness
- Optimized array operations for smooth real-time updates
- Smart filtering to reduce noise and focus on significant levels
### Code Architecture
- **Modular Design**: Clean separation of concerns with dedicated methods
- **Type Safety**: Custom SessionLiquidity type for organized data management
- **Extensible Structure**: Easy to modify and enhance for specific needs
- **Educational Comments**: Comprehensive documentation throughout
## 💡 Usage Guide
### Basic Setup
1. Add indicator to chart
2. Configure session times for your timezone
3. Adjust pivot strength based on timeframe (higher for lower timeframes)
4. Enable/disable sessions based on your trading focus
### Interpretation
- **Unclaimed levels**: Watch for price interaction and potential reversals
- **Claimed levels**: Use as potential support/resistance after sweep
- **External levels**: Beyond session range, higher significance
- **Internal levels**: Within session range, may indicate ranging conditions
### Best Practices
- Use higher timeframes (15m+) for cleaner signals
- Combine with price action analysis for confirmation
- Consider session overlap periods for increased significance
- Monitor multiple sessions for comprehensive market view
## 🎓 Educational Goals
This open-source project aims to:
- Demystify liquidity concepts for retail traders
- Provide practical coding examples in Pine Script v6
- Encourage understanding of institutional trading behavior
- Foster community learning and collaboration
- Bridge the gap between theory and practical application
## 📄 License & Usage
Released under Mozilla Public License 2.0 - free for educational and commercial use with proper attribution.
## 🤝 Contributing
As an open-source educational tool, contributions are welcome! Whether it's bug fixes, feature enhancements, or educational improvements, your input helps the trading community learn and grow.
## ⚠️ Disclaimer
This indicator is for educational purposes only. All trading involves risk, and past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.
---
*By studying and using this indicator, traders can develop a deeper understanding of market microstructure and improve their ability to read institutional order flow patterns.*
TCLC - Multi TimeFrame VWAPVWAP :
VWAP, or Volume Weighted Average Price, is a trading indicator that represents the average price of a security over a specific period, weighted by the volume of trades at each price level. It is calculated by taking the sum of the product of price and volume and dividing it by the total volume for the period. Essentially, VWAP shows the average price at which most trades occurred, giving more weight to prices with higher trading volumes.
The Indicator Plots the VWAP in Daily, WEEKLY , MONTHLY , YEARLY which helps to gauage the trend where the Volume vs Price exists....
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.
OSOK KatxumotoThe OSOK Dynamic Box Enhanced is designed for scalpers and traders using the OSOK (One Shot, One Kill) method on futures like the NQ.
Features include:
A midline that dynamically follows the current price in real-time.
Upper (LS) and lower (LI) protection lines at configurable distances from the current price, representing stop or protection levels.
Target lines offset from LS and LI according to your risk/reward strategy, also fully configurable.
Customizable colors and thickness for all lines, allowing you to adapt the visualization to your trading style.
All lines automatically extend to the right from the current price, keeping the chart clean without accumulating old lines.
This indicator helps traders quickly visualize key levels, manage risk, and set objectives efficiently—perfect for scalping and high-precision setups.
Configurable parameters:
Protection distance (LS/LI) in points
Target distance from LS/LI in points
Line colors and thickness
Line extension to the right
Previous Day OHLC Dashboard (Last N Days)Indicator: Previous Day OHLC Dashboard (Multi-Day)
This indicator displays a dashboard-style table on your chart that shows the Open, High, Low, and Close (OHLC) of the previous trading days. It’s designed to help traders quickly reference key daily levels that often act as important support and resistance zones.
🔑 Features:
Dashboard Table: Shows OHLC data for the last N trading days (default = 3, up to 10).
Customizable Appearance:
Change the position of the dashboard (Top-Right, Top-Left, Bottom-Right, Bottom-Left).
Adjust text size (Tiny → Huge).
Customize colors for header, labels, and each OHLC column.
Yesterday’s OHLC Lines (optional): Plots horizontal lines on the chart for the previous day’s Open, High, Low, and Close.
Intraday & Multi-Timeframe Compatible: Works on all timeframes below Daily — values update automatically from the daily chart.
📊 Use Cases:
Quickly identify yesterday’s key levels for intraday trading.
Track how current price reacts to previous day’s support/resistance.
Keep a multi-day reference for trend bias and range context.
⚙️ How it Works:
The indicator pulls daily OHLC values using request.security() with lookahead_on to ensure prior day’s values are extended across the next session.
These values are displayed in a compact table for quick reference.
Optionally, the most recent daily levels (D-1) are plotted as chart lines.
✅ Perfect for day traders, scalpers, and swing traders who rely on yesterday’s price action to plan today’s trades.
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.
Break Point Record Table — GSK-VIZAG-AP-INDIA "Break Point Record Table — GSK-VIZAG-AP-INDIA" indicator captures key break points during each trading session and presents a clear, color-coded table overlay on the chart for quick visual reference. Specifically, it logs sessions' open price and monitors subsequent price action for notable breaks in the session high or low prices. Each break event is recorded with the time, price, and percentage change from the previous break, helping traders identify significant price movements within the session at a glance.
Key Features:
Records the session start time and opening price for context.
Tracks every intraday break above the previous session high or below the previous session low.
Calculates and displays the percentage change at each break event.
Highlights breaks with descriptive text including break time and values to aid trade decision-making.
Displays a table with columns for Time, Open, High, Low, and a Description of the event.
Uses color-coded cells to differentiate between session start, highs, lows, and break descriptions for better readability.
Maintains performance and readability by limiting the table to the latest 30 break events.
Usage & Benefits:
This indicator is ideal for intraday traders who want reliable visual cues to monitor momentum shifts and breakout/breakdown points during the trading day. By capturing these break points as discrete events and organizing the data into an easily accessible, visually intuitive table, it improves situational awareness and supports timely trading decisions.
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.
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.
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.
Market Structure Protected Ranges (JAB)Draws what are considered strong zones based on Market Structure.
ICT Advanced Multi-Timeframe StrategyICT Advanced Multi-Timeframe Trading System
📊 Overview
This comprehensive Pine Script indicator implements the complete Inner Circle Trader (ICT) methodology for professional day trading and swing trading. Combining Fair Value Gaps, Order Blocks, Break of Structure analysis, and multi-timeframe trend confirmation with ADX, this tool provides institutional-grade market analysis for serious traders.
🎯 Key Features
Fair Value Gaps (FVG)
3-Candle Pattern Detection: Automatically identifies bullish and bearish Fair Value Gaps
Mitigation Tracking: Monitors when gaps get filled and changes visual appearance
ATR Filtering: Optional filter to eliminate noise using Average True Range
Visual Boxes: Color-coded FVG zones with customizable transparency and styles
Midline Support: Optional midlines for precise entry timing
Order Blocks (Institutional Zones)
Algorithmic Detection: Identifies institutional buying and selling zones
Visual Representation: Clear boxes marking significant price levels
Customizable Styling: Full control over colors, borders, and transparency
Multi-Timeframe Awareness: Works across all timeframes
Break of Structure (BOS)
Trend Change Detection: Identifies when market structure shifts
Change of Character (CHoCH): Detects momentum changes
Visual Labels: Clear BOS arrows with customizable appearance
Swing Analysis: Uses pivot points for accurate structure identification
Multi-Timeframe Analysis
ADX Trend Confirmation: Current timeframe + higher timeframe ADX analysis
Signal Alignment: Only fires signals when multiple timeframes agree
Weekly & 4HR Context: Previous candle boxes for higher timeframe structure
Dynamic Updates: Boxes automatically update as new candles form
Premium/Discount Zones
Institutional Price Levels: Identifies where smart money operates
Equilibrium Line: Central balance point for market structure
Color-Coded Zones: Visual representation of premium (sell) and discount (buy) areas
Range Analysis: Shows current price position relative to key levels
Central Pivot Range (CPR) Analysis
Range Classification: Identifies NARROW, NORMAL, or BROAD market conditions
Volatility Context: Helps adapt trading strategy to current market state
Visual Indicators: Color-coded range display with customizable thresholds
Percentage-Based: Universal application across all markets and timeframes
Previous Candle Boxes
4HR Candle Box: Yellow dotted box showing previous 4-hour candle range
Weekly Candle Box: Green dotted box displaying previous weekly candle range
Dynamic Updates: Automatically repositions as new candles complete
Reference Levels: Key support/resistance from higher timeframes
⚙️ Customization Options
Complete Visual Control
Colors: Individual color settings for every visual element
Transparency: Adjustable transparency for all boxes and fills
Line Styles: Solid, dashed, or dotted options for borders and lines
Line Widths: Customizable thickness for all visual elements
Label Sizes: Tiny to Large sizing options for all text elements
Information Table
Comprehensive Metrics: Real-time display of all key indicators
Positioning: 6 different table positions to suit your layout
Transparency Control: Adjustable background and header transparency
Color Customization: Full control over table appearance
Toggle Display: Show/hide table as needed
Alert System
FVG Alerts: New Fair Value Gap formations
Order Block Alerts: Institutional zone creation
BOS Alerts: Structure breaks and trend changes
Multi-Timeframe Signals: Strong buy/sell confirmations
Zone Alerts: Entry into premium/discount areas
📈 How to Use
For Day Traders
Enable Kill Zones: Focus on London (3-4 AM), NY AM (10-11 AM), NY PM (2-3 PM)
Watch FVG Formation: Look for gaps during high-impact news or market opens
Confirm with ADX: Ensure trend strength >25 on both current and higher timeframes
Trade Premium/Discount: Buy in discount zones, sell in premium zones
Use CPR Analysis: Adapt strategy based on range conditions
For Swing Traders
Focus on Higher Timeframes: Use 4HR and Weekly candle boxes for context
Order Block Priority: Trade from significant institutional zones
Structure Breaks: Enter positions after confirmed BOS signals
Multi-Timeframe Alignment: Wait for all timeframes to agree
Signal Interpretation
🔥 BUY Signals: Bullish FVG + ADX uptrend + discount zone + kill zone active
🔥 SELL Signals: Bearish FVG + ADX downtrend + premium zone + kill zone active
BOS Labels: Trend change confirmations for position adjustments
CPR Status: Market volatility context for strategy adaptation
🎓 Educational Value
This indicator serves as a comprehensive educational tool for learning ICT concepts:
Visual Learning: See ICT theory applied in real-time
Pattern Recognition: Develop skills in identifying institutional behavior
Risk Management: Understand proper entry and exit zones
Market Structure: Learn to read price action like institutions
⚡ Technical Specifications
Pine Script v6: Latest version for optimal performance
Multi-Timeframe: Seamlessly integrates multiple timeframe analysis
Resource Efficient: Optimized for maximum visual elements without lag
Universal Application: Works on all markets (Forex, Indices, Crypto, Stocks)
Real-Time Updates: Dynamic calculations and visual updates
📊 Performance Features
Maximum Elements: Supports 500 boxes, lines, and labels simultaneously
Memory Management: Automatic cleanup of old elements
Efficient Calculations: Optimized algorithms for smooth performance
Scalable Design: Works equally well on 1-minute to daily charts
🎯 Ideal For
ICT methodology students and practitioners
Day traders seeking institutional market insights
Swing traders needing multi-timeframe context
Professional traders requiring comprehensive market analysis
Anyone looking to understand smart money behavior
Disclaimer: This indicator is for educational purposes. Past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.
Support: For questions about ICT methodology, refer to Michael J. Huddleston's educational content. This indicator implements his concepts for practical trading application.
Relative Strength v4Relative Strength follow IDB and Mark Minervini
Thank Chat GPT 5 Help me to finish this indicator
Simple Trading Checklist This indicator provides a customizable on-chart checklist dashboard to help traders prepare, track routines, and stay disciplined. Add your own checklist items, mark their status with visual symbols, and keep your trading process structured directly on the chart.
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.
BTC Macro Composite Index -Offsettingthis is an indicator using Howell's Thesis of BTC moved by liquidity :
instead of using global M2, it composes :
Global Liquidity (41%) = USD-adjusted CB balance sheets (WALCL, EUCBBS, JPCBBS, CNCBBS)
Investor Risk Appetite (22%)=Copper/Gold ratio, inverted VIX (risk-on), HY vs IG OAS
Gold-related factors(15-20%)= XAUUSD + BTC/Gold ratio (Gold influence on Bitcoin)
All of it offset foward 90 days , and it does a better job on identifying where the btc price will be headed .....
Monday Supply/DemandThis indicator finds and marks Monday's range of Highs and Lows then proceeds to keep that range firm for the remainder of the week.
Monday's range high, low and midpoints are clearly labeled by red, green and white dotted lines respectively.
Within Monday's range it finds Monday's Supply/Demand Zones.
-Draws a green dotted line on the highest wick of the lowest Monday hourly candle and shades a green area from that price to Monday's low. This creates a demand zone.
-Draws a red dotted line on the lowest wick of the highest Monday hourly candle and shades a red area from that price of Monday's high. This creates a supply zone.
Monday's range continues to be indicated on the chart for the current week and the previous two weeks.
Good Luck On Your Trading Journey
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! ✨