EA-ProgrammierungNordZentrum GmbH & Co. KG DERequest a quote

Service · ATAS

ATAS indicator development

ATAS is a platform for order flow analysis — footprint charts, volume profiles, market depth. Custom indicators and trading bots are written in C# as a .NET class library. We develop them to your specification, with complete source code.

C# is familiar ground for us: we use the same language for cBots in cTrader.

01

What we develop for ATAS

1.1

Indicators

Your own order flow analyses, directly in the chart.

  • Order flow metrics such as delta, cumulative delta and volume per price level
  • Volume profiles with point of control and value area
  • Custom calculations and combinations of existing ATAS indicators
  • Drawings, zones and alerts in the chart
1.2

Trading bots

Automated trading via the ATAS strategy interface.

  • Entry and exit rules based on order flow data
  • Order management with stop-loss, target and position size
  • Risk limits per trade and per day
  • Log of every decision
1.3

Adapting existing indicators

When an existing indicator no longer does what it should.

  • Extensions with additional metrics or alerts
  • Troubleshooting existing C# code
  • Migration to a new .NET version after a platform update
02

Typical ATAS indicators in practice

Most projects revolve around a few building blocks of order flow. The table shows what each indicator displays and what it is based on in the ATAS programming interface.

IndicatorWhat it showsBasis in the ATAS API
Footprint and cluster analysisVolume, buys and sells per price level of a candle, for example bid/ask imbalancesThe candle's price levels via GetAllPriceLevels()
Delta and cumulative deltaExcess of aggressive buying or selling per candle and over timeThe candle's Delta, MaxDelta and MinDelta
Volume profilePoint of control and value area for a candle or a freely chosen periodThe candle's MaxVolumePriceInfo and ValueArea, summed from the price levels for periods
Market depthLarge orders in the order book, changes in liquidityMarket depth events in the live market; what should be shown for past periods is part of the specification
AlertsSound and text message when a threshold is reachedAddAlert with sound file and message
Data exportValues per candle as a CSV file, for example for analysis in Excel or PythonWriting from OnCalculate using standard .NET
03

How a custom ATAS indicator is built

A complete small example: cumulative delta in its own pane, with an alert above an adjustable threshold.

Every indicator is a C# class that inherits from Indicator. ATAS calls OnCalculate once for every historical candle and then on every tick of the live candle. Values that should appear on the chart go into a ValueDataSeries; GetCandle(bar) provides the candle's data. Properties with the Display attribute appear in the settings window.

using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Windows.Media;
using ATAS.Indicators;

namespace Example
{
    [DisplayName("Cumulative delta with alert")]
    public class CumulativeDelta : Indicator
    {
        private readonly ValueDataSeries _sum;
        private int _lastAlertBar = -1;

        [Display(Name = "Alert threshold", GroupName = "Settings")]
        public decimal Threshold { get; set; } = 5000;

        [Display(Name = "Sound file", GroupName = "Settings")]
        public string SoundFile { get; set; } = "alert1";

        public CumulativeDelta() : base(true)
        {
            Panel = IndicatorDataProvider.NewPanel;   // own pane below the chart
            _sum = (ValueDataSeries)DataSeries[0];
            _sum.Name = "Cumulative delta";
            _sum.Color = Colors.DodgerBlue;
            _sum.VisualType = VisualMode.Line;
        }

        protected override void OnCalculate(int bar, decimal value)
        {
            var candle = GetCandle(bar);
            var previous = bar > 0 ? _sum[bar - 1] : 0m;
            _sum[bar] = previous + candle.Delta;

            // only on the live candle and at most once per candle
            if (bar == CurrentBar - 1 && bar != _lastAlertBar
                && Math.Abs(_sum[bar]) >= Threshold)
            {
                _lastAlertBar = bar;
                AddAlert(SoundFile, $"Cumulative delta: {_sum[bar]:0}");
            }
        }
    }
}

