|
ATAS.Indicators
|
Базовый класс для индикаторов More...
Public Member Functions | |
| void | Dispose () |
| override string | ToString () |
Public Attributes | |
| int | CurrentBar => SourceDataSeries.Count |
| Bar number. All the bars and the values of the corresponding data series have a serial number. The earliest bar of the chart is assigned the number 0; the next bar is assigned the number 1 and so on. More... | |
| string | Instrument => _dataProvider.Instrument |
| Instrument name More... | |
| string | ChartType => _dataProvider.ChartType |
| Chart type More... | |
| string | TimeFrame => _dataProvider.TimeFrame |
| Timeframe. More... | |
| string | DataPath => _dataProvider.DataPath |
| Path to the working program folder More... | |
Protected Member Functions | |
| void | Add (Indicator indicator) |
| Indicator (bool useCandles=false) | |
| DrawingText | AddText (string tag, string text, bool isAbovePrice, int bar, int price, int yOffset, int xOffset, Color textcolor, Color outlinecolor, Color fillcolor, float fontSize, DrawingText.TextAlign align) |
| Add text label to chart More... | |
| void | AddAlert (string soundFile, string instrument, string message, System.Windows.Media.Color background, System.Windows.Media.Color foreground) |
| Add alert More... | |
| bool | IsNewSession (int bar) |
| Function returns new session flag More... | |
| bool | IsNewWeek (int bar) |
| Function returns new week flag More... | |
| bool | IsNewMonth (int bar) |
| Function returns new month flag More... | |
| IndicatorCandle | GetCandle (int bar) |
| Function returns Candle for specifyed bar More... | |
| abstract void | OnCalculate (int bar, decimal value) |
| Indicator calculation More... | |
| virtual void | NewTick (MarketDataArg arg) |
| New tick More... | |
| virtual void | DepthChanged (MarketDataArg arg) |
| Depth changing More... | |
| virtual void | CumulativeTrade (CumulativeTrade arg) |
| Cumulative trade More... | |
| virtual void | OnSourceChanged () |
| virtual void | OnRecalculate () |
| virtual void | OnFinishRecalculate () |
| Bitmap | GetScreenshot () |
| Function returns screenshot of chart More... | |
| void | RaisePropertyChanged (string propertyName) |
| void | RedrawChart () |
| Call to redraw chart More... | |
| virtual void | OnDispose () |
Protected Attributes | |
| decimal | TickSize => DataProvider?.TickSize ?? 0m |
| TickSize More... | |
| decimal | CumulativeDomAsks => DataProvider?.CumulativeDomAsks ?? 0m |
| Cumulative dom asks volume More... | |
| decimal | CumulativeDomBids => DataProvider?.CumulativeDomBids ?? 0m |
| Cumulative dom bids volume More... | |
| string | StringFormat => DataProvider != null ? DataProvider.StringFormat : "" |
| Price format More... | |
Properties | |
| List< TrendLine > | TrendLines = new List<TrendLine>() [get] |
| Trendlines More... | |
| Dictionary< string, DrawingText > | Labels = new Dictionary<string, DrawingText>() [get, set] |
| IndicatorDataProvider | DataProvider [get, set] |
| IDataSeries | SourceDataSeries [get, set] |
| List< IDataSeries > | DataSeries [get] |
| Dataseries list More... | |
| List< LineSeries > | LineSeries [get] |
| Price levels More... | |
| string | Name [get, set] |
| Name of Indicator More... | |
| bool | ShowDescription [get, set] |
| string | Panel [get, set] |
| bool | UseCandles [get] |
| decimal | this[int index] [get, protected set] |
Events | |
| PropertyChangedEventHandler | PropertyChanged |
Базовый класс для индикаторов
|
inlineprotected |
Add alert
| soundFile | |
| instrument | |
| message | |
| background | |
| foreground |
|
inlineprotected |
Add text label to chart
| tag | |
| text | |
| isAbovePrice | |
| bar | |
| price | |
| yOffset | |
| xOffset | |
| textcolor | |
| outlinecolor | |
| fillcolor | |
| fontSize | |
| align |
|
inlineprotectedvirtual |
Cumulative trade
| arg |
|
inlineprotectedvirtual |
Depth changing
| arg | Changed depth level |
|
inlineprotected |
|
inlineprotected |
Function returns screenshot of chart
|
inlineprotected |
Function returns new month flag
| bar | Bar number |
|
inlineprotected |
Function returns new session flag
| bar | Bar number |
|
inlineprotected |
Function returns new week flag
| bar | Bar number |
|
inlineprotectedvirtual |
New tick
| arg | Tick |
|
protectedpure virtual |
Indicator calculation
| bar | Bar number |
| value | Input dataseries value |
|
inlineprotected |
Call to redraw chart
| string ATAS.Indicators.Indicator.ChartType => _dataProvider.ChartType |
Chart type
|
protected |
Cumulative dom asks volume
|
protected |
Cumulative dom bids volume
| int ATAS.Indicators.Indicator.CurrentBar => SourceDataSeries.Count |
Bar number. All the bars and the values of the corresponding data series have a serial number. The earliest bar of the chart is assigned the number 0; the next bar is assigned the number 1 and so on.
| string ATAS.Indicators.Indicator.DataPath => _dataProvider.DataPath |
Path to the working program folder
| string ATAS.Indicators.Indicator.Instrument => _dataProvider.Instrument |
Instrument name
|
protected |
Price format
|
protected |
TickSize
| string ATAS.Indicators.Indicator.TimeFrame => _dataProvider.TimeFrame |
Timeframe.
|
get |
Dataseries list
|
get |
Price levels
|
getset |
Name of Indicator
|
get |
Trendlines