{右侧牛股主图主图源码如下}
NS1:=REF(H,10)=HHV(H,21);
NS2:=FILTER(NS1,10);
NS3:=BACKSET(NS2,10+1);
HDD:=FILTER(NS3,10);
前高:=REF(H,BARSLAST(HDD));
倍量量:=VOL/REF(VOL,1)>=1.9;
突破前高:=CROSS(C,前高);
强庄:=倍量量 AND 突破前高;
DRAWGBK(C>1,RGB(0,0,0),RGB(1,1,1),1,0,0);DRAWKLINE(H,O,L,C);
WXJ:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2 ,IF(INBLOCK('ST板块'),0.05,0.1)));WX1:=C>=MAX((INTPART(REF(C,1)*1.1*100)/100),ZTPRICE(REF(C,1),WXJ));WX2:=C>=(INTPART(REF(C,1)*1.05*100)/100);涨停提示:=IF(NAMELIKE('ST') OR NAMELIKE('*') OR NAMELIKE('SS') OR NAMELIKE('S'),WX2,WX1);
主力趋势线:EMA((MA(C,3)+MA(C,5)+MA(C,8)*2+MA(C,13)*3+MA(C,21)*5)/12,8),COLORLIRED,LINETHICK2;STICKLINE(L>主力趋势线,H,L,0,0),COLORRED;
STICKLINE(L>主力趋势线 AND C>O,C,O,3,0),COLORRED;
STICKLINE(L>主力趋势线 AND C<=O,C,O,3,1),COLORRED;
STICKLINE(H<主力趋势线,H,L,0,0),COLORGREEN;
STICKLINE(H<主力趋势线 AND C>=O,C,O,3,0),COLORGREEN;
STICKLINE(H<主力趋势线 AND C<O,C,O,3,1),COLORGREEN;
STICKLINE(L<=主力趋势线 AND H>=主力趋势线,H,L,0,0),COLORWHITE;
STICKLINE(L<主力趋势线 AND H>=主力趋势线 AND C>=O,C,O,3,0),COLORWHITE;
STICKLINE(L<主力趋势线 AND H>=主力趋势线 AND C<O,C,O,3,1),COLORWHITE;
N:=9;M1:=3;M2:=3;
RSV:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100
;K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);J:=3*K-2*D;
金叉:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K;
流通市值:=CAPITAL*C/1000000;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
NSYJ0:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR DYNAINFO(4)=0 OR INBLOCK('创业板') OR INBLOCK('科创板'))OR BARSCOUNT(C)>1;
NSYJ1:=流通市值>0 AND 流通市值<80;
NSYJ2:=涨幅>9.8 AND 涨幅<10.99 AND C=H;
NSYJ3:=C>2 AND C<22;
NSYJ4:=COUNT(NSYJ2,2)=1;
右侧值1:=金叉 AND NSYJ0 AND NSYJ1 AND NSYJ2 AND NSYJ3 AND NSYJ4;S:=3;
STICKLINE(右侧值1,L,H,0,0),COLOR0088EE;
STICKLINE(右侧值1,C,O,S,0),COLOR0055AA;
STICKLINE(右侧值1,C,O,S/2,0),COLOR0099EE;
STICKLINE(右侧值1,C,O,S/3,0),COLOR00AAFF;
STICKLINE(右侧值1,C,O,S/6,0),COLORYELLOW;
WUJ:=(C/REF(C,1)-1)*100;
高开:=(O/REF(C,1)-1)*100;
T1:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
T2:=REF(L,BARSLAST(CROSS(T1,0)));
火力值:=(O-T2)/T2*100;
ZB:=CODELIKE('60') OR CODELIKE('00');
WU0:=(C/REF(C,1)-1)*100>9.8 AND H=C;
WUS:=COUNT(WU0,4)<3;
右侧值2:=火力值<=20 AND REF(WUJ>9.80,1) AND 高开>=2 AND 高开<=7.5 AND ZB AND WUS;STICKLINE(右侧值2,H,L,0,0),COLORFFFFFF;
STICKLINE(右侧值2,C,O,3,0),COLOR333333;STICKLINE(右侧值2,C,O,2,0),COLOR555555;
STICKLINE(右侧值2,C,O,1,0),COLOR999999;STICKLINE(右侧值2,C,O,0.3,0),COLORBBBBBB;
STICKLINE(右侧值2,C,O,0.1,0),COLORFFFFFF;
成交量:=V,COLORYELLOW,NODRAW;
A:=REF(H,9)=HHV(H,19);
B:=FILTER(A,9);
AB:=BACKSET(B,10);
HD:=FILTER(AB,9);
前高1:=REF(H,BARSLAST(HD));
倍量:=VOL/REF(VOL,1)>=1.1;
突破前高1:=CROSS(C,前高1);
右侧值:=倍量 AND 突破前高1;
WUM:=DRAWLINE(右侧值,L,右侧值,L,1);
主力:=右侧值 AND 强庄;
STICKLINE(右侧值,O,C,0.2,0),COLOR00FFFF;
DRAWTEXT(右侧值,L*0.98,'右侧买点'),COLORYELLOW;
DRAWICON(主力 AND COUNT(主力,10)>=2,L*0.98,9);
DRAWICON(主力 AND COUNT(主力,10)>=2,L*0.96,9);
DRAWICON(主力 AND COUNT(主力,10)>=2,L*0.94,9);
{右侧牛股副图源码如下}
ABC1:=100;
ABC2:=VOL<=LLV(VOL,ABC1)*1.2 AND VOL>0 AND BARSCOUNT(VOL)>=ABC1;
ABC3:=COUNT(ABC2,5)>=3;
ABC4:=VOL>=REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1);
ABC5:=REF(ABC3,1) AND ABC4;
ABC6:=20;
ABC7:=REF(HHV(CLOSE,ABC6),1);
右侧牛股6:=REF(COUNT(CLOSE<ABC7,2)=2,1) AND CLOSE>ABC7 AND CLOSE>OPEN AND VOL/REF(VOL,1)>=1.9;
STICKLINE(右侧牛股6,0,1,2,0),COLORMAGENTA;
STICKLINE(右侧牛股6,0,1,1,0),COLORRED;
STICKLINE(右侧牛股6,0,1,0.5,0),COLORYELLOW;
DRAWTEXT(右侧牛股6,0.8,'★右侧牛股'),COLORYELLOW;
DRAWICON(右侧牛股6,1,9);