A1:=100*(EMA(C,12)-EMA(C,26))/EMA(C,26)*100;
A2:=EMA(A1,9);
MACD:(A1-A2)*2,NODRAW;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,3,0),COLOR0000AA;{红色}
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,2,0),COLOR0000CC;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR0000EE;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0.1,0),COLOR5555FF;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR8080FF;
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,3,0),COLOR770077;{紫色}
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,2,0),COLOR990099;
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,1,0),COLORBB00BB;
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,0,0),COLORDD00DD;
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLORFF00FF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,3,0),COLORFF0000;{蓝色}
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),COLORFF5500;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORFF9900;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLORFFFF00;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,3,0),COLOR155500;{绿色}
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),COLOR208000;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1,0),COLOR2BAA00;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLOR35D500;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0,0),COLOR40FF00;
DIF:A1,COLORWHITE,LINETHICK2;DEA:A2,COLORYELLOW,LINETHICK2;
成交量:VOL,LINETHICK0,NODRAW,COLORMAGENTA,LINETHICK2;
总额(亿元):AMOUNT/100000000,LINETHICK0,NODRAW,COLORRED,LINETHICK2;
强:IF(DIF>MA(DIF,4),DIF,DRAWNULL),COLORRED,LINETHICK2;
弱:IF(DEA>MA(DEA,4),DEA,DRAWNULL),COLORMAGENTA;
流通盘(亿):CAPITAL/1000000,LINETHICK0,NODRAW,COLORWHITE,LINETHICK2;
DD:=EMA(EMA((C-LLV(L,10))/(HHV(H,10)-LLV(L,10))*100,3),3);
关注:IF(DD<30 AND MACD<0 AND MACD>=REF(MACD,1),MACD*0.5,DRAWNULL)CIRCLEDOT,COLORMAGENTA,LINETHICK4;
F:EMA(CLOSE,9)-EMA(CLOSE,18);
A:EMA(F,7),LINETHICK1;
金叉:=CROSS(F,A) AND F<0.3;
STICKLINE(金叉,0,50,2,0),COLORWHITE;
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*100;
JJ:=DYNAINFO(11);
P:=43;S:=7;M1:=3;
财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*500,COLORRED,LINETHICK2;
神:=EMA(财,M1),COLORGREEN,LINETHICK1;
DRAWBAND(财,RGB(255,0,0),神,RGB(0,100,50)); |