Represents a data provider for an indicator, providing access to various data and services related to the indicator. More...
Public Member Functions | |
| DateTime | GetCustomStartTime (DateTime time, TimeSpan timeFrame) |
| Gets custom candle begin time with specified timeframe and current time. | |
| 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, DateTime? time=null) |
| 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< CandlePartSeries > | CandlesDataSeries [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. | |
Represents a data provider for an indicator, providing access to various data and services related to the indicator.
| void ATAS.Indicators.IIndicatorDataProvider.AddAlert | ( | string | soundFile, |
| string | instrument, | ||
| string | message, | ||
| CrossColor | background, | ||
| CrossColor | foreground, | ||
| DateTime? | time = null |
||
| ) |
Adds an alert with the specified details to the indicator.
| soundFile | The sound file to play for the alert. |
| instrument | The instrument associated with the alert. |
| message | The alert message. |
| background | The background color of the alert. |
| foreground | The foreground color of the alert. |
| time | Exact time for alert |
Implemented in ATAS.Indicators.IndicatorDataProvider.
| void ATAS.Indicators.IIndicatorDataProvider.DoActionInGuiThread | ( | Action | action | ) |
Executes the specified action on the GUI thread.
| action | The action to execute on the GUI thread. |
Implemented in ATAS.Indicators.IndicatorDataProvider.
| DateTime ATAS.Indicators.IIndicatorDataProvider.GetCustomStartTime | ( | DateTime | time, |
| TimeSpan | timeFrame | ||
| ) |
Gets custom candle begin time with specified timeframe and current time.
| time | |
| timeFrame |
true if a new trading session has started; otherwise, false.Implemented in ATAS.Indicators.IndicatorDataProvider.
Checks whether a new trading month has started between the specified previous time and new time.
| prevTime | The previous time. |
| newTime | The new time. |
true if a new trading month has started; otherwise, false.Implemented in ATAS.Indicators.IndicatorDataProvider.
Checks whether a new trading session has started between the specified previous time and new time.
| prevTime | The previous time. |
| newTime | The new time. |
true if a new trading session has started; otherwise, false.Implemented in ATAS.Indicators.IndicatorDataProvider.
Checks whether a new trading week has started between the specified previous time and new time.
| prevTime | The previous time. |
| newTime | The new time. |
true if a new trading week has started; otherwise, false.Implemented in ATAS.Indicators.IndicatorDataProvider.
|
get |
Gets the collection of candle part series used by the indicator.
Implemented in ATAS.Indicators.IndicatorDataProvider.
|
get |
Gets the chart information associated with the indicator.
Implemented in ATAS.Indicators.IndicatorDataProvider.
|
get |
Gets the global platform settings used by the indicator.
Implemented in ATAS.Indicators.IndicatorDataProvider.
|
get |
Gets the instrument information associated with the indicator's instrument.
Implemented in ATAS.Indicators.IndicatorDataProvider.
|
get |
Gets the market depth information provider used by the indicator to access market depth data.
Implemented in ATAS.Indicators.IndicatorDataProvider.
|
get |
Gets the name of the indicator data provider.
Implemented in ATAS.Indicators.IndicatorDataProvider.
|
get |
Gets the online data provider used by the indicator to fetch real-time data.
Implemented in ATAS.Indicators.IndicatorDataProvider.
|
get |
Gets the collection of panels associated with the indicator.
Implemented in ATAS.Indicators.IndicatorDataProvider.
|
get |
Gets the trading manager used by the indicator to manage trading-related tasks.
Implemented in ATAS.Indicators.IndicatorDataProvider.
|
get |
Gets the trading statistics provider used by the indicator to access trading-related statistics.
Implemented in ATAS.Indicators.IndicatorDataProvider.