DLYZ1:=SUM((WINNER(C)*100),30)/30*0.1;
DLYZ2:=SUM((WINNER(C)*100),20)/20*0.4;
DLYZ3:=SUM((WINNER(C)*100),10)/10*0.3;
DLYZ4:=SUM((WINNER(C)*100),5)/5*0.1;
DLYZ5:=SUM((WINNER(C)*100),3)/3*0.1;
DLYZZ:=DLYZ1+DLYZ2+DLYZ3+DLYZ4+DLYZ5;
赚钱效应:IF(DLYZZ 38,DLYZZ,DLYZZ*1.3),NODRAW;
活跃度:IF(SUMBARS(vol,CAPITAL) 100,100-SUMBARS(VOL,CAPITAL),1),NODRAW;
VAR1:=Ema(EMA(CLOSE,20),20);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
stICKLINE(控盘 0,控盘,0,1,0),COLORWHITE;
A10:=crOSS(控盘,0);
无庄控盘:IF(控盘 0,控盘,0),COLORWHITE,NODRAW;
开始控盘:IF(A10,5,0),LINETHICK1,COLORBROWN;
STICKLINE(控盘 REF(控盘,1) AND 控盘 0,控盘,0,1,0),COLORRED;
有庄控盘:IF(控盘 REF(控盘,1) AND 控盘 0,控盘,0),COLORRED,NODRAW;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2 50 AND COST(85) CLOSE AND 控盘 0,控盘,0,1,0),COLORFF00FF;
高度控盘:IF(VAR2 50 AND COST(85) CLOSE AND 控盘 0,控盘,0),COLORFF00FF,NODRAW;
STICKLINE(控盘 REF(控盘,1) AND 控盘 0,控盘,0,1,0),COLOR00FF00;
主力出货:IF(控盘 REF(控盘,1) AND 控盘 0,控盘,0),COLOR00FF00,NODRAW;
A1111:=FINANCE(42);
A211:=DATETODAY(CONST(DATE));
A311:=A211-A1111;
XDATE:=DAYTODATE(A311)+19000000;
上市日期:=STRCAT('上市日期:',CON2STR(XDATE,0));
SSTS1:=STRCAT('上市',CON2STR(FINANCE(42),0));
SSTS2:=STRCAT(SSTS1,'天');
SSTS3:=STRCAT('累计交易:',CON2STR(TOTALBARSCOUNT,0));
SSTS4:=STRCAT(SSTS3,'周期');
W11:=EMA(C,1);
涨停:=W11/REF(W11,1) =1.095;
ZTCS:=COUNT(涨停,BARSSINCE(涨停)+1);
NTZZT1:=STRCAT(' 距今',CON2STR(CONST(BArslAST(涨停)),0));
NTZZT2:=STRCAT(NTZZT1,'天有涨停');
GZT1:=STRCAT(' 共涨停',CON2STR(ZTCS,0));GZT2:=STRCAT(GZT1,'次');
ZTTJ1:=STRCAT(SSTS2,GZT2);
ZTTJ2:=STRCAT(ZTTJ1,NTZZT2);
龙虎榜潜力:=STRCAT('【涨停统计】',ZTTJ2);
ac:=IF(CODELIKE('688'),0,1);
换手:=VOL/CAPITAL*100;
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;
TT:=(V2*1.01-REF(V2,1));
TT2:=(REF(V2*1.01,1)-REF(V2,2));
YY:=TT 3*Abs(TT2);
TT1:=EMA(V2,15);
A111:=COST(85);
A222:=COST(15);
A333:=A111-A222;
A444:=(A111+A222)/2;
筹码:=A333/A444*100 30,LINETHICK0;
BU1:=HHV(HIGH,250);
BU2:=LLV(LOW,250);
BU3:=BU1-BU2;
BU4:=(A444-BU2);
比例:=A444 (BU3*04+BU2),LINETHICK0;
吸筹结束:=筹码 AND 比例;
BU5:=C/REF(C,1) 1.04; {AND V/REF(V,1) { AND H=C;}
主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
主力持仓:=主力持仓% =75 {AND 主力持仓% =91} AND C 0 AND CLOSE OPEN;
强庄:=FILTER(主力持仓 AND 吸筹结束 AND BU4 AND WINNER(C) =0.90 AND BU5 AND C/REF(C,1) 1.092 AND C=H AND C 40 AND AC AND 换手 20 ,10);
X_1:=(2*CLOSE+HIGH+LOW)/4;
X_2:=LLV(LOW,5);
X_3:=HHV(HIGH,5);
X_4:=EMA((X_1-X_2)/(X_3-X_2)*100,5);
X_5:=MA(X_4,2);
X_6:=REF(CLOSE,1)/REF(CLOSE,2) 0.95;
X_7:=X_5 20 AND X_6 AND CLOSE LOW AND OPEN
X_8:=CLOSE/REF(CLOSE,3) 0.95;
X_9:=REF(X_8,1)=1 AND CLOSE/REF(CLOSE,1) 1.025;
X_10:=VOL REF(HHV(VOL,10),1) AND NOT(OPEN=CLOSE) AND HIGH/CLOSE 1.0007;
X_11:=REF(EVERY(MA(CLOSE,5) MA(CLOSE,10),5),1) AND VOL/MA(VOL,10)
X_12:=COUNT(X_7=1,3) 0 AND REF(CLOSE,1) REF(CLOSE,2);
X_13:=VOL/REF(VOL,1) 1.7 AND REF(OPEN,1)
跟庄乾坤:X_9 AND X_10 AND X_11 AND X_12 AND X_13;
DRAWTEXT(跟庄乾坤,10,'--跟庄乾坤'),COLORMAGENTA;
STICKLINE(跟庄乾坤,14,12,3.5,0),COLOR0000FF;
STICKLINE(跟庄乾坤,15,14.9,1.7,0),COLOR0000FF;
STICKLINE(跟庄乾坤,20.11,9.6,0.1,0),COLOR0000FF;
STICKLINE(跟庄乾坤,19.16,9.2,0.3,0),COLOR0000FF;
STICKLINE(强庄,14,12,3.5,0),COLORA8A8A8;
STICKLINE(强庄,15,14.9,1.7,0),COLORA8A8A8;
STICKLINE(强庄,14.9,14.8,1.9,0),COLORA8A8A8;
STICKLINE(强庄,14.8,14.7,2.1,0),COLORA8A8A8;
STICKLINE(强庄,14.7,14.6,2.3,0),COLORA8A8A8;
STICKLINE(强庄,14.6,14.5,2.5,0),COLORA8A8A8;
STICKLINE(强庄,14.5,14.4,2.7,0),COLORA8A8A8;
STICKLINE(强庄,14.4,14.3,2.9,0),COLORA8A8A8;
STICKLINE(强庄,14.3,14.2,3.1,0),COLORA8A8A8;
STICKLINE(强庄,14.2,14.1,3.3,0),COLORA8A8A8;
STICKLINE(强庄,14.1,14.0,3.5,0),COLORA8A8A8;
STICKLINE(强庄,20.11,9.6,0.1,0),COLORWHITE;
STICKLINE(强庄,19.16,9.2,0.3,0),COLORWHITE;
STICKLINE(强庄,19.12,8.8,0.6,0),COLORWHITE;
STICKLINE(强庄,18.8,18.4,0.9,0),COLORWHITE;
STICKLINE(强庄,18.4,18.0,1.2,0),COLORWHITE;
STICKLINE(强庄,18.0,15.0,1.4,0),COLORWHITE;
STICKLINE(强庄,17.4,17.0,0.6,0),COLORRED;
STICKLINE(强庄,16.5,16.4,1.5,0),COLORBLUE;
STICKLINE(强庄,15.1,14.9,1.5,0),COLORBLUE;
STICKLINE(强庄,14.9,12.5,1.5,0),COLORWHITE;
STICKLINE(强庄,12.5,12.0,1.3,0),COLORRED;
STICKLINE(强庄,12.0,11.3,1,0),COLORRED;
STICKLINE(强庄,11.3,10.7,0.7,0),COLORRED;
STICKLINE(强庄,10.77,10.1,0.3,0),COLORRED;
STICKLINE(强庄,12.4799999,12.1799999,1,0),COLORYELLOW;
STICKLINE(强庄,12.1799999,11.8799999,0.5,0),COLORYELLOW;
STICKLINE(强庄,11.8799999,11.58,0.1,0),COLORYELLOW;
STICKLINE(强庄,16.0,15.5,0.5,0),COLORRED;