看指标颜色提示进行买卖
DIFF:EMA(C,SHORT)-EMA(C,LONG);
DEA:EMA(DIFF,M);
MACD:=2*(DIFF-DEA);
STICKLINE(MACD =0,0,MACD,4,0),colorred;
STICKLINE(MACD =0,0,MACD,4,0),colorblue;
STICKLINE(MACD =0 AND MACD REF(MACD,1),0,MACD,4,0),color000088;
STICKLINE(MACD =0 AND MACD REF(MACD,1),0,MACD,4,0),colorcyan;
VAR1:=(C-EMA(C,6))/EMA(C,6)*100;
VAR2:=(C-MA(C,24))/MA(C,24)*100;
VAR3:=(C-MA(C,32))/MA(C,32)*100;
VAR4:=(VAR1+VAR2+VAR3)/3;
KX:=EMA(VAR4,3);
DX:=EMA(KX,3);
MCD:=EMA(EMA(VAR1,3),3)*2;
VAR5:=EMA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
VAR8:=LLV(VAR5,3) VAR5;
VAR9:=KX DX AND DX
必杀①:=VAR8 =1 AND VAR9 AND REF(KX DX,1);
STICKLINE(必杀①,0,MACD/1.5,5,0),colorff00ff;
BN:=20;
C2:=MA(C,2);
MA20:=MA(C2,BN);
BOLL:=MA20;
UPPER:=BOLL+1.618*STD(C2,BN);
LOWER:=BOLL-1.618*STD(C2,BN);
AA:=CROSS(C2,LOWER);
STICKLINE(AA,0,MACD/3,6,0),color990066;
BB:=CROSS(UPPER,C2);
STICKLINE(BB,0,MACD/1.5,4,0),color226644;
V1:=MA(C,3)=HHV(MA(C,3),7);
V2:=MA(C,3) MA(C,5);
V3:=MA(V,5) MA(V,10)*1.01;
V4:=COUNT(MA(C,1) REF(C,1),2)=2;
注意风险:=V1 AND V2 AND V3 AND V4;
STICKLINE(注意风险,0,MACD/1.3,4,0),color2299FF;
VAR4:=(LOW+HIGH+CLOSE)/3;
操作:=MA(VAR4,5);
A1:=EMA(C,14);
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
STICKLINE(CROSS(A1X,0) AND C =操作,0,MACD/10,10,0),colorFFFFFF;
工作线:=操作;
放心持股:IF(C =工作线 AND EMA(C,14) =EMA(C,25),DIFF,DRAWNULL), colorFF00FF,LINETHICK1;