提示:在微信里搜索“股旁网”或者微信扫描右侧二维码。
HHH:=NAMEINCLUDE('S');
W:=IF(NAMELIKE('W') OR NAMELIKE('*W'),0.05,0.1);
DTR:=(REF(C,1)/C-1>=W-0.01/REF(C,1) AND L=C AND PERIOD=5) OR C=DTPRICE(REF(C,1),IF(HHH,0.05,0.1));
DTO:=REF(C,1)/L-1>=W-0.01/REF(C,1) AND L<C AND PERIOD=5;
连阴:=COUNT((C<REF(C,1) OR L<REF(L,1)),10)>=5;
卧龙柱:=REF(连阴,1) AND (DTR OR DTO);
距今:=BARSLAST(卧龙柱);
再龙根:COUNT(crOSS(C,REF((C+O)/2,距今)),距今)=2 AND CROSS(C,REF((C+O)/2,距今)),NODRAW,COLORLIRED;
警示:=NAMEINCLUDE('S');
WU:=IF(NAMELIKE('W') OR NAMELIKE('*W'),0.05,0.1);
DT:=(REF(C,1)/C-1>=WU-0.01/REF(C,1) AND L=C AND PERIOD=5) OR C=DTPRICE(REF(C,1),IF(警示,0.05,0.1));
DT1:=REF(C,1)/L-1>=WU-0.01/REF(C,1) AND L<C AND PERIOD=5;
连阴2:=COUNT((C<REF(C,1) OR L<REF(L,1)),10)>=5;
卧龙柱5:=REF(连阴2,1) AND (DT OR DT1);
距今2:=BARSLAST(卧龙柱5);
卧龙湾:=HHV(C,距今2)<REF((C+O)/2,距今2) AND 距今2<15 ;
假阳:=REF(C<=O,1) AND H<REF(O,1) AND C<(REF(O-C,1))/3+REF(C,1) AND AMOUNT/V/100<REF(C,1) AND C>O;
黄金阳:=REF(DT OR DT1,1) AND 假阳;
阳距:=BARSLAST(黄金阳);
黄金坑:=HHV(C,阳距)<REF((C+O)/2,阳距+1) AND 阳距<15 ;
卧龙潜:=黄金坑 OR 卧龙湾,COLORWHITE;
SY:=H/MAX(C,O);
XY:=MIN(C,O)/L;
卧龙深潜:卧龙潜 AND C>O AND XY>1.02 AND SY<1.015,NODRAW,COLORGREEN;
牙齿:=REF(MA(CLOSE,8),5);
R2:=牙齿;
KU1:=IF(HIGH=HHV(HIGH,3),1,0);
UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0,REF(HIGH,3),REF(HIGH,2+BARSLAST(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0)));
上分形:=IF(HIGH>=R2,UL,REF(UL,BARSLAST(HIGH>=R2)));
红箭头:HIGH>上分形 AND REF(HIGH,1)<REF(上分形,1),NODRAW,COLORLIMAGENTA;
RSV14:=(CLOSE - LLV(LOW,14))/(HHV(HIGH,14) - LLV(LOW,14))-0.5;
K14:=EMA(RSV14,3);
D14:=EMA(K14,3);
J14:=3*K14-2*D14;
kdjXG:=REF(COUNT(J14<REF(J14,1),5)>=3,1) AND REF(J14,1)<-0.4 AND J14>REF(J14,1);
海德:FILTER(kdJXG,3),NODRAW,COLORB8B8DC;
V5:=EMA(CLOSE,1);
AE:=EMA(V5,5) ;
AB:=EMA(HHV(AE,5),1);
AJ:=EMA(HHV(AB,17),1);
WJ:=EMA(HHV(AJ,17),2);
AF:=EMA(HHV(WJ,17),3);
三线:=AF;
HHD:=CROSS(AJ,三线) OR (EVERY(REF(三线,1)=REF(AJ,1),2) AND EXIST(AJ>三线,2) ) ;
牛起步:HHD=1,NODRAW,COLORYELLOW;
AD:=SMA((((CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33)))*100),7,1);
三角:CROSS(AD,23),NODRAW,COLORLIBLUE;
主线:=18;
主差:=2;
起初:=1;
主:=EMA(C,起初);
前N:=0;
B1:=1;
B20:=主差*19+1;
S1:=EMA(B1,主线);
S20:=EMA(B20,主线);
NOTETEXT1:=REF(HHV(主,S1),前N);
NOTETEXT20:=REF(HHV(主,S20),前N);
红加号:FILTER(NOTETEXT1=NOTETEXT20,25),NODRAW,COLORLIRED;
LOWV:=EMA(LLV(LOW,34),3);
HIGHV:=EMA(HHV(HIGH,34),3);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=SMA(RSV,8,1);
D:=SMA(K,6,1);
J:=3*K-2*D;
J1:=MA(J,3);
A1:=BARSLAST(REF(CROSS(J,J1),1));
YUI:=REF(CLOSE,A1+1)>CLOSE AND J>REF(J,A1+1) AND CROSS(J,J1) AND J<20;
底背离:YUI>0,NODRAW,COLORLIBLUE;
选股数101:=IF(再龙根,1,0);
选股数102:=IF(卧龙深潜,1,0);
选股数103:=IF(红箭头,1,0);
选股数104:=IF(海德,1,0);
选股数105:=IF(牛起步,1,0);
选股数106:=IF(三角,1,0);
选股数107:=IF(红加号,1,0);
选股数108:=IF(底背离,1,0);
总选股101:=选股数101;
总选股102:=总选股101+选股数102;
总选股103:=总选股102+选股数103;
总选股104:=总选股103+选股数104;
总选股105:=总选股104+选股数105;
总选股106:=总选股105+选股数106;
总选股107:=总选股106+选股数107;
总选股108:=总选股107+选股数108;
总指标数0:=0;
AA11:=11;
BB11:=9;
CC11:=9;
信号数:再龙根+卧龙深潜+红箭头+海德+牛起步+三角+红加号+底背离,NODRAW,COLORLIMAGENTA;
XG:信号数>=3,NODRAW,COLORWHITE;
DRAWTEXT(XG,20,' 买'),COLORRED;
DRAWTEXT(XG,10,' 入'),COLORRED;
STICKLINE(选股数101,CC11*总指标数0,BB11+CC11*总指标数0,1,0),COLORLIRED;
STICKLINE(选股数102,CC11*总选股101,BB11+CC11*总选股101,1,0),COLORGREEN;
STICKLINE(选股数103,CC11*总选股102,BB11+CC11*总选股102,1,0),COLORLIMAGENTA;
STICKLINE(选股数104,CC11*总选股103,BB11+CC11*总选股103,1,0),COLORB8B8DC;
STICKLINE(选股数105,CC11*总选股104,BB11+CC11*总选股104,1,0),COLORYELLOW;
STICKLINE(选股数106,CC11*总选股105,BB11+CC11*总选股105,1,0),COLORLIBLUE;
STICKLINE(选股数107,CC11*总选股106,BB11+CC11*总选股106,1,0),COLORLIRED;
STICKLINE(选股数108,CC11*总选股107,BB11+CC11*总选股107,1,0),COLORLIBLUE;