ATAS
Loading...
Searching...
No Matches
ATAS.Indicators.IIndicatorDataProvider Interface Reference

Represents a data provider for an indicator, providing access to various data and services related to the indicator. More...

Inheritance diagram for ATAS.Indicators.IIndicatorDataProvider:
[legend]

Public Member Functions

bool IsNewSession (DateTime prevTime, DateTime newTime)
 Checks whether a new trading session has started between the specified previous time and new time.
 
bool IsNewWeek (DateTime prevTime, DateTime newTime)
 Checks whether a new trading week has started between the specified previous time and new time.
 
bool IsNewMonth (DateTime prevTime, DateTime newTime)
 Checks whether a new trading month has started between the specified previous time and new time.
 
void AddAlert (string soundFile, string instrument, string message, CrossColor background, CrossColor foreground)
 Adds an alert with the specified details to the indicator.
 
void DoActionInGuiThread (Action action)
 Executes the specified action on the GUI thread.
 

Properties

string Name [get]
 Gets the name of the indicator data provider.
 
IChart ChartInfo [get]
 Gets the chart information associated with the indicator.
 
IPlatformSettings GlobalPlatformSettings [get]
 Gets the global platform settings used by the indicator.
 
IOnlineDataProvider OnlineDataProvider [get]
 Gets the online data provider used by the indicator to fetch real-time data.
 
ObservableCollection< CandlePartSeriesCandlesDataSeries [get]
 Gets the collection of candle part series used by the indicator.
 
ObservableCollection< string > Panels [get]
 Gets the collection of panels associated with the indicator.
 
MarketDepthInfoProvider MarketDepthInfoProvider [get]
 Gets the market depth information provider used by the indicator to access market depth data.
 
IInstrumentInfo InstrumentInfo [get]
 Gets the instrument information associated with the indicator's instrument.
 
ITradingManager TradingManager [get]
 Gets the trading manager used by the indicator to manage trading-related tasks.
 
ITradingStatisticsProvider TradingStatisticsProvider [get]
 Gets the trading statistics provider used by the indicator to access trading-related statistics.
 

Detailed Description

Represents a data provider for an indicator, providing access to various data and services related to the indicator.

Member Function Documentation

◆ AddAlert()

void ATAS.Indicators.IIndicatorDataProvider.AddAlert ( string  soundFile,
string  instrument,
string  message,
CrossColor  background,
CrossColor  foreground 
)

Adds an alert with the specified details to the indicator.

Parameters
soundFileThe sound file to play for the alert.
instrumentThe instrument associated with the alert.
messageThe alert message.
backgroundThe background color of the alert.
foregroundThe foreground color of the alert.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ DoActionInGuiThread()

void ATAS.Indicators.IIndicatorDataProvider.DoActionInGuiThread ( Action  action)

Executes the specified action on the GUI thread.

Parameters
actionThe action to execute on the GUI thread.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ IsNewMonth()

bool ATAS.Indicators.IIndicatorDataProvider.IsNewMonth ( DateTime  prevTime,
DateTime  newTime 
)

Checks whether a new trading month has started between the specified previous time and new time.

Parameters
prevTimeThe previous time.
newTimeThe new time.
Returns
true if a new trading month has started; otherwise, false.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ IsNewSession()

bool ATAS.Indicators.IIndicatorDataProvider.IsNewSession ( DateTime  prevTime,
DateTime  newTime 
)

Checks whether a new trading session has started between the specified previous time and new time.

Parameters
prevTimeThe previous time.
newTimeThe new time.
Returns
true if a new trading session has started; otherwise, false.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ IsNewWeek()

bool ATAS.Indicators.IIndicatorDataProvider.IsNewWeek ( DateTime  prevTime,
DateTime  newTime 
)

Checks whether a new trading week has started between the specified previous time and new time.

Parameters
prevTimeThe previous time.
newTimeThe new time.
Returns
true if a new trading week has started; otherwise, false.

Implemented in ATAS.Indicators.IndicatorDataProvider.

Property Documentation

◆ CandlesDataSeries

ObservableCollection<CandlePartSeries> ATAS.Indicators.IIndicatorDataProvider.CandlesDataSeries
get

Gets the collection of candle part series used by the indicator.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ ChartInfo

IChart ATAS.Indicators.IIndicatorDataProvider.ChartInfo
get

Gets the chart information associated with the indicator.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ GlobalPlatformSettings

IPlatformSettings ATAS.Indicators.IIndicatorDataProvider.GlobalPlatformSettings
get

Gets the global platform settings used by the indicator.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ InstrumentInfo

IInstrumentInfo ATAS.Indicators.IIndicatorDataProvider.InstrumentInfo
get

Gets the instrument information associated with the indicator's instrument.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ MarketDepthInfoProvider

MarketDepthInfoProvider ATAS.Indicators.IIndicatorDataProvider.MarketDepthInfoProvider
get

Gets the market depth information provider used by the indicator to access market depth data.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ Name

string ATAS.Indicators.IIndicatorDataProvider.Name
get

Gets the name of the indicator data provider.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ OnlineDataProvider

IOnlineDataProvider ATAS.Indicators.IIndicatorDataProvider.OnlineDataProvider
get

Gets the online data provider used by the indicator to fetch real-time data.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ Panels

ObservableCollection<string> ATAS.Indicators.IIndicatorDataProvider.Panels
get

Gets the collection of panels associated with the indicator.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ TradingManager

ITradingManager ATAS.Indicators.IIndicatorDataProvider.TradingManager
get

Gets the trading manager used by the indicator to manage trading-related tasks.

Implemented in ATAS.Indicators.IndicatorDataProvider.

◆ TradingStatisticsProvider

ITradingStatisticsProvider ATAS.Indicators.IIndicatorDataProvider.TradingStatisticsProvider
get

Gets the trading statistics provider used by the indicator to access trading-related statistics.

Implemented in ATAS.Indicators.IndicatorDataProvider.


The documentation for this interface was generated from the following file: