← Knowledge Base

How does TestingView close trades?

TestingView closes trades when price reaches stop loss or take profit, when a user manually closes the trade, or when trade-management logic such as break-even changes the active stop.

The question that follows every winning backtest is how the trade was allowed to end. A test that only exits at a perfect target, and never at the stop you would have honored, is describing a different trader.

A session closes a trade at stop loss, at take profit, or when you close it yourself. Break-even, on plans that include it, can move the active stop and change where that exit sits. The journal records the exit you actually got.