OPEN-SOURCE SCRIPT
Aktualisiert Automat Off detector (ATR + Volume Collapse + Still Price)

🤖 AutomatOff v2 – Detect When Algo Traders Step Away
Ever notice how some stocks go completely dead for a few minutes — tiny candles, zero volume, price barely moving? That's often a sign that algorithmic traders (automats) have paused or switched off. This indicator helps you spot those moments.
─────────────────────────────────────────
🔍 WHAT IT DETECTS
─────────────────────────────────────────
The indicator watches three things simultaneously:
📉 ATR Collapse — ATR (Average True Range) measures how much price normally moves per bar. When it drops to a fraction of its usual level, the market has gone unusually quiet. Threshold 0.75 means "flag when ATR is below 75% of its recent average."
📦 Volume Collapse — When volume drops far below its rolling average, it suggests nobody is trading. Threshold 0.6 means "flag when volume is below 60% of average."
📏 Price Range — Checks if the actual high-low range of each bar is suspiciously small. Useful on tight instruments where even 0.02 PLN of silence is meaningful.
You can enable any combination of these three, and choose whether ALL must fire together (more precise) or ANY one is enough (more sensitive).
─────────────────────────────────────────
⚙️ HOW IT WORKS
─────────────────────────────────────────
The indicator runs on your current chart timeframe and shows:
🟠 Orange line — ATR ratio (1.0 = normal, lower = quieter)
🩵 Teal line — Volume ratio (1.0 = normal, lower = quieter)
🟣 Purple line — Bar price range (when price range detection is on)
⚫ Grey line — The 1.0 baseline (normal level reference)
🔴 Red dashed — ATR collapse threshold
🔵 Blue dashed — Volume collapse threshold
When conditions are met for a minimum number of consecutive bars (default: 3), an alert fires:
⚠️ A red label appears with exact ATR%, volume% and range values
🔴 The pane background turns red for the duration of the collapse
─────────────────────────────────────────
🕐 HIGHER TIMEFRAME SUMMARY (HTF MODE)
─────────────────────────────────────────
This is where it gets powerful. Add the indicator to a 1h chart and set it to scan the 5min timeframe. Whenever a 5min alert occurred inside a given 1h bar, that exact 1h bar gets highlighted in orange — just that one bar, nothing more.
This lets you scan a whole week on 1h in seconds and immediately spot which hours had suspicious algo pauses — then zoom into 5min for details.
🔧 Enable HTF summary mode → ON
🔧 Lower timeframe to scan → 5
🔧 Min consecutive bars (lower TF) → 3
Important: on the 5min chart you see red alerts only. On the 1h chart you see orange highlights only. Clean separation, no cross-contamination.
─────────────────────────────────────────
🎨 FULL VISUAL CUSTOMISATION
─────────────────────────────────────────
Everything is configurable:
ATR line — colour + thickness
Volume line — colour + thickness + transparency
Baseline (1x) — colour + thickness
Alert labels — colour + transparency (set 100 to hide)
Volume reference labels — show/hide + transparency
Alert background — colour + transparency
ATR fill area — colour + transparency
─────────────────────────────────────────
📅 DATE RANGE FILTER
─────────────────────────────────────────
Enable to limit detection to a specific date range. Useful on free TradingView accounts with limited bar history, or when you only want to scan a specific period.
─────────────────────────────────────────
✅ RECOMMENDED SETTINGS
─────────────────────────────────────────
For 5min chart:
ATR threshold: 0.75
Volume threshold: 0.60
Price range: 0.02 (enabled)
Mode: ALL
Min bars (current TF): 3
For 1h chart (HTF overview):
HTF mode: ON
Lower TF to scan: 5
Min bars (lower TF): 3
All other settings same as above
─────────────────────────────────────────
💡 PRO TIP
─────────────────────────────────────────
Use ALL mode with all three conditions enabled for the cleanest, rarest signals. Switch to ANY if you want to catch subtler early signs of slowing activity. Start with the recommended settings and tune thresholds to your instrument — tighter spreads need smaller price range values.
─────────────────────────────────────────
⚠️ DISCLAIMER
─────────────────────────────────────────
This indicator is a pattern detection tool, not a trading signal. Algo pauses don't guarantee a breakout — always combine with your own analysis.
─────────────────────────────────────────
🛠️ BUILT WITH PINE SCRIPT v6
─────────────────────────────────────────
Open source. Suggestions and bug reports welcome in the comments.
Ever notice how some stocks go completely dead for a few minutes — tiny candles, zero volume, price barely moving? That's often a sign that algorithmic traders (automats) have paused or switched off. This indicator helps you spot those moments.
─────────────────────────────────────────
🔍 WHAT IT DETECTS
─────────────────────────────────────────
The indicator watches three things simultaneously:
📉 ATR Collapse — ATR (Average True Range) measures how much price normally moves per bar. When it drops to a fraction of its usual level, the market has gone unusually quiet. Threshold 0.75 means "flag when ATR is below 75% of its recent average."
📦 Volume Collapse — When volume drops far below its rolling average, it suggests nobody is trading. Threshold 0.6 means "flag when volume is below 60% of average."
📏 Price Range — Checks if the actual high-low range of each bar is suspiciously small. Useful on tight instruments where even 0.02 PLN of silence is meaningful.
You can enable any combination of these three, and choose whether ALL must fire together (more precise) or ANY one is enough (more sensitive).
─────────────────────────────────────────
⚙️ HOW IT WORKS
─────────────────────────────────────────
The indicator runs on your current chart timeframe and shows:
🟠 Orange line — ATR ratio (1.0 = normal, lower = quieter)
🩵 Teal line — Volume ratio (1.0 = normal, lower = quieter)
🟣 Purple line — Bar price range (when price range detection is on)
⚫ Grey line — The 1.0 baseline (normal level reference)
🔴 Red dashed — ATR collapse threshold
🔵 Blue dashed — Volume collapse threshold
When conditions are met for a minimum number of consecutive bars (default: 3), an alert fires:
⚠️ A red label appears with exact ATR%, volume% and range values
🔴 The pane background turns red for the duration of the collapse
─────────────────────────────────────────
🕐 HIGHER TIMEFRAME SUMMARY (HTF MODE)
─────────────────────────────────────────
This is where it gets powerful. Add the indicator to a 1h chart and set it to scan the 5min timeframe. Whenever a 5min alert occurred inside a given 1h bar, that exact 1h bar gets highlighted in orange — just that one bar, nothing more.
This lets you scan a whole week on 1h in seconds and immediately spot which hours had suspicious algo pauses — then zoom into 5min for details.
🔧 Enable HTF summary mode → ON
🔧 Lower timeframe to scan → 5
🔧 Min consecutive bars (lower TF) → 3
Important: on the 5min chart you see red alerts only. On the 1h chart you see orange highlights only. Clean separation, no cross-contamination.
─────────────────────────────────────────
🎨 FULL VISUAL CUSTOMISATION
─────────────────────────────────────────
Everything is configurable:
ATR line — colour + thickness
Volume line — colour + thickness + transparency
Baseline (1x) — colour + thickness
Alert labels — colour + transparency (set 100 to hide)
Volume reference labels — show/hide + transparency
Alert background — colour + transparency
ATR fill area — colour + transparency
─────────────────────────────────────────
📅 DATE RANGE FILTER
─────────────────────────────────────────
Enable to limit detection to a specific date range. Useful on free TradingView accounts with limited bar history, or when you only want to scan a specific period.
─────────────────────────────────────────
✅ RECOMMENDED SETTINGS
─────────────────────────────────────────
For 5min chart:
ATR threshold: 0.75
Volume threshold: 0.60
Price range: 0.02 (enabled)
Mode: ALL
Min bars (current TF): 3
For 1h chart (HTF overview):
HTF mode: ON
Lower TF to scan: 5
Min bars (lower TF): 3
All other settings same as above
─────────────────────────────────────────
💡 PRO TIP
─────────────────────────────────────────
Use ALL mode with all three conditions enabled for the cleanest, rarest signals. Switch to ANY if you want to catch subtler early signs of slowing activity. Start with the recommended settings and tune thresholds to your instrument — tighter spreads need smaller price range values.
─────────────────────────────────────────
⚠️ DISCLAIMER
─────────────────────────────────────────
This indicator is a pattern detection tool, not a trading signal. Algo pauses don't guarantee a breakout — always combine with your own analysis.
─────────────────────────────────────────
🛠️ BUILT WITH PINE SCRIPT v6
─────────────────────────────────────────
Open source. Suggestions and bug reports welcome in the comments.
Versionshinweise
🤖 AutomatOff – Detect When Algo Traders Step AwayEver notice how some stocks go completely dead — tiny candles, near-zero volume, price barely ticking for several minutes in a row? On GPW small caps, that silence is often deliberate. Algorithmic traders (automats) have stepped away. This indicator catches exactly those moments.
WHY IT MATTERS
On liquid markets, algo silence means nothing — there's always someone else. On sWIG80 and NewConnect stocks, algorithmic traders can represent 40–70% of daily turnover. When they pause, volume drops to near zero. That's not random. Someone with a plan is waiting for the noise to clear before making a move. AutomatOff detects that pause.
WHAT IT DETECTS
Three simultaneous conditions:
📉 ATR Collapse — price barely moves (ATR drops below X% of its rolling average)
📦 Volume Collapse — turnover drops far below average (e.g. below 60% of normal)
📏 Price Range — high-low of each bar is suspiciously compressed
Choose ALL (precise, cleanest signals) or ANY (sensitive, early warning) mode.
Signal fires only after N consecutive qualifying bars — filters out random one-bar dips.
HOW IT LOOKS
🟠 Orange line — ATR ratio (vs rolling average)
🩵 Teal line — Volume ratio (vs rolling average)
🟣 Purple line — Bar range (absolute PLN)
⚫ Grey 1.0 — baseline: below = below normal
Alert label shows exact ATR%, volume%, range at signal time.
HTF SUMMARY MODE
Add to 1h chart, set scan TF to 5min. Every 1h bar that contained a 5min alert gets highlighted in orange. Scan a full week of 5min silence periods in seconds without leaving the 1h view.
WHAT TO LOOK FOR
Most valuable when algo silence lasts 5+ bars and appears after a consolidation phase — not after a big move (post-move silence is natural exhaustion). The real signal is AutomatOff combined with VW Drift ACCUM: price drifting quietly while algos are absent = someone building a position with minimal footprint.
RECOMMENDED SETTINGS
5min / small caps: ATR 0.75, Volume 0.60, Price range 0.02 PLN, Mode ALL, Min bars 3
1h HTF scan: HTF mode ON, Lower TF 5min, min bars 3
Large caps (WIG20): raise volume threshold to 0.55, disable price range — algos never fully leave
Open source, Pine Script v6.
Part of the Stock Anomaly Detection toolkit.
Versionshinweise
bug fixes and upgradesVersionshinweise
v2.1 — HTF alerts split into three separate conditions: Mild / Strong / Extreme (previously single undifferentiated HTF alert). Update your alerts: delete the old HTF condition and set up the three new ones separately. No changes to detection logic.Versionshinweise
v2.1 — HTF alerts split into three separate conditions: Mild / Strong / Extreme (previously single undifferentiated HTF alert). Update your alerts: delete the old HTF condition and set up the three new ones separately. No changes to detection logic.Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.