Table of Contents

Namespace ATAS.Indicators.Modules

Classes

PlatformModule

Base class of a custom module written in a custom assembly: a panel of the classic %ATAS and a widget of %ATAS X whose whole client area the module draws through RenderContext — one code base for both platforms. Derive from it, mark the class with PlatformModuleAttribute, give it a public parameterless constructor and override OnRender(RenderContext, Rectangle); the other hooks are optional.

Not in ATAS 8.0.15 yet: available from the next version.

PlatformModuleAttribute

Marks a class derived from PlatformModule as a custom module and supplies its discovery metadata. The platform lists only modules that carry this attribute.

Not in ATAS 8.0.15 yet: available from the next version.

PlatformModuleButton

A button a PlatformModule shows in the header of its panel, next to the standard buttons of the platform. Create it, set its properties and add it to Buttons; the same code works in %ATAS and %ATAS X. Changing a property of a button that is in the list updates the header.

Not in ATAS 8.0.15 yet: available from the next version.

PlatformModuleIcons

Ready-made icons for Icon: path geometry data in a 16×16 box. Any other data of the same form can be used instead.

Not in ATAS 8.0.15 yet: available from the next version.

PlatformModuleInstrumentInfo

An instrument the platform knows, as FindInstruments(string, int) returns it: what to show to the user and the Id that names exactly this instrument for AddInstrument(string, string?, bool).

Not in ATAS 8.0.15 yet: available from the next version.

PlatformModuleKeyEventArgs

A key pressed or released while a PlatformModule has the keyboard focus. The same type is used in %ATAS and %ATAS X, so a module needs no WPF or Avalonia types.

Not in ATAS 8.0.15 yet: available from the next version.

Interfaces

IPlatformModuleContext

Read-only view of the panel (%ATAS) or widget (%ATAS X) a PlatformModule is shown in: the selected instrument and its latest market data, the size of the client area and the drawing resources of the platform theme. Available through Context from OnInitialize() on.

Not in ATAS 8.0.15 yet: available from the next version.

IPlatformModuleInstrument

An instrument a PlatformModule asked for in addition to the one selected in its panel (AddInstrument(string, string?, bool)): what it is and the latest market data delivered to the module.

Not in ATAS 8.0.15 yet: available from the next version.

Enums

PlatformModuleInstrumentState

What the platform currently does with an additional instrument of a PlatformModule.

        <p>Not in ATAS 8.0.15 yet: available from the next version.</p>
PlatformModuleStandardButtons

The standard buttons of the panel header a PlatformModule may hide (HiddenStandardButtons). The close button, the link group selector and — while the module has settings — the settings button cannot be hidden. The commands stay available in the context menu of the panel.

Not in ATAS 8.0.15 yet: available from the next version.