通达信:=REF(LOW,1);
主力成本:=SMA(ABS(LOW-通达信),13,1)/SMA(MAX(LOW-通达信,0),13,1)*100;
选股指标公式:=EMA(IF(CLOSE*1.2,主力成本*13,主力成本/13),13);
ccddd5:=LLV(LOW,34);{通达信公式-通达信指标www.gs6699.com}
ccddd6:=HHV(选股指标公式,34);
ccddd7:=IF(LLV(LOW,55),1,0);
ccddd8:=EMA(IF(LOW<=ccddd5,(选股指标公式+ccddd6*2)/2,0),3)/618*ccddd7;
ccddd9:=EMA(CLOSE,5);
ccddd10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);
ccddd11:=EMA(IF(LOW<=ccddd5,(选股指标公式+ccddd6*2)/2,0),3)/618*ccddd7*(-1);
ccddd12:=EMA(CLOSE,5)*(-1);
STICKLINE(ccddd8>REF(ccddd8,1),0,ccddd8,6,1),COLOR10FFFF,LINETHICK3;
dess1:IF(ccddd8>REF(ccddd8,1),0,ccddd8),COLOR0FFFFF;
STICKLINE(ccddd11>REF(ccddd11,1),0,ccddd11,6,1),COLORFFF810;
dess2:0,COLORFFFFFF,LINETHICK1;
gfff1:=MA(LOW,2)*0.96;
gfff2:=MA(LOW,26)*0.85;
gfff3:=REF(gfff1,1)<gfff2 AND REF(gfff1,1)<gfff1 AND REF(gfff1,1)<REF(gfff1,2);
STICKLINE(gfff3,0,ccddd8*3,8,0),COLORRED;
essd1:IF(gfff3,0,ccddd8*3),COLORRED;
VA:=(2*C+H+L)/4;
VB:=LLV(L,5);
VC:=HHV(H,5);
essd2:EMA((VA-VB)/(VC-VB)*27,5),COLORRED;
essd3:EMA(essd2,3),COLORFFFF00;
essd4:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
essd6:= EMA(0.667*REF(essd4,1)+0.333*essd4,2);
DRAWTEXT(CROSS(essd4,essd6) AND essd4<30,5,''),COLOR00FF00;
DRAWTEXT(CROSS(essd4,essd6) AND essd4<30,7,''),COLORFFFFFF;
DRAWTEXT(CROSS(essd6,essd4) AND essd4>70,25,''),COLOR00FF00;
DRAWTEXT(CROSS(essd6,essd4) AND essd4>70,22,''),COLOR00FF00;
essd7:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHICK2,COLORFF00FF;
DRAWICON(essd7=23,23,1),LINETHICK2,COLORFFFFFF;
essd8:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(essd8,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,3,''),COLORFFFF00;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,7,''),COLORRED;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,6,''),COLORRED;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,5,''),COLORRED;
Qccddd1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
Qccddd1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
Qccddd1C:=SMA(Qccddd1B,13,8);
Qccddd1D:=SMA(Qccddd1A,21,8);
essd9:=SMA(Qccddd1C,13,8),COLORRED;
AAS:=FILTER((COUNT((essd9-Qccddd1D<(-65)),3)=3),34);
fdddd:IF(AAS,15,0),COLORFFFFFF,STICK,LINETHICK6;
DRAWTEXT(fdddd,17,''),COLORFFFFFF;