不以倦而惑 发表于 2011-12-7 10:39:28

我做的指标想用粗线代码应该怎么写?

下面的代码画出的是细线,我想要粗线怎么写??

#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);
    }

从前以后 发表于 2012-11-22 00:02:14

EA交易对平台要求比较高

dengshan 发表于 2012-11-22 00:02:14

本人研究EA3年多 未发现十分稳定的EA EA倒是可以用来辅助交易

guiliu 发表于 2012-11-22 01:12:18

你好 , 写过很多ea了, 请看我用户名, 加后可提供博客看看我的ea介绍

nothing 发表于 2012-11-22 01:12:18

EA真的不靠谱..。

.

hate 发表于 2012-11-22 01:36:01

鉴定完毕.!

love869 发表于 2012-11-22 01:36:01

小生对楼主之仰慕如滔滔江水连绵不绝,海枯石烂,天崩地裂,永不变心.

你是否在笑 发表于 2012-11-22 01:36:01

我的啦嘿嘿

amy328 发表于 2012-11-22 01:36:01

我帮你 喝喝

搞笑 发表于 2012-11-22 01:36:01

现在越做月亏啊
页: [1] 2 3
查看完整版本: 我做的指标想用粗线代码应该怎么写?