You need to enable JavaScript in order to visit our site!
 
Logo PTMC
NAVIGATION
CANCEL
 
or via PTMC account
Restore password
or via PTMC account
Logo PTMC
NAVIGATION
or via PTMC account
Restore password
or via PTMC account
or via PTMC account
Restore password
or via PTMC account

BarData

class
Represents the market data.

Properties

Count int Downloaded numbers of history elements.
DataType DataType Represent the history data type.
Extension double Extension, % for Renko Advanced Mode (Classical Mode is 100% default)
HistoryMode BarsAggregations Represent special style of building history. Use only for Renko and PnF.
HistorySize int Represent special parameter for different historical type.
HistoryType HistoryType Represent the history building type.
Instrument Instrument Represents the Instrument for selected historical data.
Inversion double Inversion, % for Renko Advanced Mode (Classical Mode is 100% default)
Loading bool Returns true when data is loading to the current HistoricalData instance
Period int Represent the period of historical elements.
Reversal int The amount of price movement required to shift a chart to the right. This condition is used on charts that only take into consideration price movement instead of both price and time.

Methods

BeginLoad (DateTime from, DateTime to) Return: bool Asynchronized loading custom data range. You must wait for the end of the loading before requesting again.
BeginLoad (DateTime from) Return: bool Asynchronized loading data range form custom time to current time. You must wait for the end of the loading before requesting again.
BeginLoad (DateTime from, DateTime to, HistoricalDataLoadParams historicalDataLoadParams) Return: bool --
Close (int offset) Return: double Close price of the required Historical element.
Close () Return: double Close price of last Historical element.
FindInterval (DateTime time) Return: int Find historical element by time.
FindInterval (DateTime time, int from, int to) Return: int Find historical element by time in the selected range.
GetPrice (PriceType priceType, int offset) Return: double This function get price of the required Historical element.
GetPrice (PriceType priceType) Return: double This function get price of the last Historical element.
High (int offset) Return: double High price of the required Historical element.
High () Return: double High price of last Historical element.
Highest (PriceType type, int start, int count) Return: int Returns bar index of highest price presented in history range of loaded history object.
Highest (PriceType type) Return: int Returns bar index of highest price presented in entire loaded history object.
Load (DateTime from, DateTime to) Return: bool Synchronized loading custom data range.
Load (DateTime from) Return: bool Synchronized loading data range form the specified time to the current.
Load (DateTime from, DateTime to, HistoricalDataLoadParams historicalDataLoadParams) Return: bool --
Low (int offset) Return: double Low price of the required Historical element.
Low () Return: double Low price of last Historical element.
Lowest (PriceType type, int start, int count) Return: int Returns bar index of lowest price presented in history range of loaded history object.
Lowest (PriceType type) Return: int Returns bar index of lowest price presented in entire history of loaded history object.
Medium (int offset) Return: double Medium price of the required Historical element.
Medium () Return: double Medium price of last Historical element.
Open (int offset) Return: double Open price of the required Historical element.
Open () Return: double Open price of last Historical element.
Range (int offset) Return: double Ranged price (High - Low) of the required Historical element.
Range () Return: double Ranged price (High - Low) of last Historical element.
Time (int offset) Return: DateTime Open Time (UTC) of the specified historical element.
Time () Return: DateTime Open Time (UTC) of the last historical element.
TimeClose (int offset) Return: DateTime Close Time (UTC) of the specified historical element.
TimeClose () Return: DateTime Close Time (UTC) of the last historical element.
TimeOpen (int offset) Return: DateTime Open Time (UTC) of the specified historical element.
TimeOpen () Return: DateTime Open Time (UTC) of the last historical element.
TrueRange (int offset) Return: double True ranged price of required Historical element.
TrueRange () Return: double True ranged price of last Historical element.
Typical (int offset) Return: double Typical price of the required Historical element.
Typical () Return: double Typical price of last Historical element.
Volume () Return: double Volume of Ticks for Bid/Ask based Historical data, or volume of Trades for Trade based Historical data.
Volume (int offset) Return: double Volume of Ticks for Bid/Ask based Historical data, or volume of Trades for Trade based Historical data.
Weighted (int offset) Return: double Weighted price of the required Historical element.
Weighted () Return: double Weighted price of last Historical element.

Events

AfterReload Occurs after downloading a range of hisorical data.
PTMC 是一個專業的交易平台,結合了強大的圖表和分析工具,並可在不同的金融市場進行交易。 它是由 PFSOFT UK LTD 開發的,該公司是全球銀行和經紀商交易技術提供商
© 2024. PTMC 為基於 Protrader 技術的專業交易平台
地址
臺北市大安區羅斯福路3段273號5樓
聯絡我們
電話: +886-2-2367-8583
E-mail: service@kcdatanet.com
社群
© 2024. PTMC 為基於 Protrader 技術的專業交易平台