|
TradeMUX SDK Documentation
1.0
TradeMUX SDK Documentation
|
| bool ObjectCreate | ( | long | chart_id, |
| string | name, | ||
| int | type, | ||
| int | sub_window, | ||
| DateTime | time1, | ||
| double | price1, | ||
| DateTime | time2, | ||
| double | price2, | ||
| DateTime | time3, | ||
| double | price3 | ||
| ) |
Creates an object with the specified name, type, and the initial coordinates in the specified chart subwindow
| chart_id | Chart identifier | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name | Name of the object. The name must be unique within a chart, including its subwindows | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | Object type. The value can be one of the following values:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| sub_window | Number of the chart subwindow. 0 means the main chart window. The specified subwindow must exist (window index must be greater or equal to 0 and less than WindowsTotal()), otherwise the function returns false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| time1 | The time coordinate of the first anchor point | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| price1 | The price coordinate of the first anchor point | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| time2 | The time coordinate of the second anchor point | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| price2 | The price coordinate of the second anchor point | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| time3 | The time coordinate of the third anchor point | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| price3 | The price coordinate of the third anchor point |