下载MetaTrader 5

指标显示的buf最多只能存放8个吗,怎么我加了几个buf都得不到值,图形也显示不出来

要添加评论,请登录注册
龙飞
86
龙飞  
指标显示的buf最多只能存放8个吗,怎么我加了几个buf都得不到值,图形也显示不出来
Rashid Umarov
管理员
12275
Rashid Umarov  
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
龙飞  

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

要添加评论,请登录注册