Time Ranges Asia SessionWe have some time ranges in the day that as the price go beyond high or low of them, it countinue. Thus the brekout strategies work well. In this indicator Asia the time ranges and the candle closes higher or lower of range with alert signal depicted. We could opt which timeframe to have the candle close and could add ATR filter to the candle for signals.
t.me
This is the telegram channel for more descriptions and uses of this indicator.
t.me
You could enjoy the topic "AI trading & Experts"
時間
Automatic Sound Alerts @ m5, m15, H1 & H4This indicator sends an alert of your choice every 5min, 15min, 1hr & 4hr.
To set up distinct sounds:
1, Add the indicator to your chart.
2. Open TradingView → Alerts → Create Alert.
3. Choose Condition → 4 Hour Alert Triggered → assign your preferred sound.
4. Repeat for 1h, 15m, 5m, and custom alerts. Each can have a different sound.
No chart markers appear — popup + sound only.
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.
Micro Time Windows by Bryan RamirezRed = ICT xx:50 - xx:10 macro
Blue = xx:20 - xx:40 macro
Green = Bryan Ramirez Outliers
Tuesday, August 29, 2023, is when I figured out why xx:20 - xx:40, xx:11 - xx:19, and
xx:41 - xx:49 are agorithmic time windows. These time windows are called cron jobs, which command the algorithm to do a specific task, like go to liquidity or inefficiency, based on time.
On my Discord, I'll share more on how it was that I figured that out, but the first clue God gave me was ICT's comment, " The first 10 minutes of the hour and last 10 minutes of the hour are a macro."
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.
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!
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.
20/40/60Displays three consecutive, connected range boxes showing high/low price ranges for customizable periods. Boxes are positioned seamlessly with shared boundaries for continuous price action visualization.
Features
Three Connected Boxes: Red (most recent), Orange (middle), Green (earliest) periods
Customizable Positioning: Set range length and starting offset from current bar
Individual Styling: Custom colors, transparency, and border width for each box
Display Controls: Toggle borders, fills, and line visibility
Use Cases
Range Analysis: Compare volatility across time periods, spot breakouts
Support/Resistance: Use box boundaries as potential S/R levels
Market Structure: Visualize recent price development and trend patterns
Key Settings
Range Length: Bars per box (default: 20)
Starting Offset: Bars back from current to position boxes (default: 0)
Style Options: Colors, borders, and visibility controls for each box
Perfect for traders analyzing consecutive price ranges and comparing current conditions to recent historical periods.
Sessions [New_ProfitEfex]This script is use for displaying session in a very attractive an clarity way
You can give it a try for free
ICT Midnight PDH PDLPara marcar rango Midnight to Midnight (NYMO).
También para marcar rangos horarios que tu quieras.
Time-Decaying Percentile Oscillator [BackQuant]Time-Decaying Percentile Oscillator
1. Big-picture idea
Traditional percentile or stochastic oscillators treat every bar in the look-back window as equally important. That is fine when markets are slow, but if volatility regime changes quickly yesterday’s print should matter more than last month’s. The Time-Decaying Percentile Oscillator attempts to fix that blind spot by assigning an adjustable weight to every past price before it is ranked. The result is a percentile score that “breathes” with market tempo much faster to flag new extremes yet still smooth enough to ignore random noise.
2. What the script actually does
Build a weight curve
• You pick a look-back length (default 28 bars).
• You decide whether weights fall Linearly , Exponentially , by Power-law or Logarithmically .
• A decay factor (lower = faster fade) shapes how quickly the oldest price loses influence.
• The array is normalised so all weights still sum to 1.
Rank prices by weighted mass
• Every close in the window is paired with its weight.
• The pairs are sorted from low to high.
• The cumulative weight is walked until it equals your chosen percentile level (default 50 = median).
• That price becomes the Time-Decayed Percentile .
Find dispersion with robust statistics
• Instead of a fragile standard deviation the script measures weighted Median-Absolute-Deviation about the new percentile.
• You multiply that deviation by the Deviation Multiplier slider (default 1.0) to get a non-parametric volatility band.
Build an adaptive channel
• Upper band = percentile + (multiplier × deviation)
• Lower band = percentile – (multiplier × deviation)
Normalise into a 0-100 oscillator
• The current close is mapped inside that band:
0 = lower band, 50 = centre, 100 = upper band.
• If the channel squeezes, tiny moves still travel the full scale; if volatility explodes, it automatically widens.
Optional smoothing
• A second-stage moving average (EMA, SMA, DEMA, TEMA, etc.) tames the jitter.
• Length 22 EMA by default—change it to tune reaction speed.
Threshold logic
• Upper Threshold 70 and Lower Threshold 30 separate standard overbought/oversold states.
• Extreme bands 85 and 15 paint background heat when aggressive fade or breakout trades might trigger.
Divergence engine
• Looks back twenty bars.
• Flags Bullish divergence when price makes a lower low but oscillator refuses to confirm (value < 40).
• Flags Bearish divergence when price prints a higher high but oscillator stalls (value > 60).
3. Component walk-through
• Source – Any price series. Close by default, switch to typical price or custom OHLC4 for futures spreads.
• Look-back Period – How many bars to rank. Short = faster, long = slower.
• Base Percentile Level – 50 shows relative position around the median; set to 25 / 75 for quartile tracking or 90 / 10 for extreme tails.
• Deviation Multiplier – Higher values widen the dynamic channel, lowering whipsaw but delaying signals.
• Decay Settings
– Type decides the curve shape. Exponential (default 1.16) mimics EMA logic.
– Factor < 1 shrinks influence faster; > 1 spreads influence flatter.
– Toggle Enable Time Decay off to compare with classic equal-weight stochastic.
• Smoothing Block – Choose one of seven MA flavours plus length.
• Thresholds – Overbought / Oversold / Extreme levels. Push them out when working on very mean-reverting assets like FX; pull them in for trend monsters like crypto.
• Display toggles – Show or hide threshold lines, extreme filler zones, bar colouring, divergence labels.
• Colours – Bullish green, bearish red, neutral grey. Every gradient step is automatically blended to generate a heat map across the 0-100 range.
4. How to read the chart
• Oscillator creeping above 70 = market auctioning near the top of its adaptive range.
• Fast poke above 85 with no follow-through = exhaustion fade candidate.
• Slow grind that lives above 70 for many bars = valid bullish trend, not a fade.
• Cross back through 50 shows balance has shifted; treat it like a micro trend change.
• Divergence arrows add extra confidence when you already see two-bar reversal candles at range extremes.
• Background shading (semi-transparent red / green) warns of extreme states and throttles your position size.
5. Practical trading playbook
Mean-reversion scalps
1. Wait for oscillator to reach your desired OB/ OS levels
2. Check the slope of the smoothing MA—if it is flattening the squeeze is mature.
3. Look for a one- or two-bar reversal pattern.
4. Enter against the move; first target = midline 50, second target = opposite threshold.
5. Stop loss just beyond the extreme band.
Trend continuation pullbacks
1. Identify a clean directional trend on the price chart.
2. During the trend, TDP will oscillate between midline and extreme of that side.
3. Buy dips when oscillator hits OS levels, and the same for OB levels & shorting
4. Exit when oscillator re-tags the same-side extreme or prints divergence.
Volatility regime filter
• Use the Enable Time Decay switch as a regime test.
• If equal-weight oscillator and decayed oscillator diverge widely, market is entering a new volatility regime—tighten stops and trade smaller.
Divergence confirmation for other indicators
• Pair TDP divergence arrows with MACD histogram or RSI to filter false positives.
• The weighted nature means TDP often spots divergence a bar or two earlier than standard RSI.
Swing breakout strategy
1. During consolidation, band width compresses and oscillator oscillates around 50.
2. Watch for sudden expansion where oscillator blasts through extreme bands and stays pinned.
3. Enter with momentum in breakout direction; trail stop behind upper or lower band as it re-expands.
6. Customising decay mathematics
Linear – Each older bar loses the same fixed amount of influence. Intuitive and stable; good for slow swing charts.
Exponential – Influence halves every “decay factor” steps. Mirrors EMA thinking and is fastest to react.
Power-law – Mid-history bars keep more authority than exponential but oldest data still fades. Handy for commodities where seasonality matters.
Logarithmic – The gentlest curve; weight drops sharply at first then levels off. Mimics how traders remember dramatic moves for weeks but forget ordinary noise quickly.
Turn decay off to verify the tool’s added value; most users never switch back.
7. Alert catalogue
• TD Overbought / TD Oversold – Cross of regular thresholds.
• TD Extreme OB / OS – Breach of danger zones.
• TD Bullish / Bearish Divergence – High-probability reversal watch.
• TD Midline Cross – Momentum shift that often precedes a window where trend-following systems perform.
8. Visual hygiene tips
• If you already plot price on a dark background pick Bullish Color and Bearish Color default; change to pastel tones for light themes.
• Hide threshold lines after you memorise the zones to declutter scalping layouts.
• Overlay mode set to false so the oscillator lives in its own panel; keep height about 30 % of screen for best resolution.
9. Final notes
Time-Decaying Percentile Oscillator marries robust statistical ranking, adaptive dispersion and decay-aware weighting into a simple oscillator. It respects both recent order-flow shocks and historical context, offers granular control over responsiveness and ships with divergence and alert plumbing out of the box. Bolt it onto your price action framework, trend-following system or volatility mean-reversion playbook and see how much sooner it recognises genuine extremes compared to legacy oscillators.
Backtest thoroughly, experiment with decay curves on each asset class and remember: in trading, timing beats timidity but patience beats impulse. May this tool help you find that edge.
Time Intervals [signBTC]This script is designed to visualize 6 auxiliary time intervals on the chart near the time axis. Each of these intervals can be configured by the user with the following options:
Interval duration: Any duration can be set (for example, 1 hour, 2 hours, 4 hours, etc.).
Interval color: Each time block can have its own color for better visual distinction.
Label: Users can add a custom label for each of the 6 intervals to indicate its purpose or highlight important features.
In the default configuration, the script automatically draws 6 equal four-hour intervals for each trading day, dividing each daily trading session into six parts—two for each of the three standard market sessions, or three per each of two major sessions (if considering only regular daytime and extended overnight trading).
This tool is particularly useful for traders who want to quickly navigate different time areas of the trading day, monitor individual parts of a session, or highlight specific time windows for strategy analysis. All script parameters (interval, color, and label for each block) are easily adjustable in the indicator's settings.
Breakouts With DXY Filter Strategy [LuciTech]This advanced breakout strategy combines pivot-based breakout detection with an innovative DXY (US Dollar Index) inverse correlation filter to enhance trade selection quality. The strategy identifies breakouts from recent pivot highs and lows while using DXY movements as a confirmation filter, based on the principle that USD strength/weakness often inversely correlates with other asset movements.
Key Features
Core Breakout Logic
- Pivot-Based Detection: Identifies breakouts above recent pivot highs (bullish) and below recent pivot lows (bearish)
- Customizable Lookback: Adjustable pivot length for different market conditions
- Visual Breakout Lines: Optional display of breakout levels with customizable colors
DXY Inverse Correlation Filter
- Smart USD Filter: Uses DXY movements to confirm breakout signals
- Inverse Logic: Long signals require DXY bearishness, short signals require DXY bullishness
- Threshold Control: Minimum DXY movement percentage required for signal confirmation
- Real-time DXY Data: Pulls live DXY data for accurate correlation analysis
Moving Average Filter
- Multiple MA Types: Support for SMA, EMA, WMA, VWMA, and HMA
- Trend Confirmation: Only takes trades in the direction of the selected moving average
- Customizable Parameters: Adjustable length and source for the moving average
Advanced Risk Management
- Multiple Stop Loss Types:
- ATR-based stops with customizable multiplier
- Candle-based stops using previous candle levels
- Fixed point-based stops
- Risk-Reward Optimization: Configurable risk-reward ratios (1:1 to 1:10)
- Breakeven Function: Automatic stop loss adjustment to breakeven after specified R-multiple
- Position Sizing: Percentage-based risk management with automatic position calculation
Time-Based Trading
- Session Filter: Trade only during specified time windows
- London Time Zone: Uses Europe/London timezone for consistency
- Visual Session Highlighting: Optional background fill for active trading hours
Alert System
- Webhook Integration: JSON-formatted alerts for automated trading
- Telegram Support: Pre-formatted messages for Telegram bot integration
- Multiple Formats: Standard, Telegram, and Concise Telegram alert options
- Real-time Notifications: Instant alerts on breakout signals
How It Works
1. Breakout Detection: The script continuously monitors for closes above recent pivot highs or below recent pivot lows
2. DXY Confirmation: When a breakout occurs, the script checks if DXY is moving in the opposite direction with sufficient momentum
3. MA Filter: If enabled, ensures the breakout aligns with the overall trend direction
4. Time Filter: Validates that the signal occurs within the specified trading hours
5. Risk Calculation: Automatically calculates position size based on the defined risk percentage and stop loss distance
6. Trade Execution: Places trades with predetermined stop loss and take profit levels
Unique Advantages
- Multi-Timeframe Approach: Combines asset-specific breakouts with broader USD market sentiment
- False Breakout Reduction: DXY filter helps eliminate breakouts that lack fundamental backing
- Comprehensive Risk Management: Multiple stop loss methods and automatic position sizing
- High Customization: Extensive parameters for different trading styles and market conditions
- Professional Alert System: Ready for automated trading integration
Vertical Time Marker Configurable (VTMC)# Vertical Time Marker Configurable (VTMC)
## Overview
The Vertical Time Marker Configurable (VTMC) is a powerful PineScript v6 indicator designed to help traders quickly identify key market times across their entire chart history. Instead of hovering over candles to check timestamps, VTMC draws clear vertical lines with customizable labels at your specified times, making it easy to spot important market sessions, news events, or personal trading windows at a glance.
## Key Features
### ⏰ Flexible Time Selection
- Set any time using an intuitive time picker (defaults to 8:30 AM Central Time)
- Automatically draws lines at your specified time across all historical data
- Perfect for marking market opens, closes, news releases, or personal trading times
### 🎨 Full Visual Customization
- **Line Color**: Choose any color (defaults to white for maximum visibility)
- **Line Style**: Solid, dashed, or dotted options
- **Line Width**: Adjustable from 1-10 pixels
- **Opacity Control**: Precise opacity slider (0-100%) for both line and text
### 🏷️ Smart Text Labels
- **Preset Options**: New York Open, New York Close, London Open, London Close, Asia Open, Asia Close
- **Custom Labels**: Enter any text for personalized marking (news events, trading windows, etc.)
- **Configurable Text**: Adjustable size (8-20px), color, and opacity
- **Smart Positioning**: Text appears just above the price action for clear visibility
### 📊 Professional Display
- Lines extend fully from top to bottom of chart
- Clean, non-intrusive design that doesn't clutter your analysis
- Works on any timeframe and market
- Historical lines persist across all chart data
## Perfect For
### Market Session Traders
- Mark key session opens and closes
- Identify overlap periods between major markets
- Track session-specific price behavior patterns
### News Traders
- Mark important economic releases (FOMC, NFP, etc.)
- Create visual reminders for scheduled events
- Track market reaction patterns around news times
### Institutional Flow Traders
- Identify key institutional activity times
- Mark order block formation periods
- Track smart money movement windows
### Personal Trading Systems
- Mark your optimal trading hours
- Create visual discipline for trading windows
- Track performance during specific time periods
## Why VTMC?
Unlike hardcoded session indicators that only work for specific markets, VTMC gives you complete flexibility to mark ANY time that matters to your trading strategy. Whether you're tracking "MY Trading Window" from 9:30-10:30 AM or marking custom news events, VTMC adapts to your specific needs.
The indicator eliminates the constant need to hover over candles to check times, instead providing instant visual reference points across your entire chart. This makes pattern recognition, backtesting, and trade timing significantly more efficient.
## Usage Tips
- Use multiple instances for different time zones or events
- Combine with other indicators for comprehensive market timing
- Customize colors to match your chart theme
- Use custom labels for personalized trading reminders
*Built with precision in PineScript v6 for reliable performance and modern TradingView compatibility.*
Custom Opening TimesThis indicator displays custom opening levels on your chart. Define multiple opening times, each with its own customizable style. Display these levels as horizontal lines at the opening price, or as vertical lines to mark the opening time.
Custom Opening Times
4 Independent Groups with 4 custom opening levels each
Set any custom opening time (displayed in New York Local Time)
Choose between Opening Price lines, Vertical time markers, or Both
Cutoff Times: Stop extending lines after specified times
Higher Timeframe Levels
5 Configurable HTF levels supporting any timeframe
Display opening prices from Daily, Weekly, Monthly, Quarterly, and custom timeframes
Show Previous High/Low levels from higher timeframes
Gann Single Square Swing Trading System with Gann AnglesGann Single Square Swing Trading System
This script automatically detects "squares" - geometric patterns where price movement equals time movement. When price moves the same distance as the number of bars (time), it creates powerful support/resistance levels based on Gann theory.
Key Visual Elements
• Box: The detected square pattern
• Dark Blue Line (50%): Most important trading level
• Green Lines: Profit target levels (125%, 150%)
• Red Lines: Stop loss levels (-25%, -50%)
• Colored Angle Lines: Gann angles for trend direction
• Quality Score: Blue label showing setup strength (aim for 70%+)
Simple Trading Rules
LONG Trades (Green 🟢 Square)
1. Entry: Buy when price touches the dark blue 50% line from above
2. Stop Loss: Place below the red -25% line
3. Take Profit: Exit at green 125% line (first target) or 150% line (second target)
SHORT Trades (Red 🔴 Square)
1. Entry: Sell when price touches the dark blue 50% line from below
2. Stop Loss: Place above the red -25% line
3. Take Profit: Exit at green 125% line (first target) or 150% line (second target)
Entry Checklist
✅ Square quality score > 70%
✅ Price touches 50% level (dark blue line)
✅ Volume above average (if volume filter enabled)
✅ Clear square formation visible
Alerts
The script generates automatic alerts when price reaches the 50% trading level. Enable alerts in TradingView to get notified of setups.
Bottom Line: Wait for the alert → Check quality score → Enter at 50% level → Set stop at red line → Take profit at green line.