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 →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.
Once logged in, go to the Kill Switch Rules tab. For a complete protection setup, configure these rules:
Set to 1-2% of your trading capital. For ₹3 lakh capital: ₹3,000-₹6,000. This is your most important rule.
Set to 1.5-2x your daily loss limit. Loss ₹3,000? Set profit target at ₹4,500-₹6,000. Lock in winning days.
Set to 3-5 trades. Prevents overtrading and decision fatigue in afternoon sessions.
Enable Day-Based rule. Select Thursday. Set kill time 12:00 PM. Protects against weekly expiry afternoon disaster.
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.