{通达信去掉*、S、ST}
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
{通达信去掉停牌}
S4:=DYNAINFO(17)
去ST:=S2 AND S3 AND S4;
SRSV:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
SK:=SMA(SRSV,8,1);
SD:=SMA(SK,8,1);
SJ:=3*SK-2*SD;
Bbias1:=(C-MA(C,7))/MA(C,7)*100;
bbiAS2:=(C-MA(C,14))/MA(C,14)*100;
BBIAS3:=(C-MA(C,28))/MA(C,28)*100;
{AND BBIAS3 -14 AND SJ 10 AND SD 10}
{AND (C-REF(C,15))/REF(C,15)*100 20 }{15日涨幅 20%}
{AND NOT (C-REF(C,60))/REF(C,60)*100 20}{去除60日涨幅 20%}
{AND (C-REF(C,1))/REF(C,1)*100 -7}{当日涨幅 -7%}
总换手:=vol*10000/FINANCE(7);
涨停板:=C REF(C*1.096,1);
去涨停板:=NOT(涨停板);{AND 去涨停板}
{杀破狼原版}
V1:=LLV(LOW,10);
V2:=HHV(H,25);
趋势线:=EMA((C-V1)/(V2-V1)*4,4),COLORDD8800,LINETHICK1;
{快线:((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*80,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*80,5,1),5,1))*1.032)*0.04,COLOR443333;}
快线:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*18+1.2,COLOR444444;
NNN:=25;
DMH:=SUM(IF(H REF(H,7),H-REF(H,7),0),NNN);
DML:=SUM(IF(L REF(L,35),0,REF(L,35)-L),NNN);
飞虎线:=DMH/(DMH+DML)*5.8-1.4,COLORDD8800;
XAA:=LLV(LOW,10);
XBB:=HHV(HIGH,30);
飞凤线:=(MEMA(((CLOSE-XAA)/(XBB-XAA))*9-1.4,13)),COLORDD8800,LINETHICK1;
MAV:=(2*C+H+L)/4;
YVAR1:=LLV(LOW,35);
YVAR2:=HHV(HIGH,15);
XSK:= EMA((MAV-YVAR1)/(YVAR2-YVAR1)*100,25);
龙虎线:=EMA(0.667*REF(XSK,1)+0.333*XSK,2)*0.09-2.7,COLORDD8800,LINETHICK1;
DVAR1:=EMA(CLOSE,8);
DVAR2:=EMA(DVAR1,20);
DVAR3:=crOSS(DVAR1,DVAR2);
DVAR4:=DVAR1 EMA(CLOSE,120);
飞龙线:=EMA(SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,5,1),3),COLOR808000;
XVAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
XVAR2:=EMA(XVAR1,30);
XVAR3:=EMA(XVAR2,30);
XVAR4:=3*XVAR2-2*XVAR3;
势:=EMA(XVAR4,5),COLORBLUE,LINETHICK3;
XVAR5:=LLV(LOW,10);
XVAR6:=HHV(HIGH,25);
决策线:=EMA((CLOSE-XVAR5)/(XVAR6-XVAR5)*5,4),COLORDD8800,LINETHICK1;
限制1:=(((C-REF(C,1))/REF(C,1)*100 4.5 AND C=H) OR ((C-REF(C,1))/REF(C,1)*100 5 AND C H*0.988) OR ((C-REF(C,1))/REF(C,1)*100 6.3 AND C H*0.98) ) AND SD 18 AND HSL 0.72 AND (C-REF(C,250))/REF(C,250)*100 60 AND C O AND ((C-REF(C,5))/REF(C,5)*100 4 OR ((C-REF(C,1))/REF(C,1)*100 8.1 AND C H*0.988));
限制2:=(C-REF(C,1))/REF(C,1)*100 4.8 AND SD 18 AND HSL 0.72 AND (C-REF(C,250))/REF(C,250)*100 60 AND C O AND (C-REF(C,4))/REF(C,4)*100 0 AND (C-REF(C,5))/REF(C,5)*100 0 AND (C-REF(C,8))/REF(C,8)*100 0 AND (C-REF(C,13))/REF(C,13)*100 0 AND (C-REF(C,25))/REF(C,25)*100 0 AND (C-REF(C,13))/REF(C,13)*100 13 AND C H*0.984;
杀破狼:(趋势线 0.45 OR SD 9 OR (SJ 0 AND SD 12) OR (SJ -5 AND SD 15) OR (飞龙线 -0.38 AND 趋势线 =0.4) OR (飞龙线 -0.48) AND 趋势线 =0.39 AND SD 25 OR 趋势线 0.4 ) OR BBIAS3 -24 AND BBIAS3 -18 AND (C-REF(C,2))/REF(C,2)*100 -3 AND ((C-REF(C,2))/REF(C,2)*100 2 OR (C-REF(C,1))/REF(C,1)*100 5) AND C O AND HSL 0.72 OR 限制1 AND (C-REF(C,5))/REF(C,5)*100 18 AND (C-REF(C,6))/REF(C,6)*100 15 AND (C-REF(C,10))/REF(C,10)*100 13 AND (C-REF(C,13))/REF(C,13)*100 13 AND (C-REF(C,1))/REF(C,1)*100 3.6 AND (HSL 3 OR (C-REF(C,1))/REF(C,1)*100 7.8) OR 限制2 AND HSL 13,COLORRED,LINETHICK2;