Candlestick analysis
Aynet- True Wick Projector for Non-Standard ChartsTechnical Explanation: "Data Projection and Synchronization"
This script is, at its core, a "data projection" tool. The fundamental technical problem it solves is compensating for the information loss that occurs when using different data visualization models.
1. The Core Problem: Information Loss
Standard Charts (Time-Based): Normal candlesticks are time-based. Each candle represents a fixed time interval (like 1 hour or 1 day) and displays the complete Open, High, Low, and Close (OHLC) data for that period. The "wicks" show the volatility and the extreme price points (the High and Low).
Non-Standard Charts (Price/Momentum-Based): Charts like Kagi, Renko, or Line Break filter out time. Their only concern is price movement. While one Renko box or Kagi line is forming, 10 or more time-based candles might have formed in the background. During this "noise filtering" process, the true high and low values (the wicks) from those underlying candles are lost.
The problem is this: A trader looking at a non-standard chart cannot see how high or low the price actually went while that block or line was forming. This is a critical loss of information regarding market volatility, support/resistance levels, and price rejection.
2. The Technical Solution: A "Dual Data Stream"
This script intelligently combines two different data streams to compensate for this information loss:
Main Stream (Current Chart): The open and close data from your active Kagi, Renko, etc., chart.
Secondary Stream (Projected Data): The high and low data from the underlying standard (time-based) chart.
3. The Code's Methodical Steps
Step 1: Identifying the Data Source (syminfo...)
This step precisely identifies the source for the secondary data stream. By using syminfo.prefix + ":" + syminfo.ticker (e.g., "NASDAQ:AAPL"), it guarantees that the data is pulled from the exact correct instrument and exchange.
Step 2: Data Request & "Lookahead" Synchronization (request.security)
This is the most critical part of the operation.
request.security(...): This is the function Pine Script uses to pull data from another dataset (the secondary stream) onto the current chart.
: This tells the function, "The only data I care about is the 'High' and 'Low' of the standard candle from that timeframe."
lookahead = barmerge.lookahead_on (The Critical Key): This command solves the "time paradox."
Normally (without this): request.security fetches data from the last completed bar. But as your Kagi bar is currently forming, the standard candle is also currently forming. This would cause the data to always be one bar behind (lag).
With lookahead_on: This permits the script to "look ahead" at the data from the currently forming, incomplete standard bar. Because of this, as your Kagi bar moves, the true wick data is updated in real-time. This achieves real-time synchronization.
Step 3: Visual Engineering (plotcandle)
After the script retrieves the data, it must "draw" it. However, it only wants to draw the wicks, not the candle bodies.
bodyTop and bodyBottom: First, it finds the top and bottom of the current Kagi bar's body (using math.max(open, close)).
Plotting the Upper Wick (Green):
It calls the plotcandle function and instructs it to draw a fake candle.
It fixes this fake candle's Open, Low, and Close (open, low, close) values to the top of the Kagi bar's body (bodyTop).
It only sets the High (high) value to the realHigh it fetched with request.security.
The result: A wick is drawn from the bodyTop level up to the realHigh level, with no visible body.
Plotting the Lower Wick (Red):
It applies the reverse logic.
It fixes the fake candle's Open, High, and Close values to the bottom of the Kagi bar's body (bodyBottom).
It only sets the Low (low) value to the realLow.
The result: A lower wick is drawn from bodyBottom down to realLow.
Invisibility (color.new(color.white, 100)):
In both plotcandle calls, the color (body color) and bordercolor are set to 100 transparency. This makes the "fake" candle bodies completely invisible, leaving only the colored wicks.
Conclusion (Technical Summary)
This script reclaims the volatility data (the wicks) that is naturally sacrificed by non-standard charts.
It achieves this with technical precision by creating a secondary data stream using request.security and synchronizing it with zero lag using the lookahead_on parameter.
Finally, it intelligently manipulates the plotcandle function (by creating invisible bodies) to project this lost data onto your Kagi/Renko chart as an "augmented reality" layer. This allows a trader to benefit from the clean, noise-filtered view of a non-standard chart without losing access to the full picture of market volatility.
Amiya's Doji / Hammer / Spinning Top Breakout Strategy v5How it works
1. Pattern Detection (Previous Candle):
• Checks if total shadow length ≥ 2 × body.
• Checks if candle height (high − low) is between 10 and 21.5 points.
• If true → marks that candle as a potential Doji, Hammer, or Spinning Top.
2. Long Setup:
• LTP (close) crosses above previous candle high.
• Previous candle is a valid pattern candle.
• Stop Loss = 3 points below previous candle low.
• Take Profit = 5 × (high − low) of previous candle added to previous high.
3. Short Setup:
• LTP (close) crosses below previous candle low.
• Previous candle is a valid pattern candle.
• Stop Loss = 3 points above previous candle high.
• Take Profit = 5 × (high − low) of previous candle subtracted from previous low.
4. Visualization:
• Yellow background highlights pattern candles.
• Green ▲ and Red ▼ markers show entry points.
Deep yellow candles → represent Doji / Hammer / Spinning Top patterns
• Green triangle → Buy signal
• Red triangle → Sell signal
• Dotted green line + label → Target
• Dotted red line + label → Stop loss
• Gray background → Outside trading hours
• Auto close → All trades square off at 3:29 PM IST
Midnight Lines for Tokyo, London, New Yorkممتاز 👌 إليك **تعريفًا محدثًا وكاملًا للمؤشر باللغتين العربية والإنجليزية**، مع إدراج توضيح دقيق لتعامل المؤشر مع **تغيّر التوقيت الصيفي والشتوي (DST)** في لندن ونيويورك:
---
## 🇬🇧 **English Description (with DST behavior)**
**Indicator name:** *Midnight Lines for Tokyo, London, and New York*
**Purpose:**
This indicator automatically draws **vertical lines** on the chart at **midnight (00:00)** for the three major global trading sessions:
* **Tokyo**
* **London**
* **New York**
### 🔹 How it works:
1. The script checks each candle’s time using the built-in TradingView time zone function:
* `"Asia/Tokyo"`
* `"Europe/London"`
* `"America/New_York"`
2. When it detects **00:00** in any of these zones, it draws:
* A **vertical dotted line** that extends from the top to the bottom of the chart.
* A **label** at the top with the session name (e.g., “Tokyo Midnight”).
3. Each session has its own color for clarity:
* **Blue** → Tokyo Midnight
* **Green** → London Midnight
* **Red** → New York Midnight
### 🕒 Automatic Daylight Saving Time (DST) Adjustment:
The indicator automatically adapts to **Daylight Saving Time changes** in both **London** and **New York**:
* When London switches between **GMT and GMT+1**, the midnight line shifts automatically to remain accurate.
* When New York switches between **EST and EDT**, the script also updates accordingly.
* Tokyo does **not** observe DST, so its timing stays constant year-round.
### 🎯 Purpose:
Helps traders visually track the start of each new trading day in the major sessions and analyze:
* Session overlaps (e.g., London–New York overlap)
* Session-based trading strategies
* Price movement behavior at each new day open
---
## 🇸🇦 **الوصف بالعربية (مع إدراج تغير التوقيت)**
**اسم المؤشر:** خطوط منتصف الليل لجلسات طوكيو، لندن، ونيويورك
**الهدف:**
يقوم هذا المؤشر تلقائيًا برسم **خطوط عمودية** على الرسم البياني عند **منتصف الليل (00:00)** لكل من الجلسات الثلاث الرئيسية:
* **جلسة طوكيو**
* **جلسة لندن**
* **جلسة نيويورك**
### 🔹 كيفية العمل:
1. يستخدم المؤشر دوال TradingView لحساب الوقت الفعلي لكل مدينة:
* `"Asia/Tokyo"` لطوكيو
* `"Europe/London"` للندن
* `"America/New_York"` لنيويورك
2. عند وصول الساعة إلى **00:00** بتوقيت أي مدينة، يرسم المؤشر:
* **خطًا عموديًا متقطعًا** يمتد من أعلى إلى أسفل الرسم البياني.
* **تسمية (Label)** أعلى الخط باسم الجلسة (مثل “Tokyo Midnight”).
3. كل جلسة لها لون مختلف:
* **أزرق** → منتصف طوكيو
* **أخضر** → منتصف لندن
* **أحمر** → منتصف نيويورك
### 🕒 التعامل مع تغيّر التوقيت الصيفي والشتوي (DST):
يتكيّف المؤشر تلقائيًا مع تغيّر التوقيت في لندن ونيويورك:
* عندما تنتقل لندن بين **التوقيت الشتوي (GMT)** و**التوقيت الصيفي (GMT+1)**، يتحرك الخط تلقائيًا ليبقى في الساعة 00:00 المحلية.
* وعندما تنتقل نيويورك بين **EST** و**EDT**، يتم تعديل الخط كذلك تلقائيًا.
* أما طوكيو فلا تعتمد التوقيت الصيفي، لذا يبقى وقتها ثابتًا دائمًا على الساعة **00:00 JST**.
### 🎯 الفائدة:
يساعد المتداولين على تحديد **بداية كل جلسة تداول رئيسية**، ومراقبة:
* **تداخل الجلسات** مثل لندن ونيويورك
* **تحركات السعر عند بداية اليوم الجديد**
* **استراتيجيات التداول الزمنية حسب الجلسة**
---
Heiken Ashi BAS - Multi-Timeframe Strategy with Advanced FiltersHeiken Ashi BAS - Multi-Timeframe Strategy with Advanced Filters
🚀 Revolutionary Multi-Filter Trading System
This advanced indicator combines the power of Heiken Ashi smoothing with Ichimoku Baseline analysis, enhanced by multiple sophisticated filters for precision trading. ⭐ Add to Favorites and Follow for future updates!
✨ KEY ADVANCEMENTS IN VERSION 2.0
🎯 Dual Slope Divergence System
First Slope (1-bar): Captures immediate momentum shifts
Second Slope (3-bar): Identifies sustained trend direction
Slope Threshold Control: Customizable sensitivity for precise entries
Visual Slope Lines: Real-time slope visualization with color-coded trends
📊 Advanced Filter Matrix
RSI Momentum Filter: Confirms strength with customizable thresholds
ATR Volatility Filter: Ensures meaningful market movements
Volume Spike Detection: Filters low-volume false signals
Session Time Filter: Trade only during optimal market hours
🎭 Revolutionary Trading Psychology Features
Real-Time HA Candle Hidden Mode: Eliminate emotional trading by hiding unfolding candles - only see confirmed formations
Smart Alert Confirmation: Choose between real-time alerts or wait for candle close confirmation
Sound Alert System: Audio notifications for instant signal recognition
Emotion-Free Environment: Trade without the psychological pressure of watching candles form
🔧 CORE FEATURES
Multi-Timeframe Architecture: Separate timeframes for each component: Baseline, EMA, Slope, ATR, RSI - all can operate on different timeframes
True Multi-Timeframe Analysis: Unlike basic indicators, each filter can reference its own optimal timeframe
Flexible configuration: Match timeframes to your trading style - intraday, swing, or position trading
Consistent performance: Works seamlessly across all market conditions and instruments
Smart Alert & Display System
Real-Time vs Confirmed Mode: Toggle between immediate signals or wait for candle close
Sound Alert Integration: Customizable audio notifications with clear distinction between long/short signals
Visual Signal Options: Multiple sizes and colors for clear identification
Background Highlighting: Color-coded backgrounds for quick signal recognition
Advanced Sound Alert System
Instant Audio Notifications: Never miss a signal with clear sound alerts
Customizable Alert Types: Choose which signals trigger audio alerts
Real-time vs Closed Alerts: Sound alerts respect your confirmation preferences
Professional Alert Messages: Clear audio cues for long/short positions with price levels
Real-Time Candle Hidden Technology
Emotion-Free Trading: Hide unfolding candles to eliminate psychological pressure
Professional Approach: Trade like institutions that don't watch tick-by-tick movements
Reduced Overtrading: Fewer impulsive decisions by waiting for confirmed closes
Enhanced Focus: Concentrate on completed price action, not forming candles
Smart Risk Management
Dynamic TP/SL System:
-TP based on higher timeframe ATR
-SL referenced to Ichimoku Baseline
-Extended TP lines act as resistance levels
Configurable Risk-Reward: Adjustable multipliers for TP/SL
Visual Intelligence:
-Color-coded Heiken Ashi candles with adjustable opacity
-Clean, professional chart presentation
-Customizable signal sizes and colors
-Real-time information table with status overview
⚡ ADVANTAGES For TRADERS
Psychology-First Design: Hidden real-time candles eliminate emotional decision making
Double Slope Confirmation: Unlike single-slope systems, our dual approach reduces false signals
Flexible Alert Timing: Choose your confirmation style - immediate or after close
TP as Dynamic Resistance: Take-profit levels often act as temporary resistance, providing additional confirmation
Complete Filter Suite: 6 different filter types for maximum signal quality
True Multi-Timeframe Harmony: Each component can operate on its optimal timeframe
🛠 TECHNICAL SPECIFICATIONS
Primary Signal: Heiken Ashi close above/below Ichimoku Baseline + 200 EMA
Confirmation: Green/Red HA candles with minimum wick requirements
Psychology Tools: Hidden real-time candles + confirmed close options
Alert System: Sound + visual notifications with timing flexibility
Filters: Slope, ATR, RSI, Volume, Session Time
Risk Management: ATR-based TP/SL with extended visibility
Visual Options: Fully customizable colors, opacity, and sizes
🎯 TRADING PSYCHOLOGY BREAKTHROUGH
The Hidden Candle Advantage:
No More Emotional Reactions: Stop watching candles form and second-guessing entries
Confirmed Signals Only: Trade based on completed price action, not anticipation
Reduced Overtrading: Fewer false entries by waiting for proper confirmation
Professional Mindset: Think like institutional traders who don't watch tick-by-tick movements
🌟Sound Alert Benefits:
Instant Recognition: Audio cues help you recognize signals without staring at charts
Multi-Tasking Friendly: Get alerts while working on other tasks
Clear Distinction: Different sounds for long vs short positions
Customizable Volume: Adjust alert volume to your preference
Professional Timeframe Stacking:
Trend Identification: Higher timeframe baseline for overall direction
Entry Precision: Lower timeframe signals for exact timing
Risk Management: Separate timeframe for volatility assessment
Momentum Confirmation: Independent RSI timeframe for strength verification
📈 OPTIMAL SETTINGS
Emotion-Prone Traders: Enable hidden candles + confirmed close + sound alerts
Active Day Traders: Real-time mode with multi-timeframe analysis
Trend Markets: Enable all filters for high-quality signals
Ranging Markets: Use ATR filter to avoid choppy conditions
Session-Specific: Time filter for active hours only
🔍 WHY TRADERS CHOOSE THIS SYSTEM
Psychology Mastery: First indicator designed specifically for emotional control
Proven Accuracy: Multiple confluence points for reliable signals
Adaptive Design: Works across all markets and timeframes
Professional Grade: Institutional-level filtering in retail package
Continuous Innovation: Regular updates with new features
⭐ Don't forget to Add to Favorites and Follow for future updates!
Experience emotion-free trading with the Heiken Ashi Bas system that prioritizes your trading psychology as much as your technical analysis. Join traders who have improve their trading with our multi-timeframe, psychology-first approach.
Chanlun - Strokes & Central ZonesChanlun Indicator - Strokes and Central Zones
This indicator implements Chan lun's core concepts:
Bi (Stroke): Basic price movement units formed by local highs and lows
Zhongshu (Central Zone): Overlapping areas formed by at least 3 strokes
Extension Lines: Visual guides for the latest central zone boundaries
Key Features:
Automatic stroke identification based on local extremes
Central zone detection with customizable colors
Extension lines for latest central zone (upper/lower bounds)
Separate colors for strokes within central zones
Price labels on the axis for zone boundaries
Settings:
Max Bars: Maximum K-lines to analyze (default: 4900)
Lookback Period: Period for finding local extremes (default: 5)
Min Gap Bars: Minimum bars between strokes (default: 4)
Customizable colors for strokes, zones, and extension lines
[LTS] Marubozu Candle StrategyOVERVIEW
The Marubozu Candle Strategy identifies and trades wickless candles (Marubozu patterns) with dynamic take-profit and stop-loss levels based on market volatility. This indicator combines traditional Japanese candlestick pattern recognition with modern volatility-adjusted risk management and includes a comprehensive performance tracking dashboard.
A Marubozu candle is a powerful continuation pattern characterized by the complete absence of wicks on one side, indicating strong directional momentum. This strategy specifically detects:
- Bullish Marubozu: Close > Open AND Low = Open (no lower wick)
- Bearish Marubozu: Close < Open AND High = Open (no upper wick)
When price returns to test these levels, the indicator generates trading signals with predefined risk-reward parameters.
CORE METHODOLOGY
Detection Logic:
The script scans each bar for Marubozu formations using precise price comparisons. When a wickless candle appears, a horizontal line extends from the opening price, marking it as a potential support (bullish) or resistance (bearish) level. These levels remain active until price touches them or until the maximum line limit is reached.
EMA Filter (Optional):
An exponential moving average filter enhances signal quality by requiring proper trend alignment. For bullish signals, price must be above the EMA when touching the level. For bearish signals, price must be below the EMA. This filter reduces counter-trend trades and improves win rates in trending markets. Users can disable this filter for range-bound conditions.
Dynamic Risk Management:
The strategy employs ATR-based (Average True Range) position sizing rather than fixed point values. This approach adapts to market volatility automatically:
- In low volatility: Tighter stops and targets
- In high volatility: Wider stops and targets proportional to market movement
Default settings use a 2:1 reward-to-risk ratio (1x ATR for take-profit, 0.5x ATR for stop-loss), but users can adjust these multipliers to match their trading style.
HOW IT WORKS
Step 1 - Pattern Detection:
On each bar, the indicator evaluates whether the candle qualifies as a Marubozu by comparing the high, low, open, and close prices. When detected, the opening price becomes the key level.
Step 2 - Level Management:
Horizontal lines extend from each Marubozu's opening price. The indicator maintains two separate arrays: one for unbroken levels (actively extending) and one for broken levels (historical reference). Users can configure how many of each type to display, preventing chart clutter while maintaining relevant context.
Step 3 - Signal Generation:
When price returns to touch a Marubozu level, the indicator evaluates the EMA filter condition. If the filter passes (or is disabled), the script draws TP/SL boxes showing the expected profit and loss zones based on current ATR values.
Step 4 - Trade Tracking:
Each valid signal enters the tracking system, which monitors subsequent price action to determine outcomes. The script identifies whether the take-profit or stop-loss was hit first (discarding trades where both trigger on the same candle to avoid ambiguous results).
PERFORMANCE DASHBOARD
The integrated dashboard provides real-time strategy analytics to automatically convert results to dollar values for any instrument:
Tracked Metrics:
- Total Trades: Complete count of closed positions
- Wins/Losses: Individual counts with color coding
- Win Rate: Success percentage with dynamic color (green >= 50%, red < 50%)
- Total P&L: Cumulative profit/loss in dollars
- Avg Win: Mean dollar amount per winning trade
- Avg Loss: Mean dollar amount per losing trade
NOTE: The dollar values shown in the dashboard are for trading only a single share/contract/etc. You will need to manually multiply those numbers by the amount of shares/contracts you are trading to get a true value.
The dollar conversion works automatically across all markets:
- Futures contracts (ES, NQ, CL, etc.) use their contract specifications
- Forex pairs use standard lot calculations
- Stocks and crypto use their respective point values
This eliminates manual calculation and provides immediate performance feedback in meaningful currency terms.
CUSTOMIZATION OPTIONS
ATR Settings:
- ATR Period: Lookback length for volatility calculation (default: 14)
- TP Multiplier: Take-profit distance as multiple of ATR (default: 3.0)
- SL Multiplier: Stop-loss distance as multiple of ATR (default: 1.5)
EMA Settings:
- EMA Length: Period for trend filter calculation (default: 9)
- Use EMA Filter: Toggle trend confirmation requirement (default: enabled)
Visual Settings:
- Bullish Color: Color for long signals and wins (default: green)
- Bearish Color: Color for short signals and losses (default: red)
- EMA Color: Color for trend filter line (default: orange)
- Line Width: Thickness of Marubozu level lines (1-5, default: 2)
- EMA Width: Thickness of EMA line (1-5, default: 2)
Line Management:
- Max Unbroken Lines: Limit for active extending lines (default: 10)
- Max Broken Lines: Limit for historical touched lines (default: 5)
Dashboard Settings:
- Show Dashboard: Toggle performance display on/off
- Dashboard Position: Corner placement (4 options)
- Dashboard Size: Text size selection (Tiny/Small/Normal/Large)
HOW TO USE
1. Add the indicator to your chart
2. Adjust ATR multipliers based on your risk tolerance (higher values = more conservative)
3. Configure the EMA filter based on market conditions (enable for trending, disable for ranging)
4. Set line limits to match your visual preference and chart timeframe
5. Monitor the dashboard to track strategy performance in real-time
6. Use the TP/SL boxes as reference levels for manual trades or automation
Best Practices:
- Enable EMA filter in strongly trending markets
- Disable EMA filter if you want more trade signals but at lower quality
- Increase ATR multipliers in highly volatile markets
- Decrease ATR multipliers for tighter, more frequent trades
- Review avg win/loss ratio to ensure positive expectancy
UNIQUE FEATURES
Unlike basic Marubozu detectors, this strategy provides:
1. Automatic level tracking with memory management
2. Volatility-adjusted risk parameters instead of fixed values
3. Optional trend confirmation via EMA filter
4. Real-time performance analytics with automatic dollar conversion
5. Separate tracking of wins/losses with individual averages
6. Configurable visual display to prevent chart clutter
7. Complete transparency with all logic visible in open-source code
saodisengxiaoyu-lianghua-2.1- This indicator is a modular, signal-building framework designed to generate long and short signals by combining a chosen leading indicator with selectable confirmation filters. It runs on Pine Script version 5, overlays directly on price, and is built to be highly configurable so traders can tailor the signal logic to their market, timeframe, and trading style. It includes a dashboard to visualize which conditions are active and whether they validate a signal, and it outputs clear buy/sell labels and alert conditions so you can automate or monitor trades with confidence.
Core Design
- Leading Indicator: You choose one primary signal generator from a broad list (for example, Range Filter, Supertrend, MACD, RSI, Ichimoku, and many others). This serves as the anchor of the system and determines when a preliminary long or short setup exists.
- Confirmation Filters: You can enable additional filters that validate the leading signal before it becomes actionable. Each “respect…” input toggles a filter on or off. These filters include popular tools like EMA, 2/3 EMA crosses, RQK (Nadaraya Watson), ADX/DMI, Bollinger-based oscillators, MACD variations, QQE, Hull, VWAP, Choppiness Index, Damiani Volatility, and more.
- Signal Expiry: To avoid waiting indefinitely for confirmations, the indicator counts how many consecutive bars the leading condition holds. If confirmations do not align within a defined number of bars, the setup expires. This controls latency and helps reduce late or stale entries.
- Alternating Signals: An optional mode enforces alternation (long must follow short and vice versa), helping avoid repeated entries in the same direction without a meaningful reset.
- Aggregation Logic: The final long/short conditions are formed by combining the leading condition with all selected confirmation filters through logical conjunction. Only if all enabled filters validate the signal (within expiry constraints) does the indicator consider it a confirmed long or short.
- Visualization and Alerts: The script plots buy/sell labels at signal points, provides alert conditions for automation, and displays a compact dashboard summarizing the leading indicator’s status and each confirmation’s pass/fail result using checkmarks.
Leading Indicator Options
- The indicator includes a very large menu of leading tools, each with its own logic to determine uptrend or downtrend impulses. Highlights include:
- Range Filter: Uses a dynamic centerline and bands computed via conditional EMA/SMA and range sizing to define directional movement. It can operate in a default mode or an alternative “DW” mode.
- Rational Quadratic Kernel (RQK): Applies a kernel smoothing model (Nadaraya Watson) to detect uptrends and downtrends with a focus on noise reduction.
- Supertrend, Half Trend, SSL Channel: Classic trend-following tools that derive direction from ATR-based bands or moving average channels.
- Ichimoku Cloud and SuperIchi: Multi-component systems validating trend via cloud position, conversion/base line relationships, projected cloud, and lagging span.
- TSI (True Strength Index), DPO (Detrended Price Oscillator), AO (Awesome Oscillator), MACD, STC (Schaff Trend Cycle), QQE Mod: Momentum and cycle tools that parse direction from crossovers, zero-line behavior, and momentum shifts.
- Donchian Trend Ribbon, Chandelier Exit: Trend and exit tools that can validate breakouts or sustained trend strength.
- ADX/DMI: Measures trend strength and directional movement via +DI/-DI relationships and minimum ADX thresholds.
- RSI and Stochastic: Use crossovers, level exits, or threshold filters to gate entries based on overbought/oversold dynamics or relative strength trends.
- Vortex, Chaikin Money Flow, VWAP, Bull Bear Power, ROC, Wolfpack Id, Hull Suite: A diverse set of directional, momentum, and volume-based indicators to suit different markets and styles.
- Trendline Breakout and Range Detector: Price-behavior filters that confirm signals during breakouts or within defined ranges.
Confirmation Filters
- Each filter is optional. When enabled, it must validate the leading condition for a signal to pass. Examples:
- EMA Filter: Requires price to be above a specified EMA for longs and below for shorts, filtering signals that contradict broader trend or baseline levels.
- 2 EMA Cross and 3 EMA Cross: Enforce moving average cross conditions (fast above slow for long, the reverse for short) or a three-line stacking logic for more stringent trend alignment.
- RQK, Supertrend, Half Trend, Donchian, QQE, Hull, MACD (crossover vs. zero-line), AO (zero line or AC momentum variants), SSL: Each adds its characteristic validation pattern.
- RSI family (MA cross, exits OB/OS zones, threshold levels) plus RSI MA direction and RSI/RSI MA limits: Multiple ways to constrain signals via relative strength behavior and trajectories.
- Choppiness Index and Damiani Volatility: Prevent entries during ranging conditions or insufficient volatility; choppiness thresholds and volatility states gate the trade.
- VWAP, Volume modes (above MA, simple up/down, delta), Chaikin Money Flow: Volume and flow conditions that ensure signals happen in supportive liquidity or accumulation/distribution contexts.
- ADX/DMI thresholds: Demand a minimum trend strength and directional DI alignment to reduce whipsaw trades.
- Trendline Breakout and Range Detector: Confirm that the price is breaking structure or remains within active range consistent with the leading setup.
- By combining several filters you can create strict, conservative entries or looser setups depending on your goals.
Range Filter Engine
- A core building block, the Range Filter uses conditional EMA and SMA functions to compute adaptive bands around a dynamic centerline. It supports two types:
- Type 1: The centerline updates when price exceeds the band thresholds; bands define acceptable drift ranges.
- Type 2: Uses quantized steps (via floor operations) relative to the previous centerline to handle larger moves in discrete increments.
- The engine offers smoothing for range values using a secondary EMA and can switch between raw and averaged outputs. Its hi/lo bands and centerline compose a corridor that defines directional movement and potential breakout confirmation.
Signal Construction
- The script computes:
- leadinglongcond and leadingshortcond : The primary directional signals from the chosen leading indicator.
- longCond and shortCond : Final signals formed by combining the leading conditions with all enabled confirmations. Each confirmation contributes a boolean gate. If a filter is disabled, it contributes a neutral pass-through, keeping the logic intact without enforcing that condition.
- Expiry Logic: The code counts consecutive bars where the leading condition remains true. If confirmations do not line up within the user-defined “Signal Expiry Candle Count,” the setup is abandoned and the signal does not trigger.
- Alternation: An optional state ensures that long and short signals alternate. This can reduce repeated entries in the same direction without a clear reset.
- Finally, longCondition and shortCondition represent the actionable signals after expiry and alternation logic. These drive the label plotting and alert conditions.
Visualization
- Buy and Sell Labels: When longCondition or shortCondition confirm, the script plots annotated labels directly on the chart, making entries easy to see at a glance. The labels use color coding and clear text tags (“long” vs. “short”).
- Dashboard: A table summarizes the status of the leading indicator and all confirmations. Each row shows the indicator label and whether it passed (✔️) or failed (❌) on the current bar. This intensely practical UI helps you diagnose why a signal did or did not trigger, empowering faster strategy iteration and parameter tuning.
- Failed Confirmation Markers: If a setup expires (count exceeds the limit) and confirmations failed to align, the script can mark the chart with a small label and provide a tooltip listing which confirmations did not pass. It’s a helpful audit trail to understand missed trades or prevent “chasing” invalid signals.
- Data Window Values: The script outputs signal states to the data window, which can be useful for debugging or building composite conditions in multi-indicator templates.
Inputs and Parameters
- You control the indicator from a comprehensive input panel:
- Setup: Signal expiry count, whether to enforce alternating signals, and whether to display labels and the dashboard (including position and size).
- Leading Indicator: Choose the primary signal generator from the large list.
- Per-Filter Toggles: For each confirmation, a respect... toggle enables or disables it. Many include sub-options (like MACD type, Stochastic mode, RSI mode, ADX variants, thresholds for choppiness/volatility, etc.) to fine-tune behavior.
- Range Filter Settings: Choose type and behavior; select default vs. DW mode and smoothing. The underlying functions adjust band sizes using ATR, average change, standard deviation, or user-defined scales.
- Because everything is customizable, you can adapt the indicator to different assets, volatility regimes, and timeframes.
Alerts and Automation
- The script defines alert conditions tied to longCondition and shortCondition . You can set these alerts in your chart to trigger notifications or webhook calls for automated execution in external bots. The alert text is simple, and you can configure your own message template when creating alerts in the chart, including JSON payloads for algorithmic integration.
Typical Workflow
- Select a Leading Indicator aligned with your style. For trend following, Supertrend or SSL may be appropriate; for momentum, MACD or TSI; for range/trend-change detection, Range Filter, RQK, or Donchian.
- Add a few key Confirmation Filters that complement the leading signal. For example:
- Pair Supertrend with EMA Filter and RSI MA Direction to ensure trend alignment and positive momentum.
- Combine MACD Crossover with ADX/DMI and Volume Above MA to avoid signals in low-trend or low-liquidity conditions.
- Use RQK with Choppiness Index and Damiani Volatility to only act when the market is trending and volatile enough.
- Set a sensible Signal Expiry Candle Count. Shorter expiry keeps entries timely and reduces lag; longer expiry captures setups that mature slowly.
- Observe the Dashboard during live markets to see which filters pass or fail, then iterate. Tighten or loosen thresholds and filter combinations as needed.
- For automation, turn on alerts for the final conditions and use webhook payloads to notify your trading robot.
Strengths and Practical Notes
- Flexibility: The indicator is a toolkit rather than a single rigid model. It lets you test different combinations rapidly and visualize outcomes immediately.
- Clarity: Labels, dashboard, and failed-confirmation markers make it easy to audit behavior and refine settings without digging into code.
- Robustness: The expiry and alternation options add discipline, avoiding the temptation to enter late or repeatedly in one direction without a reset.
- Modular Design: The logical gates (“respect…”) make the behavior transparent: if a filter is on, it must pass; if it’s off, the signal ignores it. This keeps reasoning clean.
- Avoiding Overfitting: Because you can stack many filters, it’s tempting to over-constrain signals. Start simple (one leading indicator and one or two confirmations). Add complexity only if it demonstrably improves your edge across varied market regimes.
Limitations and Recommendations
- No single configuration is universally optimal. Markets change; tune filters for the instrument and timeframe you trade and revisit settings periodically.
- Trend filters can underperform in choppy markets; likewise, momentum filters can false-trigger in quiet periods. Consider using Choppiness Index or Damiani to gate signals by regime.
- Use expiry wisely. Too short may miss good setups that need a few bars to confirm; too long may cause late entries. Balance responsiveness and accuracy.
- Always consider risk management externally (position sizing, stops, profit targets). The indicator focuses on signal quality; combining it with robust trade management methods will improve results.
Example Configurations
- Trend-Following Setup:
- Leading: Supertrend uptrend for longs and downtrend for shorts.
- Confirmations: EMA Filter (price above 200 EMA for long, below for short), ADX/DMI (trend strength above threshold with +DI/-DI alignment), Volume Above MA.
- Expiry: 3–4 bars to keep entries timely.
- Result: Strong bias toward sustained moves while avoiding weak trends and thin liquidity.
- Mean-Reversion to Momentum Crossover:
- Leading: RSI exits from OB/OS zones (e.g., RSI leaves oversold for long and leaves overbought for short).
- Confirmations: 2 EMA Cross (fast crossing slow in the same direction), MACD zero-line behavior for added momentum validation.
- Expiry: 2–3 bars for responsive re-entry.
- Result: Captures momentum transitions after short-term extremes, with extra confirmation to reduce head-fakes.
- Range Breakout Focus:
- Leading: Range Filter Type 2 or Donchian Trend Ribbon to detect breakouts.
- Confirmations: Damiani Volatility (avoid low-volatility false breaks), Choppiness Index (prefer trend-ready states), ROC positive/negative threshold.
- Expiry: 1–3 bars to act on breakout windows.
- Result: Better alignment to breakout dynamics, gating trades by volatility and regime.
Conclusion
- This indicator is a comprehensive, configurable framework that merges a chosen leading signal with an array of corroborating filters, disciplined expiry handling, and intuitive visualization. It’s designed to help you build high-quality entry signals tailored to your approach, whether that’s trend-following, breakout trading, momentum capturing, or a hybrid. By surfacing pass/fail states in a dashboard and allowing alert-based automation, it bridges the gap between discretionary analysis and systematic execution. With sensible parameter tuning and thoughtful filter selection, it can serve as a robust backbone for signal generation across diverse instruments and timeframes.
Avivso 150 + ATHThis Pine Script displays a dynamic on-chart watermark and key stock data.
It shows company info, symbol, industry, market cap, ATR(14) with color status, earnings countdown, and distances from the current price to SMA150 and the all-time high.
It also plots SMA 20 and SMA 150 moving-average lines on the chart and supports configurable position, size, and padding for the watermark.
NY Session Divisions⭐NY Session Divisions - Professional Trading Session Manager
NY Session Divisions is an advanced trading indicator that professionally segments the New York trading day into precise sessions, providing institutional-grade market structure analysis with smart breakout detection and comprehensive filtering systems.
✨ KEY FEATURES
🕒 8 Professional Trading Sessions
- US Overnight Range (03:30-11:50)
- NY Pre-Open (16:45-17:00)
- NY First Session ORB (17:00-17:15)
- Premarket Range - Recommended by Mahdi Salari*
- NY Midday Range
- NY 2nd Pre-Open
- 2nd Session ORB
- US After Hours ORB
🎯 Advanced Trading Strategies
- School Run Strategy (SRS) by Tom Hougaard - Breakout-focused approach
- Anti-SRS Strategy - Range-trading methodology
- Dual Strategy System - Combine breakout and range trading for maximum flexibility
🔔 Smart Alert System
- Multi-timeframe confirmation
- Heiken Ashi candle validation
- Customizable alert conditions
- Sound notifications with detailed messages
- Post-close confirmation to avoid false signals
🛡️ Professional Filter Stack
- Ichimoku Baseline
- Divergence Detection - Advanced market analysis
- EMA 200 Filter - Trend alignment
- Ichimoku Baseline - Market structure
- ATR Filter - Volatility validation
- RSI Filter - Momentum confirmation
🎨 Advanced Visualization
- Clean session range displays
- Professional Heiken Ashi candles
- Smart breakout markers (Small/Tiny for signal strength)
- Take Profit lines with ATR-based calculations
- Customizable colors and opacity
🏆 WHY TRADERS LOVE THIS INDICATOR
✅ For Breakout Traders
- Precise session boundary detection
- Clean breakout signals with confirmation
- Multiple filter validation
✅ For Range Traders
- Clear session range identification
- Anti-SRS strategy for range-bound markets
- Support/Resistance level tracking
✅ For Professional Traders
- Institutional-grade session management
- Comprehensive filtering system
- Multi-timeframe analysis
- Customizable risk management
⚡ QUICK START GUIDE
Basic Setup (2 Minutes)
1. Enable Sessions** - Choose 1-2 sessions to start
2. Set Alerts - Configure your preferred notification method
3. Apply Filters - Enable EMA 200 and Ichimoku for starters
Advanced Configuration
- Combine SRS + Anti-SRS for comprehensive strategy
- Use multiple divergence filters for confirmation
- Customize TP lines based on your risk profile
- Drawing 1st and 2nd Session Close lines
PROFESSIONAL TIPS
Session Selection Strategy
- Start with Session 1 (US Overnight) for overall market trend identification
- Add Session 3 (NY First ORB) for opening momentum
- Use Session 4 (Premarket) for the best perfomance of the breakout strategy
Filter Optimization
- Conservative : EMA 200 + Ichimoku Baseline
- Balanced : Add ATR filter for volatility check 0.8 is enough
- Aggressive : Enable all filters for maximum confirmation but the number of signal and performance will decrease
Risk Management
- Use TP lines for automatic profit targets
- Combine with proper position sizing
- Always use stop losses
🔧 TECHNICAL SPECIFICATIONS
- Platform : TradingView Pine Script v6
- Markets : All US trading instruments (ES, NQ, YM, CL, etc.)
- Timeframes : 1min to Daily
- Auto DST Handling : Yes
- Real-time Processing : Yes
📊 PERFORMANCE FEATURES
- Zero Repaint - All signals confirmed after candle close
- Multi-Timeframe - Works across all chart timeframes
- Resource Optimized - Efficient calculation methods
- User Customizable - Complete control over all parameters
- Consistent Performance - Reliable session-based signals
- Professional Grade - Institutional-level analysis tools
- Continuous Updates - Regular improvements and enhancements
- Community Supported - Active user community and support
🔄 KEEP UPDATED
Click the Favorite Star ⭐ to receive update notifications and stay current with new features and improvements!
Professional traders don't guess - they analyze. NY Session Divisions gives you the analytical edge.
Happy Trading! 📈
Created with precision for serious traders
DISCLAIMER
This indicator is for educational and informational purposes only. It should not be considered as financial advice. Always practice proper risk management and test strategies in demo accounts before live trading. Past performance does not guarantee future results.
Aibuyzone Vector Strategy – Floating DashboardAibuyzone Vector Strategy – Floating Dashboard (Indicator)
Educational indicator that highlights potential “vector” candles (expanded-range bodies with optional wick-imbalance and volume-spike filters) and overlays basic trend/momentum context. Not financial advice.
What it does
Identifies potential vector candles using body-to-range %, ATR expansion, optional wick-imbalance ratio, and optional volume spike.
Optional 3-bar FVG alignment (in signal direction).
Trend filter using EMA Fast/Slow, with an optional higher-timeframe EMA.
Momentum context via RSI.
Optional floating dashboard summarizing the current state (toggle in settings).
Signals & visuals
Long setup: triangle below bar when vector criteria + trend + momentum align.
Short setup: triangle above bar on bearish alignment.
EMA Fast/Slow are plotted for trend context.
Alerts: “AIBZ Vector Long/Short”.
Inputs (key)
Vector: Body% minimum, ATR length & multiple, wick-imbalance ratio.
Volume: SMA length & spike multiple.
Trend: EMA Fast/Slow; optional HTF EMA and timeframe.
Momentum: RSI length and thresholds.
Display: label size/offset/colors; floating dashboard (Last bar / Every bar); optional watermark with symbol, timeframe, and script name.
Screenshot Mode: hides labels & dashboard for a clean publication chart.
How to use (example workflow)
Use on standard candle charts (not Heikin Ashi/Renko/Kagi/P&F/Range).
Confirm trend (EMA Fast vs. Slow and optional HTF EMA).
Look for a vector signal in trend direction and verify RSI context.
Manage risk independently; this tool does not place orders or provide trade management.
Limitations
Past signals don’t guarantee future results.
HTF calculations use request.security and may differ from intrabar development.
Indicator (not a strategy()); no backtest P/L.
Attribution
Built in Pine v6 by @Aibuyzone. No third-party proprietary code included.
Release notes
v1.0: Initial public release.
London Open High/Low 9:00-9:15indicator marks out high and low of the first 15 minutes of the London session.
WorldCup Dashboard + Institutional Sessions© 2025 NewMeta™ — Educational use only.
# Full, Premium Description
## WorldCup Dashboard + Institutional Sessions
**A trade-ready, intraday framework that combines market structure, real flow, and institutional timing.**
This toolkit fuses **Institutional Sessions** with a **price–volume decision engine** so you can see *who is active*, *where value sits*, and *whether the drive is real*. You get: **CVD/Delta**, volume-weighted **Momentum**, **Aggression** spikes, **FVG (MTF)** with nearest side, **Daily Volume Profile (VAH/POC/VAL)**, **ATR regime**, a **24h position gauge**, classic **candle patterns**, IBH/IBL + **first-hour “true close”** lines, and a **10-vote confluence scoreboard**—all in one view.
---
## What’s inside (and how to trade it)
### 🌍 Institutional Sessions (Sydney • Tokyo • London • New York)
* Session boxes + a highlighted **first hour**.
* Plots the **true close** (first-hour close) as a running line with a label.
**Use:** Many desks anchor risk to this print. Above = bullish bias; below = bearish. **IBH/IBL** breaks during London/NY carry the most signal.
### 📊 CVD / Delta (Flow)
* Net buyer vs seller pressure with smooth trend state.
**Use:** **Rising CVD + acceptance above mid/POC** confirms continuation. Bearish price + rising CVD = caution (possible absorption).
### ⚡ Volume-Weighted Momentum
* Momentum adjusted by participation quality (volume).
**Use:** Momentum>MA and >0 → trend drive is “real”; <0 and falling → distribution risk.
### 🔥 Aggression Detector
* ROC × normalized volume × wick factor to flag **forceful** candles.
**Use:** On spikes, avoid fading blindly—wait for pullbacks into **aligned FVG** or for aggression to cool.
### 🟦🟪 Fair Value Gaps (with MTF)
* Detects up to 3 recent FVGs and marks the **nearest** side to price.
**Use:** Trend pullbacks into **bullish FVG** for longs; bounces into **bearish FVG** for shorts. Optional threshold to filter weak gaps.
### 🧭 24h Gauge (positioning)
* Shows current price across the 24h low⇢high with a mid reference.
**Use:** Above mid and pushing upper third = momentum continuation setups; below mid = sell the rips bias.
### 🧱 Daily Volume Profile (manual per day)
* **VAH / POC / VAL** derived from discretized rows.
**Use:** **POC below** supports longs; **POC above** caps rallies. Fade VAH/VAL in ranges; treat them as break/hold levels in trends.
### 📈 ATR Regime
* **ATR vs ATR-avg** with direction and regime flag (**HIGH / NORMAL / LOW**).
**Use:** HIGH ⇒ give trades room & favor trend following. LOW ⇒ fade edges, scale targets.
### 🕯️ Candle Patterns (contextual, not standalone)
* Engulfings, Morning/Evening Star, 3 Soldiers/Crows, Harami, Hammer/Shooting Star, Double Top/Bottom.
**Use:** Only with session + flow + momentum alignment.
### 🤝 Price–Volume Classification
* Labels each bar as **continuation**, **exhaustion**, **distribution**, or **healthy pullback**.
**Use:** Align continuation reads with trend; treat “Price↑ + Vol↓” as a caution flag.
### 🧪 Confluence Scoreboard & B/S Meter
* Ten elements vote: 🔵 bull, ⚪ neutral, 🟣 bear.
**Use:** Execution filter—take setups when the board’s skew matches your trade direction.
---
## Playbooks (actionable)
**Trend Pullback (Long)**
1. London/NY active, Momentum↑, CVD↑, price above 24h mid & POC.
2. Pullback into **nearest bullish FVG**.
3. Invalidate under FVG low or **true-close** line.
4. Targets: IBH → VAH → 24h high.
**Range Fade (Short)**
1. Asia/quiet regime, **Price↑ + Vol↓** into **VAH**, ATR low.
2. Nearest FVG bearish or scoreboard skew bearish.
3. Invalidate above VAH/IBH.
4. Targets: POC → VAL.
**News/Impulse**
Aggression spike? Don’t chase. Let it pull back into the aligned FVG; require CVD/Momentum agreement before entry.
---
## Alerts (included)
* **Bull/Bear Confluence ≥ 7/10**
* **Intraday Target Achieved** / **Daily Target Achieved**
* **Session True-Close Retests** (Sydney/Tokyo/London/NY)
*(Keep alerts “Once per bar” unless you specifically want intrabar triggers.)*
---
## Setup Tips
* **UTC**: Choose the reference that matches how you track sessions (default UTC+2).
* **Volume threshold**: 2.0× is a strong baseline; raise for noisy alts, lower for majors.
* **CVD smoothing**: 14–24 for scalps; 24–34 for slower markets.
* **ATR lengths**: Keep defaults unless your asset has a persistent regime shift.
---
## Why this framework?
Because **timing (sessions)**, **truth (flow)**, and **location (value/FVG)** together beat any single signal. You get *who is trading*, *how strong the push is*, and *where risk lives*—on one screen—so execution is faster and cleaner.
---
**Disclaimer**: Educational use only. Not financial advice. Markets are risky—backtest and size responsibly.
jjjjjjjjExplanation of the Script
Bullish and Bearish Candles: The function isBullishOrderBlock() checks if a candle is "bullish" in nature (based on body size to range ratio). Similarly, isBearishOrderBlock() checks for bearish candles.
Order Block Length and Threshold: length is the number of bars to scan for an order block, and threshold sets how strong a candle needs to be to be considered an order block.
Detection: The loop searches backward through the bars to find strong bullish and bearish order blocks, marking the price points where the strong moves happened.
Plotting: The plotshape() function is used to plot arrows or labels on the chart to mark where bullish or bearish order blocks are identified.
Improving and Customizing
Highlighting Blocks: Instead of just marking a point, you can plot horizontal boxes or shaded regions using box.new() to visually highlight the order block zone.
Use of Different Timeframes: You can modify the script to look for order blocks across multiple timeframes to increase accuracy.
Complex Rules: Depending on your strategy, you may want to add additional rules, such as looking for price to return to the order block area before confirming the strength of the block.
Asia Session 2h (8PM–10PM EST, Today Only)This indicator automatically highlights the first 2 hours of the Asia trading session (8:00 PM – 10:00 PM EST) with a transparent teal box. It updates daily and only displays the current day’s session for a clean chart appearance.
Features:
Marks the Asia session open range (8–10 PM EST).
Automatically adjusts each day.
Works on any timeframe.
No clutter — only shows today’s box.
Ideal for traders who want to track Tokyo/Asia session volatility or identify key breakout zones before the London open.
CHOCH + FVG Signals [30m Optimized]CHOCH + FVG Signals
🎯 What It Does:
This script automatically scans your chart for high-probability Smart Money Concepts (SMC) setups based on two key institutional trading principles:
Change of Character (CHOCH) – A shift in market structure signaling potential reversal
Fair Value Gap (FVG) – An imbalance zone where price moved too fast, often acting as support/resistance
When both conditions align, the script plots clear Buy (▲) and Sell (▼) signals directly on your chart — ideal for intraday trading on the 30-minute timeframe (but works on any timeframe).
✅ Key Features:
🔹 Visual Fair Value Gaps
Green shaded zones = Bullish FVGs (potential support)
Red shaded zones = Bearish FVGs (potential resistance)
Toggle on/off in settings
🔹 Smart CHOCH Detection
Detects breaks of recent swing highs/lows with proper context
Avoids false signals by confirming prior price structure
🔹 Clear Trade Signals
Green ▲ below bar = Buy signal (Bullish CHOCH + FVG confluence)
Red ▼ above bar = Sell signal (Bearish CHOCH + FVG confluence)
🔹 Customizable Filters
Option to require FVG for a signal (recommended for higher accuracy)
Adjust sensitivity via swing detection settings (default optimized for 30m)
🔹 Alert-Ready
Built-in alert conditions for instant notifications on TradingView mobile/desktop
⚙️ How to Use:
Apply to a 30-minute chart (e.g., EURUSD, Gold, NAS100, BTC)
Wait for at least 50–100 bars to load (so swing points appear)
Look for:
A green triangle (▲) → consider long entry near FVG support
A red triangle (▼) → consider short entry near FVG resistance
Confirm with price action: Wait for a strong candle close or rejection at the FVG zone
Use stop-loss below/above the FVG and target recent liquidity pools
💡 Pro Tip: Best used during high-volume sessions (e.g., London Open 7–10 AM UTC, NY Open 12:30–3:30 PM UTC).
🛠️ Settings (Inputs):
Show Fair Value Gaps
✅ Enabled
Visualize FVG zones
Max FVG History
100 bars
Prevent chart clutter
Require FVG for Signal?
✅ Enabled
Higher-quality setups (disable to test CHOCH-only)
⚠️ Important Notes:
This is a signal generator, not financial advice. Always manage risk.
Works best in trending or breaking markets — avoid during low-volatility ranges.
FVGs may get filled (tested) before price continues — patience improves results.
Backtest on historical data before live trading.
📣 Ideal For:
Retail traders learning Smart Money Concepts (SMC)
Price action traders seeking institutional-level confluence
Intraday scalpers & swing traders on 30m–1H timeframes
Ticker Info & Look-Ahead Lines (W/D)This versatile Pine Script indicator for trading views clearly displays current chart information and predicts and plots important future timeframe boundaries (next week, the day after tomorrow, etc.).
Key Features of the Indicator 📈
This indicator is divided into three main sections:
1. Ticker/Timeframe Display
Clearly displays the current ticker and timeframe on the chart.
Customization: You can set the display position (top/middle/bottom, left/center/right), font size, default text color, and background color.
Auto Color by Timeframe: The text color automatically changes depending on the timeframe, allowing you to quickly visually grasp the current timeframe.
2. Weekly Look-Ahead Lines
Predicts the start times of the next week and the week after from the time the current bar is determined, and plots them as vertical lines on the chart.
Display Control: You can toggle the visibility of individual lines.
Style: You can set the line color and style (dotted, dashed, solid).
Maximum Number of Lines Displayed: You can control the number of previously drawn lines to retain (consumes two lines per set).
💡 Daily Chart Specific Filter
When viewing a daily chart, this filter hides all past weekly lines and displays only the most recent two (the lines for the following week and the week after). This significantly reduces the visual noise on the daily chart.
3. Daily Look-Ahead Lines
These lines predict the start times of the next and the day after tomorrow from the time the current bar is determined, and are drawn as vertical lines on the chart.
Display Control/Style: As with weekly lines, you can set the visibility, color, and style of lines.
Maximum Number of Lines Displayed: You can control the number of previously drawn lines to retain (consumes two lines per set).
4. Master Timeframe Filter
This is a master ON/OFF switch that centrally manages the automatic hiding of both weekly and daily lines except for the appropriate timeframe.
Auto-hide Daily Lines: When displaying a chart with a timeframe greater than the line's base timeframe, such as a daily, weekly, or monthly chart, the daily lines will be automatically hidden.
Auto-hide Weekly Lines: When displaying a weekly or monthly chart, the weekly lines will be automatically hidden.
This feature allows you to clearly see the leading lines when analyzing shorter timeframes, while preventing the chart from becoming cluttered with lines when switching to longer timeframes (daily or longer).
このインジケーターは、現在のチャート情報を明確に表示し、さらに将来の重要な時間軸の区切り(翌週、明後日など)を予測して描画する機能を持つ、トレーディングビュー用の多機能な Pine Script インジケーターです。
インジケーターの主要機能 (Key Features) 📈
このインジケーターは、以下の3つの主要なセクションに分かれています。
1. 銘柄・時間足情報表示 (Ticker/Timeframe Display)
チャート上に現在の銘柄名 (Ticker) と時間足 (Timeframe) を分かりやすく表示します。
カスタマイズ: 表示位置(上/中/下、左/中央/右)、文字サイズ、デフォルトの文字色、背景色を設定できます。
時間足別自動カラー: 時間足に応じて文字色が自動的に変わるオプションがあり、現在の時間足を視覚的に素早く把握できます。
2. 週足先行ライン (Weekly Look-Ahead Lines)
現在の足が確定した時点から見た、翌週と再来週の開始時刻を予測し、チャートに垂直線として描画します。
表示制御: ラインの表示/非表示を個別に切り替えられます。
スタイル: ラインの色とスタイル(点線、破線、実線)を設定できます。
最大表示本数: 過去に描画されたラインを何本まで保持するかを制御できます(1組あたり2本消費)。
💡 日足チャート限定フィルター (Daily Chart Specific Filter)
特に日足チャートを表示しているときに、過去の週足ラインをすべて非表示にし、直近の2本(翌週と再来週のライン)のみを表示するフィルター機能があります。これにより、日足チャートの視覚的なノイズを大幅に減らせます。
3. 日足先行ライン (Daily Look-Ahead Lines)
現在の足が確定した時点から見た、翌日と明後日の開始時刻を予測し、チャートに垂直線として描画します。
表示制御・スタイル: 週足ラインと同様に、ラインの表示/非表示、色、スタイルを設定できます。
最大表示本数: 過去のライン保持数を制御できます(1組あたり2本消費)。
4. 時間足フィルター一括制御 (Master Timeframe Filter)
週足ラインと日足ラインの両方に対し、適切な時間足以外での自動非表示を一括で管理するマスターON/OFFスイッチです。
日足ラインの自動非表示: 日足、週足、月足チャートなど、ラインの元となる時間足以上のチャートを表示している場合、日足ラインを自動で非表示にします。
週足ラインの自動非表示: 週足、月足チャートを表示している場合、週足ラインを自動で非表示にします。
この機能は、短期足での分析時には先行ラインを明確に見せつつ、長期足(日足以上)に切り替えた際にチャートが線で cluttered になるのを防ぎます。
Indian Gold Festival Dates HistoricalIndian Gold Festival Dates (1975-2025)
Marks 8 major Indian festivals associated with gold buying over 50 years of historical data. Essential for analyzing seasonal patterns and cultural demand cycles in gold markets.
Festivals Included:
Dhanteras (Gold) - Most auspicious gold buying day
Diwali (Orange) - Festival of Lights
Akshaya Tritiya (Green) - "Never-ending" prosperity
Dussehra (Red) - Victory and success
Makar Sankranti (Cyan) - Solar new year
Gudi Padwa (Magenta) - Hindu New Year (Maharashtra)
Ugadi (Purple) - Hindu New Year (South India)
Navratri (Yellow) - 9-day festival
Features:
✓ 408 exact historical dates (1975-2025)
✓ Color-coded vertical lines for easy identification
✓ Toggle individual festivals on/off
✓ Adjustable line width and labels
✓ Works on all timeframes (best on daily/weekly)
Perfect for traders analyzing gold seasonality, Indian market sentiment, and cultural demand patterns. Use on XAUUSD, GC1!, or Indian gold futures.
Alerts Killzones + PD/WL/ML Levels (No Labels)This indicator automatically highlights the London and New York killzones and triggers alerts at key price levels — without adding any labels or text clutter to the chart.
Features:
Highlights London (10:00–13:00) and New York (15:00–17:00) sessions (GMT+3, Romania).
Draws and updates key levels automatically:
PDH / PDL – Previous Day High & Low
WH / WL – Previous Week High & Low
MH / ML – Previous Month High & Low
Alerts when price touches any of these levels.
Alerts at session opens and closes for both London and New York.
Clean interface – no labels or extra markers on chart.
Ideal for:
Traders who follow ICT concepts, session-based setups, or liquidity sweeps and want precise alerts without chart noise.
6am Candle High/Low Indicator with Highlight6am Candle High/Low Indicator with Highlight
6am Candle High/Low Indicator with Highlight
6am Candle High/Low Indicator with Highlight
6am Candle High/Low Indicator with Highlight 6am Candle High/Low Indicator with Highlight
MACD with Smart Entry Signals & Trend Filter
This advanced MACD indicator combines traditional MACD analysis with intelligent entry signal detection and an optional EMA trend filter. It identifies high-probability entry points by analyzing histogram patterns, consolidation phases, and trend continuation setups.
### Key Features
**🎯 Smart Entry Detection**
- **Consolidation Breakouts**: Identifies exits from consolidation zones (weak bars) with strong momentum
- **Trend Reversals**: Detects potential trend changes after extended weak phases
- **Correction/Continuation Patterns**: Recognizes brief corrections within strong trends that offer continuation opportunities
**📊 Enhanced MACD Visualization**
- Color-coded histogram showing four distinct states:
- Strong Bullish (dark green): Rising histogram above zero
- Weak Bullish (light green): Falling histogram above zero
- Weak Bearish (light red): Rising histogram below zero
- Strong Bearish (dark red): Falling histogram below zero
**🔍 Multi-Layer Filtering System**
- **Candle Size Filter**: Eliminates signals during high volatility/large candle ranges
- **EMA Trend Filter**: Optional filter ensuring entries align with the dominant trend direction
- Visual markers for rejected signals (orange X for candle size, blue E for EMA trend)
**⚙️ Customizable Parameters**
- Adjustable MACD periods (default: 34/144/9)
- Configurable consolidation bar requirements
- Flexible correction pattern detection
- EMA trend filter with adjustable sensitivity
- Multiple alert types for all signal conditions
### How to Use
1. **Enable/disable filters** based on your trading style and market conditions
2. **Green triangles (L)**: Long entry signals when all conditions are met
3. **Red triangles (S)**: Short entry signals when all conditions are met
4. **Rejected signal markers**: Help you understand why certain setups were filtered out
5. **Background coloring**: Provides visual confirmation of signal zones and correction patterns
### Alert System
Comprehensive alerts for:
- Long and short entry signals
- Specific pattern types (consolidation, reversal, continuation)
- Rejected signals (helps refine strategy)
- Traditional MACD histogram crossovers
### Best Practices
- Use the EMA trend filter in trending markets to avoid counter-trend trades
- Adjust candle size filter based on your instrument's typical volatility
- Consider combining with support/resistance levels for confirmation
- Test different consolidation bar settings for your timeframe
### Parameters Summary
- Fast/Slow Length: MACD calculation periods
- Signal Smoothing: Signal line period
- Consolidation Bars: Minimum weak bars before breakout
- Max Candle Range: Filter for oversized candles
- EMA Period & Sensitivity: Trend filter configuration
---
*This indicator is designed for traders who want a systematic approach to identifying MACD-based entry opportunities with built-in risk management through filtering.*






















