Service · DFM · ADX · Pine Script · Python

UAE Stock Market API Tools for DFM and ADX Traders

A UAE stock market API project at AlgoKhaleej means custom software for DFM and ADX traders: Pine Script indicators and alerts on TradingView charts, Python screeners on data you are licensed to use, and MetaTrader 5 (MT5) EAs where your broker lists UAE share CFDs. Orders on real shares stay in your broker's app.

  • Custom built
  • Demo testing before payment
  • Source code option
  • NDA on request

How it works

Rules → Code → Backtest → Deliver

  1. STEP 01

    Rules

    You share your entry, exit and risk rules in plain words.

  2. STEP 02

    Code

    We write clean MQL4, MQL5, Pine Script or Python code.

  3. STEP 03

    Backtest

    You test the build on your own demo account first.

  4. STEP 04

    Deliver

    You get the final file, a settings guide and setup help.

On this page

UAE stock market API scope: what DFM and ADX traders can automate and what stays manual

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.

How a DFM or ADX chart alert travels through a webhook relay to Telegram or WhatsApp

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.

Steps of a Python screener running on exported or licensed DFM and ADX data

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.

How an MT5 EA with a session filter trades a UAE share CFD during DFM or ADX hours

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

  1. You send your rules, symbols and the alerts you want, by WhatsApp or email.
  2. We write the Pine Script, Python or MQL5 code, with a clear input for each setting.
  3. On your own charts, data or demo account, you run the tool, and we fix what you report.
  4. Delivery covers the files, a settings guide and a short setup call.

Files you receive with a DFM or ADX tool, from the code to 7 days of fixes

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

Frequently asked questions

Is there a public API for retail orders on DFM or ADX?

We have not found one for retail orders. What the exchanges do provide is market data, which suits screeners and dashboards rather than order entry. Have an official API document from your broker? Send it to us, and we will tell you what it allows.

Can TradingView show DFM and ADX charts?

TradingView does list both exchanges, so Pine Script indicators and alerts work on UAE shares. Its data coverage page shows, for each exchange, whether your account gets real-time or delayed prices. Check it before you rely on an intraday alert.

Can an MT5 EA trade UAE shares?

It can trade CFDs on them, where your broker lists those symbols on MT5 and permits EAs. We test such an EA on your demo account first, because the broker sets the contract settings and session times for each CFD.

What are the DFM and ADX trading hours?

Both markets trade Monday to Friday. The main session ends at 14:45 UAE time, and short closing sessions follow it. In our tools the session times and public holidays sit in inputs you control, so a calendar change needs no new code.

Who regulates trading on DFM and ADX?

The federal Capital Market Authority, formerly the SCA, regulates the onshore market that DFM and ADX belong to. A broker licensed in the DIFC answers to the DFSA instead, so your broker's terms tell you which rulebook applies to your account.

How much does a UAE stock market API tool cost?

Custom Pine Script tools and MT5 EAs start from $50, about 184 AED at the fixed 3.6725 peg, and Python screeners from $100, about 367 AED. Ready tools cost $150 each, about 551 AED. Coding starts after a 50% deposit in USDT, and 7 days of fixes follow delivery.

WhatsApp · Email · Telegram

Tell us what you want to automate

Send your rules on WhatsApp. You get a clear quote, then a demo build to test before you pay in full.