下载MetaTrader 5
要添加评论,请登录注册
您找到感兴趣的应用程序了吗?在代码库发布它 - 数百万的交易者们将会关注到它!
tuyang
18
tuyang 2008.01.15 09:14 
从'您看到这样的图像了吗?'


实在想不出他综合那些元素画出来的,高人,出来说一说!
okwh
1630
okwh 2008.01.15 12:51  

ObjectCreate(...........)

tuyang
18
tuyang 2008.01.16 07:48  

我唯一能明白的是图形上的文字,它也许是Label Object,但是柱状图是啥?如果是矩形的话,它就会随着数据的变化位置而发生变化。难道这个指标整体的位置不是固定的?

Rashid Umarov
管理员
6605
Rashid Umarov 2008.01.16 10:27  
Yes, these objects are the Label objects with Wingding font (I think). See Wingdings
tuyang
18
tuyang 2008.01.18 04:18  
Hi, Rosh,

Wingdings is ArrowObject, but it is still based on price, not based on absolute screen pixel (Label Object is based on pixel).

I get that image from your post, can you share the code?

Thanks a lot.
Rashid Umarov
管理员
6605
Rashid Umarov 2008.01.18 07:42  
I have not the source code of posted picture, a only copy&pasted it.

Use this example:
      {
      ObjectCreate("Test",OBJ_LABEL,0,0,0);
      ObjectSet("Test",OBJPROP_COLOR,White);
      ObjectSet("Test",OBJPROP_CORNER,0);
      ObjectSet("Test",OBJPROP_XDISTANCE,30);
      ObjectSet("Test",OBJPROP_YDISTANCE,30);
      ObjectSetText("Test", "Month", 10, "Wingdings", Red) ;
      }
liuxiaodong
282
liuxiaodong 2008.01.27 09:27  
这个指标我有 !改天给你贴上来。
/
要添加评论,请登录注册