← Back to Home
Trading Strategy
↩️

Counter-Trend Trading Strategy

Fade overextended moves and profit when momentum reverses.

Start Automating Free β†’

Want to automate this strategy? Try auto-Trading free β€” no credit card required.

Counter-Trend Trading Strategy chart

Overview

What is Counter-Trend Trading Strategy?

Counter-trend trading is the practice of taking positions against the prevailing trend β€” buying when price has fallen significantly and appears oversold, or selling when price has risen sharply and appears overbought. It is the conceptual opposite of trend-following, and while it can be extremely profitable, it carries higher inherent risk because you are deliberately fighting the established direction of price.

The strategy's edge comes from "reversion to the mean" dynamics: no price move lasts forever, and extreme moves are statistically likely to correct. The challenge is distinguishing a genuine, high-probability reversal setup from a stock or asset that is in free-fall or in an unstoppable bull run. This distinction is what separates profitable counter-trend traders from those who repeatedly "catch falling knives."

Key tools for counter-trend trading include: oscillators in extreme territory (RSI below 20 or above 80 on a higher timeframe), price trading multiple standard deviations outside Bollinger Bands, bullish or bearish divergence between price and momentum indicators (RSI, MACD, or Stochastic), candlestick reversal patterns at key support/resistance levels (pin bars, engulfing candles), and volume climaxes (a sudden surge in volume after a prolonged trend often marks exhaustion).

Risk management is especially critical in counter-trend strategies. Since you are entering against momentum, the probability of being wrong initially is higher than with trend-following. Position sizing should be conservative (typically 0.5%–1% of capital per trade), and stops must be defined and respected. Many professionals use a scaled-entry approach: taking a partial position at the first reversal signal and adding only if price confirms the reversal.

The most successful counter-trend traders combine strict entry criteria (requiring multiple confluences), accept that they will miss some reversals (better to miss a trade than to be early), and exit quickly if the trade does not move in the expected direction within a defined time period.

How It Works in auto-Trading

Automate It

auto-Trading's counter-trend module identifies extreme price deviations using multi-indicator confluence: RSI in extreme territory, Bollinger Band breaches, StochRSI oversold/overbought crossovers, and candlestick reversal pattern detection at key levels. Entries are confirmed by requiring at least two confluence factors simultaneously. Position sizes are automatically reduced relative to trend-following settings to reflect the higher risk profile.

Try Free β†’

Strategy Code

Pick a script below, copy it, and use it on your chart.

Pine Script (TradingView)

This is a TradingView Pine Script strategy example for this page concept. Paste it into the TradingView Pine Editor, add it to your chart, and run it in the Strategy Tester.

//@version=6
strategy("Counter-Trend Trading Strategy", overlay=true)
len = input.int(20, "BB Length")
mult = input.float(2.0, "Std Dev")
basis = ta.sma(close, len)

Get full strategy code access

Enter your email address and full name to unlock this strategy code.

ThinkScript (thinkorswim)

This is a thinkorswim ThinkScript strategy example for this page concept. Open thinkorswim, create a custom strategy, paste the script, and apply it to your chart.

input length = 20;
input numDev = 2.0;
def mid = Average(close, length);
def up = mid + numDev * StDev(close, length);
def dn = mid - numDev * StDev(close, length);

Get full strategy code access

Enter your email address and full name to unlock this strategy code.

Ready to automate Counter-Trend Trading Strategy?

Join thousands of traders who use auto-Trading to execute this strategy automatically, 24/7.

Get Started Free β†’

All Strategies & Signals

Continue Learning

Trading Strategies

Trading Signals & Indicators