smart-money-trap-detector — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited smart-money-trap-detector (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
import pandas as pd, numpy as np
class TrapDetector:
@staticmethod
def detect_traps(df: pd.DataFrame, lookback: int = 20) -> list[dict]:
traps = []
atr = (df["high"] - df["low"]).rolling(14).mean()
high_n = df["high"].rolling(lookback).max()
low_n = df["low"].rolling(lookback).min()
for i in range(lookback + 1, len(df)):
bar = df.iloc[i]
prev = df.iloc[i - 1]
# Bull trap: breaks above resistance then closes below
if bar["high"] > high_n.iloc[i - 1] and bar["close"] < high_n.iloc[i - 1]:
wick = bar["high"] - max(bar["open"], bar["close"])
if wick > atr.iloc[i]:
traps.append({"type": "bull_trap", "time": df.index[i], "level": round(high_n.iloc[i-1], 5),
"wick_pips": round(wick * 10000, 1), "signal": "SELL — false breakout above resistance"})
# Bear trap: breaks below support then closes above
if bar["low"] < low_n.iloc[i - 1] and bar["close"] > low_n.iloc[i - 1]:
wick = min(bar["open"], bar["close"]) - bar["low"]
if wick > atr.iloc[i]:
traps.append({"type": "bear_trap", "time": df.index[i], "level": round(low_n.iloc[i-1], 5),
"wick_pips": round(wick * 10000, 1), "signal": "BUY — false breakout below support"})
return traps[-10:]
@staticmethod
def trap_probability(df: pd.DataFrame, lookback: int = 100) -> dict:
"""Historical trap frequency — helps calibrate breakout vs trap expectations."""
traps = TrapDetector.detect_traps(df, 20)
high_breaks = ((df["high"] > df["high"].rolling(20).max().shift(1))).sum()
low_breaks = ((df["low"] < df["low"].rolling(20).min().shift(1))).sum()
bull_traps = sum(1 for t in traps if t["type"] == "bull_trap")
bear_traps = sum(1 for t in traps if t["type"] == "bear_trap")
return {
"total_breakouts_up": int(high_breaks),
"bull_trap_pct": round(bull_traps / max(high_breaks, 1) * 100, 1),
"total_breakouts_down": int(low_breaks),
"bear_trap_pct": round(bear_traps / max(low_breaks, 1) * 100, 1),
"recommendation": "High trap rate — wait for retest confirmation" if (bull_traps + bear_traps) / max(high_breaks + low_breaks, 1) > 0.4 else "Low trap rate — breakouts tend to follow through",
}Source: "Automated Break Out Detection in Python" by CodeTrading (Nov 2025)
A Python-automated approach to filtering fake breakouts:
For full implementation details, see breakout-strategy-engine skill.
Source: "I Built an Indicator that exposes FAKE Moves EVERYTIME" by Trading IQ (Mar 2026)
The Delta Ladder indicator (free on TradingView) exposes fake moves by showing delta at each price level within a candle:
breakout-strategy-engine) with volume-based confirmationFor full delta ladder analysis methods, see order-flow-delta-strategy.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.