- 金币:
-
- 奖励:
-
- 热心:
-
- 注册时间:
- 2002-4-28
|
|
楼主 |
发表于 2004-5-2 21:20
|
显示全部楼层
Originally posted by jinyue at 2004-5-2 06:37 PM:
和你的图不一样啊
怪啊,指标的原码绝对没问题。
重新编写了一下,你试试看。
我的机器上绝对没问题。
VAR1:=(EMA(CLOSE,60) - EMA(CLOSE,130))*1.5;
VAR2{DEA22}:=EMA(VAR1,45),color00ccff,linethick2;
MACD2:2.5*(VAR1-VAR2),linedot,coloryellow;
MACD2伴:ma(macd2,3),colorred;
FILLRGN(MACD2>0,MACD2,0)coloryellow{FFCC99};
FILLRGN(MACD2<0,MACD2,0)colorFFCC99{CCCCFF};
VAR3:=EMA(CLOSE,240) - EMA(CLOSE,520);
VAR4:=EMA(VAR3,180),colorred,linethick2;
DIFF11:=(EMA(CLOSE,12) - EMA(CLOSE,26))*3,linethick2;
DEA11:=EMA(DIFF11,9),linethick2,colorFF00FF;
MACD1:=2*(DIFF11-DEA11),COLORSTICK;
STICKLINE(MACD1>0,MACD1,0,0.8,1)colorFFCC33;
STICKLINE(MACD1<0,MACD1,0,0.8,1)colorCCCCFF{CCCCCC};
DIFF1:DIFF11,color99CC66;
DEA1:DEA11,colorFF9900;
DIFF2:VAR1,colorCC0000,linethick2;
DEA2:VAR2,colorFF00FF,linethick2;
DIFF3:=VAR3,colorred,linethick1;
DEA3:=VAR3,colorred,linethick3;
[ Last edited by 善财童子 on 2004-5-2 at 21:23 ] |
|
|