All Weather 5 Layer Trading Framework

A professional 5-layer crypto trading framework for regime-adaptive analysis and risk-gated execution.

Install
cmdop skills install agensi-all-weather-5-layer-trading-framework

The All Weather 5 Layer Trading Framework is an AI skill that processes crypto market data through five sequential analytical layers: Regime Detection, Probability-Based Classification, Strategy Routing, Risk Overlays, and Portfolio Orchestration. It is designed for traders working on 1H and 4H timeframes who want structured, repeatable analysis rather than ad-hoc AI responses.

Regime Detection uses more than 11 indicators to calculate a probability vector across four market states: Trending, Ranging, Breakout, and Choppy. Based on that classification, the skill routes analysis to one of three strategy types — Trend Following, Mean Reversion, or Squeeze-Breakout. Required inputs include specific quantitative indicators such as ADX, ATR, R², and the Hurst exponent.

Risk management is handled through a 5-gate safety check that includes Half-Kelly position sizing, correlation limits between open positions, and an account-wide circuit breaker. Entry logic follows a two-phase scale-in model that delays full capital commitment until momentum clears defined thresholds. Order optimization accounts for slippage and distinguishes between Limit and Market order types.

When a signal passes all gates, the skill produces a structured Trade Card containing exact entry prices, ATR-based stop levels, and multi-tier profit targets. When a signal fails any gate, the report surfaces the specific failure. This skill does not execute trades; it produces analysis and decision artifacts for a human or agent to act on.

Use cases

  • Classify the current market regime for a crypto pair before placing a trade
  • Generate a structured Trade Card with entry, stop, and target levels for a qualifying setup
  • Apply Half-Kelly position sizing to a proposed trade given account balance and risk parameters
  • Route a market setup to the correct strategy type based on regime probability scores
  • Run a 5-gate risk check on a pending trade before committing capital
  • Identify choppy or low-probability conditions that warrant staying out of the market

When to use it

  • Trading crypto assets on 1H or 4H timeframes where regime classification materially affects strategy selection
  • When consistent, rules-based risk management is needed across multiple open positions
  • When an agent workflow requires a structured Decision Report rather than a free-form AI opinion
  • When two-phase scale-in entry discipline is desired to confirm momentum before full position sizing

When not to use it

  • Equities, forex, or non-crypto markets — the framework is designed for crypto
  • Timeframes other than 1H and 4H, such as day-trading on tick or 1-minute charts
  • Automated trade execution — this skill produces analysis only and does not connect to any brokerage or exchange API
  • Situations where required inputs like ADX, ATR, R², or Hurst exponent cannot be supplied
  • Portfolios needing fundamental or on-chain analysis, which this framework does not cover