Dhan + MetaTrader 5
Live, tick-by-tick NSE, NFO, BSE, BFO and MCX data inside MetaTrader 5 through your own DhanHQ API. Charts on all 21 timeframes, option strikes as real symbols, and one-click orders back to Dhan. From ₹999/month.
What this is
The TradexCodez MT5 Bridge runs on your own machine and connects MetaTrader 5 to your Dhan account using your own DhanHQ API. It creates NSE, NFO, BSE, BFO and MCX instruments inside MT5 as real, chartable symbols, streams live prices into them, builds charts on all 21 timeframes, and routes your orders back out to Dhan — within DhanHQ’s API terms.
There is no middleman server holding your credentials or your order flow. Everything stays between your PC and your broker.
See it running
Thirty seconds: live Indian market data on MetaTrader 5 charts through the Bridge, and one-click trading from the chart. The same Bridge, configured for Dhan.
The cost difference, plainly
Our price is the same whichever broker you choose. What differs is what the broker charges you for API access — and that is paid to them, not to us.
| Via Dhan | Via Zerodha | |
|---|---|---|
| TradexCodez licence | from ₹999/month | from ₹999/month |
| Broker API access | trading API free; live data through Dhan’s Data API plan | ₹500/month for Kite Connect |
| Daily login | required — quick, through our Auto Login tool | required every trading day |
| Static IP | required for order execution | required for order execution |
Broker charges are set by the broker and can change — confirm the current position with Dhan before you subscribe. The Static IP requirement comes from SEBI’s algorithmic trading framework and applies regardless of which broker you use; it is not needed for market data alone.
What you get inside MetaTrader 5
- Live NSE, NFO, BSE, BFO and MCX data — tick by tick, on all 21 MT5 timeframes
- Individual option strikes as real symbols — each strike charts with its own history, indicators and backtesting. MetaTrader 4 cannot do this at all
- One-click execution — pair it with AIO OCT for entry with stop-loss, target and trailing attached on fill, or the Options Trader panel for the option chain
- Your indicators and Expert Advisors — every MT5 indicator, EA and script works on the Dhan symbols
- Your own credentials — your keys, your data, your machine
What you need
- A Dhan account with DhanHQ API access, TOTP set up on Dhan Web, and Dhan’s Data API plan for live data
- A daily login — a DhanHQ token lasts 24 hours; our Auto Login tool creates the new one each trading day
- Windows 10 or above · Core i3 or above · 4 GB RAM or above · 40 GB available storage
- MetaTrader 5 installed — a free demo account is sufficient for charting
- Static IP — required for order execution, per SEBI’s algorithmic trading framework. Not required for market data alone
- A TradexCodez licence configured for Dhan — see bundles and pricing
One licence, one broker
Each licence is configured for a single broker and stays with it for the life of the subscription. If you want to move to a different broker, you can do that when you renew. We price it this way so you are not paying for integrations you do not use.
Other brokers we support: Flattrade · Fyers · Upstox · Angel One · Alice Blue · Zerodha Kite Connect.
Common questions
Does Dhan charge for API access?
DhanHQ’s trading API is free. Live market data comes through Dhan’s Data API, which is a separate plan charged by Dhan. Confirm the current price with Dhan before you subscribe, since broker pricing is theirs to change.
Why do I have to log in every day?
A DhanHQ access token lasts 24 hours. Our Auto Login tool generates a fresh token each trading day from your Dhan client ID, PIN and TOTP, which you enter once; they are stored encrypted on your own PC, never on our servers.
Can I run the Dhan Bridge on two computers?
Dhan keeps one active token per account, so a login on a second computer ends the session on the first. Run the Bridge on one PC, or plan which machine logs in each day.
Do I still need a Static IP?
Yes, if you want to place orders, in line with SEBI’s algorithmic trading framework. It is not required if you only want live charts and market data.
Which segments can I chart?
NSE and BSE cash, NFO and BFO futures and options including individual strikes, MCX futures and commodity options, and the index symbols.
Is TradexCodez affiliated with Dhan?
No. We are an independent software company. Dhan is one of the brokers our Bridge connects to, using the API that Dhan publishes for its account holders.
Try it before you pay anything
If you want to see MetaTrader 5 running on Indian data first, our free NSE EOD Bridge charts 2,600+ NSE stocks with no broker account and no payment at all. It is end-of-day rather than live, but it shows you the platform on real Indian instruments before you commit to anything.
Questions? WhatsApp us.