To create a custom indicator:
-
Create a Visual Studio class library project
-
Add a link to ATAS.Indicators.dll, which is located in the program installation folder, to the project
-
Redefine the Indicator class
-
Add the necessary data series in the constructor: ValueDataSeries, RangeDataSeries, CandleDataSeries, or PriceSelectionDataSeries
-
Describe the indicator operation logic in OnCalculate()
-
Compile the library
-
Put the resulting .dll file to the Documents/Advanced Time And Sales/Indicators folder
-
The next time ATAS is launched, the created indicator will appear in the list of indicators
You can download a sample project here.
It is necessary to add the latest version of ATAS.Indicators.dll to the references of the project