Compiling and loading. Create a class library in Visual Studio and reference ATAS.Indicators.dll from the ATAS installation folder; the ATAS documentation currently names net10.0-windows with WPF as the target framework. The compiled DLL goes into %APPDATA%\ATAS\Indicators or is added via “Add custom indicator” in the indicator settings. After reloading from the status bar, the indicator is listed in the “Custom” group (ATAS documentation).

The example is deliberately small. The cumulative delta starts with the first loaded day; an indicator used for trading usually needs a fixed starting point, such as the session open, and a check against the values of the built-in indicators.

04

How an ATAS indicator is created

01

Specification

What the indicator should calculate, display and report — recorded in writing as the basis for the quote and acceptance.

02

Development as a .NET class library

In C# against the ATAS programming interface, for the .NET version of your platform — .NET 8 or .NET 10, or both on request.

03

Testing

Against historical data and in the live market, with a comparison of the calculated values.

04

Delivery

Complete source code with Visual Studio project, the compiled DLL file and a short installation guide.

05

What ATAS is suited for — and what not

Order flow analysis needs real traded volume. That exists on exchanges: for futures, stocks and on crypto exchanges. There, ATAS shows at which prices trades actually took place and who bought or sold aggressively.

In over-the-counter forex trading and with CFDs there is no central volume. For automated trading in these markets, MetaTrader or cTrader are the obvious platforms — cTrader, incidentally, also in C#.

06

Pricing

A custom indicator starts at €125 net at a fixed price. We quote trading bots based on the specification, because order management and risk limits determine the scope. The price includes the complete source code, the Visual Studio project, the compiled library and acceptance against the specification.

07

Frequently asked questions about ATAS

Which language are ATAS indicators programmed in?

In C#. A custom indicator or trading bot for ATAS is a .NET class library that is developed in Visual Studio and loaded into the platform as a DLL file. It is based on the ATAS programming interface.

Which .NET version does my ATAS indicator need?

The one your ATAS platform runs on — .NET 8 or .NET 10 depending on the version. On request we compile the indicator for both at once, so it keeps working after a platform update.

How do I install a custom indicator in ATAS?

The compiled DLL file is copied into the ATAS indicator folder, which according to the ATAS documentation is %APPDATA%\ATAS\Indicators. The indicator is then available for selection in the platform. A short guide is included with every delivery.

Can you also develop trading bots for ATAS?

Yes. ATAS provides its own strategy interface for this, which builds on the indicator interface. As with any trading system, risk limits, error handling and a log are part of the implementation.

Does ATAS support help with my custom indicator?

No. ATAS technical support does not modify, configure or investigate program code from third parties or customers. For custom indicators you need a developer who knows the source code — with the complete source code, that can also be someone else later.

What does a simple ATAS indicator look like in C#?

A class that inherits from Indicator. ATAS calls the OnCalculate method for every candle; there, GetCandle(bar) reads the candle data such as close, volume or delta, and the result is written to a ValueDataSeries that the chart displays. A complete example with cumulative delta and an alert is shown above on this page.

Is there sample code for ATAS indicators?

Yes. ATAS publishes the source code of many built-in indicators on GitHub in the AtasPlatform/Indicators project, together with API documentation at docs.atas.net. Both are a good starting point for your own development.

Can an indicator from NinjaTrader or MetaTrader be moved to ATAS?

Yes, as a port. NinjaScript is also C#, so many calculations carry over; data access, drawing and settings are rewritten against the ATAS interface. Indicators from MQL4 or MQL5 are reimplemented in C#. In both cases we compare the values against the original.

Need a custom indicator for ATAS?

Describe what it should calculate and display. After the initial call you receive a fixed-price quote.

EA-Programmierung is a service of NordZentrum GmbH & Co. KG, Germany: Expert Advisors, indicators and trading systems for MetaTrader 5 and 4, cTrader, TradingView and ATAS, developed by André Liebetrau, Dipl.-Inf., a development service provider since 2009. Fixed price based on a written specification, complete source code included.

Request a quote