下载MetaTrader 5
要添加评论,请登录注册
发表 您的文章,让交易者们在MetaTrader 5中看到它!
龙飞
86
龙飞 2007.05.22 10:53 
指标显示的buf最多只能存放8个吗,怎么我加了几个buf都得不到值,图形也显示不出来
Rashid Umarov
管理员
6600
Rashid Umarov 2007.05.22 11:21  
You can to use additional arrays in an indicators. See https://docs.mql4.com/cn/array
In this case you must to initialize( https://docs.mql4.com/cn/array/ArrayInitialize ) these buffers and set wanted size ( https://docs.mql4.com/cn/array/ArrayResize )

If you dont want to draw any indicator's buffer(https://docs.mql4.com/cn/customind) on the chart you can use SetIndexStyle() function ( https://docs.mql4.com/cn/customind/SetIndexStyle ), for example:

SetIndexStyle(3, DRAW_NONE);
龙飞
86
龙飞 2007.05.23 07:32  

晕啊,英文不怎么好,谁可以帮翻译下
谢谢!

/
要添加评论,请登录注册