十九选股
VAR4:=REF(CLOSE,1);
VAR5:=(SMA(MAX(CLOSE-VAR4,0),6,1))/(SMA(ABS(CLOSE-VAR4),6,1))*100;
泛选:CROSS(VAR5,11)*0.3,colorcyan;
VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR2:=10;
VAR3:=IF(CROSS(VAR1,VAR2),80,0);
粗选:CROSS(VAR1,VAR2)*0.6;
VAR6:=(CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100;
VAR7:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
精选:CROSS((CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100,EMA(VAR6,18)) AND CLOSE<VAR7,colormagenta;
DRAWTEXT(精选,精选,'★←-'),color99CCFF;
扫股:泛选>0 or 粗选>0 or 精选>0,LINETHICK0,colorFFFF;
{
NN:=20;
{STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,9,0),colorAAAAAA;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6,0),colorBBBBBB;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.4,0),colorCCCCCC;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.1,0),colorDDDDDD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,9,0),color6666CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0),color7777DD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0),color8888EE;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.1,0),color9999FF;
}
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D1:=SMA(K,3,1);
J:=3*K-2*D1;
RSV12:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K12:=SMA(RSV12,3,1);
D12:=SMA(K12,3,1);
J12:=3*K12-2*D12;
RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=3*K24-2*D24;
支撑位:=IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24)))),LINETHICK2,colorFFFF;
压力位:=IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),LINETHICK2,colorFF;
U2L:=IF(CLOSE>=MA(CLOSE,NN),80,50);
L2L:=IF(CLOSE>=MA(CLOSE,NN),50,20);
RH1:=IF(J<U2L AND REF(J,1)>=U2L,HHV(REF(HIGH,1),BARSLAST(J>=U2L AND REF(J,1)<U2L)-1),REF(HHV(REF(HIGH,1),BARSLAST(J>=U2L AND REF(J,1)<U2L)-1),BARSLAST(J<U2L AND REF(J,1))));
RH4:=IF(HIGH>RH1,LOW,REF(LOW,BARSLAST(HIGH>RH1)));
RH42:=IF(HIGH>RH1,J,REF(J,BARSLAST(HIGH>RH1)));
RH5:=IF(HIGH>RH4 AND J<RH42 AND J<J24,HIGH,REF(HIGH,BARSLAST(HIGH>RH4 AND J<RH42 AND J<J24))),colorFF00;
RL1:=IF(J>L2L AND REF(J,1)<=L2L,LLV(REF(LOW,1),BARSLAST(J<=L2L AND REF(J,1)>L2L)-1),REF(LLV(REF(LOW,1),BARSLAST(J<=L2L AND REF(J,1)>L2L)-1),BARSLAST(J>L2L AND REF(J,1))));
RL4:=IF(LOW<RL1,HIGH,REF(HIGH,BARSLAST(LOW<RL1)));
RL42:=IF(LOW<RL1,J,REF(J,BARSLAST(LOW<RL1)));
RL5:=IF(LOW<RL4 AND J>RL42 AND J>J24,LOW,REF(LOW,BARSLAST(LOW<RL4 AND J>RL42 AND J>J24))),colorFF00FF;
导航:=MA(CLOSE,3);
VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR2:=10;
VAR3:=IF(CROSS(VAR1,VAR2),80,0);
粗选:CROSS(VAR1,VAR2);
DRAWICON(VAR3,LOW*0.99,6);
VAR4:=REF(CLOSE,1);
VAR5:=(SMA(MAX(CLOSE-VAR4,0),6,1))/(SMA(ABS(CLOSE-VAR4),6,1))*100;
泛选:CROSS(VAR5,11),colorcyan;
DRAWTEXT(CROSS(84,VAR5),HIGH*1.01,'→ 逃顶 '),colorFFFF;
{
DRAWTEXT(CROSS(VAR5,11),LOW*0.99,'→低吸 '),colorFFFFFF;}
VAR6:=(CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100;
VAR7:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
精选:CROSS((CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100,EMA(VAR6,18)) AND CLOSE<VAR7;
DRAWTEXT(CROSS((CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100,EMA(VAR6,18)) AND CLOSE<VAR7,LOW*0.99,'★←-'),color99CCFF;
{
VAR8:=EMA(CLOSE,12)-EMA(CLOSE,20);
VAR9:=EMA(VAR8,9);
A:=OPEN<=MA(CLOSE,5) AND OPEN<=MA(CLOSE,10) AND OPEN<=MA(CLOSE,30) AND CLOSE>=MA(CLOSE,5) AND CLOSE>=SUM(CLOSE*VOL*100,28)/(SUM(VOL*100,28))*100/100 AND VAR9-REF(VAR9,1)>0 AND VAR8-REF(VAR8,1)>0;
DRAWICON(A,LOW*0.99,7);
{
VAR10:=MA(COST(1),7);
VAR11:=EMA(CLOSE,3);
DRAWICON(CROSS(VAR11,VAR10),LOW*0.99,6);
VAR12:=FORCAST(CLOSE,10);
VAR13:=EMA(VAR12*(1-0.05),3);
VAR14:=LLV(LOW,36);
VAR15:=HHV(HIGH,30);
VAR16:=EMA((CLOSE-VAR14)/(VAR15-VAR14)*4,4)*25;
VAR17:=MA(CLOSE,27);
DRAWICON(CROSS(90,VAR16) AND VAR13>VAR17,HIGH*1.01,2);
VAR18:=COST(98);
VAR19:=CROSS(VAR18,CLOSE);
VAR20:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<2 OR (OPEN-CLOSE)/CLOSE*100>3;
VAR21:=COUNT(VAR19,2)>0 AND COUNT(VAR20,2)>0;
STICKLINE(VAR21,HIGH*1.01,HIGH*1.025,7,0),colorFF00;
VAR22:=VOL/SUM(VOL,5);
VAR23:=DMA(CLOSE,VAR22);
VAR24:=(CLOSE-VAR23)/VAR23*100<-7;
VAR25:=(COUNT(CLOSE>REF(CLOSE,1),12))/12*100<20;
VAR26:=(MIN(OPEN,CLOSE)-LOW)/LOW*100>0.1;
VAR27:=VAR24 AND VAR25 AND VAR26;
DRAWICON(VAR27,LOW*0.99,4);
VAR00:=100*(CLOSE-MA(AMOUNT/(100*VOL),5))/(MA(AMOUNT/(100*VOL),5));
VAR28:=(HIGH+LOW+CLOSE*2)/4;
VAR29:=((VAR28-EMA(VAR28,21))/STD(VAR28,21)*100+200)/4;
VAR30:=(EMA(VAR29,5)-25)*1.56;
VAR31:=EMA(EMA(VAR30,2)*1.22,2);
VAR32:=3*EMA(VAR30,2)*1.22-2*VAR31;
VAR33:=EMA((VAR28-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13);
VAR34:=EMA(0.667*REF(VAR33,1)+0.333*VAR33,2);
VAR35:=EMA(VAR28,13)-EMA(VAR28,21);
VAR36:=2*(VAR35-EMA(VAR33,2))*3.8;
VAR37:=VAR36>REF(VAR36,1) AND VAR33<63 AND VAR34<63 AND EMA(VAR30,2)*1.22<63 AND VAR31<63 AND VAR32<63 AND CROSS(VAR32,EMA(VAR30,2)*1.22) AND FINANCE(33)>0.01 AND FINANCE(34)>1 AND REF(CLOSE,23)/CLOSE>1.2 AND REF(CLOSE,10)/CLOSE<1.5;
VAR38:=MIN(REF(CLOSE,2)*0.865,REF(CLOSE,13)*0.772);
VAR39:=IF((CLOSE-VAR38)/CLOSE<4/100 AND SUM(100*VOL/CAPITAL,5)/5<1.8 AND WINNER(CLOSE)*100<0.1,1,0);
VAR40:=MA(CLOSE,80)-MA(CLOSE,10)/3;
VAR41:=CLOSE<VAR40 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3;
VAR42:=VAR00<-10 AND CLOSE<10 AND CLOSE/REF(CLOSE,1)>0.935;
VAR43:=EMA((VAR28-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13);
VAR44:=EMA(0.667*REF(VAR43,1)+0.333*VAR43,2);
XNW:=VAR39>0 OR VAR41>0 OR VAR42>0;
HZ:=VAR39>0 OR VAR37>0 OR VAR41>0 OR VAR42>0;
DRAWICON(XNW,LOW*0.99,0);
DRAWICON(HZ,LOW*0.99,0);} |