Skip to main content

Why strategy structure matters

When Trinigence turns a trading idea into a strategy, the result is not text - it is a formal, deterministic structure. Understanding this structure helps you:
  • interpret backtest results correctly
  • debug unexpected behavior
  • iterate without breaking logic
This page explains the core building blocks without requiring any coding knowledge.

The core components of a strategy

Every Trinigence strategy is composed of the same fundamental parts.

Market & Timeframe

Defines what is traded and how often logic is evaluated.

Entry Logic

Rules that open a position when conditions are met.

Exit Logic

Rules that close a position deterministically.

Risk Management

Constraints that limit losses and define trade behavior.

Market & timeframe

A strategy always starts with:
  • a specific symbol (e.g. BTC/USDT)
  • one or more timeframes
All indicators and conditions are evaluated on the selected timeframe unless explicitly defined otherwise.
Multi-timeframe strategies separate filter timeframes from execution timeframes.

Entry logic

Entry logic defines when a trade opens. It consists of:
  • one or more conditions
  • logical operators (AND / OR)
  • optional filters
Examples of entry components:
  • indicator thresholds
  • crossovers
  • trend direction
  • breakout conditions
An entry must be objective, repeatable, and unambiguous.

Exit logic

Exit logic defines how and when a trade closes. Common exit types:
  • fixed take profit
  • fixed stop loss
  • indicator-based exits
  • time-based exits
A strategy without a valid exit cannot be backtested.
Multiple exit conditions may coexist. The first condition met closes the trade.

Risk management

Risk rules define how much the strategy can lose. This includes:
  • stop loss levels
  • position sizing rules
  • maximum exposure
  • trade limits
Risk management is enforced independently from entry logic.
Changing risk parameters often has a larger impact than changing entries.

Strategy flow

At each new candle:
  1. Filters are evaluated
  2. Entry conditions are checked
  3. If a trade is open, exit conditions are evaluated
  4. Risk rules are enforced
This flow repeats identically for every backtest candle.

Determinism and reproducibility

Every strategy in Trinigence is:
  • deterministic
  • reproducible
  • free of hidden state
Given the same data and parameters, a strategy will always produce the same result.

How ATI maps ideas to structure

ATI translates your idea by:
  1. identifying required components
  2. normalizing indicators and parameters
  3. validating logical completeness
  4. surfacing assumptions

What Trinigence fills automatically

See which details ATI infers safely.

Common structure misunderstandings

Filters, timeframe choices, or exit logic may be more restrictive than intended.
Exit conditions are evaluated on every candle, not only at entry.
Yes. The first exit condition met closes the trade.

How to use this knowledge

Understanding structure helps you:
  • modify one component at a time
  • reason about cause and effect
  • avoid accidental strategy changes

Improving a strategy

Learn how to iterate safely.

Clear structure leads to predictable behavior. Predictable behavior leads to better decisions.