TradingPlatform.BusinessLayer
Access to the chart panel
Chart panel unique ID
Collection of chart windows
Current X scale value - width of the bar in pixels
Provides time zone of current chart.
Provides account of current chart.
Provides custom sessions of current chart.
Current tick size of the chart
Main window of the chart
Current right offset value
Collection of chart drawingsCollection
Force chart refreshing
The MouseDown event occurs when the mouse button is pressed down
The MouseUp event occurs when the mouse button is released
The MouseClick event occurs when the mouse button is clicked
The MouseMove event occurs when the mouse moving over the chart
The MouseDown event occurs when the user scrolling mouse wheel
The MouseDown event occurs when the mouse enter the chart
The MouseDown event occurs when the mouse leave the chart
The SettingsChanged event occurs when any settings were changed
The AccountChanged event occurs when the account was changed
Access to the chart drawingsCollection collection
Add chart drawing to the collection
Remove specified chart drawing from collection
Get chart drawing by ID
Get all chart drawingsCollection assigned to specified symbol
The Added events occured, when new chart drawing was added to collection
The Moved events occured, when chart drawing was moved
The Removed events occured, when chart drawing was removed from the collection
The SelectionChanged events occured, when selected chart drawing was changed
Access to the particular window from chart panel
Client rectangle of the chart window
Determines, whether this window is the main window of the chart
Chart window number
Special object, allows you to convert values from x/y scale to Time/Price and back
Converter between x/y and Time/Price scales
Get the DateTime value that is corresponding to specified x coordinate
Get the Price value that is corresponding to specified y coordinate
Get the X coordinate that is corresponding to specified DateTime value
Get the Y coordinate that is corresponding to specified price value
Get the bar index that is corresponding to specified DateTime value
Access to the chart drawing
Determines, the way how chart drawing was created: manually or programmatically
Determines, the availability of drawing - only current chart or all charts with same symbol
The unique ID of the chart drawing
Determines, whether chart drawing draws above or below the main chart
Determines, state of the chart drawing: Locked or Unlocked
Get time and price of the particular point of the chart drawing
Set time and price value for particular point of the chart drawing
Gets s list
Gets symbol types list
Gets s list
Gets s list
Gets Exchanges list
Gets Orders list
Gets Order Types list
Gets Positions list
Gets Closed Positions list
Gets Corporate Actions list
Gets Report Types list
Gets s list
Vendor connection respond bundle
The connection status
The respond message
Ping state dictum
Ping signals connected
Ping signals disconnected
The asset formatting description.
Initializes a new instance of the class.
The asset id.
The value.
If true, add currency name.
Mediates a history meta data with available data types and intervals on vendor side
Asset id bearer
Asset name bearer
Asset description
Asset id bearer
Performs a binding with broker or data provider
Specifies any operation before breaking a connection with broker or data provider
Called when platform finished retreiving all required informations from vendor during connecting
Ping processing before its visualization in the terminal
Retrieves an information about available accounts. Yon need to specify at least one account
Confirms allowed nonfixed list by vendor
Retrieves a collection of available exchange markets from vendor
Retrieves information about available assets.
Retrieves information about available symbols.
Gets an available symbols types from vendor
Derives a non fixed symbol from vendor
Derives a non-fixed list of symbols from vendor
Retrieves allowed/supported order types
Retrieves an information about opened orders at the time of connection.
Retrieves an information about positions at the time of connection
Gets trades history from server for requested time range
Subscribing to quote data: Level1/Level2/Trade
Unsubscribing from quote data: Level1/Level2/Trade
Gets a list of supported historical intervals and data types by vendor
Prepare and sending order placing request to broker
Sending order modification request to broker
Sending order cancellation request to broker
Sending position closing request to broker
Gets information about available reports from vendor
Called when platform need to generate particular report
Ping respond bundle
Ping time
Time spent for single request
Ping state
Performs a binding with broker or data provider
Specifies any operation before breaking a connection with broker or data provider
Called when platform finished retreiving all required informations from vendor during connecting
Ping processing before its visualization in the terminal
Retrieves an information about available accounts. Yon need to specify at least one account
Retrieves a collection of available exchange markets from vendor
Retrieves information about available assets.
Retrieves information about available symbols.
Gets an available symbols types from vendor
Derives a non fixed symbol from vendor
Derives a non-fixed list of symbols from vendor
Retrieves an information about opened orders at the time of connection.
Retrieves an information about positions at the time of connection
Retrieves an information about closed positions at the time of connection
Subscribing to quote data: Level1/Level2/Trade
Unsubscribing from quote data: Level1/Level2/Trade
Gets a list of supported historical intervals and data types by vendor
Prepare and sending order placing request to broker
Sending order modification request to broker
Sending order cancellation request to broker
Sending position closing request to broker
Gets information about available reports from vendor
Called when platform need to generate particular report
Retrieves allowed/supported order types
Confirms allowed non fixed list by vendor
Gets a settings list from a vendor selection of the setup window
The ID of the order group. This group created when trades done by the MAM account.
Total quantity of the order
Gets OrderType
Gets order price value
Gets order trigger price value
Gets order trailing offset value
Gets orders current status
Gets orders last update time
Gets Position Id.
Gets StopLoss holder for given order
Gets TakeProfit holder for given order
Orders Type Id. It is used for the orders type comparing.
Gets order TIF(Time-In-Force) type
Gets orders expiration time
Remaining quantity of the order
Filled quantity of the order
Gets open order original status
Will be triggered on each invocation
Get VWAP value
Снапшот для эмулятора
Текущая версия для сериализации. Если что-то меняем и нужно делать поддержку старого формата
можно использовать версию.
Version 1.1: изменилась схема работы с коннектами: стали доступны кастомные коннекты
Defines 'Volume Analysis' calculation result item
Contains all user's account information
Gets account unique code.
Obtaining account name.
Gets base currency of account. Account CCY is always equal to the server CCY in AlgoStudio
Gets current balance of the account.
Gets additional account information
Will be triggered on each account information updating
Gets Account name
Creates a business object info with an Account data which can be used for the restoring/serialization process.
The account operation.
Gets the name.
Gets the button text.
Gets the settings.
The settings.
Builds the confirmation.
The settings.
A string.
The settings.
Compare to.
The obj.
An int.
The additional info collection.
Gets the count.
Gets the items.
Initializes a new instance of the class.
Initializes a new instance of the class.
The items.
Try get item.
The api key.
The item.
A bool.
Gets the enumerator.
]]>
Tos the string.
A string.
The comparing type.
The additional info item formating type.
The additional info item.
ключ для апи, обязательно для заполнения и должен быть уникальным
Gets or Sets the group info.
Gets or Sets the sort index.
Gets or Sets the name key.
Gets or Sets the tool tip key.
Gets or Sets the data type.
Gets or Sets the value.
Gets or Sets a value indicating whether hidden.
Gets or Sets the formating type.
используется в связке с AccountAdditionalInfoItemFormatingType.CustomAsset для форматирования в заданном ассете
Gets or Sets a value indicating whether visible.
Gets or Sets a value indicating whether is link.
Gets or Sets the editing info.
Gets or Sets the formatting description.
Initializes a new instance of the class.
The item.
An object.
To the XML element.
A XElement.
From the XML element.
The element.
The deserialization info.
To the string.
A string.
Defines asset entity
Asset id bearer
Asset name bearer
Asset description
Defines a number precision of the change value
Gets precision value
Gets asset ISO 4217 code
Creates an Asset instance
given connection Id
Formats price into precision normalized string
Formats price into concatenated string which contains the precision normalized value and Asset's name
Gets Asset name
Uses comparison by Assets names
Unique ID during active session. Don't use for serialization
Договориль использовать множественное число для типа инструмента
Завели для индийской интеграции
Represents information about corporate action.
Get the date and time when trade was executed
Will be triggered on corporate action updating
Base class for all Custom symbols: Synthetics, Custom Formulas, etc.
alexb: нам достаточно подставлять правильный HistoricalData - он сделает всю работу
Расчёт Bid/Ask/BidSize/AskSize для синтетика
Расчёт Last/LastSize для синтетика
Расчёт Level2 для синтетика
Расчёт DayBar для синтетика
Расчёт бара для синтетика
Increment current position
Will be triggered on each invocation
Applies an position modificaion or position changing by accepting a message.
Contains all information which belong to the given exchange
Gets Exchange Id
Gets Exchange name
Used for the Exchanges comparing
Compares Exchnges in order by next - SortIndex, Exchange name, Connection Id, Exchange Id.
Provides possibility to group and sort symbols for each connection
Gets group Id
Gets group name
Gets sort index for comparing process
Represents trading information about pending order
The ID of the order group. This group created when trades done by the MAM account.
Gets Position Id.
Total quantity of the order
Filled quantity of the order
Remaining quantity of the order
Orders Type Id. It is used for the orders type comparing.
Gets OrderType
Gets order price value
Gets order trigger price value
Gets order trailing offset value
Gets orders current status
Gets open order original status
Gets order TIF(Time-In-Force) type
Gets orders expiration time
Gets orders last update time
Gets StopLoss holder for given order
Gets TakeProfit holder for given order
Will be triggered on each invocation
Creates Order instance
Applies an order modificaion or order changing by accepting a message.
Cancels pending order
Represents an wrapper
Represents trading information about related position
Will be triggered on each and invocation
Gets position quantity value
Gets position open order price
Gets position openning time
Gets Profit/loss (without swaps or commissions) all calculated based on the current broker's price. For open position it shows the profit/loss you would make if you close the position at the current price. If position closed, this parameter show profit/loss what trader have after closing this position.
Gets Profit/loss calculated based on the current broker's price. For open position it shows the profit/loss you would make if you close the position at the current price. If position closed, this parameter show profit/loss what trader have after closing this position.
Gets fee amount for the position.
Gets PnL swaps
The market price obtainable from your broker.
Closes position if quantity is not specified else - uses partial closing operation.
Gets StopLoss order which belongs to the position
Gets TakeProfit order which belongs to the position
Returns ticks amount between open and current price.
Represents a report grid which can hold system reports based on s and s content.
Columns collection
Rows collection
Initializes report grid
Adds coloring column to the report
Adds default(non-colored) column to the report
Exposes report cell decoration
Cell label
Cell value
Exposes report column decoration
Header of the column
Column value type
Exposes report row decoration
A collection of cells
Initializes cells in the row
Adds cells to the row by label and value
Adds cells to the row by value only
Defines report request parameters from which can be used in
Gets report Id
Gets report Name
report settings
Represents a permisions checking tool which use next priority order , , and
Represent access to symbol information and properties.
Gets symbol Id
Gets symbol name
Gets symbol description
Gets symbol type
Gets symbol base Asset
Gets symbol counter Asset
Gets Exchange of current symbol
Gets Exchange id of current symbol
Returns delay with which quote come in platform.
Gets symbol additional info
The highest trade allowed
The lowest trade allowed
Gets symbol NettingType
Gets SymbolGroup
Gets current SymbolQuotingType
Amount of base asset for one lot.
Stores list of symbol ticksizes
Cached value of TickSize (if 1 level)
Step of the lot changes
Step of the notional value changes
Gets derivative expiration date
Gets derivative last trading date
Gets derivative maturity date
Gets derivative strike price
Gets derivative option style
Gets derivative option type
Gets derivative option serie
Gets derivative underlier name
Gets derivative underlier symbol
Gets derivative underlier symbol id
Gets Ask price
Gets Ask size
Gets Bid price
Gets Bid size
Gets quote time
Gets last price
Gets last size
Gets last time
Gets mark price
Gets mark size
Gets open price
Gets previous close price
Gets high price
Gets low price
Gets volume value
Gets quote asset volume value
Gets PrevSettlement value
Gets ticks amount
Gets trades amount
Gets Level2 data
Gets spread value between Bid and Ask
Gets percentage value
Gets change value between Bid/Last and Close price
Gets percentage value
Default history type
List of all available history types
Gets SymbolVolumeType
List of all available history types
Will be triggered when new Level1 quote is comming
Will be triggered when new Level2 quote is comming
Will be triggered when new trade quote is comming
Will be triggered when new correctional quote is comming from the vendor.
Will be triggered when symbol updated.
Gets real time calculation setting
Gets real time calculation setting
Gets real time calculation setting
Gets real time calculation setting
Gets historical data according to period and other parameters
Gets historical data according to period and other parameters
Gets historical data according to aggregation and other parameters
Gets historical data according to given history request
Gets historical ticks data according to given parameters
Returns rounded to price
Calculates new price which equal to given price shifted by a number of given ticks
Calculates ticks between two prices
Gets cached symbol tick size or retrives it from the list
Gets symbol tick cost retrived from the list by price
Returns VariableTick if it can be retrived from list by price or null
Gets cached tick size if it available, else tries to obtain with Last, Bid, Ask, first element of list otherwise -
Formats price value to the appropriative string with a counting on tick precision.
Formats price value to the appropriative string with a counting on max tick precision.
Returns string with formatted ticks value
Comparing by value
Gets symbol orders types list which are allowed.
Process order placing with given request parameters
An symbol has possibility to obtain the default account
Represents information about trade.
Gets the unique identifier of the order initiating the trade.
Gets a unique identifier of the position, which is related to this trade.
Get the price where trade was executed
Get the trade quantity
Get the date and time when trade was executed
Get the trade Gross P&L
Get the trade Net P&L
Get the fee value that was charged for this trade
Get the trade order type
Will be triggered on trade updating
The symbols list manager.
Gets the count.
Gets or Sets the settings.
Represent access to level2 data.
Gets Level2 Asks list
Gets Level2 Bids list
Gets current Level2 data
Parameters of DepthOfMarket
Gets current Level2 data
Parameters of request for Leve2Item collection
Leve2 data. Contains Bids and Ask collections
Represent parameters of DepthOfMarket
Represent parameters of request for Leve2Item collection
Aggregation method
Required amount of level2
Use custom tick size
Calculate cumulative size
Aggregation method
Represent access to level2 item.
Cumulative size
Imbalance Percent
Price
Size
Time
MMID
проверка на вхождение
Represents information about connection and provides an access to the current trading information(Symbols, Orders, Position, Accounts etc.).
Provides access to all business objects which are belong to this connection
Gets connection Id
Gets connection Name
Gets connection's vendor name
Contains list of connection settings. Will be reused on each population time.
Gets connection's state (Connected/Connecting/Fail etc.)
Defines connection type
Will be triggered when changed.
Will be triggered when changed.
Represents connection ping time
Messages count that one is waited to process
Gets a matched available metadata info with the vendor's side
Establishes a connection to a specified vendor
Closes a connection.
Только для использования в ConnectionCache
alexb: "Умный" поиск - разрешаем указывать слова в любом порядке
Generates a report with given requested parameters
specifies Report's type
Gets connection's s list
Gets connection's symbol types list which are allowed in this connection
Gets connection's s list
Gets connection's s list
Gets all Exchanges which are allowed in this connection
Gets all Orders which are belong to this connection
Gets all Order Types which are available on this connection
Gets all Positions which are belong to this connection
Gets all Closed Positions which are belong to this connection
Gets all Corporate actions which are belong to this connection
Gets all Report Types which are available on this connection
Gets all Account operations which are available on this connection
Gets all Tradins signals which are available on this connection
Server connection status
Specifies connection using type.
Specifies how connection was created: by default or by user
Represents all needed parameters for the connection constructing process.
Gets a user friendly name of the connection
Gets connection group
Gets vendor's name
Gets connection Id
Favorites one will be displayed in Control center toolbar
Gets ConnectionState
Gets vendor's settings
Specifies how connection was created: by default or by user
realization
Creates connection info instance
Creates connection info instance.
дефолтовый период пигования
Таймер, по которому проходит пинг
Запускаем таймер
Останавливаем таймер
Коннекты, которые нужно подключить
Сколько ждем до следующей попытки
The main entry point in the API. Core keeps access to all business logic entities and their properties:
connections, accounts, symbols, positions, orders, etc. Some of them can be reached through using managers or directly via specified collections.
You can always access the Core object via static Core.Instance property.
Gets a singleton instance of . API entry point
Gets an access to all created connections and manages them
Gets an access to the system logging mechanism
Obtains licence rules for the current user
Gets an access to all available trading data vendors and creates them
Gets an access to the all available aggregation types
Access to Volume Analysis calculations
Gets an access to the all available indicators and creates them
Gets an access to the all available trading strategies and manages them
Gets a permissions checking mechanism
Gets a time based conversion and synchronization mechanism
Gets SMTP mail service for sending emails
Represents current trading status
Will be triggered when changed
Gets all available s from open connections
Gets all available s from open connections
Gets all available s from open connections
Gets all available s from open connections
Gets all available s from open connections
Gets all available s from open connections
Gets all available s from open connections
Gets all available s from open connections
Gets all available s from open connections
Gets all available s from open connections
Gets all available s from open connections. Otherwise returns empty list
>
Gets all available s from open connections. Otherwise returns empty list
>
Starts a initialization process which initializes given Managers, and Utils. And provides a subscribing on events.
Disposes all previously initialized modules and unsubscribe from events
Will be triggered when new added to the core
Gets an instance of exist Account or creates a new one with given info parameter
Will be triggered when new added to the core
Returns all s from open connections which satisfy given request parameters, otherwise returns empty list
Retrieves any by given request parameters. Otherwise returns null
Must be specified if open connections total is more than one. Will search only in Synthetic symbols list if id is equal to
Gets an instance of exist symbol or creates a new one with given info parameter
Will be triggered when new placed
Will be triggered when canceled
Gets instance by given Id string. Otherwise returns null
Must be specified if open connections total is more than one
Gets instance by given Id string. Otherwise returns null
Must be specified if open connections total is more than one
Will be triggered when new opened
Will be triggered when closed
Gets instance by given Id string. Otherwise returns null
Must be specified if open connections total is more than one
Gets Profit'n'Loss with given request parameters from open connection. Otherwise returns null
Will be triggered when new added
Will be triggered when removed
Will be triggered when new occured
Gets collection of by given parameters
Gets collection of by given parameters and callback
Will be triggered when new occured
Will be triggered when new added
Gets collection of by given parameters
Places with given request parameters
Places multiple s with given request parameters
Modifies by given request parameters
Closes with given request parameters
Cancels with given request parameters
Returns with given request parameters from open connection
Will be triggered when new received
Sends custom request if connection with given Id is open
Subscribe on custom messages
custom message handler
custom messages Id
Unsubscribe from custom messages
custom message handler
custom messages Id
Gets all previously configured s
Gets an access to s and manages them
Adds if given parameters are valid
Replaces exist list by new list in if given parameters are valid
Removes with a given name
Replaces list name by new given name in if given parameters are valid
Represent all available Historical Symbols
Will be triggered when custom symbol added
Will be triggered when custom symbol removed
Will be triggered when custom symbol updated
Represent all available Synthetic items
Adds given Synthetic to the list if it does not contain
Removes given Synthetic from the list if it exists
Will be triggered when created/chenged/removed
Override to change string representation of aggregation
Represent access to historical data information and indicators control.
Gets HistoricalData symbol
Gets HistoricalData aggregation
Gets HistoricalData left time boundary
Gets HistoricalData right time boundary
Gets HistoricalData items amount
Retrieves HistoricalData item by indexing offset and direction to find.
Will be triggered when new historical item created
Will be triggered when current historical item changed or updated
Gets access to built-in indicators
Reloads entire HistoricalData
Gets index by time with counting on search direction
Gets array of attached indicators
Creates indicator by it's name and if it successfully created adds it to the HistoricalData
Adds indicator to the HistoricalData
Removes indicator from the HistoricalData
Will be triggered when volume analysis of current historical item changed or updated
Period that can be used as a basis for history aggregations
Represents historical data bar item
Gets bar's right time border
Defines bar's ticks count
Defines Open price
Defines High price
Defines Low price
Defines Close price
Gets Median (High+Low)/2 price
Gets Typical (High+Low+Close)/3 price
Gets Weighted (High+Low+Close+Close)/4 price
Defines ticks amount
Defines volume value
Gets price by indexing
Creates HistoryItemBar instance with default OHLC price =
Comparing by , OHLC,
Creates HistoryItemLast instance
Represents historical data trade item
Defines price value
Defines volume value
Defines trade operation side as aggressor flag
Gets price by indexing
Creates HistoryItemLast instance
Comparing by , OHLC,
Creates HistoryItemLast instance
Gets price by indexing
Creates HistoryItemLast instance
Represents historical data tick item
Defines Bid price
Defines Bid size
Defines Ask price
Defines Ask size
Gets price by indexing
Creates HistoryItemBar instance with default Ask/AskSize/Bid/BidSize =
Comparing by , OHLC, , , ,
Resolves a history request parameters per symbol
Represents mechanism for supporting predefined and custom periods
Gets period multiplier
Gets base period type
Gets ticks value as an result of base period multiplicated by
Creates Period instance with greater than 0
True if their base paeriods and are respectively equal.
True if any of their base paeriods and are respectively not equal.
True if their ticks values are satisfying initial condition
True if their ticks values are satisfying initial condition
True if their ticks values are satisfying initial condition
True if their ticks values are satisfying initial condition
True if their base paeriods and are respectively equal.
Formats given value to a specific user friendly string
Returns value in ticks according to base period type
Returns shorted string according to base period type
Converts time gap into dates range
Compares by
Serialize into object
Deserialize from
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Predefined period
Represent access to DayBar quote, which contains summary information about instrument prices.
High price
Open price
Low price
Previous Close price
Ticks value
Volume value
Volume value
Previous settlement price
Bid price
Bid size
Ask price
Ask size
Last price
Last size
Trades value
Change value
Change value in percentage
Represent access to DOM2 quote, which contains Bids and Asks.
Collection of Asks quotes
Collection of Bids quotes
Represent access to trade information.
Price at which trade occured
Size of the trade
Information about operation side of the trade
Shows the direction of price movement, comparing to previous value.
Represent access to Level2 quote.
Price type of Level2 quote: Bid or Ask
Price of Level2 quote
Size of Level2 quote
Unique ID of Level2 quote
Shows, whether Level2 quote is using only for removing from depth
Broker identifier that send level2 quote
specifies the implied quantity associated with the price for the quote. Subtracting this amount from the Size yields the outright quantity for the price level. A value of zero indicates that the implied size is not available/defined or that it is actually zero.
Time of the quote
Represent access to quote information.
Bid price
Bid size
Ask price
Ask size
Shows the direction of bid price movement, comparing to previous value.
Shows the direction of ask price movement, comparing to previous value.
Constants for licence keys
User licences info store
Current state of connection to licence server
Current connected user info
All active licences that user have
Check that user have licence
The loopback http listener without kestrel.
Initializes a new instance of the class.
The port.
Dispose
Wait for callback asynchronously.
The token.
]]>
Specifies the reason of price data updating.
Indicates the processing of new historical bar.
Indicates the coming of new real-time tick.
Indicates a start of new real-time bar.
Specifies the type of events when indicator should recalculate itself.
Specifies the style of indicator line.
Moving average mode
Simple Moving Average
Exponential Moving Average
Smoothed Moving Average
Linearly Weighted Moving Average
Displays HV schedule and percentile value.
Displays the percentile schedule only.
Returns an instance of the Exponential Moving Average (EMA) indicator.
EMA provides a weighted price calculation for the last N periods.
Period of Exponential Moving Average
Sources prices for MA
Calculation type
Gets the Linearly Weighted Moving Average
Linear Weighted Moving Average makes the most recent bar more important unlike SMA.
Moving average period
Type of the price
Gets the SMA(Simple Moving Average) indicator.
The 'SMA' indicator provides an average price for the last N periods.
Period of simple moving average.
Sources prices for MA.
Returns an instance of the Smoothed Moving Average (SMMA) indicator.
SMMA indicator provides a smoothed average price for the last N periods.
Moving average period
Type of the price
Calculation type
Gets the PPMA(Pivot Point Moving Average) indicator.
The 'PPMA' indicator uses the pivot point calculation as the input a simple moving average.
Period of PPMA indicator
Gets the MAS3 (3MASignal) indicator.
The 'MAS3' indicator offers buy and sell signals according to intersections of three moving averages.
Short moving average period.
Middle moving average period.
Long moving average period.
The count of bars. The trend will be determined on this interval.
Gets the specific MA indicator, according to selected 'MaMode'.
Period of moving average.
Type of price.
MA mode.
Calculation type
Gets the BB(Bollinger Bands) indicator.
The 'BB' indicator provides a relative definition of high and low based on standard deviation and a simple moving average.
Period of MA for envelopes.
Value of confidence interval.
Sources prices for MA.
Type of moving average.
Calculation type
Gets the Commodity Channel Index.
Measures the position of price in relation to its moving average.
Period for CCI MA
Sources prices for CCI
MA mode for CCI
Calculation type
Returns an instance of the Modified Moving Average (MMA) indicator.
MMA comprises a sloping factor to help it overtake with the growing or declining value of the trading price of the currency.
Period of Modified Moving Average
Sources prices for MA
Gets the Regression indicator
The Linear Regression Indicator plots the ending value of a Linear Regression Line for a specified number of bars; showing, statistically, where the price is expected to be.
Moving average period
Type of the price
Gets the Channel (Price Channel) indicator.
The 'Channel' indicator is based on measurement of min and max prices for the definite number of periods.
Period of price channel
Gets the AFIRMA indicator
Autoregressive finite impulse response moving average. A digital filter accurately shows the price movement as powered with least square method to minimise time lag
Moving average period
Type of the price
Afirma mode
with least squares method overlapping if true
Gets the RSI indicator.
Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements.
RSI Period
Price Type
RSI Mode (Simple or Exponential)
MA Mode for smooth data
MA period for smooth data
Calculation type
Returns an instance of the McGinley Dynamic indicator.
McGinley Dynamic avoids of most whipsaws and it rapidly moves up or down according to a quickly changing market. It needs no adjusting because it is dynamic and it adjusts itself.
Period of exponential moving average
Dynamic tracking factor
Source price type
Calculation type
Gets the MAE (Moving Average Envelope) indicator.
The 'MAE' indicator demonstrates a range of the prices discrepancy from a Moving Average.
Period of MA for envelopes.
Sources prices for MA.
Type of moving average.
Upband deviation in %.
Downband deviation in %.
Calculation type
Returns an instance of the Parabolic Time/Price System (SAR) indicator.
SAR indicator helps to define the direction of the prevailing trend and the moment to close positions opened during the reversal.
Step of parabolic SAR system
Maximum value for the acceleration factor
Gets the AO (Awesome Oscillator) indicator.
The 'AO' indicator determines market momentum.
Gets the CMO (Chande Momentum Oscillator) indicator.
The CMO calculates the dividing of difference between the sum of all recent gains and the sum of all recent losses by the sum of all price movement over the period.
Period of MA for envelopes.
Sources prices for MA.
Returns an instance of the ZigZag indicator.
ZigZag is a trend following indicator that is used to predict when a given symbol's momentum is reversing.
Percent Deviation
Gets the Aroon indicator.
Reveals the beginning of a new trend and determines how strong it is
Aroons period
Returns an instance of the Standart Deviation (SD) indicator.
The SD shows the difference of the volatility value from the average one.
Period of indicator
Sources prices for MA
Type of Moving Average
Calculation type
Gets the MACD (Moving Average Convergence/Divergence) indicator.
The MACD is a trend-following momentum indicator that shows the relationship between two moving averages of prices.
Period of fast EMA.
Period of slow EMA.
Period of signal EMA.
Calculation type
Returns an instance of the Kairi Relative Index (KRI) indicator.
KRI calculates deviation of the current price from its simple moving average as a percent of the moving average.
Returns an instance of the Bollinger Bands Flat (BBF) indicator.
The BBF provides the same data as BB, but drawn in separate field and easier to recognize whether price is in or out of the band.
Period
Deviation
Sources prices for MA
Type of Moving Average
Calculation type
Gets the ROC (Rate of Change) indicator.
The ROC shows the speed at which price is changing.
Period of momentum.
Gets the Momentum indicator.
Momentum compares where the current price is in relation to where the price was in the past.
Period for Momentum
Sources prices for Momentum
Gets the %R Larry Williams.
Uses Stochastic to determine overbought and oversold levels.
Period for Momentum
Returns an instance of the Price Oscillator (PO) indicator.
PO calculates the variation between price moving averages.
Period of MA1
Period of MA2
Sources prices for MA
Type of Moving Average
Calculation type
Gets the OsMA (Moving Average of Oscillator) indicator.
The OsMA reflects the difference between an oscillator (MACD) and its moving average (signal line).
Period of fast EMA.
Period of slow EMA.
Period of signal EMA.
Calculation type
Gets On Balance Volume.
On Balance Volume (OBV) measures buying and selling pressure as a cumulative indicator that adds volume on up days and subtracts volume on down days.
Sources prices for OBV
Returns an instance of the Positive Volume Index (PVI) indicator.
The PVI value changes on the periods in which value of volume has increased in comparison with the previous period.
Returns an instance of the Volume indicator.
Volume allows to confirm the strength of a trend or to suggest about it's weakness.
Gets the MFI(Money Flow Index) indicator.
The MFI(Money Flow Index) is an oscillator that uses both price and volume to measure buying and selling pressure.
Period of MFI.
Returns an instance of the Acceleration/Deceleration Oscillator (AC).
AC measures the acceleration and deceleration of the current momentum.
Gets the Average True Range (ATR) indicator.
The ATR measures of market volatility.
Period of Moving Average.
Type of Moving Average
Calculation type
Returns an instance of the Kaufman Adaptive Moving Average (KAMA) indicator.
KAMA is an exponential style average with a smoothing that varies according to recent data.
Period
Fast factor
Slow factor
Sources prices for MA
Returns an instance of the Qstick indicator.
The Qstick is a moving average that shows the difference between the prices at which an issue opens and closes.
Calculation type
Get the Swing Index (SI) indicator.
The SI is used to confirm trend line breakouts on price charts.
The divider.
Get the True Strength Index (TSI) indicator.
The TSI is a variation of the Relative Strength Indicator which uses a doubly-smoothed
EMA of price momentum to eliminate choppy price changes and spot trend changes.
First MA period.
Second MA period.
Calculation type
Returns an instance of the Average Directional Index (ADX) indicator.
The ADX determines the strength of a prevailing trend.
Period
Type of Moving Average
Calculation type
Returns an instance of the Keltner Channel indicator.
Keltner Channels are volatility-based envelopes set above and below an exponential moving average.
Period of MA for Keltner's Channel
Coefficient of channel's width
Sources prices for MA
Type of Moving Average
Calculation type
Returns an instance of the Percentage Price Oscillator (PPO).
Percentage Price Oscillator is a momentum indicator. Signal line is EMA of PPO. Formula: (FastEMA-SlowEMA)/SlowEMA.
Fast EMA Period
Slow EMA Period
Signal EMA Period
Calculation type
Gets the Stochastic Slow.
Shows the location of the current close relative to the high/low range over a set number of periods (Slow).
Period
Smoothing
Double smoothing
Moving type
Calculation type
Gets the Stochastic x Relative Strength Index.
StochRSI is an oscillator that measures the level of RSI relative to its range.
Period
Smoothing
Double smoothing
Gets the Ichimoku.
Enables to quickly discern and filter 'at a glance' the low-probability trading setups from those of higher probability.
Tenkan Period
Kijun Period
Senkou Span B
Gets the Directional Movement Index(DMI) indicator.
The DMI іdentifies whether there is a definable trend in the market.
Period of Moving Average.
Type of Moving Average.
Calculation type
Gets the Alligator.
Three moving averages with different colors, periods and calculation methods.
Type of Jaw Moving Average.
SourcePrice of Jaw Moving Average.
Period of Jaw Moving Average.
Shift of Jaw Moving Average.
Period of Moving Average.
Type of Moving Average.
Period of Moving Average.
Type of Moving Average.
Period of Moving Average.
Type of Moving Average.
Period of Moving Average.
Type of Moving Average.
Base class for all indicators.
Short name of indicator
Access to current Symbol of indicator
Amount of items in internal buffers
Represent access to current used historical data.
Represent access indicator series
Specified, whether indicator should use main or additional window on the chart
Specified, whether indicator should draw on chart background by default.
Specified, whether indicator should participate into price auto scale system.
Precision amount for formatting price (the count of digits after decimal point); By default = -1, which means to use precision from indicator's symbol
Indicator's settings
Represent access to the chart, that created indicator
Recalculate indicator
Sets the value of indicator into internal buffer
Value
Index of indicator line
Offset value
Gets the value of indicator from internal buffer
Offset value
Index of indicator line
Offset start point
Set line break point.
Offset value
Index of indicator line
Offset start point
Remove line break point.
Offset value
Index of indicator line
Offset start point
Check if the point is a break point.
Offset value
Index of indicator line
Offset start point
Gets the price from historical data
Get Bid price
Offset value
Get Ask price
Offset value
Get Last price
Offset value
Get Open price
Offset value
Get High price
Offset value
Get Low price
Offset value
Get Close price
Offset value
Get Median price
Offset value
Get Typical price
Offset value
Get Weighted price
Offset value
Get Volume
Offset value
Get Volume in quoting asset
Offset value
Get Ticks
Offset value
Get Open interest
Offset value
Get Funding rate
Offset value
Get Time
Offset value
Formatting price, using precision from assigned symbol or Digits value if specified
Price value
Marks cloud begin between two line series with specific color
First line series index
Second line series index
Cloud color
Offset
Marks cloud end between two line series with specific color
First line series index
Second line series index
Cloud color
Offset
Using IndicatorLineMarker class you can mark by color or icon any point of your indicator's line.
Color of the marker
Icon that will be drawn above the indicator line
Icon that will be drawn beyond the indicator line
Constructor for IndicatorLineMarker
Constructor for IndicatorLineMarker
Different type of icons for Indicator marker
Sets the bar number (from the data beginning) from which the drawing of the given indicator line must start;
Time shift of indicator's line
Redraws parts of indicator's line within the interval set by offset
Removes redrawn parts of indicator's line within the interval set by offset
Fully clears markers from line
Use this attribute to mark input parameters of your script. You will see them in the settings screen on adding
Displayed name of input parameter
Sort index for input paramter
Minimal value for numeric input parameters
Maximal value for numeric input parameters
Increment value for numeric input parameters
Decimal palces for numeric input parameters
List of predefined values
Event occurred when write a new log
Get logs from the strategy for specified date range
Write log message
The base class for strategies
Unique ID of the strategy
The current state of the strategy
Event occured when strategy write a new log
Event occured if any of strategy settings was changed
Run strategy
Stop strategy
Remove the strategy
Get current metrics from the strategy
Get logs from the strategy for specified date range
Write log message
Specifies constants that define which mouse button was pressed.
No mouse button was pressed.
The left mouse button was pressed.
The right mouse button was pressed.
The middle mouse button was pressed.
The first XButton was pressed.
The second XButton was pressed.
Gets or sets a value indicating whether the event was handled.
true to bypass the control's default handling; otherwise, false to also pass the event along to the default control handler.
Defines quote parameters for subscribtion
Symbol Id
Quote type
SubscribeQuotesParameters constructor
Id of the order
Gets or Sets the groups.
SettingItem cast type
SettingItem state
Specifies the DatePicker time format.
Date only
Date and time
Time only
Time with seconds
Typecasts setting as TabControl item
Typecasts setting as GroupBox item
Typecasts setting as AccountLookup item
Typecasts setting as Button item
Typecasts setting as CheckBox item
Typecasts setting as CheckBox item
Typecasts setting as Color item
Typecasts setting as DateTimePicker item
Typecasts setting as NumericUpDown item
Typecasts setting as NumericUpDown item
Typecasts setting as AccountLookup item
Typecasts setting as Password item
Typecasts setting as Period item
Typecasts setting as ComboBox item
Typecasts setting as TextBox item
Typecasts setting as SymbolLookup item
Typecasts setting as TextBox item
Cancel all pending s
the name of the initiator of the call (optional)
Cancel all pending s by
the name of the initiator of the call (optional)
Cancel all pending s by
the name of the initiator of the call (optional)
Cancel all pending s by and
the name of the initiator of the call (optional)
Cancel all pending s by and
the name of the initiator of the call (optional)
Cancel all pending s by , and
the name of the initiator of the call (optional)
Cancel all pending s by
the name of the initiator of the call (optional)
Cancel all pending s by and
the name of the initiator of the call (optional)
Cancel all pending s by , and
the name of the initiator of the call (optional)
Cancel all pending s by
the name of the initiator of the call (optional)
Cancel all pending s by and
the name of the initiator of the call (optional)
Cancel all pending s by , and
the name of the initiator of the call (optional)
Cancel all pending s by
the name of the initiator of the call (optional)
Close all s
the name of the initiator of the call (optional)
List of
Close all s by
the name of the initiator of the call (optional)
List of
Close all s by
the name of the initiator of the call (optional)
List of
Close all s by and
the name of the initiator of the call (optional)
List of
Close all s by
the name of the initiator of the call (optional)
List of
Close all s by and
the name of the initiator of the call (optional)
List of
Close all positive s
the name of the initiator of the call (optional)
List of
Close all positive s by
the name of the initiator of the call (optional)
List of
Close all negative s
the name of the initiator of the call (optional)
List of
Close all negative s by
the name of the initiator of the call (optional)
List of
Reverse all s
the name of the initiator of the call (optional)
List of
Reverse all s by
the name of the initiator of the call (optional)
List of
Reverse all s by
the name of the initiator of the call (optional)
List of
Reverse by and
the name of the initiator of the call (optional)
Cancel all s and close all s
the name of the initiator of the call (optional)
Cancel all s and close all s by
the name of the initiator of the call (optional)
Cancel all s and close all s by and
the name of the initiator of the call (optional)
Modify SL to breakeven price
the name of the initiator of the call (optional)
Modify SL to breakeven price with certain additional offset
offset in ticks
the name of the initiator of the call (optional)
Modify SL to breakeven price
list of s that will be used for order placing
the name of the initiator of the call (optional)
Adjust SL/TP for given
the name of the initiator of the call (optional)
Adjust stop loss for given
list of s
initial stop loss parameters (optional)
the name of the initiator of the call (optional)
Adjust take profit for given
list of s
initial take profit parameters (optional)
the name of the initiator of the call (optional)
The allowed result.
Gets the status.
Gets the reason.
Get the allowed result.
An AllowedResult.
Gets the not allowed result.
The reason.
An AllowedResult.
The action wrapper.
Gets or Sets the items.
Initializes a new instance of the class.
Froms the X element.
The element.
The deserialization info.
Tos the X element.
A XElement.
The aggressor flag calculator.
Initializes a new instance of the class.
Collect bid ask.
The symbol.
The time ticks.
The bid.
The ask.
Calculate aggressor flag.
The symbol.
The time ticks.
The last.
An AggressorFlag.
Calculate aggressor flag.
The previous bid.
The previous ask.
The last.
An AggressorFlag.
The alert.
Gets or Sets the text.
Gets or Sets the symbol name.
Gets or Sets the connection name.
Gets or Sets the action on confirm.
Gets or Sets the name.
The alert data.
The name.
Gets or Sets the columns.
Gets or Sets the groups.
Gets or Sets the actions.
Gets or Sets a value indicating whether enabled.
Gets or Sets the table dictionary.
Gets or Sets a value indicating whether coloring is alert.
Gets or Sets a value indicating whether filter alert.
Gets or Sets a value indicating whether search alert.
Gets or Sets a value indicating whether to remove.
Gets or Sets the ID.
Gets or Sets the command sender.
Gets or Sets a value indicating whether need confirm trading.
Initializes a new instance of the class.
To the XML element.
A XElement.
From the XML element.
The element.
The deserialization info.
The arbitrage symbol.
Gets or Sets the index.
Gets the unique ID.
Gets the symbol id.
Gets or Sets a value indicating whether is selected.
Gets or Sets the symbol.
Gets or Sets the account.
Gets or Sets the commission.
Initializes a new instance of the class.
Compare to.
The other.
An int.
Froms the X element.
The element.
The deserialization info.
Tos the X element.
A XElement.
The action buffered processor.
The action buffered processor with priority.
Initializes a new instance of the class.
The threads count.
The buffered processor.
Gets the state.
Gets the queue depth.
The subject.
Wait all messages process.
The external token.
The buffered processor state.
Агрегація, що буде використовуватись як дефолтна для "TimeFrameScreen".
Повинна відповідати агрегації чарта.
https://stackoverflow.com/questions/3060381/datetime-addmonths-adding-only-month-not-days
Проблема:
(29 Feb).AddMonth(1) = 29 March
Defines advanced trading operation respond bundle
Respond operation state
Respond message
Respond value (optional)
Details of sub-operations
Get all available custom resources
Get custom resource stream by name
Check whether specified items was hidden by branding specification
The assembly loader.
Load types.
The folder name.
The target type.
The assembly name filter.
The search option.
If true, load in memory.
If true, allow loading references.
]]>
Quote type for subscribtion dictum
Level 1 quote
Level 2 quote
Last
Mark price
Trading operation state
Complex trading operation state
The aggressor flag calculator extensions.
Collect bid ask.
The calculator.
The quote.
Calculate aggressor flag.
The calculator.
The last.
An AggressorFlag.
Gets the price from historical data
Get Bid price
Offset value
Get Ask price
Offset value
Get Last price
Offset value
Get Open price
Offset value
Get High price
Offset value
Get Low price
Offset value
Get Close price
Offset value
Get Median price
Offset value
Get Typical price
Offset value
Get Weighted price
Offset value
Get Volume
Offset value
Get Volume in quoting asset
Offset value
Get Ticks
Offset value
Get Open interest
Offset value
Get Funding rate
Offset value
Get Time
Offset value
Combines intersecting intervals
Get all settings or particular settings by provided hierarchy path
Write info log message
Write trading log message
Write error log message
Variable lifetime
The variable will be removed on exit
The variable will be written to file
Global variable entry
Variable name
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
List<GlobalVariable> global_List=new List<GlobalVariable>();
public override void Init()
{
if(GlobalVariablesManager.Count()>0)
{
global_List=GlobalVariablesManager.GetGlobalVariablesList();
foreach (var el in global_List)
{
Print(el.Name);
Print(el.Value);
}
}
}
}
}
Variable value
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
List<GlobalVariable> global_List=new List<GlobalVariable>();
public override void Init()
{
if(GlobalVariablesManager.Count()>0)
{
global_List=GlobalVariablesManager.GetGlobalVariablesList();
foreach (var el in global_List)
{
Print(el.Name);
Print(el.Value);
}
}
}
}
}
Initializes new variable
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
List<GlobalVariable> global_List=new List<GlobalVariable>();
public override void Init()
{
if(GlobalVariablesManager.Count()>0)
{
global_List=GlobalVariablesManager.GetGlobalVariablesList();
foreach (var el in global_List)
{
//Simplified way to retrieve global variable value
el.GlobalVariable("new_global_variable_period", period)
//However, to obtain certain variable, which belongs to indicator/strategy and to avoid unexpected erasing of data the best practice is to provide to a key holder multiple details such as name, params, hashed password etc. Follow SetValue() example.
}
}
}
}
}
Variable name
Variable value
Sets variable value to a global storage
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
GlobalVariablesManager(){
base.ProjectName = "GlobalVariablesManager";
base.Password=GetHashedPassword(ProjectName);
}
[InputParameter("Period", 0, 1, 9999)]
public int period = 5;
public override void OnQuote()
{
//Simplified way to store a global variable
GlobalVariablesManager.SetValue("global_variable_period", period, VariableLifetime.SaveSession);
//However, to indicate any variable belongs to certain indicator/strategy and to avoid unexpected erasing of data the best practice is to provide to a key holder multiple details such as name, params, hashed password etc.
GlobalVariablesManager.SetValue("global_variable_period" +Symbols.Current.Name+period+Password, period, VariableLifetime.SaveSession);
}
}
}
Variable name
New value
Variable lifetime
Removes specified variable from global storage
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
public override void Init()
{
//Simplified way to remove a global variable
GlobalVariablesManager.Remove("global_variable_period");
//However, to remove certain variable, which belongs to indicator/strategy and to avoid unexpected erasing of data the best practice is to provide to a key holder multiple details such as name, params, hashed password etc. Follow SetValue() example.
}
}
}
Variable name
Returns variables' count in global storage
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
public override void Init()
{
if(GlobalVariablesManager.Count()>0)
{
Print("Your session obtains "+GlobalVariablesManager.Count()+" global variables");
}
}
}
}
Removes all variables from global storage
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
public override void Init()
{
GlobalVariablesManager.RemoveAll();
if(GlobalVariablesManager.Count()==0)
{
Print("Your session does not have any global variables");
}
}
}
}
Check if variable with specified name exists in global storage
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
public override void Init()
{
//Simplified way to check an existance of a global variable
if(GlobalVariablesManager.Exists("global_variable_period"))
Print("Your session has this global variable");
else
GlobalVariablesManager.SetValue("global_variable_period");
//However, to obtain certain variable, which belongs to indicator/strategy and to avoid unexpected erasing of data the best practice is to provide to a key holder multiple details such as name, params, hashed password etc. Follow SetValue() example.
}
}
}
Variable name
Returns variable value by name
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
public override void Init()
{
//Simplified way to retrieve global variable value
if(GlobalVariablesManager.Exists("global_variable_period"))
//Always perform a type casting before assigning any variable from global storage
period = (int)GlobalVariablesManager.GetValue("global_variable_period");
//However, to obtain certain variable, which belongs to indicator/strategy and to avoid unexpected erasing of data the best practice is to provide to a key holder multiple details such as name, params, hashed password etc. Follow SetValue() example.
}
}
}
Variable name
Variable value
Performs a variable assigning from a global storage if such name exists in a scope
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
public override void Init()
{
int new_period;
//Simplified way to retrieve global variable value
if(GlobalVariablesManager.TryGetValue("global_variable_period"))
Print("New variable is assigned from globals: " + new_period);
if(new_period==period)
Print("Matching, no need to re-assign globals: ");
else
GlobalVariablesManager.SetValue("global_variable_period", period, VariableLifetime.SaveSession);
//However, to obtain certain variable, which belongs to indicator/strategy and to avoid unexpected erasing of data the best practice is to provide to a key holder multiple details such as name, params, hashed password etc. Follow SetValue() example.
}
}
}
Variable name
Variable value
True if variable exists
Saves all serializable variables to disk
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
Connection myConnection = Connection.CurrentConnection;
public override void OnQuote()
{
if(myConnection.Status==Disconnected)
GlobalVariablesManager.Flush();
}
}
}
Returns all global variables as list
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
List <GlobalVariable>global_List=new List<GlobalVariable>();
public override void Init()
{
if(GlobalVariablesManager.Count()>0)
global_List=GlobalVariablesManager.GetGlobalVariablesList();
foreach (var el in global_List)
{
Print(el.Name);
}
}
}
}
Collection of global variables
Object is non-serializable
Object too big
The application logger event.
Current logging level
Sets logs with custom messag, logging level, connection name
Sets logs with exception and custom message (optional), logging level, connection name
Sets logs with objects inherited from ILoggable interface,logging level, connection name
Sets a log level in case of deep debug
Remove a log level if one has not needed already
Все параметры, которые могут использоваться при отправке email
Отправит сообщение по E-mail
Чисто, як маркер для парсера xgettext.exe
Check, whether current translation equal to hidden
Allows to save Symbols into named lists
from:
http://www.codeguru.com/csharp/csharp/cs_date_time/timeroutines/article.php/c4207/C-SNTP-Client.htm
+++ добавлен диспозе, подправлен ToString(), убран лишний метод.
+++ ReceiveTimeoutбSendTimeout
NTPClient is a C# class designed to connect to time servers on the Internet.
The implementation of the protocol is based on the RFC 2030.
Public class members:
LeapIndicator - Warns of an impending leap second to be inserted/deleted in the last
minute of the current day. (See the _LeapIndicator enum)
VersionNumber - Version number of the protocol (3 or 4).
Mode - Returns mode. (See the _Mode enum)
Stratum - Stratum of the clock. (See the _Stratum enum)
PollInterval - Maximum interval between successive messages.
Precision - Precision of the clock.
RootDelay - Round trip time to the primary reference source.
RootDispersion - Nominal error relative to the primary reference source.
ReferenceTimestamp - The time at which the clock was last set or corrected.
OriginateTimestamp - The time at which the request departed the client for the server.
ReceiveTimestamp - The time at which the request arrived at the server.
Transmit Timestamp - The time at which the reply departed the server for client.
RoundTripDelay - The time between the departure of request and arrival of reply.
LocalClockOffset - The offset of the local clock relative to the primary reference
source.
Initialize - Sets up data structure and prepares for connection.
Connect - Connects to the time server and populates the data structure.
IsResponseValid - Returns true if received data is valid and if comes from
a NTP-compliant time server.
ToString - Returns a string representation of the object.
-----------------------------------------------------------------------------
Structure of the standard NTP header (as described in RFC 2030)
1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|LI | VN |Mode | Stratum | Poll | Precision |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Root Delay |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Root Dispersion |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Reference Identifier |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Reference Timestamp (64) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Originate Timestamp (64) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Receive Timestamp (64) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Transmit Timestamp (64) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Key Identifier (optional) (32) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| |
| Message Digest (optional) (128) |
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-----------------------------------------------------------------------------
NTP Timestamp Format (as described in RFC 2030)
1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Seconds |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Seconds Fraction (0-padded) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Connect to the time server
Defines a trading operation respond bundle
Respond operation state
Respond message
Respond order id
Provides VA calculation parameters
Provides VA calculation request per
Summary calculated Volume info
Volume info for each price
Fire in case of price level was added or existing was updated
Represent item with Volume Analysis calculation results
Volume Analysis calculations
Calculate volume profile for requested time range
Calculate volume profile for each bar in History Data
Calculate volume profile for requested time range
Calculate volume profile for each bar in History Data