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

TradeData

class
Unveils a trade history seizure with further processing

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

Aggressor (int offset) Return: AggressorFlag Returns the trade operation side name with given offset bar number.
Aggressor () Return: AggressorFlag Returns the trade operation side name of current bar.
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 --
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.
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 --
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.
Price (int offset) Return: double The price of the required Historical tick.
Price () Return: double The price of the last Historical tick.
Size (int offset) Return: double The trade volume inside required Historical tick.
Size () Return: double The trade volume inside last Historical tick.
Time (int offset) Return: DateTime Time (UTC) of required historical tick.
Time () Return: DateTime Time (UTC) of last historical tick.
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.

Events

AfterReload Occurs after downloading a range of hisorical data.
PTMC is a professional trading platform that combines all the best charting and analytical tools to trade on different financial markets. It is developed by PFSOFT UK LTD, a global provider of trading technology for banks & brokers
© 2024. PTMC is based on Protrader technology
PFSOFT UK LTD
71-75, Shelton Street,
Covent Garden,
London, WC2H9SQ,
United Kingdom
Support & Development
PFSOFT Ukraine
Office #701
Mechnikova Street, 10B
49000, Dnipro, Ukraine
Contact us
Phone: +380 56 740 30 01
E-mail: info@protrader.org
Skype: PTMC_support
Find more ways to contact
Join us in social networks