First AI chart analysis freeTry itFirst AI chart analysis freeTry itFree analysis usedGo ProUnlimited AI chart analysisGo ProUnlimited AI chart analysisOpen
Strategy & Testing

Look-ahead bias

Advanced

Also calledhindsight biassurvivorship biashindsight

Using information you couldn't have had at the time, such as a candle that hadn't closed yet.

What it means

Its cousin, survivorship bias, is testing only on assets that still exist today.

In practice

Knowing about this bias makes testing honest. Every decision in a backtest must rest only on what was visible at that moment: closed candles, indicator values as they stood then and levels already on the chart.

Traders guard against it with bar replay tools that hide the future, and by writing rules precise enough to leave no room for hindsight.

What to watch for

It creeps in quietly: an indicator that redraws its past values, a swing point that was only confirmed several candles later, or a memory of how the day turned out. A backtest that looks too good usually contains it.

Entrix Academy

Learn these terms step by step, one lesson free

Entrix Academy is the trading course inside EntrixAlgo. It teaches the ideas in this glossary with interactive lessons, practice and a final exam. It is part of Pro, and a free account opens one lesson of your choice.

  • 129 lessons, start anywhere
  • Practice on every lesson
  • Final exam and certificate