このページはまだお使いの言語で利用できません。別の言語版を表示しています。
Registering of orders from the chart
S# allows to register orders from the chart, to activate this feature, you need to set the Chart.OrderCreationMode property to "True", it is disabled by default.

Orders for purchase will be registered using the Ctrl + Left Mouse Button combination.
Orders for sale will be registered using the Ctrl + Right Mouse Button combination.
The resulting order can be intercepted through the event of a new order creation.
ChartPanel.CreateOrder += (chartArea,order) =>
{
order.Portfolio = _portfolio;
order.Security = _security;
order.Volume = 1;
_connector.RegisterOrder(order);
};
Registered orders will be displayed as a special element for displaying orders ChartActiveOrdersElement.