股票短线:=LLV(L,34);
买卖点:=SMA(ABS(L-REF(L,1)),34,1);
指标公式:=SMA(MAX(L-REF(L,1),0),34,2);
DD:=-(EMA(IF(L<=股票短线,买卖点/指标公式,-3),9)),STICK,COLORRED,LINETHICK1;
无未来:=LLV(L,8);{通达信公式-通达信指标www.gs6699.com}
fddss1:=SMA(ABS(L-REF(L,1)),34,1);
fddss2:=SMA(MAX(L-REF(L,1),0),34,2);
A:=-(EMA(IF(L<=无未来,fddss1/fddss2,-3),9)),COLORYELLOW,LINETHICK1;
fddss3:=IF(A<0,A,0),STICK,COLORGREEN,LINETHICK1;
DRAWICON(REF(A,1)<0 AND REF(A,2)>REF(A,1) AND A>REF(A,1),0,34);
fddss4:IF(FILTER(REF(A,1)<0 AND REF(A,2)>REF(A,1) AND A>REF(A,1),3),2.6,0),COLORGREEN,LINETHICK3,STICK;
fddss5:=FILTER(REF(A,1)<0 AND REF(A,2)>REF(A,1) AND A>REF(A,1),3);
DRAWICON(fddss5 ,1.0,9);
DRAWICON(fddss5 ,1.35,9);
DRAWICON(fddss5 ,1.7,9);
DRAWICON(fddss5 ,2.05,9);
DRAWICON(fddss5 ,2.45,9);
vvdds1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
vvdds2:=REF(vvdds1,1);
vvdds3:=SMA((CLOSE-vvdds2),6,1)/SMA(ABS(CLOSE-vvdds2),6,1)*100;
vvdds4:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
vvdds5:=EMA(0.667*REF(vvdds4,1)+0.333*vvdds4,5);
vvdds6:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(vvdds4>=vvdds5 AND vvdds4<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0);
vvdds7:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
MC:(FILTER(REF(vvdds3,1)>81 AND vvdds3<80 OR CROSS(82,vvdds7),5))*2,COLORCYAN,LINETHICK3,STICK;
DRAWICON(FILTER(REF(vvdds3,1)>81 AND vvdds3<80 OR CROSS(82,vvdds7),5),2.3,35);
DRAWICON(FILTER(REF(vvdds3,1)>81 AND vvdds3<80 OR CROSS(82,vvdds7),5),1.8,2);
DRAWTEXT(FILTER(REF(vvdds3,1)>81 AND vvdds3<80 OR CROSS(82,vvdds7),5),1.8,'卖点');