以下是通达信股圣精品主图源码附图
{股圣精品主图}
STICKLINE(C/REF(C,1)>1.099,C,O,2.3,0),COLORYELLOW;
V1:=IF(NAMELIKE('S') OR NAMELIKE('*'), 5, 10);
C3:=REF(C,1);
BBB:=IF((C-C3)*100/C3>=(V1-0.01*100/C3) AND C=H,1,0);
ZT:=BARSLAST(BBB)+1;
STICKLINE(ZT AND ZT<15, REF(O,ZT-1),REF(O,ZT-1),2,0),COLORYELLOW;
A:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
A1:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);
A2:=((A1 - MA(A1,14))*(100))/((1.5)*(AVEDEV(A1,14)));
A3:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
A4:=A3<-9 AND A3> REF(A3,1);
A5:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100);
A6:=(A2 < (-100)) OR (A5 < 25) OR A4;
A7:=300000000*MAX (A<=8,A6)*DMA(EMA(C,60),SUM(V,60)/CAPITAL)/EXP(2*HIGH-LOW/3);
BB:=REF(A7,1)>0 AND A7=0;
B:=AMOUNT/VOL;
B1:=L<B*0.9;
B2:=(C-REF(C,1))/REF(C,1)*100>1.2;
B3:=L<MA(C,6)*0.921;
B4:=VOL<MA(V,5)*1.5;
BBB1:=FILTER(B1 AND B2 AND B3 AND B4 AND BB,5);
DRAWICON(BBB1,(L/1.03),1),LINETHICK2,COLORMAGENTA;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;
VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);
VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25;
注意买:=IF((VAR4<10),80,100);
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
MTM:=C-REF(C,1);
超跌:=IF(J<0,10,0);
BDDD:=LLV(J,2)=LLV(J,8);
买入:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.96),'老鼠仓'),COLOR4080FF;