cyberneticlibrary

Classify stock price action into 5 states

jackal-state-machineskillsetup L22
ssurmic/claude-investment-skills
What it does

Classify stock price action into five position-sizing states

Best for

When traders need to distinguish between continuation and pullback to optimize position size and entry timing.

Inputs
  • · ticker symbol
  • · optional current price
  • · optional user risk style (Aggressive/Standard/Conservative)
Outputs
  • · current state (1-5)
  • · conditions met/unmet
  • · position-sizing playbook per risk style
  • · next catalyst triggers
Requires
  • · yfinance data feed
  • · technical indicator computation (EMA, MACD, RSI, volume)
Preconditions
  • · valid ticker symbol
  • · market hours or recent data available
Failure modes
  • · ambiguous state between 2-3
  • · overnight gaps crossing multiple states
  • · low volume making thresholds unreliable
  • · state conflicting with prior day
Trust signals
  • · framework from Jackal Quant deep research
  • · concrete volume thresholds
  • · MA sequence rules
  • · 80% scatter-trader mistakes avoided if applied