Indicators
Automated Support & Resistance Zones for Trading Bots
How the Support/Resistance Zones indicator builds zones from swing pivots and ATR, and how to trade zone bounces and breaks in Setup.Cash.
Featured image placeholder
/og/setup-cash-og.svg
Support and resistance are where most discretionary trades begin — and where most automation attempts stall, because "the level" was always drawn by hand. The Support/Resistance Zones indicator solves that: it derives zones automatically from swing pivots and widens them by a multiple of ATR, so your bot sees the same areas a chart-reader would.
How It Works
Two inputs shape the zones (defaults: lookback 5, zone ATR multiplier 0.5):
- Lookback controls which swing pivots qualify — larger values keep only significant swings.
- Zone ATR Mult turns each pivot into a zone rather than a line, because markets respect areas, not exact prices.
The indicator outputs the current Zone High and Zone Low boundaries, plus Zone Break Up and Zone Break Down events when price escapes.
How to Trade It
1. Zone bounce (mean reversion). Price enters the lower zone and a momentum trigger like RSI turns up → long back toward the middle of the range.
2. Zone break (breakout). The Zone Break Up event fires → the market has cleared observed resistance; enter with the break, stop back inside the zone.
3. Confluence filter. Only take your existing strategy's longs when price is above the zone — i.e., not walking straight into resistance.
Building It in Setup.Cash
Add Support/Resistance Zones in the strategy builder and use the break events or zone boundaries in your conditions. It pairs naturally with Pivot Points (projected levels vs observed ones) and the Swing High/Low Detector it is built upon. The extended library adds Smart Money Concepts and ZigZag for deeper structure work.
Tuning
- Lookback 5 / Mult 0.5: balanced defaults.
- Bigger lookback: fewer, more respected zones (swing trading).
- Bigger ATR mult: wider zones — fewer false breaks, later entries.
Zones give your bot a map; your entry logic supplies the timing. Backtest bounce and break variants separately — they thrive in opposite regimes.
Related Posts
View allIndicators
Market Structure Tools: Smart Money Concepts, ZigZag & More
How the SMC, ZigZag, Variable Heat Map, and Archer MA Trends indicators automate market structure analysis in Setup.Cash trading bots.
2 min read · 316 words
Indicators
Pivot Points Explained: Classic & Fibonacci Levels
How daily, weekly, and monthly pivot points are calculated, how traders use PP/R1/S1 levels, and how to automate pivots in Setup.Cash.
2 min read · 301 words
Indicators
Smart Money Concepts (SMC) Indicator Explained
How the SMC indicator automates break of structure, change of character, and order blocks for bots in Setup.Cash.
2 min read · 207 words
Indicators
Swing High/Low Detector: Trading Market Structure
How the swing high/low detector finds structural turning points, how bots trade structure breaks, and how to use it in Setup.Cash.
2 min read · 339 words
Start here
Build your trading bot workflow with structure
Use Setup.Cash to create, backtest, and paper trade rule-based strategies without relying on guesswork. Not financial advice. Trading involves risk.