PROTECTED SOURCE SCRIPT
Updated

DT_KEY_LEVELS

105
DT_Key_Levels: Powerful Market Structure Analysis Indicator

DT_Key_Levels is an advanced indicator for fundamental market structure analysis, optimized for higher timeframes (D1, W, M). The indicator combines three powerful technical analysis tools — fractals, Fair Value Gaps (FVG), and psychological levels — in one comprehensive solution.

Three Components of the Indicator

1. Enhanced Fractal System

The indicator uses an improved version of Bill Williams' classic fractals, allowing for deeper market structure analysis:

Dual Identification System:
  • Standard 5-bar fractals (displayed with thick lines) for analyzing reliable support/resistance levels
  • Light 3-bar fractals (displayed with thin lines) for early identification of potential reversal points
  • Intelligent Tracking System:
  • Automatic detection and filtering of completed fractals
  • Marking fractals with corresponding timeframe designation (HTF-1D, HTF-1W, HTF-1M)
  • Tracking and marking the All-Time High (ATH)


2. Fair Value Gaps (FVG) System

The indicator identifies and visualizes price gaps in market structure — zones that often act as magnets for future price movements:

  • Precise Identification of Inefficient Zones:
  • Bullish FVG: when the current candle's low is above the -2 candle's high
  • Bearish FVG: when the current candle's high is below the -2 candle's low
  • Detailed Visualization:
  • Clear display of upper and lower boundaries of each FVG
  • Midline (0.5 FVG) for determining key reaction levels within the gap
  • Marking each FVG with "FF" (Fair value Fill) label for quick identification
  • Dynamic Management:
  • Automatic removal of FVGs when they are filled by price movement
  • Customizable line extension for improved tracking of target zones


3. Intelligent Psychological Levels

The indicator automatically determines key psychological levels with adaptation to the type of instrument being traded:

  • Specialized Calibration for Various Assets:
  • Forex (EUR/USD, GBP/USD, USD/JPY): optimization for standard figures and round values
  • Precious metals (XAUUSD): adaptation to typical gold reaction zones with a $50 step
  • Cryptocurrencies (BTC, ETH): dynamic step adjustment depending on current price zone
  • Stock indices (NASDAQ, S&P500, DAX): accounting for the movement characteristics of each index
  • Smart Adaptation System:
  • Automatic determination of the optimal step for any instrument
  • Generation of up to 24 key levels, evenly distributed around the current price
  • Intelligent filtering to display only significant levels


Practical Application

Strategic Analysis

  • Identifying Key Structural Levels:
  • Use monthly and weekly fractals to determine strategic support/resistance zones
  • Look for coincidences of fractals with psychological levels to identify particularly strong zones of interest
  • Determine long-term barriers using type 5 fractals on higher timeframes
  • Analysis of Market Inefficiencies:
  • Track the formation of FVGs as potential targets for future movements
  • Use FVG midlines (0.5) as important internal reaction levels
  • Analyze the speed of FVG filling to understand trend strength


Tactical Trading Decisions

  • Entry Points and Risk Management:
  • Use bounces from fractals in the direction of the larger trend as a signal for entry
  • Place stop-losses behind fractal levels or key psychological levels
  • Monitor the formation of new fractals as a signal of potential reversal
  • Determining Target Levels:
  • Use unfilled FVGs as natural price targets
  • Apply nearby psychological levels for partial position closing
  • Project higher timeframe fractals to determine long-term goals


Indicator Advantages

  • Comprehensive Approach: combining three methodologies for a complete understanding of market structure
  • Intelligent Adaptation: automatic adjustment to the characteristics of different types of assets
  • Clean Visual Presentation: despite the abundance of information, the indicator maintains clarity of display
  • Effective Signal Filtering: automatic removal of completed levels to reduce visual noise
  • Higher Timeframe Optimization: specifically designed for daily, weekly and monthly charts


Usage Recommendations

  • Use the indicator only on D1, W, and M timeframes for the most reliable signals
  • Pay special attention to areas where different types of signals coincide (e.g., fractal + psychological level)
  • Use higher timeframe fractals as key zones for medium and long-term trading
  • Track FVGs as potential target zones and focus on their filling



