DC Extremes Gap Threshold

DC Extremes Gap Threshold NinjaTrader 8 indicator screenshot

Description

The "DC Extremes Gap Threshold" indicator, specifically crafted for NinjaTrader 8, utilizes the Donchian Channel to detect and highlight significant market extremes. It analyzes the price gaps between the current market price and the channel's boundaries to identify potential zones of strategic support and resistance. This approach helps signal key levels where substantial price movements or breakouts are likely, providing traders with critical insights for pinpointing optimal entry and exit points based on robust, predefined thresholds.

Key Features

  • Dynamic Support and Resistance Identification: Utilizes dual Donchian Channels to determine significant high and low price levels, which act as dynamic support and resistance levels.
  • Customizable Sensitivity: Features customizable parameters such as the period of the Donchian Channels and the sensitivity to price gaps, allowing traders to tailor the indicator to various market conditions and trading styles.
  • Signal Visualization: Provides visual representations through plots, which indicate the points where liquidity has been swept, potentially signaling entry or exit opportunities.
  • Liquidity Sweep Detection: Detects sweeps in liquidity at identified resistance and support levels, which can be indicative of potential trend reversals or continuations.
  • Integration with Other Indicators: Can be combined with volume, momentum indicators, or other forms of technical analysis to confirm signals and enhance trading strategies.

Tips for Implementation

  • Strategic Confirmation: Combine the DC Extremes Gap Threshold indicator with other technical tools like moving averages or oscillators for robust signal confirmation.
  • Market Condition Analysis: Adjust the indicator parameters based on prevailing market volatility—tighter during stable conditions and wider for volatile markets to avoid false signals.
  • Backtesting: Prior to applying it in live trading, backtest the indicator against historical data to optimize settings and validate effectiveness across different market scenarios.
  • Risk Management: Always use in conjunction with stop-loss orders to manage risks, particularly in volatile market conditions.

Parameters

Level DC Period

  • Type: int
  • Description: Sets the period for the primary Donchian Channel, which determines the high and low extremes used to identify potential support and resistance levels.
  • Default Value: 5
  • Valid Values: Any positive integer greater than or equal to 1

Range DC Period

  • Type: int
  • Description: Defines the period for the secondary Donchian Channel, which is used to assess the broader price range and refine the sensitivity of the gap analysis.
  • Default Value: 100
  • Valid Values: Any positive integer greater than or equal to 1

ATR Period

  • Type: int
  • Description: Specifies the period for calculating the Simple Moving Average of the True Range, aiding in the adjustment of thresholds for significant gap evaluations.
  • Default Value: 20
  • Valid Values: Any positive integer greater than or equal to 1

Min Bars Since HL

  • Type: int
  • Description: Determines the minimum number of bars that should pass since the last recorded high or low to consider a price level for support or resistance.
  • Default Value: 5
  • Valid Values: Any positive integer

Max Bars Since HL

  • Type: int
  • Description: Maximum number of bars after a high or low within which the level must be activated. Encourages responsiveness and filters out slow setups.
  • Default Value: 50
  • Valid Values: Any positive integer

Min FVGs Since HL

  • Type: int
  • Description: The minimum number of fair value gaps required since the last high or low to validate a support or resistance level.
  • Default Value: 0
  • Valid Values: Any non-negative integer

Min Ticks

  • Type: int
  • Description: Sets the minimum number of ticks required to validate a liquidity sweep at a potential support or resistance level.
  • Default Value: 10
  • Valid Values: Any positive integer

Min ATR Multiple

  • Type: int
  • Description: The multiplier applied to the ATR to set a threshold for distinguishing significant price movements that might indicate potential trading opportunities.
  • Default Value: 1
  • Valid Values: Any non-negative integer

Min Range Percent

  • Type: int
  • Description: Specifies the minimum percentage of the Donchian Channel range required to confirm a level as valid for triggering a trade.
  • Default Value: 0
  • Valid Values: Any non-negative integer

Min Current Day Range Percent

  • Type: int
  • Description: The minimum percentage of the current day's price range required to confirm a trading signal, helping to adapt the indicator to daily market volatility.
  • Default Value: 0
  • Valid Values: Any non-negative integer

Bars Validity

  • Type: int
  • Description: The number of bars for which a support or resistance level remains valid unless invalidated by market movements.
  • Default Value: 200
  • Valid Values: Any positive integer

Sessions Validity

  • Type: int
  • Description: Specifies the number of trading sessions for which a level is considered valid, providing a time-based filter for the persistence of levels.
  • Default Value: 1
  • Valid Values: Any positive integer

Plots

SweepUpper

  • Type: Hash
  • Style: Solid Line
  • Color: DeepSkyBlue
  • Description: Indicates the price level above which liquidity was recently swept, suggesting a potential resistance breakout.

SweepLower

  • Type: Hash
  • Style: Solid Line
  • Color: DeepSkyBlue
  • Description: Marks the price level below which liquidity has been swept, hinting at a support breakdown.

Build Your Trading Edge

Get The Playbook — our weekly email: NinjaTrader indicator breakdowns, structured order-flow setups, and what we’re actually testing. No hype, no signals.

No spam, unsubscribe anytime. See our Privacy Policy.