ATAS.Indicators
ATAS.Indicators.IndicatorDataProvider Class Reference

Public Member Functions

 IndicatorDataProvider (ICandleCreator candleCreator, IndicatorManager indicatorManager, IOnlineDataProvider onlineDataProvider)
 
bool IsNewSession (DateTime prevTime, DateTime newTime, bool isUtc=true)
 
bool IsNewWeek (DateTime prevTime, DateTime newTime, bool isUtc=true)
 
bool IsNewMonth (DateTime prevTime, DateTime newTime, bool isUtc=true)
 
void AddAlert (string soundFile, string instrument, string message, System.Windows.Media.Color background, System.Windows.Media.Color foreground)
 
override string ToString ()
 

Public Attributes

const string NewPanel = "NewPanel"
 
const string CandlesPanel = "Chart"
 
decimal TickSize => OnlineDataProvider.TickSize
 
string StringFormat => OnlineDataProvider.StringFormat
 
string Instrument => OnlineDataProvider.Instrument
 
string ChartType => OnlineDataProvider.ChartType
 
string TimeFrame => OnlineDataProvider.TimeFrame
 
string DataPath => OnlineDataProvider.DataPath
 
decimal CumulativeDomAsks => OnlineDataProvider?.CumulativeDomAsks ?? 0m
 Cumulative dom asks volume More...
 
decimal CumulativeDomBids => OnlineDataProvider?.CumulativeDomBids ?? 0m
 Cumulative dom bids volume More...
 

Properties

string Name [get]
 
IOnlineDataProvider OnlineDataProvider [get]
 
ObservableCollection< CandlePartSeriesCandlesDataSeries [get]
 
ObservableCollection< IndicatorTypeInfoIndicators [get]
 
ObservableCollection< string > Panels [get]
 

Member Data Documentation

◆ CumulativeDomAsks

decimal ATAS.Indicators.IndicatorDataProvider.CumulativeDomAsks => OnlineDataProvider?.CumulativeDomAsks ?? 0m

Cumulative dom asks volume

◆ CumulativeDomBids

decimal ATAS.Indicators.IndicatorDataProvider.CumulativeDomBids => OnlineDataProvider?.CumulativeDomBids ?? 0m

Cumulative dom bids volume