OPEN-SOURCE SCRIPT
TGS By Shad

TGS Levels — Tesla–W.D. Gann Strategy
TGS Levels is a price-geometry indicator designed to map algorithmic decision zones on the chart using principles inspired by W.D. Gann price geometry and Tesla 3-6-9 harmonic structure.
This indicator is not a signal generator.
It provides a structured price map to help traders understand where reactions or breakouts are statistically more likely to occur.
🔹 Core Concept
Markets do not move randomly.
They rotate and expand around harmonic price cycles.
TGS Levels automatically plots a 100-unit price cycle framework (ideal for XAUUSD / Gold) and divides each cycle into hierarchical angles used by institutional and algorithmic trading models.
🔹 Level Hierarchy (Very Important)
TGS uses four types of levels, each with a different purpose:
🔴 SUPER ANGLE (+45)
Primary decision level
Price often shows strong rejection or explosive breakout
Highest importance level
🟥 MAIN ANGLES (+27, +63, +81)
High-probability reaction zones
Used for structured pullbacks, rejections, or continuation confirmation
🟠 SECONDARY ANGLES (+18, +36, +54, +72, +90)
Context & management levels
Expect hesitation, partial profit zones, or stop-tightening areas
Not recommended for direct entries
🟡 MICRO LEVELS (+3, +6, +9)
Liquidity & compression map
Help visualize absorption, stop hunts, and consolidation
For structure awareness only
🔹 What This Indicator Is Used For
✔ Identifying where price is likely to react
✔ Understanding market structure and rotation
✔ Distinguishing rejection vs breakout zones
✔ Improving trade timing when combined with:
Volatility (ATR)
Market structure (HL / LH / BOS)
Session timing (London / New York)
🔹 What This Indicator Is NOT
❌ Not a buy/sell signal
❌ Not a prediction tool
❌ Not based on indicators like RSI or MACD
TGS Levels is a price-first framework, designed to be used with price action, volatility, and structure.
🔹 Best Use Case
Asset: XAUUSD (Gold)
Execution Timeframe: M5
Sessions: London & New York
Style: Scalping / Intraday structure trading
The same logic can be adapted to other instruments by adjusting the cycle size.
🔹 How to Trade With TGS (High-Level)
When volatility is low or falling → expect rejections at main/super angles
When volatility is expanding → expect breakouts through angles
Use oscillators (like Stochastic) only for timing, not direction
Always confirm with price behavior at the level
🔹 Final Note
TGS Levels provides a clean, non-repainting price map that stays aligned when zooming or scrolling the chart.
All levels are calculated automatically and update dynamically with price.
Levels explain behavior — reactions create opportunity.
TGS Levels is a price-geometry indicator designed to map algorithmic decision zones on the chart using principles inspired by W.D. Gann price geometry and Tesla 3-6-9 harmonic structure.
This indicator is not a signal generator.
It provides a structured price map to help traders understand where reactions or breakouts are statistically more likely to occur.
🔹 Core Concept
Markets do not move randomly.
They rotate and expand around harmonic price cycles.
TGS Levels automatically plots a 100-unit price cycle framework (ideal for XAUUSD / Gold) and divides each cycle into hierarchical angles used by institutional and algorithmic trading models.
🔹 Level Hierarchy (Very Important)
TGS uses four types of levels, each with a different purpose:
🔴 SUPER ANGLE (+45)
Primary decision level
Price often shows strong rejection or explosive breakout
Highest importance level
🟥 MAIN ANGLES (+27, +63, +81)
High-probability reaction zones
Used for structured pullbacks, rejections, or continuation confirmation
🟠 SECONDARY ANGLES (+18, +36, +54, +72, +90)
Context & management levels
Expect hesitation, partial profit zones, or stop-tightening areas
Not recommended for direct entries
🟡 MICRO LEVELS (+3, +6, +9)
Liquidity & compression map
Help visualize absorption, stop hunts, and consolidation
For structure awareness only
🔹 What This Indicator Is Used For
✔ Identifying where price is likely to react
✔ Understanding market structure and rotation
✔ Distinguishing rejection vs breakout zones
✔ Improving trade timing when combined with:
Volatility (ATR)
Market structure (HL / LH / BOS)
Session timing (London / New York)
🔹 What This Indicator Is NOT
❌ Not a buy/sell signal
❌ Not a prediction tool
❌ Not based on indicators like RSI or MACD
TGS Levels is a price-first framework, designed to be used with price action, volatility, and structure.
🔹 Best Use Case
Asset: XAUUSD (Gold)
Execution Timeframe: M5
Sessions: London & New York
Style: Scalping / Intraday structure trading
The same logic can be adapted to other instruments by adjusting the cycle size.
🔹 How to Trade With TGS (High-Level)
When volatility is low or falling → expect rejections at main/super angles
When volatility is expanding → expect breakouts through angles
Use oscillators (like Stochastic) only for timing, not direction
Always confirm with price behavior at the level
🔹 Final Note
TGS Levels provides a clean, non-repainting price map that stays aligned when zooming or scrolling the chart.
All levels are calculated automatically and update dynamically with price.
Levels explain behavior — reactions create opportunity.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.