{过线必牛主图源码如下}
ZK1:(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1+EMA(EMA(H,25),25),DOTLINE,COLORBLUE;
ZD1:EMA(EMA(L,25),25)-(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1,LINETHICK2,COLORRED;
ZD2:EMA(ZD1,25),LINETHICK2;
DRAWBAND(ZD1,RGB(55,0,0),ZD2,RGB(0,91,0));
DRAWKLINE(H,O,L,C);
STICKLINE(ZD1>LOW AND ZD1< HIGH,ZD1,MIN(MIN(OPEN,CLOSE),ZD1),2,0),COLORYELLOW;
STICKLINE(ZD1>MIN(C,O) AND ZD1< MAX(C,O),ZD1,MIN(OPEN,CLOSE),2,0),COLORYELLOW;
STICKLINE(ZD1>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(ZD1>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR23:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23< 0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=ZD1>HIGH AND 回调买 AND L<=ZD1;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=CURRBARSCOUNT=1 AND C< REF(C,1);
DY2:=REF(V2,1)-DY;
XG2:=C>O AND DY2< 0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H< ZK1;
DRAWTEXT(XG2 AND L< ZD1,L,'←龙头异动'),COLORRED;
SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
SR2:=FILTER(SR1,10);
SR3:=BACKSET(SR2,10+1);
HD:=FILTER(SR3,10);
前高:=REF(H,BARSLAST(HD));
倍量:=VOL/REF(VOL,1)>=1.9;
突破前高:=CROSS(C,前高);
DRAWTEXT(倍量 AND 突破前高,(H* 0.97),'←突破左峰'),COLOR4080FF;
白色:=SMA(HIGH,21,2)*1.05,;
黄色:=SMA(LOW,21,2)*0.95;
粉色:=SMA(LOW,5,1);
绿色:=SMA(CLOSE,2,1),;
波段买入:=IF(CROSS(绿色,粉色),白色*1.05,粉色);
领头羊:=IF(CROSS(绿色,白色),白色*1.10,黄色);
信号:=领头羊>黄色;
STICKLINE(信号,O,C,3,0),COLOR0000FF;
涨停价:=ZTPRICE(REF(C,1),0.1);
涨停:=C>=涨停价-0.01 AND C=H;
STICKLINE(涨停,O,C,3,0),COLOR00FFFF;
STICKLINE(信号 AND 涨停,O,(O+C)/2,3,0),COLOR0000FF;
A0:=((L + H) + (C * 2)) / 4;
AAA1:=EMA(A0,14);
A1X:=(AAA1-REF(AAA1,1)) / REF(AAA1,1) * 100;
G1:=BARSLAST(CROSS(A1X,0));
过线必牛:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,DRAWNULL),COLORYELLOW,LINETHICK2;
DRAWTEXT(ISLASTBAR,过线必牛,' 过线必牛'),COLORYELLOW;
FD:=(C-REF(C,1))/REF(C,1)*100;
DF:=FD< -5;
情绪线:DRAWLINE(DF,H,REF(DF,1),REF(H,1),1),COLORWHITE,DOTLINE;
X_1:=CLOSE*VOL;
X_2:=EMA((EMA(X_1,3)/EMA(VOL,3)+EMA(X_1,6)/EMA(VOL,6)+EMA(X_1,12)/EMA(VOL,12)+EMA(X_1,24)/EMA(VOL,24))/4,13);
X_3:=1.08*X_2;
X_4:=EMA(X_3-(EMA(CLOSE,3)-X_3),5);
A7:IF(X_4<=X_3,X_4,X_3),COLORYELLOW,LINETHICK2;
X_5:=2*X_3-A7;
A9:IF(X_5>=X_3,X_5,X_3),COLORYELLOW,LINETHICK2;
观望:IF(A7=A9,A7,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_6:=REF(CLOSE,1)*1.1-CLOSE< 0.01 AND HIGH=CLOSE;
X_7:=X_3>=REF(X_3,1) AND A7< REF(A7,1) AND CLOSE>X_3 AND OPEN>X_3;
STICKLINE(X_7,OPEN,(OPEN+CLOSE)/2,3,0),COLORYELLOW;
STICKLINE(X_7,CLOSE,(OPEN+CLOSE)/2,3,0),COLORRED;
X_8:=CROSS(CLOSE,X_3) AND X_6;
DRAWTEXT(X_8,LOW,2),COLORYELLOW;
X_9:=CROSS(CLOSE,A7);
DRAWTEXT(X_9,LOW,3),COLORYELLOW;
{接力上车副图源码如下}
游资筹码:=C;
主力筹码:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
ZZ:=主力筹码>REF(主力筹码,1);
共振指标1:=1000000;
V1:=EMA(共振指标1,5);
量异动:=共振指标1>REF(V1,1)*1.6;
M2:=SUM(量异动,2)>0 AND REF(主力筹码,1)< 89;
擒龙筹码1:=DMA(EMA(游资筹码,12),SUM(VOL,5)/3);
擒龙筹码2:=EMA(HIGH,30)*1.15;
擒龙筹码3:=EMA(HIGH,3)*1.03;
游资接力:=CROSS(游资筹码,擒龙筹码3) AND (游资筹码-REF(游资筹码,1))/REF(游资筹码,1) > 0.04;
STICKLINE(游资接力,0,1,2,1),COLORMAGENTA;
STICKLINE(游资接力,0,1,0.1,0),COLORRED;
DRAWTEXT(游资接力,0.8, '★接力上车'),COLORYELLOW;
DRAWICON(游资接力,1,9);
DRAWICON(游资接力,0.8,5);
DRAWICON(游资接力,0.6,34);