Events vs states
One of the most common sources of confusion in strategy logic is the difference between:- events (something happens now)
- states (something is true over time)
What a crossover is
A crossover occurs when one value moves from one side of another value to the other. Examples:- triggers on the candle where the crossing happens
- is true for one evaluation only
- becomes false again on the next candle
Crossovers vs comparisons
Compare: CrossoverMost entries should be based on crossovers, not comparisons.
What a trend change is
A trend change is a transition from one directional state to another. Examples:- are event-based
- usually derived from trend indicators
- often abstract multiple internal calculations
Trend state vs trend change
Trend stateTrend changes trigger once.
Common uses
Entries
Crossovers and trend changes are most commonly used for:- trade entries
- initial position opening
- momentum confirmation
Exits
They can also be used for exits. Example:Evaluation timing
Crossovers and trend changes are evaluated:- on candle close
- on the strategy timeframe
- once per candle
Direction-specific behavior
Crossovers may be defined per direction. Example:Defaults and assumptions
If a crossover or trend change is:- clearly stated → used exactly
- implied → ATI infers conservatively
- ambiguous → ATI requests clarification
What Trinigence fills automatically
See how event logic is inferred.
Common mistakes
Using crossovers as filters
Using crossovers as filters
Crossovers are events, not states. Use comparisons for filters.
Expecting repeated signals
Expecting repeated signals
A crossover fires once, not continuously.
Confusing trend change with trend state
Confusing trend change with trend state
Trend changes are moments. Trend states persist.
Best practices
- Use crossovers for entries
- Use states for filters
- Do not chain multiple crossovers unnecessarily
- Validate trigger points visually
Operators & conditions
Learn how crossovers fit into logic.
What to read next
Indicator categories
Trend, momentum, volatility indicators.
Entry logic
How events open trades.
Exit logic
How events close trades.
Indicators overview
Return to the big picture.
Events trigger action.
States define context.
States define context.