What backtesting is
Backtesting simulates how a strategy would have behaved on historical market data. In Trinigence, backtesting answers:- Did the strategy take trades as expected?
- What would the performance and risk look like historically?
- How stable is behavior across time?
Backtesting is a simulation, not a guarantee of future performance.
What Trinigence backtesting simulates
A Trinigence backtest simulates, candle by candle:- evaluating strategy logic on each candle close
- opening trades when entry conditions are met
- closing trades when exit conditions are met
- applying risk rules (stop loss, take profit, limits)
- tracking performance metrics and trade history
What data is used
Backtests use historical candle data:- Open
- High
- Low
- Close
- Volume (when available and used)
- the selected market (symbol)
- the selected timeframe
- the available data range
Candle-close evaluation
By default, strategy logic is evaluated on candle close. That means:- entries trigger only if conditions are true at close
- exits trigger only if conditions are true at close
- crossovers trigger only if the crossover is present at close
What the backtest does not guarantee
Backtests cannot fully replicate live conditions such as:- slippage variations
- real-time liquidity changes
- exchange-specific execution quirks
- sudden outages and operational constraints
Assumptions you should be aware of
Trinigence backtests operate under assumptions that keep behavior deterministic. Common assumptions:- strategy logic is evaluated deterministically per candle
- the same data produces the same trades
- no hidden discretionary decisions exist
What Trinigence fills automatically
See what the system infers to complete strategies.
Why results can look “wrong”
If a backtest doesn’t match your expectation, it usually comes from one of these:Timeframe mismatch
Timeframe mismatch
Indicators and logic behave differently across timeframes. A 15m strategy is not a faster 1h strategy.
Too many filters
Too many filters
Filters can quietly eliminate most entries.
Missing intrabar expectations
Missing intrabar expectations
If you expected intrabar triggers, candle-close evaluation will look delayed.
Exit logic dominates
Exit logic dominates
Many strategies are controlled more by exits and risk rules than by entries.
How to validate a backtest
Best practice validation flow:1
Start with a simple baseline
Use a minimal strategy with clear entries and exits.
2
Inspect trade history
Look at individual trades before trusting metrics.
3
Add complexity one layer at a time
Add filters, schedules, and extra conditions gradually.
4
Compare across time ranges
Validate behavior in different market regimes.
What to look at first
When reviewing results, start with:- trade count and frequency
- win rate vs profit factor
- max drawdown and drawdown duration
- equity curve shape
- biggest wins/losses
Backtesting metrics overview
Learn what each metric means and how to use it.
What to read next
Metrics overview
Interpret performance and risk metrics.
Trade history & logs
Debug strategy behavior.
Common backtest pitfalls
Avoid misinterpretation.
Strategy structure
Understand what is being tested.
Backtesting answers: “What happened historically under clear rules?”
It does not answer: “What will happen tomorrow?”
It does not answer: “What will happen tomorrow?”