The engine runs two different kinds of stop, and choosing the wrong one is the most common reason an advanced feature appears to do nothing. This page explains both, and shows what each costs.
Every rupee figure on this page is hypothetical. It comes from backtested runs on historical NSE data — projected, not advice, and not indicative of future results. Every trade is sized at today's lot size.
Position risk: one stop and one target on the whole structure. Each leg row carries its own SL% and TP% separately.
Two stops, two questions
A position stop asks: how much is this whole trade allowed to lose? Set it and the engine watches the combined P&L of every leg. When the structure as a whole is down by your limit, everything closes.
A per-leg stop asks: how far is this one option allowed to run against me? It is an SL% on that leg's own premium. A short call entered at ₹100 (an illustrative price) with SL% 30 closes if its premium reaches ₹130 — regardless of what the put is doing.
The analogy: a position stop is the fuse box for the whole house. A per-leg stop is a fuse on each appliance. Trip the house fuse and everything goes dark. Trip the toaster's and the fridge keeps running — which is fine, unless the fridge was the dangerous one.
Why this distinction decides whether features work
Here is the trap, and it is worth stating bluntly because it is measurable.
Re-entry, the stepped trail, and move-SL-to-cost all trigger off a LEG stop. A position stop ends the trade — there is no surviving leg to tighten, and nothing to put back on. So a run configured with a position stop and re-entry enabled produces zero re-entries, silently.
We measured exactly this. The same NIFTY short strangle with a 30% position stop, re-entry set to one per leg: identical result, re-entry count zero. The same structure with the 30% expressed per leg: 98 re-entries fired.
The common misconception. "I set a 30% stop loss" is ambiguous, and the two readings produce different strategies. 30% of what — the position's combined P&L, or each leg's own premium? The screen has both boxes because they are genuinely different rules.
What a position stop costs, measured
NIFTY short strangle (ATM±2), 1 lot, 81 sessions, 2025-01-01 to 2025-04-30, entry 09:20 exit 15:15 IST, costs on. Projected, not advice.
Lot size: every trade is sized at today's lot size, whatever its date. Premiums are per unit, so rupee figures are comparable across a window that crosses a lot-size change.
| No stop | 30% position stop | |
|---|---|---|
| Net P&L | +₹46,693 | +₹34,994 |
| Win rate | 69.1% | 51.9% |
| Max drawdown | -₹27,407 | -₹24,542 |
| Profit factor | 1.42 | 1.36 |
| Worst intraday MTM | -₹25,365 | -₹7,475 |
Both profitable, and neither simply better. The stop cost ₹11,699 of profit and bought ₹2,865 less drawdown, and took the worst intraday loss from −₹25,365 to −₹7,475. It also cut the win rate by seventeen points, because a stop converts trades that would have recovered by 15:15 into realised losses.
Which side of that you want depends on capital, temperament and what else is in the book — none of which a backtest knows.
What a per-leg stop costs, measured
Same structure and window, with the 30% expressed per leg instead:
| No stop | 30% per-leg stop | |
|---|---|---|
| Net P&L | +₹46,693 | +₹23,243 |
| Win rate | 69.1% | 59.3% |
| Max drawdown | -₹27,407 | -₹18,544 |
| Worst intraday MTM | -₹25,365 | -₹8,328 |
Note the leg stop was more expensive here than the position stop — ₹23,243 against ₹34,994 — on the same nominal 30%. A leg stop fires on one option's move regardless of whether the other leg was covering it, so a strangle whose call spikes gets its call cut even on a day the put was paying for it comfortably.
That is not an argument against leg stops. It is an argument for knowing which one you enabled.
The details that decide close calls
The position stop gets first refusal, every bar. It is checked before any leg rule. Running the leg rules first would let a deep leg close itself and let the position sail through its own stop while still being labelled as having stopped there.
Stop before target, within a bar. If one minute touched both of a leg's levels, the engine books the stop. The candle does not record the order, and assuming the good one came first would inflate results on exactly the violent minutes where the gap is biggest.
Gaps are honoured. A stop fills at its level only if the market was there to fill you. If the minute opened past your stop, you get the open — worse than you asked for.
Position stops fill exactly at the stop amount. When the stop is reached mid-bar, each live leg's exit price is scaled so the legs sum precisely to the stop level, rather than each leg being marked independently to something that would not add up.
Exit all legs when one fires
The Exit all legs when one leg's SL or TP fires toggle converts a leg stop into a whole-structure exit. It answers the naked-leg problem directly: a strangle that has lost its call is a naked put, and this closes the put rather than leaving it out there.
Two consequences to know before enabling it:
- It disables re-entry. Ending the trade leaves nothing to put back on, and the screen greys the re-entry controls with that reason rather than accepting a setting that could never fire.
- It converts one leg's bad minute into the whole structure's exit, including the leg that was winning.
What mistakes do traders make?
Enabling re-entry or trailing on a position-stop run. They will never fire. Check the exit mix: if every exit reads STOP or TIME and none read BY LEG, no leg rule ran.
Assuming a leg stop is gentler than a position stop because it only closes one leg. Measured above, it was the more expensive of the two on the same number.
Setting a stop tighter than your own slippage. The engine disables it and reports it, because a stop inside your assumed spread fires on entry.
Reading the drawdown improvement without the P&L beside it. Every stop reduces drawdown. That is what stops do. The question is what it charged you for the privilege.
Treating a higher win rate as evidence the stop helped. Removing the stop here raised the win rate to 69.1%, because trades that would have been stopped recovered by the close. Win rate moves for reasons that have nothing to do with edge.
Next step
Open /backtest and run your strategy three times — no stop, position stop, per-leg stop — and read net P&L against max drawdown each time. Then read trailing stops and re-entry, both of which need the per-leg version to do anything at all.