Zone BUY - SELL JQ. (Zona compra venta)DESCRIPTION:
This indicator shows that if a red zone appears, it foretells a downward movement, and you should only consider selling while the red zone remains. Conversely, if a green zone appears, it foretells an upward movement, and you should only consider buying while the green zone remains.
TEMPO
korea time with 200 korea time
start time
08
09
17
18
23
00
This script makes it easier to look at the charts
The time automatically displays even if you don't bother to bring the mouse by hand
Now you can see the time intuitively
Run a very happy trading session
ICT Macro Tracker (xx:45-xx:15) (MTMGBS)Adjusted pinescript to reflect xx:45-xx:15 instead of the traditional xx:50-xx:15
True Previous Day/Week High & LowTrue Previous Day/Week High & Low
What makes this indicator unique:
Unlike most previous day high/low indicators that only track SESSION data (e.g., 6:00 PM - 5:00 PM for futures), this indicator calculates the TRUE calendar day high and low from MIDNIGHT TO MIDNIGHT (00:00 - 23:59) in New York time.
Why this matters:
- Session-based indicators miss crucial price action that occurs during overnight hours
- True midnight-to-midnight calculation gives you the ACTUAL daily range
- Essential for traders who need accurate previous day levels for support/resistance
- Works perfectly on 24-hour markets like futures (NQ, ES, YM, etc.)
Features:
✓ True calendar day high/low (00:00-23:59 NY time)
✓ Previous week high/low
✓ Customizable line colors, widths, and styles (solid, dashed, dotted)
✓ Optional labels with adjustable size, color, and spacing
✓ Values displayed on price scale
✓ Toggle individual levels on/off
✓ Optimized for 1-minute charts but works on all timeframes
Perfect for:
- Futures traders (NQ, ES, YM, RTY)
- Day traders using previous day levels as key support/resistance
- Swing traders tracking weekly ranges
- Anyone who needs accurate 24-hour high/low levels
Settings are clean and intuitive - just add to your chart and customize the appearance to match your setup!
Silver Bullet Zones - ICT Session Time MarkersOverview
Silver Bullet Zones is a precision time-zone indicator designed for traders using ICT (Inner Circle Trader) methodologies. This indicator automatically marks all critical trading session times on your chart, helping you identify high-probability trading windows and key market structure breakpoints.
What It Does
This indicator displays 13 pre-configured Silver Bullet zones across multiple trading sessions:
Asia Session (3 zones):
Asia Open (20:00 UTC)
Asia SB Line 1 (21:00 UTC)
Asia SB Line 2 (22:00 UTC)
London Session (3 zones):
London Open (03:00 UTC)
London SB Line 1 (03:10 UTC)
London SB Line 2 (04:00 UTC)
NYC Session (7 zones):
NYC AM Open (09:30 UTC)
NYC AM SB Line 1 (10:00 UTC)
NYC AM SB Line 2 (11:00 UTC)
NYC PM SB Line 1 (13:30 UTC)
NYC PM SB Line 2 (15:00 UTC)
NYC Final Line 1 (15:15 UTC)
NYC Final Line 2 (16:00 UTC)
Key Features
✅ 13 Pre-Configured Silver Bullet Zones - All major session times automatically marked
✅ 6 Customizable Extra Lines - Add your own time zones with enable/disable checkboxes
✅ Adjustable Line Width - Control thickness from 1-5 pixels for better visibility
✅ Clean Chart Display - Thin vertical lines that don't interfere with price action
✅ Fully Customizable Colors - Adjust colors for each zone to match your trading style
How to Use
Identify Session Breaks - Watch for price action reversals at Silver Bullet times, which often signal market structure shifts
Confluence Zones - Combine with support/resistance levels at these times for high-probability entries
Scalping Windows - Perfect for identifying optimal scalping timeframes during each session opening
Multi-Timeframe Analysis - Use across multiple charts to find overlapping session times for stronger signals
Custom Sessions - Enable the 6 custom lines to add your own important time zones (Asian closures, news times, etc.)
Settings Explained
Line Width: Adjust from 1-5 to make zones more or less prominent
Enable Custom Lines 1-6: Toggle each custom line on/off as needed
Custom Time: Set any time between 0.00-23.99 (24-hour format)
Custom Color: Choose your preferred color for each zone
Best Practices
Use on intraday timeframes (5m, 15m, 1h) for best results
Combine with candlestick pattern recognition and price action analysis
Watch for breakouts and breakdowns at open times
Use Fair Value Gaps (FVG) detection with these zones
Perfect complement to market structure analysis
Recommended Usage
Forex traders: Track all major session openings
Gold/Commodities traders: Identify key supply/demand zones
Cryptocurrency traders: Mark 24/7 market structure times
Day traders: Optimize scalping windows across sessions
HTF Session Boxes H4 > H2 > H1HTF Session Boxes H4 > H2 > H1
Visualize higher timeframe candle structures on lower timeframe charts with nested, customizable boxes.
Overview
HTF Session Boxes plots 4-hour, 2-hour, and 1-hour candle ranges as nested boxes directly on your lower timeframe charts (15M and below). This provides instant visual context of higher timeframe structure without switching between different chart timeframes.
Key Features
- Three Timeframe Levels: Simultaneously displays 4H, 2H, and 1H candle boxes
- Nested Design: Boxes are layered inside each other for clear hierarchical structure
- Real-Time Updates: Boxes dynamically adjust as higher timeframe candles develop
Fully Customizable:
-Individual colors and transparency for each timeframe
-Custom border colors, widths, and styles (solid, dashed, dotted)
-Toggle each timeframe on/off independently
Best Use Cases
-Scalping & Day Trading: Maintain awareness of higher timeframe structure while trading lower
timeframes
-Session Analysis: Clearly see 4H session boundaries and internal 2H/1H divisions
-Support/Resistance: Identify key levels where higher timeframe candles open, close, or create
highs/lows
-Multi-Timeframe Confluence: Spot when multiple timeframes align at key price levels
369 Swing Points369 Swing Points - Digital Root Time Analysis
This indicator combines swing point detection with digital root numerology applied to intraday timestamps, filtering for times that reduce to 3, 6, or 9.
Methodology:
The script uses pivot point detection to identify swing highs and lows, then calculates the digital root of the bar's timestamp. Digital root is calculated by recursively summing the digits of a number until a single digit remains (e.g., 13:45 = 1345 → 1+3+4+5 = 13 → 1+3 = 4). Only swing points occurring at times with digital roots of 3, 6, or 9 are displayed.
What Makes This Unique:
Unlike standard swing point indicators, this filters results based on time-based numerology. The multiple calculation modes allow testing different hypotheses: whether the full timestamp (HHMM), just the minutes (MM), or either produces significant patterns. This is particularly useful for traders exploring intraday cyclical patterns or time-based market theories, especially popular in swing trading communities that follow specific time cycles.
How It Works:
Detects swing highs/lows using configurable lookback periods
Extracts the timestamp from each swing point bar
Calculates digital root using selected time mode (Full Time, Minutes Only, or Both)
Displays only swings with DR of 3, 6, or 9
Includes timezone adjustment to match your local time
Optional real-time plotting to show potential swings before confirmation
Configuration:
Swing Length: Sensitivity of pivot detection (default: 2)
Digital Root Mode: Full Time (HHMM), Minutes Only (MM), or Both
Timezone Offset: Aligns displayed times with your chart's timezone
Label customization: Text size, color, spacing options
Real-time Plotting: Shows unconfirmed swings as they develop (with transparency)
Debug mode: View all swings with their digital roots for analysis
Usage:
Works on all intraday timeframes (1min to 4H). Adjust timezone offset to ensure accurate time display. Use debug mode to verify swing detection and see digital root calculations for all pivots. Enable "Highlight 369 Digital Root Bars" to see when current bar time has a 3/6/9 digital root.
Thiru Macro Time Cycles🎯 **Thiru Macro Time Cycles - Advanced Multi-Session Trading Time Visualization**
Professional-grade macro time cycle indicator that visualizes 10 critical trading sessions across London, NY AM, and NY PM periods with advanced timing analysis and customizable visualization.
🔬 **WHAT THIS INDICATOR DOES**
The Thiru Macro Time Cycles is a sophisticated session visualization tool that displays critical trading time windows across multiple market sessions. Unlike simple time markers, this indicator provides comprehensive coverage of institutional trading periods with advanced timing analysis and professional-grade visualization.
⚡ **UNIQUE METHODOLOGY & ALGORITHM**
🌟 **1. Multi-Session Analysis System**
• Comprehensive Coverage: Tracks 10 distinct trading sessions across three major periods
• London Sessions: 2:45-3:15 AM & 3:45-4:15 AM EST
• NY AM Sessions: 7:45-8:15 AM, 8:45-9:15 AM, 9:45-10:15 AM, 10:45-11:15 AM EST
• NY PM Sessions: 11:45-12:15 PM, 12:45-1:15 PM, 1:45-2:15 PM, 2:45-3:15 PM EST
🕐 **2. Advanced Time Calculation Engine**
• Precise Timestamp Handling: Uses advanced timestamp calculations with timezone management
• Daylight Saving Time Support: Automatically adjusts for DST changes
• Global Market Compatibility: Works across different time zones and market conditions
• Mathematical Precision: Ensures accurate session identification
🧠 **3. Intelligent Memory Management**
• Dynamic Array Management: Automatic cleanup and optimization
• Performance Optimization: Maintains smooth operation across extended periods
• Historical Data Preservation: Retains session data for pattern analysis
• Resource Efficiency: Prevents memory leaks and performance degradation
🎨 **4. Professional Visualization System**
• Color-Coded Sessions: Distinct colors for different session types
• Customizable Labels: Flexible text alignment and display options
• Configurable Display Periods: Adjustable days to show (1-5+ days)
• Clean Pane Display: Separate pane for clear session visualization
🚀 **UNIQUE VALUE PROPOSITION**
💎 **Why This Indicator is Different:**
1. 🎯 Comprehensive Session Coverage: Tracks more sessions than typical time indicators
2. ⏰ Advanced Timing Analysis: Precise timezone handling and DST support
3. 🎨 Professional Visualization: Clean, customizable display system
4. ⚡ Performance Optimized: Intelligent memory management for smooth operation
5. 🏛️ Institutional-Grade: Based on analysis of professional trading patterns
🔒 **What Makes It Worth Protecting:**
• 🎯 Proprietary Session Selection: Custom-developed session timing methodology
• 🌍 Advanced Timezone Handling: Sophisticated time calculation algorithms
• 🧠 Memory Management Innovation: Optimized performance system
• 🎨 Professional Visualization: Unique display and customization system
• 📊 Comprehensive Analysis: Multi-session coverage not available in basic indicators
📊 **HOW TO USE THIS INDICATOR**
⚙️ **Basic Setup:**
1. Apply to any timeframe (works on all timeframes)
2. Configure display settings (days to show, label preferences)
3. Customize colors for different session types
4. Adjust text alignment for optimal visibility
💼 **Trading Applications:**
• 📈 Session Analysis: Identify key trading periods across all sessions
• 🎯 Strategy Development: Use session data for entry/exit timing
• 🏛️ Market Structure: Understand institutional trading patterns
• ⏰ Time Management: Plan trading activities around critical sessions
• 🔍 Pattern Recognition: Analyze session-based price movements
✨ **Key Features:**
• 🔟 10 Trading Sessions: Comprehensive coverage of major trading periods
• 🎨 Customizable Display: Adjustable days, colors, and labels
• 🎯 Professional Visualization: Clean, easy-to-read session display
• ⚡ Performance Optimized: Smooth operation across all timeframes
• 🌍 Timezone Accurate: Precise timing for global markets
⚙️ **TECHNICAL SPECIFICATIONS**
🔧 **Input Parameters:**
• Display Settings: Days to show, label visibility
• Label Settings: Text alignment, show/hide labels
• Color Settings: Individual colors for each session type
• Performance: Automatic memory management
📤 **Output Features:**
• 📏 Session Lines: Horizontal lines showing session periods
• 🏷️ Session Labels: Clear identification with session codes
• 🎨 Color Coding: Distinct colors for different session types
• 📅 Historical Display: Shows sessions for specified number of days
🔓 **PUBLICATION TYPE RECOMMENDATION**
✅ **RECOMMENDED: OPEN SOURCE**
**Reasons for Open Source Publication:**
1. 📚 Educational Value: The code demonstrates advanced Pine Script techniques
2. 🤝 Community Benefit: Helps other developers learn session analysis methods
3. 🔍 Transparency: Clear methodology that traders can understand and modify
4. ⚙️ Simplicity: While well-coded, the core logic is straightforward
5. 🎓 Learning Tool: Excellent example of timezone handling and array management
❌ **Why NOT Protected/Invite-Only:**
• Core Logic is Standard: Session timing is based on established market hours
• Educational Nature: More valuable as a learning resource
• Community Contribution: Better suited for open-source sharing
• Modification Potential: Users can customize for their specific needs
👨💻 **AUTHOR INFORMATION**
👤 **Developer:** ThiruDinesh
📞 **Contact:** TradingView @ThiruDinesh
©️ **Copyright:** © 2025 ThiruDinesh - All Rights Reserved
⚠️ **IMPORTANT NOTICES**
• This indicator is protected by copyright and contains proprietary algorithms
• Unauthorized copying, distribution, or reverse engineering is prohibited
• This tool is designed for educational and informational purposes
• Past performance does not guarantee future results
• Free to use and modify for personal trading
🎯 **TARGET AUDIENCE**
• 👨💼 Traders: Seeking comprehensive session analysis tools
• 👨💻 Developers: Learning advanced Pine Script techniques
• 👨🏫 Educators: Teaching market session analysis
• 🔬 Researchers: Studying institutional trading patterns
• 🎓 Students: Understanding market timing concepts
📈 **BENEFITS FOR TRADERS**
• ⏰ Enhanced Timing: Better understanding of market session dynamics
• 🎯 Strategy Development: Use session data for trading strategies
• 👁️ Market Awareness: Clear visualization of trading opportunities
• 📚 Educational Value: Learn about institutional trading patterns
• 🔧 Customization: Adapt the indicator to specific trading needs
---
🎉 **Perfect for traders who want comprehensive session analysis with professional-grade visualization and educational value. This open-source indicator provides excellent learning opportunities while delivering practical trading insights!**
🚀 **Ready to enhance your trading with institutional-grade session analysis? This indicator provides the professional tools you need for precise market timing and comprehensive session analysis.**
Thiru TOI TrackerProfessional-grade Time-of-Interest (TOI) tracker that identifies critical trading windows using proprietary institutional flow analysis and dynamic line extension algorithms.
🎯 WHAT THIS INDICATOR DOES
The Thiru TOI Tracker is a sophisticated trading tool that identifies and visualizes critical Time-of-Interest (TOI) periods in the market. Unlike traditional time-based indicators that use static markers, this system employs proprietary algorithms to dynamically adapt to market conditions, providing institutional-grade timing analysis.
🔬 UNIQUE METHODOLOGY & ALGORITHM
1. Proprietary Time Window Detection - Multi-Session Analysis
2. Dynamic Line Extension Technology - Adaptive Support/Resistance
3. Advanced Memory Management - Intelligent Cleanup
4. Multi-Dimensional Visualization - Comprehensive Market Structure
🚀 UNIQUE VALUE PROPOSITION
- Dynamic vs Static: Adapts to market conditions
- Institutional Logic: Based on trading pattern analysis
- Multi-Session Correlation: Comprehensive analysis
- Advanced Performance: Optimized memory management
- Customizable Interface: Adapts to trading styles
📊 HOW TO USE
- Apply to 1m-15m timeframes for best results
- Configure session settings based on trading style
- Customize visual elements for chart clarity
- Use timeframe filter to prevent false signals
🔒 PROPRIETARY PROTECTION JUSTIFIED BY:
- Unique methodology based on institutional analysis
- Dynamic adaptation algorithms
- Performance innovation
- Extensive research investment
- Competitive advantages
Developer: ThiruDinesh | Contact: TradingView @ThiruDinesh
Copyright: © 2025 ThiruDinesh - All Rights Reserved
```
Thiru-Killzones"Thiru-Killzones - Enhanced FX Market Sessions Indicator
This is an enhanced version of the popular FX Market Sessions indicator with the following improvements:
🔧 ENHANCEMENTS:
• Added 5th Session support (NYPM - New York PM session)
• Removed all alert functionality for cleaner chart display
• Optimized plot usage to stay within TradingView's 64-plot limit
• Cleaned up UI by removing bullet point separators
• Enhanced session box styling and visibility
• Improved table display with proper row management
📊 FEATURES:
• 5 customizable trading sessions (Asia, London, NYAM, Lunch, NYPM)
• Session time zones and extensions
• Opening range detection
• Fibonacci level overlays
• Bar coloring options
• Analysis tables with session statistics
🎯 USAGE:
Perfect for identifying key market sessions and their impact on price action.
The 5-session setup provides comprehensive coverage of global FX markets.
Based on the original FX Market Sessions indicator by boitoki, enhanced with additional functionality."
Vault FX Time + Price Indicator v1Collection of tools for analysis:
- Midnight Open Horizontal Price Line
- 09:30 Open Horizontal Price Line
- Midnight and 09:30 Vertical Price Lines
- NWOG painter
- Asia Range Box
- Asia Range H/L lines (Lines extend until purged or 10:00 AM NY, whichever occurs first)
- Asia Range Standard Deviation Levels (Customizable)
- Day Separators
- PDH/PDL | PWH/PWL | PMH/PML Lines w/ Alerts
- First Presented FVG for NY-AM Session (1min Chart)
- Timeframe Specific Swing High/Low Sweeps w/ Alerts (Requires user setup)
Some features are still being tested, let me know if you find any bugs!
Smart Weekly Lines — Clean & Scroll-Proof (Pine v6)Because your chart deserves structure. Elegant weekly dividers that stay aligned, scroll smoothly, and project future weeks using your wished UTC offset.
Smart Weekly Lines draws precise, full-height vertical lines marking each new week — perfectly aligned to your local UTC offset. It stays clean, smooth, and consistent no matter how far you scroll.
Features
• Accurate weekly boundaries based on your local UTC offset (supports half-hour zones like India +5.5)
• Clean, full-height lines that never cut off with zoom or scroll
• Adjustable color, opacity, width, and style (solid, dashed, dotted)
• Future week projection for planning and alignment
• Optional visibility: show only on Daily and Intraday charts
Works with any market — stocks, crypto, forex, or futures.
Built for traders who value clarity, structure, and precision.
Developed collaboratively with the assistance of ChatGPT under my direction and testing.
Dubbsy's All Time High (D-ATH)Get's the all time high, aligns to price on the right side of the chart
Ichimoku PourSamadi Signal [TradingFinder] KijunSen Magic Number🔵 Introduction
The Ichimoku Kinko Hyo system is one of the most comprehensive market analysis tools ever created. Developed by Goichi Hosoda, a Japanese journalist in the 1930s, its purpose was to allow traders to recognize the balance between price, time, and momentum at a single glance. (In Japanese, Ichimoku literally means “one look.”)
At the core of the system lie five key components: Tenkan-sen (Conversion Line), Kijun-sen (Baseline), Chikou Span (Lagging Line), and the two leading spans, Senkou Span A and Senkou Span B, which together form the well-known Kumo or cloud representing both temporal structure and equilibrium zones in the market.
Although Ichimoku is commonly used to identify trends and support/resistance levels, a deeper layer of time philosophy exists within it. Ichimoku was not designed solely for price analysis but equally for time analysis.
In the classical model, the numerical cycles 9, 26, 52 reflect the natural rhythm of the market originally based on the Tokyo Stock Exchange’s trading schedule in the 1930s.
These values repeat across the system’s calculations, forming the foundation of Ichimoku’s time symmetry where price and time ultimately seek equilibrium.
In recent years, modern analysts have explored new approaches to extract time-based turning points from Ichimoku’s structure. One such approach is the analysis of flat segments on the Kijun-sen and Senkou B lines.
Whenever one of these lines remains flat for a period, it signals temporary balance between buyers and sellers; when the flat breaks, the market exits equilibrium and a new cycle begins.
This indicator is built precisely upon that philosophy. Following the timing methodology introduced by M.A. Poursamadi, the focus shifts away from price signals and line crossovers toward identifying flat periods on Kijun-sen (period 52) as time anchors.
From the first candle that changes the line’s slope, the tool begins a temporal count using a fixed sequence of key numbers: 5, 9, 13, 17, 26, 35, 43, 52, 63, 72, 81, 90.
Derived from both classical Ichimoku cycles and empirical testing, these numbers mark potential timing nodes where a market wave may end, a correction may begin, or a new leg may form.
Thus, this method serves not merely as another Ichimoku tool but as a temporal metronome for market structure a way to visualize moments when the market is ready to change rhythm, often before candles reveal it.
🔵 How to Use
The Kijun Timing BoX is built entirely on Ichimoku’s concept of time analysis.
Its core idea is that within every flat segment of the Kijun-sen, the market enters a temporary balance between opposing forces.
When that flat breaks, a new time cycle begins. From that first breakout candle, the indicator starts counting forward through the predefined time sequence(5, 9, 13, 17, 26, 35, 43, 52, 63, 72, 81, 90).
This counting framework creates a temporal map of market behavior, where each number represents an area where meaningful price fluctuations often occur.
A “meaningful fluctuation” does not necessarily imply reversal or continuation; rather, it marks a moment when the market’s internal energy balance shifts, typically visible as noticeable reactions on lower timeframes.
🟣 Identifying the Anchor Point
The first step is recognizing a valid flat zone on the Kijun-sen.
When this line remains flat for several candles and then changes slope, the indicator marks that bar as the Anchor, initiating the time count.
From that point onward, vertical gray lines appear at each interval in the key-number sequence, visualizing the time nodes ahead.
🟣 Reading the Timing Lines
Each numbered line represents a timing node a temporal point where a change in price rhythm is statistically more likely to occur.
At these nodes, the market may :
Enter a consolidation or minor correction phase.
Develop range-bound movement.
Or simply alter the speed and intensity of its move.
These behaviors do not imply a specific direction; they only highlight zones where time-based activity tends to cluster, giving traders a clearer view of cyclical rhythm.
🟣 Applying Time Analysis
The indicator’s primary use is to observe temporal order, not to predict price direction.
By tracking the distance between Anchors and the reactions that appear near major timing lines, traders can empirically identify each market’s characteristic rhythm—its own time DNA.
For example, one asset may consistently show significant fluctuations around the 13- and 26-bar marks,while another might react closer to 9 or 52. Recognizing such patterns helps traders understand how long typical cycles last before new phases of volatility emerge.
🟣 Combining with Other Tools
The indicator does not generate buy/sell signals on its own.
Its best use is in combination with price- or structure-based methods, to see whether meaningful price reactions occur around the same timing nodes.
In practice, it helps distinguish structured time-based fluctuations from random, noise-driven moves an insight often overlooked in conventional market analysis.
🔵 Settings
🟣 Logical Settings
KijunSen Period : Defines the baseline period used for timing analysis. Default = 52. It is the main line for detecting flats and generating time anchors.
Flat Event Filter : Controls how flat segments are validated before triggering a new timing event.
All : Every flat triggers a new Timing Box.
Automatic : Only flats longer than the historical average are used (recommended).
Custom : User manually defines the minimum flat length via Custom Count.
Update Timing Analysis BoX Per Event : If enabled, a new Timing Box is drawn each time a new flat event occurs. If disabled, the box completes its 90-bar window before refreshing.
🟣 Ichimoku Settings
TenkanSen Period : Defines the period for the Conversion Line (Tenkan-sen). Default = 9.
KijunSen Period : Sets the standard Ichimoku baseline (not the timing line). Default = 26.
Span B Period : Defines the period for Senkou Span B, the slower cloud boundary. Default = 52.
Shift Lines : Offsets cloud projection into the future. Default = 26.
🟣 Display Settings
Users can show or hide all Ichimoku lines Tenkan-sen, Kijun-sen, Chikou Span, Span A, and Span B as well as the Ichimoku Cloud.
They can also customize the color of each element to match personal chart preferences and improve visibility.
🔵 Conclusion
This analytical approach transforms Ichimoku’s time philosophy into a visual and measurable framework. A flat Kijun-sen represents a moment of market equilibrium; when its slope shifts, a new temporal cycle begins.
The purpose is not to forecast price direction but to highlight periods when meaningful fluctuations are more likely to develop.
Through this perspective, traders can observe the hidden rhythm of market time and expand their analysis beyond price into a broader time-cycle dimension.
Ultimately, the method revives Ichimoku’s original principle: the market can only be truly understood through the simultaneous harmony of price, time, and balance.
Bar Count Custom Start TimeThis simple bar count script lets you configure when you want to start your count in case you have the globex charts in use for your assets.
Example NYSE:
Set start hour to: 8
Set start minute to: 30
Example DAX:
Set start hour to: 2
Set start minute to: 0
The indicator is based on the "Bar Count" indicator from GYH9 - many thanks!
Can be found here:
New Candle Alert with Time WindowJust needed a way to specify a time window on a timeframe and get alerts for each new candle
Universal Breakout Strategy [KedArc Quant]Description:
A flexible breakout framework where you can test different logics (Prev Day, Bollinger, Volume, ATR, EMA Trend, RSI Confirm, Candle Confirm, Time Filter) under one system.
Choose your breakout mode, and the strategy will handle entries, exits, and optional risk management (ATR stops, take-profits, daily loss guard, cooldowns).
An on-chart info table shows live mode values (like Prev High/Low, Bollinger levels, RSI, etc.) plus P&L stats for quick analysis.
Use it to compare which breakout style works best on your instrument and timeframe, whether intraday, swing, or positional trading
🔑 Why it’s useful
* Flexibility: Switch between breakout strategies without loading different indicators.
* Clarity: On-chart info table displays current mode, relevant indicator levels, and live strategy P&L stats.
* Testing efficiency: Quickly A/B test different breakout styles under the same backtest environment.
* Transparency: Every trade is rule-based and displayed with entry/exit markers.
🚀 How it helps traders
* Lets you experiment with breakout strategies quickly without loading multiple scripts.
* Helps identify which breakout method fits your instrument & timeframe.
* Gives clear on-chart visual + statistical feedback for confident decision-making.
⚙️ Input Configuration
* Breakout Mode → choose which strategy to test:
* *Prev Day* → breakouts of yesterday’s High/Low.
* *Bollinger* → Upper/Lower BB pierce.
* *Volume* → Breakout confirmed with volume above average.
* *ATR Stop* → Wide range breakout using ATR filter.
* *Time Filter* → Breakouts inside defined session hours.
* *EMA Trend* → Breakouts only in EMA fast > slow alignment.
* *RSI Confirm* → Breakouts with RSI confirmation (e.g. >55 for longs).
* *Candle Confirm* → Breakouts validated by bullish/bearish candle.
* Lookback / ATR / Bollinger inputs → adjust sensitivity.
* Intrabar mode → option to evaluate breakouts using bar highs/lows instead of closes.
* Table options → show/hide info table, show/hide P&L stats, choose corner placement.
📈 Entry & Exit Logic
* Entry → occurs when breakout condition of chosen mode is met.
* Exit → default exits via opposite signals or optional stop/target if enabled.
* Session filter → optional auto-flat at session end.
* P&L management → optional daily loss guard, cooldown between trades, and ATR-based stop/take profit.
❓ FAQ — Choosing the best setup
Q: Which strategy should I use for which chart?
* *Prev Day Breakouts*: Best on indices, FX, and liquid futures with strong daily levels.
* *Bollinger*: Works well in range-bound environments, or crypto pairs with volatility compression.
* *Volume*: Good on equities where breakout strength is tied to volume spikes.
* *ATR Stop*: Suits volatile instruments (commodities, crypto).
* *EMA Trend*: Useful in trending markets (stocks, indices).
* *RSI Confirm*: Adds momentum filter, better for swing trades.
* *Candle Confirm*: Ideal for scalpers needing visual confirmation.
* *Time Filter*: For intraday traders who want signals only in high-liquidity sessions.
Q: What timeframe should I use?
* Intraday traders → 5m to 15m (Time Filter, Candle Confirm).
* Swing traders → 1H to 4H (EMA Trend, RSI Confirm, ATR Stop).
* Position traders → Daily (Prev Day, Bollinger).
* Breakout
A trade entry condition triggered when price crosses above a resistance level (for longs) or below a support level (for shorts).
* Prev Day High/Low
Formula:
Prev High = High of (Day )
Prev Low = Low of (Day )
* Bollinger Bands
Formula:
Basis = SMA(Close, Length)
Upper Band = Basis + (Multiplier × StdDev(Close, Length))
Lower Band = Basis – (Multiplier × StdDev(Close, Length))
* Volume Confirmation
A breakout is only valid if:
Volume > SMA(Volume, Length)
* ATR (Average True Range)
Measures volatility.
Formula:
ATR = SMA(True Range, Length)
where True Range = max(High–Low, |High–Close |, |Low–Close |)
* EMA (Exponential Moving Average)
Weighted moving average giving more weight to recent prices.
Formula:
EMA = (Price × α) + (EMA × (1–α))
with α = 2 / (Length + 1)
* RSI (Relative Strength Index)
Momentum oscillator scaled 0–100.
Formula:
RSI = 100 – (100 / (1 + RS))
where RS = Avg(Gain, Length) ÷ Avg(Loss, Length)
* Candle Confirmation
Bullish candle: Close > Open AND Close > Close
Bearish candle: Close < Open AND Close < Close
Win Rate (%)
Formula:
Win Rate = (Winning Trades ÷ Total Trades) × 100
* Average Trade P&L
Formula:
Avg Trade = Net Profit ÷ Total Trades
📊 Performance Notes
The Universal Breakout Strategy is designed as a framework rather than a single-asset optimized system. Results will vary depending on the chart, timeframe, and asset chosen.
On the current defaults (15-minute, INR-denominated example), the backtest produced 132 trades over the selected period. This provides a statistically sufficient sample size.
Win rate (~35%) is relatively low, but this is balanced by a positive reward-to-risk ratio (~1.8). In practice, a lower win rate with larger wins versus smaller losses is sustainable.
The average P&L per trade is close to breakeven under default settings. This is expected, as the strategy is not tuned for a single symbol but offered as a universal breakout framework.
Commissions (0.1%) and slippage (1 tick) are included in the simulation, ensuring realistic conditions.
Risk management is conservative, with order sizing set at 1 unit per trade. This avoids over-leveraging and keeps exposure well under the 5-10% equity risk guideline.
👉 Traders are encouraged to:
Experiment with inputs such as ATR period, breakout length, or Bollinger parameters.
Test across different timeframes and instruments (equities, futures, forex, crypto) to find optimal setups.
Combine with filters (trend direction, volatility regimes, or volume conditions) for further refinement.
⚠️ Disclaimer This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
3CRGANG - SESSIONSOverview
The "3CRGANG - SESSIONS" indicator is a comprehensive tool for visualizing and monitoring major global trading sessions on TradingView charts. It highlights sessions for key exchanges—New York (NYSE), London (LSE), Frankfurt (FSE), Sydney (ASX), Tokyo (TSE), and Hong Kong (HKSE)—with customizable alerts, background coloring on low timeframes, and an interactive dashboard table. Designed for traders who operate across timezones or need session-based context, it accounts for holidays, half-days, and daylight saving time (DST) adjustments to provide accurate, real-time session status. On charts of 1-minute or lower, it overlays semi-transparent background colors to mark active sessions visually. Across all timeframes, a compact table at the bottom center displays session cells with dynamic coloring, and hovering over each reveals a tooltip with the weekly schedule, time until open/close, and holiday notes.
Built on Pine Script v6, this overlay indicator enhances situational awareness for forex, stocks, futures, and other assets by syncing with exchange-specific calendars. Its invite-only status ensures access to refined features that go beyond standard session tools, making it ideal for multi-market strategies.
How It's Built: Core Concepts and Calculations
The indicator leverages a modular approach to session detection, drawing from time-based logic for precision. Sessions are defined by fixed start/end times in their native timezones (e.g., NYSE: 0930-1600 America/New_York), adjusted dynamically for DST via timezone-aware functions. Key components include:
Session Activation Checks: Using helper functions like f_isSessionActive, it evaluates if the current bar or real-time timestamp falls within session hours, excluding weekends. Time is broken into minutes since midnight for comparisons, with special handling for overnight sessions (though none here cross midnight significantly).
Holiday and Half-Day Integration: Pre-loaded holiday maps for each exchange detect full closures or early closes (e.g., NYSE half-days end at custom times like 1300). If a half-day is identified, session end times are overridden, and pre-close periods recalculated (e.g., 30/5 minutes before adjusted close).
Pre-Open/Pre-Close Detection: Sub-sessions (e.g., 30 minutes before open) use similar logic to flag impending events, triggering only on the first bar of these windows via f_SessionOpen and f_SessionClose for efficiency.
Timestamp Calculations: Functions like f_SessionTimes and f_SessionTimesForTooltip compute open/close timestamps from timenow, adjusting for next trading day if after close or on weekends/holidays. This ensures forward-looking accuracy in tooltips.
Alert System: Configurable per-session, it fires notifications for pre-open (30/5 min), open, pre-close (30/5 min), close, and holidays. Alerts use alert.freq_once_per_bar to avoid spam, gated by market open status.
Visual Dashboard: A 6-column table is drawn with table.new, positioned via input (default bottom-center). Cells update colors based on state: active (session color at 75% opacity), pre-active (yellow), or inactive (gray). Tooltips via f_getSessionTooltip compile weekly schedules using f_formatScheduleEntry, which converts session times to user timezone, formats dates (DD/MM), weekdays (padded for alignment), and notes holidays/early closes. Time remaining uses f_formatTimeRemainingtooltip for human-readable countdowns (e.g., "1h:30m").
Background Coloring: On ≤1m timeframes, bgcolor applies session-specific hues (e.g., green for NYSE) at 90-95% transparency, configurable via light/dark themes.
User Customization: Inputs handle timezone (90+ options with DST), time format (standard/military, though not fully implemented in script), device (adjusts text padding/sizes), and theme (swaps colors for readability).
This setup combines timestamp arithmetic, conditional mapping, and array-based date iteration to create a robust, adaptive system that respects global market nuances without relying on simplistic built-in session strings.
Why It's Useful
Trading sessions drive liquidity, volatility, and price action—e.g., London open often sparks trends in forex, while NYSE influences equities. This indicator demystifies these by providing at-a-glance visuals and alerts, reducing the need for manual timezone conversions or external calendars. Background colors on low TFs help spot session overlaps (e.g., London/NY for high volume), while the table's tooltips offer quick weekly overviews, ideal for planning around holidays like Lunar New Year (HKSE-specific additions). Alerts prevent missing key events, and holiday detection avoids false expectations during closures.
For global traders, it minimizes errors in multi-asset setups; scalpers benefit from pre-open warnings, while swing traders use schedules for longer-term context. Its non-intrusive design (transparent on higher TFs) keeps charts clean, enhancing overall workflow efficiency.
How to Use It
Add to Chart: Access via invite-only on TradingView; apply to any timeframe, best on intraday for backgrounds or any for the dashboard.
Configure Inputs:
Time Settings: Select your timezone (e.g., UTC+3 Jerusalem) for accurate tooltip conversions; choose time format (standard preferred for readability).
Visualization Setup: Pick device (Desktop/Tablet/Mobile) for optimized text sizing/padding; select Light/Dark theme to match your chart.
Sessions Dashboard: Adjust table position if needed (default bottom-center).
Notifications Settings: Toggle alerts per exchange (e.g., enable NYSE for US focus).
Trading Application:
Visual Cues: On ≤1m charts, watch for color changes to enter/exit during active sessions. Hover table cells for schedules—current day highlighted, future/past separated, holidays marked (*).
Alerts: Set up in TradingView's alert manager for "alert() function calls only" to get notifications like "New York Session is about to Open in less than 5 minutes!"
Strategies: Use pre-open for setups (e.g., range breaks), closes for profit-taking. Combine with volume indicators during overlaps.
Best Practices: Test on demo; adjust alerts to avoid overload. For non-realtime, tooltips use current date for projections.
Why It's Unique and Worth Invite-Only Access
Unlike basic session highlighters that use rigid time strings or ignore holidays, this indicator integrates a custom holiday library with half-day adjustments and additional events (e.g., Buddha's Birthday for HKSE), ensuring precision across exchanges. Its tooltip system—generating timezone-converted weekly schedules with day adjustments, countdowns, and holiday notes—provides unmatched planning utility, while adaptive visuals (device/theme-aware) and granular alerts (pre-events included) elevate it beyond public tools. The logic for timestamp forward-projection, weekend skipping, and formatted entries builds on but significantly enhances built-in functions and educational examples.
This originality—protecting the proprietary blend of global calendar handling, alert gating, and interactive dashboards—justifies closed-source status. As invite-only, it delivers premium value through reliable, low-maintenance features that free traders from external apps, warranting access for those seeking an edge in session-based trading. Contact via TradingView for support.
Disclaimer
This indicator is a tool for analyzing market sessions and does not guarantee success. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management.
Price Level HighlighterThis indicator is a minimalist and highly effective tool designed for traders who incorporate institutional concepts into their analysis. It automates the identification of key psychological price levels and adds a unique, dynamic layer of information to help you focus on the most relevant area of the market. Inspired by core principles of market structure and liquidity, it serves as a powerful visual guide for anticipating potential support and resistance.
The core idea is simple: specific price points, particularly those ending in round numbers or common increments, often act as magnets or barriers for price. While many indicators simply plot static lines, this tool goes further by intelligently highlighting the single most significant level in real-time. This dynamic feature allows you to quickly pinpoint where the market is currently engaged, offering a clear reference point for your trading decisions. It reduces chart clutter and enhances your focus on the immediate price action.
Features
Customizable Price Range: Easily define a specific Start Price and End Price to focus the indicator on the most relevant area of your chart, preventing unnecessary clutter.
Adjustable Increment: Change the interval of the lines to suit your trading style, from high-frequency increments (e.g., 10 points) for scalping to wider intervals (e.g., 50 or 100 points) for swing trading.
Intelligent Highlighting: A key feature that automatically identifies and highlights the single horizontal line closest to the current market price with a distinct color and thickness. This gives you an immediate visual cue for the most relevant price level.
Highly Customizabile: Adjust the line color, style, and width for both the main lines and the highlighted line to fit your personal chart aesthetic.
Usage
Apply the indicator to your chart.
In the settings, input your desired price range (Start Price and End Price) to match the market you are trading.
Set the Price Increment to your preferred density.
Monitor the chart for the highlighted line. This is your active price level and a key area of interest.
Combine this tool with other confirmation signals (e.g., order blocks, fair value gaps, liquidity pools) to build higher-probability trade setups.
Best Practices
Pairing: This tool is effective across all markets, including stocks, forex, indices, and crypto. It is particularly useful for volatile markets where price moves rapidly between psychological levels.
Mindful Analysis: Use the highlighted level as a reference point for your analysis, not as a standalone signal. A break above or below this level can signify a shift in market control.
Backtesting: Always backtest the indicator on your preferred market and timeframe to understand how it performs under different conditions.
Blitz Model
The Blitz indicator is a comprehensive market structure analysis tool designed specifically for the 4-hour timeframe. It identifies and visualizes key market movements including sweeps, fair value gaps (FVGs), and session-based liquidity levels.
1) Key Features :
A) Market Structure Analysis :
i) Sweep Detection: Identifies bullish and bearish sweeps of previous highs/lows.
ii) Double Purge Recognition: Detects when both bullish and bearish sweeps occur on the same candle.
iii) Fair Value Gap (FVG) Visualization: Displays imbalance zones with customizable box colors.
iV) Session-Based Analysis: Tracks Asian and London session highs/lows.
B) Multi-Timeframe Confirmations :
i) Layer 2 Validation System: Incorporates H1 and M15 timeframe confirmations.
ii) H1 Sweep Confirmations: Validates 4H signals with hourly sweep patterns.
iii) M15 Analysis: Includes both sweep and FVG confirmations from 15-minute timeframe.
C) Key Level Integration :
i) Daily 0.5 Level: Plots the midpoint of previous day's range with customizable styling.
ii) Session Liquidity: Identifies sweeps of Asian and London session extremes.
ii) FVG Interaction: Detects when sweeps occur near fair value gaps.
D) Customization Options :
i) Label Styling: Full control over label size, style, and colors for all signal types.
ii) Double Purge Customization: Separate styling options for double purge signals.
iii) Line Customization: Adjustable daily 0.5 line appearance (style, color, width).
iv) Display Controls: Toggle visibility for FVGs, labels, and confirmation history.
2) Technical Specifications
A) Timeframe Requirements :
i) Primary Timeframe: 4H only (indicator will show error on other timeframes).
ii) Multi-Timeframe Data: Analyzes H1 and M15 for confirmations.
iii) Session Times: Configurable start/end times.
B) Signal Validation Criteria :
Sweeps are validated when they occur at one or more of the following conditions:
i) FVG Zones: Price interaction with identified fair value gaps.
ii) Daily Midpoint: Proximity to the 50% level of previous day's range.
iii) Session Levels: Sweeps of Asian (19:00-01:00 NY) or London (02:00-05:00 NY) extremes.
C) Layer 2 Confirmation System :
i) H1 Confirmations (H1S): Sweep patterns on 1-hour charts within the 4H candle formation.
ii) M15 Sweep (M15S): 15-minute sweep confirmations.
iii) M15 FVG (M15F): 15-minute fair value gap formations.
3) Usage Guidelines :
A) Setup Instructions :
i) Apply to 4-hour charts only.
ii) Configure session times based on your analysis preferences.
iii) Customize label appearance and colors to match your chart theme.
iv) Enable/disable features based on your trading style.
B) Signal Interpretation :
i) Green Labels: Bullish sweeps with validation criteria met.
ii) Red Labels: Bearish sweeps with validation criteria met.
iii) Purple Labels: Double purge scenarios (both directions swept).
iv) Checkmark (✓): Indicates Layer 2 multi-timeframe confirmation present.
v) For double purge interpretations :
- Low & High means recent purge (just previous candle)
- Low & High means medium term purge (8H prior)
- Low & High means longer term purge (12H + prior)
4) Compatibility :
Max Objects: Supports up to 500 boxes and labels simultaneously.
5) Support & Updates :
This indicator represents educational concepts in market structure analysis. Users should thoroughly test and understand all signals before considering any practical application.
Disclaimer :
Always practice proper risk management. This is for educational purposes only and is not a financial advice.
Simple TPODisplays price distribution over time using Time Price Opportunities (TPO). Shows Point of Control (POC), Value Area High/Low (VAH/VAL) levels to identify key support/resistance zones and fair value areas. Includes customizable timeframes and price breakout alerts.
FX Sessions (DTS)FX Sessions (DST-Safe)
This indicator highlights the four main Forex trading sessions — Sydney, Tokyo, London, and New York — using the local timezone of each market.
• DST handled automatically: Sessions shift correctly when London or New York move clocks forward/back.
• Clear visualization: Light background shading for each session, with the London–New York overlap emphasized for peak liquidity.
• Customizable: Toggle individual sessions, labels, and the on-chart legend table.
• Intraday focus: Works best on lower timeframes (1m–1h) for identifying active trading hours and volatility windows.
Use this tool to instantly spot when liquidity and volatility are likely to increase, so you know where to focus your trading.
Astro ToolBox - CEAstro ToolBox - Community Edition
Welcome to the Astro ToolBox - Community Edition, a meticulously designed tool that brings precise planetary ephemeris data to the TradingView community. Inspired by W.D. Gann’s astrological principles, this feature-complete indicator empowers traders to integrate celestial data into their market analysis across equities, forex, commodities, and cryptocurrencies.
Overview
The Astro ToolBox - Community Edition delivers accurate ephemeris data, calculating the ecliptic longitude and latitude of celestial bodies for any selected date. Supporting the Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, and Pluto, this script offers both heliocentric and geocentric perspectives with high precision (within 1-2 arc seconds), it provides traders with a robust dataset for time-based analysis, enhancing Gann-inspired trading strategies.
Key Features
Comprehensive Planetary Data : Displays longitude and optional latitude for ten celestial bodies (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto) on user-specified dates.
Heliocentric and Geocentric Modes : Toggle between heliocentric and geocentric calculations (Pluto is heliocentric-only; Moon is geocentric-only).
Zodiac Sign Integration : Optionally display the astrological sign and degree for the selected planet’s longitude, enhancing astrological analysis.
Customizable Display Options : Enable/disable exact time display, longitude rounding, and latitude visibility for tailored data presentation.
Flexible Table Positioning : Choose from nine screen positions (e.g., Top Right, Bottom Center) to place the ephemeris table, with customizable colors for seamless chart integration.
High-Precision Calculations : Utilizes optimized algorithms to deliver near-real-time planetary positions without relying on external APIs.
How It Works
Select a Date : Choose the date for which you want to view planetary data using the input field.
Choose a Planet : Select from the Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, or Pluto.
Set Planetary Mode : Toggle between heliocentric or geocentric modes to align with your analysis approach.
Customize Output : Enable options like zodiac signs, sign degrees, latitude, or exact time, and adjust the table’s position and color.
View Results : The ephemeris data appears in a clear, customizable table on your chart, providing longitude, latitude (optional), and astrological sign details.
Analyze and Trade : Leverage the data to identify time-based turning points or correlations with price action, integrating Gann’s astrological principles into your strategy.
Get Started
As a gift to the TradingView community and Gann traders, the Astro ToolBox - Community Edition is offered free of charge. With no features locked, this tool provides full access to precise ephemeris data for astrological market analysis. Trade wisely and harness the power of celestial insights!






















