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

Chart

class
All chart's graphic access

Properties

BackgroundBottomColor Color Access chart background bottom color.
BackgroundTopColor Color Access chart background upper color.
BarsPerChart int How many bars are placed in the chart (scale type)
BarsWidth int Returns a current width of candle bar
BodyBottomColor Color Access chart area bottom color.
BodyUpColor Color Access chart area top color.
CurrentColorTheme ColorTheme Retrieves current client theme.
MainWindow Window Description of the main chart window
RightOffset int Offset to 0 visibility rules bar on the chart (non-zero if there is an offset to the right of the chart)
Settings ChartSettings Get chart settings
VisibleBarsCount int The number of bars visible on the chart (c considering the holes if they are included)

Methods

FindWindow (string name) Return: int If indicator with name was found, the function returns the window index containing this specified indicator, otherwise it returns -1;
FindWindow (Indicator indicator) Return: int If indicator with name was found, the function returns the window index containing this specified indicator, otherwise it returns -1;
FindWindow (NETIndicator indicator) Return: int If indicator with name was found, the function returns the window index containing this specified indicator, otherwise it returns -1;
GetAllWindows () Return: Window[] All chart window
GetBarOffset (int displayIndex) Return: int price index for a query of Historical data displayIndex = [0, VisibleBarsCount - 1] -1 If the bar is no such index (a hole or out of bounds)
GetChartControl () Return: Control Returns the chart's control
GetChartPoint (DateTime time, double price) Return: PointF Grasps a point on chart field according to y-axes presented by price and x-axes by time on main window.
GetChartPoint (DateTime time, double price, int windowNumber) Return: PointF Grasps a point on chart field according to y-axes presented by price and x-axes by time on main window or any sub window by given number.
GetChartPoint (DateTime time, double price, int windowNumber, bool allowIntrabar) Return: PointF Grasps a point on chart field according to y-axes presented by price and x-axes by time on main window or any sub window by given number with intrabar option.
GetIndicators () Return: Indicator[] Gets all indicators added to the current chart
GetTimePrice (PointF point) Return: TimePrice Provides DateTime object on the given main chart point.
GetTimePrice (PointF point, int windowNumber) Return: TimePrice Provides DateTime object on given main chart point or any sub window by given number.
GetTimePrice (float x, float y) Return: TimePrice Provides DateTime object on the given main chart coordinates.
GetTimePrice (float x, float y, int windowNumber) Return: TimePrice Provides DateTime object on the given main chart coordinates or any sub window by given number.
PointToClient (Point p) Return: Point Computes the location of the specified screen point into client coordinates.
PointToScreen (Point p) Return: Point Computes the location of the specified client point into screen coordinates.
Refresh () Return: void Launches forced update chart
PTMC 是一個專業的交易平台,結合了強大的圖表和分析工具,並可在不同的金融市場進行交易。 它是由 PFSOFT UK LTD 開發的,該公司是全球銀行和經紀商交易技術提供商
© 2024. PTMC 為基於 Protrader 技術的專業交易平台
地址
臺北市大安區羅斯福路3段273號5樓
聯絡我們
電話: +886-2-2367-8583
E-mail: service@kcdatanet.com
社群
© 2024. PTMC 為基於 Protrader 技術的專業交易平台