我做的指标想用粗线代码应该怎么写?
下面的代码画出的是细线,我想要粗线怎么写?? #property indicator_chart_window #property indicator_buffers 3 #property indicator_color1 Red #property indicator_color2 Yellow #property indicator_color3 Aqua //蓝线 extern int ma01=5,ma02=10,ma03=60; double ma01line[],ma02line[],ma03line[]; //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { //---- SetIndexBuffer(0,ma01line); SetIndexBuffer(1,ma02line); SetIndexBuffer(2,ma03line); SetIndexStyle(0,DRAW_LINE); SetIndexStyle(1,DRAW_LINE); SetIndexStyle(2,DRAW_LINE); SetIndexDrawBegin(0,ma01); SetIndexDrawBegin(0,ma02); SetIndexDrawBegin(0,ma03); IndicatorDigits(Digits); //---- return(0); } |
打赏
最新创建圈子
- 新闻EA运行效果图圈 2019-05-05
圈主:admin 帖子:1