What entry logic is
Entry logic defines when a trade is opened. It answers one question:Under which exact conditions should a position be opened?Entry logic must be:
- objective
- deterministic
- unambiguous
Components of entry logic
Entry logic is built from a combination of components.Conditions
Indicator values, thresholds, or events that must occur.
Operators
Logical connectors like AND / OR.
Filters
Additional constraints that limit when entries are allowed.
Direction
Whether the entry applies to long, short, or both.
Conditions
Conditions are the building blocks of entries. Examples:- indicators
- price action
- volume
- time-based events
Logical operators
Multiple conditions can be combined using logical operators. Examples:All conditions must be explicitly true or false at evaluation time.
Filters
Filters restrict when entries are allowed, without defining the entry itself. Common filters:- higher timeframe trend
- session/time-of-day
- volatility conditions
- market regime
Direction-specific entries
Entries can be defined separately for each direction. Example:- has independent logic
- may trigger at different times
- may use different conditions
When entries are evaluated
Entry logic is evaluated:- once per candle
- at candle close
- on the strategy timeframe
Default assumptions
If entry logic is:- incomplete → ATI will request clarification
- implied but clear → ATI may infer safely
- ambiguous → no strategy is created
What Trinigence fills automatically
See how missing entry details are handled.
Common mistakes
Conditions that are too restrictive
Conditions that are too restrictive
Too many AND conditions can eliminate all trades.
Using OR without intent
Using OR without intent
OR conditions can drastically increase trade frequency.
Expecting intrabar behavior
Expecting intrabar behavior
Entries are evaluated on candle close by default.
Best practices
- Start with one clear condition
- Add filters gradually
- Inspect entry points visually
- Validate logic on a small dataset first
Exit logic
Learn how trades are closed.
What to read next
Exit logic
How trades are closed.
Risk management
How losses are controlled.
Direction: long & short
Direction-specific behavior.
Strategy overview
Return to the big picture.
Good entries create opportunity.
Good exits and risk management create survival.
Good exits and risk management create survival.