CreateIndicator

配合指标工作的初始化方法。

bool  CreateIndicator(
   const int     x1,         // x1 坐标
   const int     y1,         // y1 坐标
   const int     x2,         // x2 坐标
   const int     y2          // y2 坐标
   )

参数

x1

[输入]  左上角的 X 坐标。

y1

[输入]  左上角的 Y 坐标。

x2

[输入]  右下角的 X 坐标。

y2

[输入]  右下角的 Y 坐标。

返回值

true 如果成功, 否则 false。