LossGuardian
DhanOfficial DhanHQ API integration

Dhan kill switch and daily loss limits, without handing over your account

Dhan gives you a stop-loss on a trade. It does not give you a stop-loss on your day. LossGuardian connects to your Dhan account through an official integration, watches your realised and unrealised P&L in real time, and alerts you the moment you hit the limit you set.

Read-only. LossGuardian cannot place, modify or cancel an order in your Dhan account. It warns you, and you act. You log in on Dhan’s own screen, and we never see or store your password.

How to connect Dhan to LossGuardian

A short walkthrough of connecting Dhan, then the same steps in writing below.

Connect Dhan · walkthrough
  1. 1

    Download LossGuardian for Windows, install it and sign in.

  2. 2

    Pick Dhan in LossGuardian. Official DhanHQ API integration

  3. 3

    Log in on Dhan's own screen. Your password goes to Dhan, not to us.

  4. 4

    Set your limits: a rupee figure, a percentage of capital, a trade count, a cutoff time. These are your rules, not our defaults.

  5. 5

    Trade as normal. LossGuardian watches in the background and speaks up only when you cross a line you drew.

The missing guardrail in Dhan

Most traders can quote their win rate and almost none can quote their profit factor, or how far underwater they went before recovering. A day that closes flat after being down forty thousand at noon is not a flat day. It is a warning, and every broker statement records it as nothing at all.

Daily loss limit

A rupee limit and a percentage of capital, running together. Cross either and the session is stopped.

Revenge trading caught by timing

Re-entering too soon after an exit is what gets flagged, so it is caught even when the trade happens to win.

Consecutive loss cooldown

Hit your streak limit and a countdown holds before the app treats you as clear to re-enter.

Alerts you cannot dismiss

An always-on-top stop, not a toast you can click away while tilted.

What Dhan traders get most out of

1

Two drawdown numbers, labelled honestly

Realised drawdown from closed round-trips, and blended drawdown including floating unrealised. Most tools show one number and call it "max drawdown". These are different figures meaning different things, so both are shown and named.

2

Win rate and profit factor, computed properly

Win rate from round-trip fill-price analysis rather than the naive sign of P&L, and profit factor as gross wins over gross losses. Both ship with an explainer, because a number you cannot interpret is not information.

3

Live intraday equity curve

Realised, unrealised and total P&L with your kill-switch status and an equity curve updating through the session. The shape of the curve tells you what the closing number never will.

Is this a Dhan kill switch?

Not in the sense of software that reaches into your Dhan account and closes your positions for you. LossGuardian is read-only: it cannot place, modify or cancel an order. What it does is enforce the rule behind a kill switch: the moment your loss limit, trade count or losing streak is breached, an always-on-top alert you cannot click away tells you to stop for the day, and a cooldown holds before it treats you as clear to re-enter. You close the trade, in Dhan. That is the part that builds the habit, and it is the part software cannot do for you.

Dhan has its own kill switch, which it calls Kill Switch for Over-Trading. LossGuardian cannot switch it on for you, and never will. What it does is open Dhan’s own page for it from the hard-stop popup and from Risk Manager settings, so finding it takes one click instead of five. Dhan has no direct address for that page, so the link opens Dhan’s Money page and you carry on from there. You switch it on yourself, in Dhan. Check Dhan’s own help pages for how long it lasts, because that differs by broker and can change.

One price. Every broker.

Using LossGuardian with Dhan costs exactly what it costs with Zerodha, Fyers, Upstox, Angel One or Groww. Other tools charge you more for using a bigger broker. We don’t.

Dhan questions, answered

Can LossGuardian place or close trades in my Dhan account?

No. LossGuardian is read-only. It cannot place, modify or cancel an order on your Dhan account. It watches your positions and warns you; closing a trade is always your own action in Dhan.

How do I connect Dhan to LossGuardian?

Install LossGuardian on Windows, sign in, and pick Dhan from the broker list. Then log in on Dhan’s own screen. The connection runs on Dhan’s official DhanHQ API. We never see or store your Dhan password.

Is LossGuardian an official Dhan integration?

Yes. LossGuardian connects through Dhan’s official DhanHQ API. You log in on Dhan’s own screen, and we never see or store your Dhan password. It is read-only: it cannot place, modify or cancel an order.

I already use Dhan’s own risk features. Why add LossGuardian?

Broker risk controls act on orders and margin. LossGuardian acts on behaviour: how soon you re-entered after a loss, how many round-trips you have taken, whether you are loosening your own limits mid-session. The two protect against different failures and work fine together.

Is LossGuardian a Dhan kill switch?

Not one that closes your positions for you. LossGuardian is read-only and cannot place, modify or cancel an order. It enforces the rule behind a kill switch: breach your daily loss limit, trade count or losing streak and an always-on-top alert you cannot dismiss tells you to stop for the day, followed by a cooldown. You close the trade yourself in Dhan. Dhan has its own kill switch, which it calls Kill Switch for Over-Trading. LossGuardian opens Dhan’s page for it from the hard-stop popup and from Risk Manager settings, and you switch it on yourself. LossGuardian cannot switch it on for you. Dhan has no direct address for that page, so the link opens Dhan’s Money page and you carry on from there.

Does it cost more to use LossGuardian with Dhan?

No. LossGuardian is one price for every supported broker: Zerodha, Fyers, Dhan, Upstox, Angel One, Groww. Your broker does not change what you pay.

Read next