超级好用的改版MACD,谁用谁知道
SHORT:=12;LONG:=26;
MID:=9;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),LINETHICK;
DEA:EMA(DIF,MID),LINETHICK,COLORCYAN;
MACD:(DIF-DEA)*2,COLORSTICK;
A:=MACD;
STICKLINE(A>REF(A,1) AND A>=0,0,A,0,0),COLOR0000B5;
STICKLINE(A>REF(A,1) AND A>=0,0,A,0,0),COLOR0000D2;
STICKLINE(A>REF(A,1) AND A>=0,0,A,0,0),COLOR0000F0;{红}
STICKLINE(A>REF(A,1) AND A<0,0,A,0,0),COLOR00B5B5;
STICKLINE(A>REF(A,1) AND A<0,0,A,0,0),COLOR00D2D2;
STICKLINE(A>REF(A,1) AND A<0,0,A,0,0),COLORFFFFFF;{白}
STICKLINE(A<=REF(A,1) AND A>=0,0,A,0,0),COLORB4B4B4;
STICKLINE(A<=REF(A,1) AND A>=0,0,A,0,0),COLORD2D2D2;
STICKLINE(A<=REF(A,1) AND A>=0,0,A,0,0),COLORF0F0F0;{灰}
STICKLINE(A<=REF(A,1) AND A<0,0,A,0,0),COLORFFFF00;
**** Hidden Message *****
1e33333333eeeeeeeeeeeeeeeeeee
COLORFFFF00
COLORFFFF00 惆怅长岑长惆怅长岑长擦擦擦擦擦擦擦擦擦擦擦擦擦擦擦擦擦擦擦擦擦
谢谢LZ分享!
页:
[1]