What can a UAE stock market API do for you today?
For a retail trader, this kind of project covers analysis and alerts on your charts, plus screeners on your data. Full execution works on one narrow path only: CFDs on MT5, where a broker offers them.
Many traders first ask us for a robot that buys and sells Emirati shares on its own. We give the same reply each time. We have found no public order API for real shares, so the order button stays in your broker’s app.
| Task | Possible today? | What it depends on |
|---|---|---|
| Indicators and strategy tests | Yes | TradingView carries DFM and ADX charts and runs Pine Script |
| Alerts to Telegram or WhatsApp | Yes | A TradingView plan with webhook alerts |
| Screeners and reports | Yes, in Python | Data you own or license |
| EAs on UAE share CFDs | Sometimes | Your broker lists the CFDs on MT5 and allows EAs |
| Orders on real shares | No, manual | You place them in your broker’s app |
We build the software, while you make every trading decision.
Two exchanges on one clock
The Dubai Financial Market (DFM) lists many Dubai companies, and the Abu Dhabi Securities Exchange (ADX) lists most Abu Dhabi companies. Both trade Monday to Friday on Gulf Standard Time (UTC+4), which has no daylight saving.
DFM’s how to trade page puts its main trading session at 10:00 to 14:45 UAE time, with short pre-closing and trade-at-last sessions after it. ADX opens at the same 10:00. That window shapes every tool we write for these markets. For example, an alert script stays quiet outside it, while a screener runs after the close, once the day’s bars are complete.
Custom Pine Script indicators on DFM and ADX charts
DFM and ADX shares open on TradingView like any other market, so Pine Script is usually the first tool we reach for. The Pine Script user manual documents the language. A common first job is to code your entry rules as an indicator that draws arrows, zones or a small dashboard on the chart.
The same rules can also become a Pine Script strategy. TradingView’s Strategy Tester then replays them on past bars of any listed DFM or ADX share, and you see how the rules behaved. Treat that backtest as a check on your logic, since past results never predict future ones.
Our Pine Script developer page explains how we write and deliver these scripts. You test each one on your own charts before the final payment.
Alerts to Telegram and WhatsApp
The cash session lasts under five hours, and few traders can watch a screen for all of it. That is why alerts are often the most useful piece of this work.
Your Pine Script indicator fires an alert when a rule triggers. TradingView then sends a webhook to a small relay we build. The relay posts the message to your Telegram bot, or to WhatsApp through the official WhatsApp Business Platform. A signal usually reaches your phone within seconds.
Each message names the symbol, the exchange, the rule and the time. You can also send alerts to a private group for your own team. Note that TradingView webhook alerts need a paid plan with two-factor login turned on.
Python screeners on licensed data
Some jobs go beyond one chart. For instance, a trader may want every DFM and ADX share scanned each evening, with a list of the ones that pass their filters. Python handles that well.
Data rights come first. DFM distributes real-time, delayed and historical data through authorised market data providers, and ADX also licenses its feed to vendors. A screener therefore runs only on data you are entitled to, such as files you export from your own platform or a licensed feed you pay for. We also refuse to scrape websites or apps against their terms, because scrapers break when a page changes, and they can breach your data agreement too.
With the data in place, the script applies your rules, ranks the matches and saves a CSV or Excel report. It can then send a short summary to Telegram. Our Python broker API automation page covers how we build and package these scripts.
MT5 EAs on UAE share CFDs
Most MT5 brokers offer forex, gold and index CFDs. However, a few also list CFDs on large DFM or ADX names, and an MT5 Expert Advisor can trade those like any other symbol. This is the one route to hands-free execution today.
It comes with limits. A CFD follows the share price, yet you never own the share or vote with it. The EA also needs a session filter, so it stops at the exchange close instead of waiting on a frozen price. Before any build, check that your broker allows EAs on these symbols, and read its swap and dividend rules for them.
Our MT5 Expert Advisor development page explains how we code, test and deliver EAs.
Why we don’t promise automatic orders on real shares
We looked for a public retail order API from DFM, ADX and UAE brokers, and we found none that we can recommend. Without one, a script has no safe way to place orders for you. Instead, some developers drive a broker’s app by simulating clicks. We refuse that route, because it can break account terms and it fails after any app update.
Our offer therefore stops short of orders on real shares. We would rather say no than sell a promise.
Which regulator covers your account?
The UAE government portal names the federal Capital Market Authority (CMA), previously called the Securities and Commodities Authority (SCA), as the regulator of the UAE’s capital markets. That onshore remit includes DFM and ADX. Financial free zones are outside it, so firms in the Dubai International Financial Centre (DIFC) answer to the Dubai Financial Services Authority (DFSA). Read the current rules of your broker’s regulator and your account terms before any automation project.
We build tools inside those rules, and we change the scope when a rule requires it. Our trading software development UAE page explains how we work with UAE traders day to day. For session times in Dubai, see our algo trading Dubai guide.
How a project works
- You send your rules, symbols and the alerts you want, by WhatsApp or email.
- We write the Pine Script, Python or MQL5 code, with a clear input for each setting.
- On your own charts, data or demo account, you run the tool, and we fix what you report.
- Delivery covers the files, a settings guide and a short setup call.
Prices in USD and AED
We quote in US dollars. The dirham holds a fixed peg of 3.6725 to the dollar, so the AED figures below stay steady:
| Tool | USD | AED (approx.) |
|---|---|---|
| Custom Pine Script indicator or MT5 EA | from $50 | from 184 AED |
| Python screener or data script | from $100 | from 367 AED |
| Ready tool from our catalogue | $150 each | 551 AED |
You get one fixed quote before any work starts. Our expert advisor development cost page shows typical ranges across all services. Trading Saudi shares too? See Saudi stock market automation.
Sources
- DFM: how to trade and trading hours and market data providers
- Government of Dubai Media Office: DFM trading hours from Monday to Friday
- Abu Dhabi Media Office: ADX trading hours
- UAE government portal: financial markets and the Capital Market Authority
- DFSA: who the DFSA is
- TradingView: data coverage, Pine Script user manual and about webhooks
- Telegram: Bot API
- WhatsApp: Business Platform documentation

