Blog · Dhan Broker

Complete Risk Management
For Dhan Traders

A step-by-step guide to setting up complete automated risk management for your Dhan trading account. From daily loss limits to expiry day rules.

Start Free Trial →
Step 1

Generate Your Dhan
Access Token

TradeGuard connects to your Dhan account through Dhan's official API. Each morning you generate a fresh access token in Dhan's app and paste it into TradeGuard. This process takes under 60 seconds and must be done each trading day.

How to generate your Dhan token:

Token is valid for 24 hours. Set a morning reminder at 9:00 AM to refresh it before market opens.

Step 2

Set Your Daily
Kill Switch Rules

Once logged in, go to the Kill Switch Rules tab. For a complete protection setup, configure these rules:

🛑

Max Daily Loss

Set to 1-2% of your trading capital. For ₹3 lakh capital: ₹3,000-₹6,000. This is your most important rule.

🎯

Profit Target

Set to 1.5-2x your daily loss limit. Loss ₹3,000? Set profit target at ₹4,500-₹6,000. Lock in winning days.

📊

Max Trades

Set to 3-5 trades. Prevents overtrading and decision fatigue in afternoon sessions.

Thursday Time Kill

Enable Day-Based rule. Select Thursday. Set kill time 12:00 PM. Protects against weekly expiry afternoon disaster.

Step 3

Start Monitoring And
Trade Confidently

Once rules are set, click Start Monitoring. TradeGuard's server begins checking your Dhan account every 5 seconds. You can close the app — monitoring continues on our server.

From this point until 3:30 PM, rules are locked. No changes possible. No overrides during market hours. This is the protection you set up when you were calm and rational — and it will execute even when you are not.

Related Resources
🏠 Home ❓ FAQ 🛑 Daily Loss Limit 😤 Revenge Trading 🧠 Trading Discipline 📊 Stop Overtrading 🔗 Dhan → Start Free Trial
START FREE TODAY

4-day free trial · No credit card · Setup in 5 minutes

Start Free Trial → Read FAQ
FAQ

Dhan Risk Management FAQ

How do I connect TradeGuard to Dhan?
Generate an access token in Dhan app (Settings → API Access), copy it, paste into TradeGuard's Dhan Login tab along with your Client ID, and click Refresh. Takes under 60 seconds.
Do I need to do this every day?
Yes. Dhan tokens expire every 24 hours for security. Generate a fresh token each morning before trading starts. Set a 9 AM alarm as a reminder.
Will TradeGuard close my positions automatically?
Yes. When the kill switch fires, TradeGuard submits market orders to close all open positions on your Dhan account and activates Dhan's kill switch to block new trades.
What if I want to trade after the kill switch fires?
During market hours (9:15 AM - 3:30 PM), this is not possible through TradeGuard. The kill switch re-fires every 15 seconds if deactivated from Dhan app. After 3:30 PM, you can use the override PIN.
Is my Dhan account safe with TradeGuard?
Yes. TradeGuard only reads P&L data and activates the kill switch. We cannot place orders, withdraw funds, or modify anything beyond risk enforcement. Credentials are encrypted on our servers.