日志里显示趋势线的属性和趋势线轴点的数量,可用于计算两个价格标签的 X 和 Y 坐标。 由于已为每个标签指定了一个轴点,因此该轴点将显示在日志中。
2022.01.2016:37:29.340 ============= The beginning of the parameter list (Trend Line) =============
2022.01.2016:37:29.340 Object ID: 12022.01.2016:37:29.340 Base object ID: 02022.01.2016:37:29.340 Object type: Trend Line
2022.01.2016:37:29.340 Graphic element type: Extended standard graphic object2022.01.2016:37:29.340 Object belongs to: The graphic object belongs to the program
2022.01.2016:37:29.340 Object chart ID: 1317338443919386302022.01.2016:37:29.340 Chart subwindow number: 02022.01.2016:37:29.340 Object number in the list: The baseobject of the extended graphical object2022.01.2016:37:29.340 Change history: No
2022.01.2016:37:29.340 Object group: Not set2022.01.2016:37:29.340 Time of creation: 2022.01.2016:37:292022.01.2016:37:29.340 Visibility of an object at timeframes: Drawn on all timeframes
2022.01.2016:37:29.340 Object in the background: No
2022.01.2016:37:29.340 Priority of a graphical objectfor receiving events of clicking on a chart: 02022.01.2016:37:29.340 Prohibit showing of the name of a graphical objectin the terminal objects list: Yes
2022.01.2016:37:29.340 Object is selected: Yes
2022.01.2016:37:29.340 Object availability: Yes
2022.01.2016:37:29.340 Time coordinate:
2022.01.2016:37:29.340 - Pivot point 0: 2022.01.1309:002022.01.2016:37:29.340 - Pivot point 1: 2022.01.2010:002022.01.2016:37:29.340 Color: clrRed
2022.01.2016:37:29.340 Style: Solid line
2022.01.2016:37:29.340 Line thickness: 12022.01.2016:37:29.340 Ray goes to the left: No
2022.01.2016:37:29.340 Ray goes to the right: No
2022.01.2016:37:29.340 ------
2022.01.2016:37:29.340 Price coordinate:
2022.01.2016:37:29.340 - Pivot point 0: 1.147282022.01.2016:37:29.340 - Pivot point 1: 1.135982022.01.2016:37:29.340 ------
2022.01.2016:37:29.340 Name: "TestDoEasyPart93_TrendLineExt"2022.01.2016:37:29.340 Base object name: "TestDoEasyPart93_TrendLineExt"2022.01.2016:37:29.340 Description: Not set2022.01.2016:37:29.340 The text of a tooltip: Formed by the terminal
2022.01.2016:37:29.340 ============= End of the parameter list (Trend Line) =============
2022.01.2016:37:29.3402022.01.2016:37:29.352 OnChartEvent: PriceLeft: Num linked coord X: 1, Num linked coord Y: 12022.01.2016:37:29.364 OnChartEvent: PriceRight: Num linked coord X: 1, Num linked coord Y: 1
新文章 DoEasy 函数库中的图形(第九十三部分):准备创建复合图形对象的功能已发布:
在本文中,我将着手开发用于创建复合图形对象的功能。 该函数库将支持创建复合图形对象,允许这些对象含有任意层次的连接。 我将为这些对象的后续实现准备所有必要的类。
编译 EA,在图表上启动它,然后单击图表右边缘之外的某个地方。
结果出现一条趋势线,沿其边缘有价格标签对象:
日志里显示趋势线的属性和趋势线轴点的数量,可用于计算两个价格标签的 X 和 Y 坐标。 由于已为每个标签指定了一个轴点,因此该轴点将显示在日志中。
目前,我们只是简单地构造单独的图形对象,并设置属性,指示这些对象属于同一扩展标准图形对象。 如果我们移动趋势线,价格标签还不能自动跟随它。 然而,这并不是我当前的主题。 我的目标是为创建完整的扩展图形对象准备必要的功能。
作者:Artyom Trishkin