JAMS Intraday Forex EMA Trend Strategy (MTF + Sessions + DD)Strategy focused on following current trend with triple confirmation based on EMAs and VWAPs
Chỉ báo và chiến lược
Gold Sniper Pro: Trend & Reversal SystemTitle: Gold Sniper Pro: Trend & Reversal System
Headline: Stop choosing between "Buying the Dip" and "Chasing the Trend." Now you can do both.
Introduction: Most indicators fail because they only work in one market condition. Reversal indicators fail during strong breakouts (selling too early), and Trend indicators fail during ranging markets (buying the top).
Gold Sniper Pro solves this by running two separate algorithms simultaneously to cover every phase of price action on Gold (XAUUSD).
How It Works (The Dual-Core Logic):
1. 🟢 SNIPER MODE (The "Buy Low" Logic)
Goal: Catch the exact bottom of a pullback.
Logic: Detects when price sweeps a liquidity low but is trading at a "discount" (below the EMA 20).
Signal: Displays a Green "SNIPER" label.
Best for: Ranging markets and deep corrections.
2. 🔵 TREND MODE (The "Breakout" Logic)
Goal: Catch the high-momentum runaway moves (like the 16:40 pump).
Logic: Detects when price is holding above the EMA 20 with strong momentum. It buys the strength, not the weakness.
Signal: Displays a Blue "TREND" label.
Best for: News events and strong directional rallies.
Key Features:
⚡ Dynamic EMA Filter: Replaces laggy RSI with real-time price action relative to the EMA 20.
🛡️ Multi-Timeframe Safety: Built-in 30m Trend Filter to prevent trading against the major trend (can be toggled OFF for aggressive scalping).
🎯 Auto TP/SL Lines: Automatically plots your Risk:Reward (2:1) targets on the chart.
🚀 "Force Trade" Switch: A new feature that allows you to bypass safety filters during high-volatility news events to catch fast breakouts.
How to Use:
Timeframe: Best on 1m or 5m (Designed for XAUUSD/Gold).
Aggressive: Check "Ignore 30m Filter" in settings to catch every scalping opportunity.
Conservative: Uncheck "Ignore Filter" to only trade when the 30m trend is aligned.
Exit: Close trade when price hits the Green TP line or Red SL line.
Settings:
EMA Length: 20 (Standard Institutional Trend).
Reward Ratio: 2.0 (Default).
Naked POCThis indicator is designed for precision traders who need to identify Institutional Footprints and Naked POCs (nPOC) without cluttering the chart. It solves the common problem of "too many signals" during trend continuations while preserving critical reversal signals (like high-volume Dojis).
🚀 Key Features
1. Fusion Technology (Global Liquidity View)
Unlike standard indicators that only look at your current chart's volume, Fusion aggregates real-time Spot volume from major exchanges (Binance, Coinbase, OKX, Bybit) simultaneously.
Why? Futures follow Spot. This reveals the true liquidity wall across the entire market, filtering out fake pump/dump moves on a single derivative exchange.
Supports BTC & ETH pairs automatically.
2. Peak Hunter Algorithm (Smart Noise Filtering)
This is the core upgrade. Instead of marking every high-volume candle (which creates a mess during waterfalls/rallies), the Peak Hunter logic only marks a level if:
The volume is a Local Peak (higher than the past $N$ candles).
Result: It ignores "follow-through" candles in a trend but perfectly captures the Start (Ignition) and the End (Stopping Volume / Doji) of a move.
3. Micro-Structure POC (The "Microscope")
When a 30m or 4H candle triggers a signal, where exactly is the support?
This script scans the internal 1-minute or 15-second data (Lower Timeframe) inside that candle to find the exact price level with the highest volume.
Note: 15s scanning requires a Premium plan; 1m works for all.
4. Smart Lifecycle Management
nPOC Lines: Support/Resistance lines extend automatically until price tests them.
Touch Limit: Once price touches a line $X$ times (configurable), the line "dies" and becomes dotted/expired, keeping your chart clean.
DG Channel + Reversal Alerts//@version=5
indicator("Channel + Reversal Alerts", overlay=true)
//==================================================
// 1. НАСТРОЙКИ КАНАЛА
//==================================================
length = input.int(100, "Длина канала", minval=10)
// Канал по High / Low (надёжно и наглядно)
upper = ta.highest(high, length)
lower = ta.lowest(low, length)
// Рисуем канал
plot(upper, "Верхняя граница", color=color.red, linewidth=2)
plot(lower, "Нижняя граница", color=color.green, linewidth=2)
//==================================================
// 2. ЛОГИКА КАСАНИЙ
//==================================================
touchUpper = high >= upper
touchLower = low <= lower
touchUpper_first = touchUpper and not touchUpper
touchLower_first = touchLower and not touchLower
//==================================================
// 3. ПРОБОИ И РАЗВОРОТЫ
//==================================================
// Закрытие свечи вне канала
closeAbove = close > upper
closeBelow = close < lower
// Тень вышла за канал, а закрытие внутри
wickAbove = high > upper and close <= upper
wickBelow = low < lower and close >= lower
// Разворот = закрытие ИЛИ тень вне канала
reversalUpper = closeAbove or wickAbove
reversalLower = closeBelow or wickBelow
// Только первое появление, чтобы не спамило
reversalUpper_first = reversalUpper and not reversalUpper
reversalLower_first = reversalLower and not reversalLower
//==================================================
// 4. АЛЕРТЫ
//==================================================
// КАСАНИЕ
alertcondition(touchUpper_first, title="Upper touch", message="⬆️ касание")
alertcondition(touchLower_first, title="Lower touch", message="⬇️ касание")
// РАЗВОРОТ
alertcondition(reversalUpper_first, title="Upper reversal", message="⬆️ разворот")
alertcondition(reversalLower_first, title="Lower reversal", message="⬇️ разворот")
Daily Returns Analysis: N vs M
This script displays the moving average of the percentage difference in price over n vs. m periods.
Note: This is a daily average.
RSI 40-60 with Candle Colouring gran longer time frames commodities , mag 7 stocks , US500 , BTC
Main things it does:Shows a standard RSI (default 14-period) in a separate panel below the chart The RSI line is colored light cyan/blue
Draws horizontal lines at these key levels:70 (overbought – red dashed)
60 (upper boundary – bright red solid)
50 (middle/neutral – gray dotted)
40 (lower boundary – green solid)
30 (oversold – lime dashed)
→ It puts extra visual emphasis on the 40–60 zone.
Colors the price candles on the main chart (even though the indicator itself is not overlaid):Green/teal when RSI is above 50
Red when RSI is 50 or below
What traders usually use it for:Quick visual trend/momentum filter
Green candles = bullish bias (RSI > 50)
Red candles = bearish bias (RSI ≤ 50)
The area between 40–60 is often seen as neutral / no strong direction
Very simple, clean momentum-based candle coloring tool focused around the 50 level with extra attention to the 40–60 range.
Friendly Stretch Band Regime + Filters (Close Confirm + Hold)What it is
A calm, regime-based stretch band that highlights only three states: BUY zone, SELL zone, and Neutral. Designed to reduce noise and visual overload by avoiding markers, labels, and background tint.
How it works
Bands are built from an EMA basis ± ATR.
BUY Zone: price below lower band (lower band turns green)
SELL Zone: price above upper band (upper band turns red)
Neutral: price inside bands (bands grey)
Stability Options
Confirm on Close: requires CLOSE beyond the band (reduces wick spikes)
Hold Bars: holds zone state for N bars after the trigger ends (reduces flicker)
Optional Filters (applied only if enabled)
Trend filter (basis slope or slow EMA)
ATR expansion gate
Minimum exceed beyond band (ATR units)
Suggested Use
Best used as a clean “location/context” tool on swing timeframes (e.g., 4H). It can be paired with a separate momentum/confirmation tool.
Repainting & Disclaimer
Uses only current and historical bar data (no security() calls). Values may update on the realtime bar before close. Educational use only; not financial advice.
Bank CRE Stress & Short Risk Overlay + Dashboard
🏦 Bank CRE Short-Selling Dashboard:
- Expands the static database to better match the dashboard's highCRE + shortCandidates.
- Uses CRE ratio thresholds from dashboard (e.g., critical ~>500%, high ~400-500%, etc.).
- Keeps price stress logic (you can tweak it).
- Includes more failed/failed-like flags.
Access the Live Risk Monitoring & Trade Opportunities 🏦 Bank CRE Short-Selling Dashboard
claude.ai
Weighted NIFTY 5D Directional BreadthOverview
This indicator measures market participation quality within the NIFTY index by tracking how many heavily-weighted stocks are contributing to index direction over a rolling 5-day period.
Instead of counting simple up/down closes, it evaluates directional momentum × index weight, making it far more reliable for identifying narrow leadership, distribution, and late-stage rallies.
Why this indicator matters
Indexes can continue making higher highs even when only a few large stocks are doing the lifting.
This tool reveals what price alone hides:
Whether participation is broad or narrowing
When index highs are being driven by fewer contributors
Early warnings of fragility before corrections
How it works
Each selected NIFTY stock is assigned a weight approximating index influence
The indicator checks whether each stock is up or down versus its 5-day close
Directional signals are weighted and aggregated
The result is a single breadth line reflecting true contribution strength
Positive values → weighted participation is supportive
Negative values → weighted drag beneath the index
How to interpret
Index Higher High + Indicator Lower High
→ Narrow leadership, distribution risk
Indicator turns down before price
→ Early loss of momentum
Sustained positive readings
→ Healthy, broad participation
Sustained negative readings
→ Market weakness beneath the surface
This is not a buy/sell signal, but a context and risk-assessment tool.
Best use cases
Identifying late-stage rallies
Confirming or rejecting breakouts
Risk management for index trades
Combining with price structure or momentum indicators
Notes
Designed for Daily and higher timeframes
Uses non-repainting logic
Best used alongside price action and structure
Disclaimer
This indicator is intended for educational and analytical purposes only.
It does not provide financial advice or trade recommendations.
12H Fib MidpointsPrints the .5 fib retrace for final trading levels on the 1 minute chart.
Background process is exactly how its done in the video EverEvolving365 shared
KRXNameMapperLibrary "KRXNameMapper"
TODO: add library description here
getCompanyName(code)
TODO: add function description here
Parameters:
code (string)
Returns: TODO: add what function returns
1of1 Trades Expected Ranges (Friday Close Calculator)Expected Ranges (Friday Close Calculator)
Expected Ranges is a simple, non-plotting calculator designed for weekly market preparation.
It uses the most recent Friday’s daily close as the base price and calculates an expected trading range for the upcoming week.
This indicator is intentionally built as a calculator only — it does not draw lines or zones on the chart. This ensures there is no bleed between symbols and allows traders to convert levels into permanent TradingView drawings (horizontal lines and shaded rectangles) that are stored per symbol in their account.
How It Works
Friday Close is automatically detected from the daily chart.
You input a single value for Expected Weekly Move.
The indicator calculates:
Upper Range = Friday Close + Expected Move
Lower Range = Friday Close − Expected Move
Values are displayed in a clean top-right panel for quick reference.
TX Stealth Pro: International EditionTX Stealth Pro is a high-performance, intra-day monitoring terminal specifically designed for index futures traders (optimized for Taiwan Index Futures - TX). This indicator merges a sleek, "Stealth" dashboard UI with critical session-based technical levels, allowing traders to monitor trend direction, volatility, and key liquidity zones without cluttering the price action.
Fair Value Gaps [MattyBTradez]This indicator marks out every Fair Value Gap, and the colors are customizable.
Ross GPT - Momentum Scalp 1mThis strategy is a long-only momentum scalping system designed for the 1-minute timeframe, combining VWAP, EMA trend alignment, MACD momentum, volume confirmation, and session filtering to identify high-probability intraday entries for pre-market session and U.S small cap stocks with high % change compared to previous day. Apply only for stock price between $2-$20.
⸻
1️⃣ Date Range Filter
The strategy trades only within a user-defined date range.
• Default range: Feb 1, 2026 – Dec 31, 2069
• Trades are ignored outside this period
• Useful for controlled backtesting and forward testing
⸻
2️⃣ Indicators Used
VWAP
• Used as a trend and mean-reversion filter
• Only long trades are allowed when price is above VWAP
MACD (12, 26, 9)
• Momentum confirmation
• Entry requires MACD line > Signal line
• Exit is triggered if MACD crosses below Signal
Exponential Moving Averages
• EMA 9
• EMA 20
• EMA 50
• EMA 200 (visual reference)
Trend Bias Requirement
• Bullish alignment:
• EMA 9 > EMA 20 > EMA 50
Volume Strength (Price Action Proxy)
• Counts bullish candles over the last 5 bars
• Entry requires at least 3 green candles
• Used as a confirmation of buying pressure
⸻
3️⃣ Session Filter
Trades are allowed only during a specific intraday session:
• 06:59 – 09:00 (exchange time)
• Designed to focus on high-liquidity morning momentum
⸻
4️⃣ Entry Conditions (Long Only)
A buy signal is generated when all of the following are true:
• Price is above VWAP
• MACD line is above Signal line
• EMA alignment confirms bullish trend
• Bullish candle count condition is met
• Current bar is within the allowed session
• Current bar is within the selected date range
• No existing open position
Only one position at a time is allowed.
⸻
5️⃣ Trade Execution
• Market entry when all conditions align
• Fixed position sizing (default: 500 units)
• Commission and slippage are included for realism
⸻
6️⃣ Exit Logic
Primary Exit (Bracket Order)
• Take Profit: +0.25
• Stop Loss: -0.10
• Managed using strategy.exit for intra-bar accuracy
Indicator-Based Exit
• If MACD crosses below the Signal line, the position is closed immediately at market
This dual exit system allows both quick scalps and early momentum failure exits.
⸻
7️⃣ Visual Aids
The strategy plots all key indicators used in decision-making:
• EMA 9, 20, 50, 200
• VWAP
This allows easy visual verification of entries and exits directly on the chart.
⸻
⚠️ Notes
• Designed for scalping and short-duration trades
• Best suited for high-liquidity instruments
• Results may vary depending on symbol, spread, and market conditions
• This script is for educational and research purposes only
SolQuant WatermarkSOLQUANT WATERMARK
The SolQuant Watermark is a professional-grade utility script designed for traders, educators, and content creators who want to keep their charts organized and branded. By utilizing Pine Script’s table functions, this indicator ensures your custom text and symbol data stay pinned to the screen, regardless of where you scroll on the price action.
KEY FEATURES
Customizable Branding: Display your community name, website, or social handles anywhere on the chart.
Automated Symbol Data: Dynamic tracking of the current Asset, Timeframe, and Date—perfect for keeping screenshots contextually accurate.
Precision Placement: Choose from 9 different anchor points (Top-Left, Bottom-Right, etc.) to ensure the UI never interferes with your technical analysis.
Visual Scaling: 5 different size settings (Tiny to Huge) to accommodate high-resolution displays or mobile viewing.
Aesthetic Control: Fully adjustable color palettes, background transparency, and border toggles.
WHY USE A TABLE-BASED WATERMARK?
Unlike standard chart labels which are tied to specific price/time coordinates, this tool uses the Table API . This means:
The watermark stays in place while you scroll through history.
It doesn't disappear when you "hide" other drawing tools.
It scales consistently across different devices.
INSTRUCTIONS
1. Branding: Open settings and type your link or handle into the "Quote Text" area.
2. Symbol Info: Toggle the "Symbol Info" section to automatically display asset names and dates for your records.
3. Layout: Use the X and Y position dropdowns to move the modules if they overlap with your current price action or other indicators.
Note: This is a visual utility tool only. It does not provide trade signals or financial advice.
High Breakout PRO - Huy Hoang Trader
# High Breakout PRO - Huy Hoang Trader - Strategy Description
## 🚀 Overview
**High Breakout PRO** is a professional-grade Trend Following strategy designed to capture major market moves while strictly managing risk. Built on the core philosophy of "Price Action Breakouts," this script enhances the classic Donchian Channel breakout method with modern risk management tools like the **Hybrid Exit** and **EMA Trend Filter**.
This strategy is optimized for **Gold (XAUUSD)**, **Bitcoin (BTC)**, and **Major Stocks (AAPL, AMZN)** on **H4 and Daily** timeframes.
## 💎 Key Features
1. **Trend Filter (EMA):** Only takes long positions when the price is above the 200-period EMA. This filters out counter-trend noise and significantly improves winning probability.
2. **Hybrid Exit Mechanism ("Holy Grail"):** A unique dynamic trailing stop that combines:
* **Price Structure:** Uses the lowest low of the last Y bars (Donchian Support).
* **Volatility:** Uses ATR-based trailing (Chandelier Exit logic).
* *Logic:* The system automatically chooses the **tighter** (higher) stop level between the two, ensuring you lock in profits rapidly during strong volatility while giving the trade room to breathe during accumulation.
3. **Professional Visuals:** A refined "Wealth & Earth" themes (Gold/Silver/Brown) specifically designed to reduce eye strain and provide clear, professional signal visibility without chart clutter.
## 🛠 Strategy Logic
### entry rules
* **Breakout:** Price closes above the Highest High of the last `X` bars (Default: 20).
* **Trend Confirmation:** Closing Price > EMA 200 (Configurable).
### Exit Rules
* **Dynamic Stop Loss:** The trade is closed when price breaches the **Hybrid Trailing Stop**.
* The Trailing Stop never moves down. It only moves up as price increases.
* It effectively adapts to both slow-grinding trends and explosive spikes.
## ⚙️ Best Settings (Recommended)
* **Timeframe:** H4 (Swing Trading) or Daily (Position Trading).
* **Entry Period (X):** 20
* **Exit Period (Y):** 10
* **Trend Filter:** ON (EMA 200)
* **Risk Management:** Hybrid Mode (ATR Multiplier 3.0)
## ⚠️ Disclaimer
This strategy follows trends. It may experience drawdowns during choppy/sideways markets. Always use proper risk management (position sizing) and backtest on your specific asset before live trading.
---
*Developed by Antigravity. Empowering traders with institutional-grade tools.*
Contact for work: www.facebook.com
Iron Fly 0DTE StrategyOverview
This indicator identifies optimal entry and exit points for 0DTE (zero days to expiration) Iron Fly options strategies on SPX. It uses a combination of DMI (Directional Movement Index) regime classification and ATR (Average True Range) volatility measurement to determine when market conditions favor non-directional premium selling.
An Iron Fly is a neutral options strategy that profits when price stays near a central strike. This indicator automates the decision of WHEN to enter and at WHAT strikes, based on quantifiable market conditions rather than discretionary judgment.
How It Works
Market Regime Classification
The core logic uses DMI and ADX to classify market conditions into four regimes:
SAFE - ADX below 25 AND DI Spread below 20: Low directional momentum, ideal for Iron Flies
CAUTION - ADX below 35 AND DI Spread below 30: Moderate conditions, wider wings recommended
WARNING - ADX below 45 OR DI Spread below 45: Elevated risk, no new entries
NO ENTRY - ADX above 45 AND DI Spread above 45: Strong trend, avoid premium selling
The DI Spread is calculated as the absolute difference between DI+ and DI-. A low spread indicates balanced buying and selling pressure, which favors range-bound price action.
Dynamic Wing Width Calculation
Wing width (the distance between the short strikes and protective long strikes) is calculated dynamically using:
Wing Width = ATR(14) × Multiplier × Late Session Factor
The multiplier varies by Entry Aggressiveness setting (5x to 7x ATR). Wings are widened by 20% in CAUTION regime for additional protection. Late in the session (after 50% elapsed), wings narrow by up to 20% as less time remains for adverse moves.
Wing width is bounded between 15 and 50 points and rounded to the nearest 5-point strike.
Entry Logic
New positions open when:
Market regime is SAFE or CAUTION
Current open positions are below the maximum limit
Daily trade count is below the daily limit
Price has moved sufficiently from the last entry (trigger distance)
No existing position at the calculated strike
Exit Logic
Positions close when price exceeds a dynamic exit threshold:
Exit Threshold = Wing Width × (Base Exit Percent + Time Decay Bonus)
The Base Exit Percent varies by Exit Aggressiveness (50% to 80%). The Time Decay Bonus increases throughout the session (0% to 25%), allowing wider tolerance as theta decay works in your favor.
What Makes This Original
This indicator differs from simple moving average or RSI-based approaches by:
Using DMI spread (not just ADX) to measure directional balance, which better identifies consolidation
Dynamically sizing wings based on current ATR rather than fixed widths
Adjusting exit tolerance based on session progress to account for theta decay
Implementing regime-based position management that automatically steps aside during trending conditions
Providing complete strike calculations for the 4-leg Iron Fly structure
Settings Guide
Strategy Settings
Entry Aggressiveness - Controls how often new trades open. LOW: fewer trades, wider wings, more selective. MID: balanced. HIGH: more trades, tighter wings.
Exit Aggressiveness - Controls how long positions are held. LOW: exits early at 50% of wing. MID: exits at 65% plus time bonus. HIGH: holds longer, exits at 80%.
Max Concurrent Flies - Maximum simultaneous open positions (1-5). Start with 1-2.
Max Trades Per Day - Daily limit to prevent overtrading (3-30).
Session Settings
Session Start/End - Trading hours in Eastern Time. Default 10:00-16:00.
How to Use
Add indicator to SPX chart (1-5 minute timeframe recommended)
Create alert with condition "Any alert() function call"
When OPEN alert fires, execute the 4-leg Iron Fly in your broker at the specified strikes
When CLOSE alert fires, close the position
Always verify the premium collected justifies the risk before entering
Alert Messages
OPEN alerts provide: Strike price, wing width, and all four leg strikes (short call, short put, long call, long put).
CLOSE alerts provide: Strike price and exit reason (price exceeded threshold or session ended).
Status Panel
The on-chart panel displays:
Positions - Current open count vs maximum
Market - Current regime classification
Wings - Current calculated wing width
Exit @ - Current exit threshold distance
Trades - Daily trade count vs limit
Limitations
Designed specifically for SPX 0DTE options; may not suit other underlyings
Does not account for bid-ask spreads or execution slippage
Market regime classification may lag during rapid regime changes
Past performance of signals does not guarantee future results
Requires manual execution in your options broker
Best Conditions
This strategy performs best during:
Range-bound, choppy market conditions
Normal volatility days (avoid major news events)
Regular trading hours (10 AM - 4 PM ET)
Avoid using during:
Strong trending days
FOMC announcements, CPI releases, earnings
Pre-market or after-hours
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice.
Options trading involves substantial risk of loss
Iron Flies can result in losses up to the wing width minus premium collected
Past indicator signals do not guarantee future performance
Always understand your maximum risk before entering any trade
Never risk more than you can afford to lose
Conduct your own research and consider consulting a financial advisor
IBPDA Time Markers Daily OnlyThis indicator plots IBPDA (Interbank Price Delivery Algorithm) time markers based on true bar counts, not calendar days.
Unlike many time-cycle tools that rely on calendar arithmetic, this script calculates 20 / 40 / 60 daily candles, ensuring accuracy across:
market holidays
shortened sessions
exchange-specific trading calendars
It is intentionally restricted to the Daily timeframe, where each bar represents one completed trading session.
🔍 What This Indicator Does
Draws vertical lines at:
−20 / −40 / −60 bars (exact historical daily candles)
+20 / +40 / +60 bars (future projections for planning)
Uses bar index–based logic, not calendar dates
Prevents misuse by enforcing Daily timeframe only
Draws lines once per chart load to avoid clutter and object limits
⚙️ Key Design Choices (Important)
Past markers are exact
Past levels use time , which means “n completed daily sessions ago” — no approximation.
Future markers are projected
Since future bars do not exist yet, forward levels are projected using a configurable day-step. These are meant for time-window awareness, not precision forecasting.
No repainting
All levels are fixed once drawn.
🧠 How to Use (Best Practice)
IBPDA time levels are time magnets, not trade signals.
They work best when combined with:
Higher-timeframe PD arrays (weekly/monthly highs & lows)
Fair Value Gaps (FVGs)
Liquidity pools
Market structure shifts
Watch for price expansion, liquidity events, or displacement occurring near these time markers.
🛑 Limitations (By Design)
Daily timeframe only
Future levels are projections (exchange calendars cannot be predicted perfectly)
This script does not generate buy/sell signals
🎯 Intended Audience
This indicator is designed for:
ICT / SMC traders
Index futures traders (NQ, ES, YM, etc.)
Swing traders and position traders
Traders who respect time as a variable, not just price
🧩 Notes
Best used as a contextual framework, not a standalone strategy
Clean, lightweight, and safe for long-term chart usage
Built with strict Pine Script v5 compatibility and publishing standards
NY 16:00 Close Overview
This indicator is designed for traders active in Pre-market, Post-market, and Blue Ocean (Overnight) sessions. It identifies the exact closing price of the financial instrument at 16:00 New York Time (the end of the Regular Trading Hours - RTH) and anchors a continuous horizontal line to this level.
The 16:00 Close is a critical psychological and institutional level. This script helps you visualize how the price deviates from the official daily close during extended hours and subsequent trading days.
Key Features
Smart NY Close Detection: Automatically identifies the 16:00 NY bar. For instruments with early closures (like certain Futures or Commodities ending at 13:45), the script automatically anchors the line to the final available closing price of the session.
Workday-Only Logic: The script respects the traditional trading week. For assets that trade 24/7 (like Crypto), the line remains fixed at Friday's 16:00 close throughout the weekend and only updates on Monday.
Real-Time Price Label: Displays the exact anchor price on the right axis for quick reference.
Dynamic Performance Tracker: A floating dashboard in the top-right corner shows the current percentage change relative to the 16:00 Close.
Green Background: Price is above the anchor.
Red Background: Price is below the anchor.
Formatted Accuracy: Displays with leading zeros (e.g., -0.60%) for professional-grade readability.
Infinite Extension: The anchor line extends indefinitely into the future, providing a clean "waterline" for your charts.
Built-in Alerts: Includes a "Cross" alert that triggers whenever the price touches or crosses the 16:00 Close level.
Settings
Line Color/Width: Customize the visual appearance of the anchor line.
Show Label: Toggle the price tag on the right side.
Label Offset: Adjust the distance of the label from the bars to prevent overlap.
How to Use
Gap Analysis: Use the percentage box to instantly see the "Overnight Gap" during Blue Ocean or Pre-market sessions.
Support/Resistance: Watch how price reacts to the previous 16:00 close; it often acts as a significant "magnet" or pivot point during low-liquidity hours.
Trend Confirmation: If the price stays consistently above the blue line during the pre-market, it may indicate bullish sentiment for the upcoming RTH open.






















