All indicators

Contrarian Scalping Counter Trend Bb Envelope Adx and Stochastic

Dec 15, 2021

Static chart image
SignalsOscillatorsChannelsVolatility

The Contrarian Scalping Counter Trend Bb Envelope Adx and Stochastic indicator tool provides a comprehensive framework for identifying counter-trend trading opportunities by combining volatility bands with momentum and trend strength filters.

Usage

The Usage section focuses on identifying extreme price exhaustion points where a reversal is likely to occur. This strategy is primarily used for scalping in environments where price deviates significantly from its mean but lacks strong directional momentum.

Entry Rules:

  • Long Entry: Triggered when the price closes below both the lower Bollinger Band and the lower Envelope, provided the ADX is below 30 (indicating a weak trend) and the Stochastic oscillator is below 50.
  • Short Entry: Triggered when the price closes above both the upper Bollinger Band and the upper Envelope, provided the ADX is below 30 and the Stochastic oscillator is above 50.

Exit Rules:

  • Long Exit: Occurs when the price closes above either the upper Bollinger Band or the upper Envelope, or when the Stochastic oscillator crosses above 50.
  • Short Exit: Occurs when the price closes below either the lower Bollinger Band or the lower Envelope, or when the Stochastic oscillator crosses below 50.

Details

This script integrates four distinct technical indicators to validate contrarian setups:

  • Bollinger Bands & Envelopes: These act as volatility-based boundaries. Requiring the price to breach both layers ensures that the asset is significantly overextended before a signal is generated.
  • Average Directional Index (ADX): Used as a trend filter. By requiring ADX to be below 30, the script avoids entering counter-trend trades during strong breakouts or trending markets where "oversold" or "overbought" conditions can persist.
  • Stochastic Oscillator: Provides a final momentum confirmation to ensure the entry aligns with the early stages of a mean-reversion move.

Settings

Bollinger Bands

  • Length BB: The lookback period for the Bollinger Bands moving average.
  • Source: The price data used for calculations (default is Close).
  • StdDev BB: The multiplier for the standard deviation bands.

Envelope

  • Length Envelope: The lookback period for the Envelope's central moving average.
  • Percent Envelope: The percentage offset used to create the upper and lower envelope bands.
  • Exponential: Toggles between Simple Moving Average (SMA) and Exponential Moving Average (EMA) for the envelope calculation.

ADX

  • ADX Smoothing: The smoothing period for the ADX calculation.
  • DI Length: The period for the Directional Indicators (+DI and -DI).

Stochastic

  • %K Length: The lookback period for the raw Stochastic calculation.
  • %K Smoothing: The smoothing period applied to the %K line.

FAQ

How do I use the Contrarian Scalping Counter Trend indicator?

Apply it to your chart and look for the combined signals where price breaches the outer bands while the ADX and Stochastic filters are met. It is best suited for ranging or low-volatility markets.

Can I adjust the sensitivity of the signals?

Yes, by modifying the "Percent Envelope" or "StdDev BB" settings, you can widen or narrow the entry requirements to capture more or fewer trades based on market volatility.

How can I access the Contrarian Scalping Counter Trend Bb Envelope Adx and Stochastic?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.