Support and Resistance Crypto Bot Strategy: Automating Key Level Trading

Support and resistance levels are price zones where buying or selling pressure has historically concentrated — representing areas where institutional participants have placed orders and where price tends to react repeatedly.

Support and resistance (S&R) trading is one of the oldest and most fundamental approaches in technical analysis. A support level is a price zone where buying pressure has historically exceeded selling pressure, causing price to bounce upward. A resistance level is a zone where selling pressure has exceeded buying pressure, causing price to reverse downward. When price approaches a well-established support level, it often bounces again — either because participants who bought there previously add to their positions, or because new buyers see the level as a high-probability entry. When price approaches resistance, sellers who entered near that level take profits or add new short positions. The challenge for automated trading is defining these levels algorithmically — since S&R trading is traditionally a visual, discretionary technique, implementing it in a bot requires objective, rule-based level detection. DennTech implements three algorithmic S&R detection methods: Pivot Point calculation, Swing High/Low detection, and Round Number zones. Compare editions at the pricing page.

Related strategies: Pivot Points, Donchian Channel, Fibonacci.

Algorithmic S&R Detection Methods

Method 1: Pivot Points

Standard Pivot Point = (Previous High + Previous Low + Previous Close) / 3

Resistance 1 (R1) = (2 × Pivot) - Previous Low
Resistance 2 (R2) = Pivot + (Previous High - Previous Low)
Support 1 (S1) = (2 × Pivot) - Previous High
Support 2 (S2) = Pivot - (Previous High - Previous Low)

Daily Pivot Points reset each day from yesterday's OHLC — providing fresh levels.
Weekly Pivot Points use previous week's OHLC — provide more significant levels.

Method 2: Swing High/Low Detection

Swing High: A candle where the high is higher than N candles before AND after it
Example (N=3): current high > previous 3 highs AND > following 3 highs = swing high

Swing Low: A candle where the low is lower than N candles before AND after it
N=3 provides moderately significant swings
N=5 provides only significant multi-day swings

Swing highs = resistance zones
Swing lows = support zones

Method 3: Round Number Zones

Round numbers (BTC: $50,000, $60,000, $70,000; ETH: $3,000, $4,000) consistently act as psychological S&R levels because market participants naturally cluster orders around clean number levels. DennTech's round number detection automatically identifies the nearest $1,000 (BTC) or $100 (ETH) levels and uses them as S&R zone boundaries. See our Pivot Points guide.

Bounce vs Breakout Strategy

StrategyEntryStop-LossBest Condition
Bounce (mean reversion)Price touches support + reversal candleBelow support by 1.5× ATRRanging market, established S&R
Breakout (momentum)Price closes above resistance with volumeBelow breakout level by 1.0× ATRTrending market, volume confirmation
Breakout retestPrice breaks resistance, retests from above, bouncesBelow retest level by 1.0× ATRHigher conviction breakout entry

Frequently Asked Questions

How does DennTech's automated S&R bot handle false breakouts?
False breakouts — where price briefly breaks above resistance or below support only to reverse back — are one of the most common sources of losses in breakout strategies. DennTech's false breakout filter uses two conditions that must both be true before a breakout signal is confirmed: (1) The closing price must be above the resistance level (not just an intrabar touch) — a candle that wicks through resistance but closes below it is not a confirmed breakout; (2) Volume must be at least 20% above the 20-period average volume on the breakout candle — genuine breakouts are typically accompanied by elevated volume as participants rush to enter. When both conditions are met, the breakout probability significantly increases. A third optional filter: wait for price to hold above the breakout level for two consecutive candles before entering — the cost is a slightly later entry price in exchange for much higher breakout confirmation rate. See our Donchian Channel guide. Compare editions at the pricing page.
Are swing-high-detected resistance levels as reliable as manually drawn levels for crypto bots?
Algorithmically detected swing highs and lows are generally reliable S&R levels, though they may not perfectly match every significant level a skilled manual chart reader would identify. The mechanical swing high/low detection captures the most structurally significant price reversals objectively and consistently — the same N-period rule is applied to every candle, eliminating the human selection bias where traders tend to draw S&R at levels that confirm their existing bias. The limitation: the algorithm may identify minor swing highs during consolidation as resistance levels that a manual trader would dismiss as low-significance, while potentially missing a more significant level that doesn't fit the strict N-candle definition. In backtesting, algorithmic S&R detection typically captures the large-magnitude key levels accurately and the minor levels imperfectly — which is acceptable because the large-magnitude levels are responsible for most of the historical S&R strategy returns. Explore the live demo. Start at the pricing page.
Should I combine S&R strategy with trend direction in DennTech for best results?
Yes — the most effective S&R strategies combine level detection with trend direction confirmation. Trading S&R in the direction of the larger trend dramatically improves results: if the Daily trend is bullish (price above 200-period EMA, ADX above 20), then: buy at support levels (trend continuation entry with support as launch pad); avoid selling at resistance (resistance may be broken in a strong uptrend). Conversely, in a bearish trend: short at resistance; avoid buying at support (support may fail in a strong downtrend). The combined configuration in DennTech: EMA(200) or Supertrend defines the macro trend direction → S&R levels provide entry timing → ATR provides stop-loss placement → RSI provides overbought/oversold entry quality filter. This four-component system gives clear, rule-based, backtestable entries at key S&R levels only in the direction of the established trend. See our Supertrend guide. Start at the pricing page.

One advanced technique DennTech supports for S&R strategy enhancement is the concept of support-to-resistance role reversal. When a well-established support level is decisively broken (price closes below it with significant volume), that former support level often becomes a new resistance level — a phenomenon known as polarity flip. Conversely, when a resistance level is broken decisively, it becomes new support. DennTech's algorithmic S&R system automatically reclassifies levels after confirmed breaks: a breached support becomes a resistance candidate for the next rally, and a breached resistance becomes support for the next pullback. This means the bot adapts its key levels dynamically as market structure evolves rather than treating the same levels as permanently relevant. For traders who use breakout strategies, the role-reversal retest provides a second entry opportunity: after breaking resistance, waiting for a retest of the former resistance (now support) provides a lower-risk entry with a tighter stop. See our Fibonacci guide for complementary level analysis. Compare editions at the pricing page.

Level-based strategies: S&R (this guide), Pivot Points, Fibonacci. All at the strategies page.

Disclaimer: DennTech Trading Solutions is a software company, not a financial advisor. Nothing on this site constitutes financial advice, investment advice, or a recommendation to buy or sell any asset. Cryptocurrency trading involves substantial risk of loss and is not suitable for all investors. Always do your own research and consult a qualified financial professional before making any investment decisions. View full Liability Waiver →