PROTECTED SOURCE SCRIPT
تم تحديثه

[ARTIO] TTG Levels Pro: The Grail (S.C.T.)

85
[ARTIO] TTG Levels Pro Professional Multi-Timeframe & Intraday Analysis Tool

This indicator is a comprehensive solution for analyzing Key Levels across multiple timeframes and tracking intraday structure. It automates the calculation of significant Support/Resistance zones and provides real-time Volume Weighted data.

How it works (Technical Methodology):

Multi-Timeframe Levels (HTF): The script uses request.security() to fetch High and Low pivot data from higher timeframes (1M, 1W, 1D, 4H, 1H). It identifies the most relevant "unbroken" range levels and projects them onto the current chart.

Intraday Structure (VWAP & Bisector):

VWAP (Volume Weighted Average Price): Calculated cumulatively from the start of the trading day. This represents the fair value based on volume distribution.

Daily Bisector (Midpoint): Calculates the 50% retracement level of the current daily range (High + Low) / 2. This updates dynamically with every tick as the daily range expands.

Visualization Engine:

History Mode: Users can toggle "Path" mode to see how the VWAP and Bisector levels evolved throughout the session (stepline visualization).

Clean Mode: Users can switch to a straight-line projection to keep the chart clean, focusing only on current values.

Features:

Monitor 6 Timeframes simultaneously.

Dynamic Alert System (Price Proximity & Trend Direction).

Synergy Detection: Alerts when multiple timeframe levels cluster together within a defined % range.

Customizable Dashboard Table.

Settings are fully customizable via the inputs menu.
ملاحظات الأخبار
🚀 Major Update: Smart Alerts, Mobile Optimization & Hybrid Engine

This version introduces a completely reworked Alert System designed to filter market noise, along with visual improvements for mobile users.

1. New "Smart Alert" Logic (Frequency Settings)
We have added a "Frequency" dropdown to give you full control over how and when alerts trigger. No more alert spamming during chop!

🚀 Instant (Real-Time): Triggers immediately when price touches the level. Ideal for scalping and catching "wick" entries.
⏳ Cooldown (Smart): The recommended mode. Triggers on touch, but then silences alerts for a specific time (e.g., 15 minutes) defined by you. This prevents repeated alerts if price consolidates at a level.
🔒 Bar Close Only: Triggers only if the candle closes near or beyond the level. Best for confirming breakouts and filtering false moves.

2. Mobile Optimization (Visuals)
Short Axis Labels: Renamed levels to single letters (M, W, D) to save screen space on mobile devices.
Adjustable Text Size: Added a "Label & Text Size" setting. You can now set labels to "Tiny" for phone screens or "Large" for 4K monitors.

3. Hybrid Intraday Structure
Independent History Control: You can now toggle the "History Path" (stepline) ON/OFF separately for the Daily Bisector, VWAP, and Open levels.
Clean Mode: Turn off history to see simple straight lines for current levels.

4. Technical Improvements
Codebase: Updated to Pine Script v6 standards.
Syntax: Fixed logic blocks for smoother compilation and stability.
UI: Full English translation for all inputs to comply with Community Rules.

Recommended update for all users.
ملاحظات الأخبار
Release Notes: v14.0 Update
💎 The "Pure Grail" Update: Core Logic Restored & Optimized

After extensive testing, we have reverted the mathematical core of the indicator back to its original, battle-tested logic. We have also cleaned up the features to focus strictly on what matters most: accurate levels.

Changelog:

1. 🛡️ Core Engine Restored (100% Accuracy) We identified that recent optimizations in v9-v13 caused minor discrepancies on historical data.

Fix: We have restored the original Zig-Zag/Trailing logic exactly as it was in the "Master" version.

Result: The levels are now calculated strictly inside the security function, guaranteeing 100% accuracy on all timeframes with zero repainting or historical shifts.

2. 🧹 Code Cleanup

Removed: Intraday Structure (Bisector, VWAP, Open) has been removed to reduce visual noise and script load. The tool is now dedicated purely to HTF Support & Resistance levels.

3. 🎨 Visual Logic Updated We refined how levels are colored to make decision-making instant:

Price > Level: The level is painted GREEN (Support / Long Bias).

Price < Level: The level is painted RED (Resistance / Short Bias).

Note: The calculation logic remains independent; only the visual status updates based on price position.

4. 🔔 Smart Alerts Retained All modern alert features from the previous update remain:

Cooldown Mode: Triggers an alert and then silences it for X minutes to prevent spam during choppy markets.

Dashboard Table: Shows the status of all timeframes in one corner.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.