Release Notes
DT_Key_Levels: Powerful Market Structure Analysis Indicator

DT_Key_Levels is an advanced indicator for fundamental market structure analysis, optimized for higher timeframes (D1, W, M). The indicator combines three powerful technical analysis tools — fractals, Fair Value Gaps (FVG), and psychological levels — in one comprehensive solution.

Three Components of the Indicator

1. Enhanced Fractal System

The indicator uses an improved version of Bill Williams' classic fractals, allowing for deeper market structure analysis:
• Dual Identification System:
• Standard 5-bar fractals (displayed with thick lines) for analyzing reliable support/resistance levels
• Light 3-bar fractals (displayed with thin lines) for early identification of potential reversal points
• Intelligent Tracking System:
• Automatic detection and filtering of completed fractals
• Marking fractals with corresponding timeframe designation (HTF-1D, HTF-1W, HTF-1M)
• Tracking and marking the All-Time High (ATH)

2. Fair Value Gaps (FVG) System

The indicator identifies and visualizes price gaps in market structure — zones that often act as magnets for future price movements:
• Precise Identification of Inefficient Zones:
• Bullish FVG: when the current candle's low is above the -2 candle's high
• Bearish FVG: when the current candle's high is below the -2 candle's low
• Detailed Visualization:
• Clear display of upper and lower boundaries of each FVG
• Midline (0.5 FVG) for determining key reaction levels within the gap
• Marking each FVG with "FF" (Fair value Fill) label for quick identification
• Dynamic Management:
• Automatic removal of FVGs when they are filled by price movement
• Customizable line extension for improved tracking of target zones

3. Intelligent Psychological Levels

The indicator automatically determines key psychological levels with adaptation to the type of instrument being traded:
• Specialized Calibration for Various Assets:
• Forex (EUR/USD, GBP/USD, USD/JPY): optimization for standard figures and round values
• Precious metals (XAUUSD): adaptation to typical gold reaction zones with a $50 step
• Cryptocurrencies (BTC, ETH): dynamic step adjustment depending on current price zone
• Stock indices (NASDAQ, S&P500, DAX): accounting for the movement characteristics of each index
• Smart Adaptation System:
• Automatic determination of the optimal step for any instrument
• Generation of up to 24 key levels, evenly distributed around the current price
• Intelligent filtering to display only significant levels

Practical Application

Strategic Analysis

• Identifying Key Structural Levels:
• Use monthly and weekly fractals to determine strategic support/resistance zones
• Look for coincidences of fractals with psychological levels to identify particularly strong zones of interest
• Determine long-term barriers using type 5 fractals on higher timeframes
• Analysis of Market Inefficiencies:
• Track the formation of FVGs as potential targets for future movements
• Use FVG midlines (0.5) as important internal reaction levels
• Analyze the speed of FVG filling to understand trend strength
Tactical Trading Decisions
• Entry Points and Risk Management:
• Use bounces from fractals in the direction of the larger trend as a signal for entry
• Place stop-losses behind fractal levels or key psychological levels
• Monitor the formation of new fractals as a signal of potential reversal
• Determining Target Levels:
• Use unfilled FVGs as natural price targets
• Apply nearby psychological levels for partial position closing
• Project higher timeframe fractals to determine long-term goals
Indicator Advantages
• Comprehensive Approach: combining three methodologies for a complete understanding of market structure
• Intelligent Adaptation: automatic adjustment to the characteristics of different types of assets
• Clean Visual Presentation: despite the abundance of information, the indicator maintains clarity of display
• Effective Signal Filtering: automatic removal of completed levels to reduce visual noise
• Higher Timeframe Optimization: specifically designed for daily, weekly and monthly charts
Usage Recommendations
• Use the indicator only on D1, W, and M timeframes for the most reliable signals
• Pay special attention to areas where different types of signals coincide (e.g., fractal + psychological level)
• Use higher timeframe fractals as key zones for medium and long-term trading
• Track FVGs as potential target zones and focus on their filling

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.