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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=1ANDC
DY2:=REF(V2,1)-DY;
XG2:=C OANDDY2 0.02ANDMA(C,5) MA(C,60)ANDC/REF(C,1) =1.02ANDH
{DRAWTEXT(XG2,L, ▲抓⽜ ),COLORYELLOW;}
DRAWTEXT(XG2ANDL
超B:=L2_AMO(0,2)/10000.0;
⼤B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
⼩B:=L2_AMO(3,2)/10000.0;
超S:=-L2_AMO(0,3)/10000.0;
⼤S:=-L2_AMO(1,3)/10000.0;
中S:=-L2_AMO(2,3)/10000.0;
⼩S:=-L2_AMO(3,3)/10000.0;
TESTSKIP(NOT(超BOR⼤BOR中BOR⼩BOR超SOR⼤SOR中SOR⼩S)!=0);
净流⼊:=(超B+⼤B+中B+⼩B)+(超S+⼤S+中S+⼩S);
⼤宗净流⼊:=(超B+⼤B)+(超S+⼤S);
超⼤单:=(超B)+(超S);
⼤单:=(⼤B)+(⼤S);
中单:=(中B)+(中S);
⼩单:=(⼩B)+(⼩S);
⼤宗进:=(超B)+(⼤B);
⼤宗出:=(超S)+(⼤S);
⾮⼤宗进:=(中B)+(⼩B);
⾮⼤宗出:=(中S)+(⼩S);
资⾦流向:=(超B+⼤B+中B+⼩B)+(超S+⼤S+中S+⼩S);
近5⽇流向:=SUM(资⾦流向,5);
近10⽇流向:=SUM(资⾦流向,10);
主⼒资⾦
线:=(L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1))/100.0,LINETHICK2;
主⼒买⼒度:=LARGEINTRDVOL*100/VOL;
主⼒卖⼒度:=LARGEOUTTRDVOL*100/VOL;
AAB:=CONST(MAX(ABS(超⼤单),MAX(ABS(⼤单),MAX(ABS(中单),ABS(⼩单))))),NODRAW;
DRAWRECTREL(5,CONST(830-(ABS(超⼤
单)*500/AAB))/2,35,460,IF(CONST(超⼤
单) 0,RGB(255,0,255),RGB(0,255,255)));
DRAWRECTREL(40,CONST(830-(ABS(⼤单)*500/AAB))/2,70,460,IF(CONST(⼤单) 0,RGB(255,0,255),RGB(0,255,255)));
DRAWRECTREL(75,CONST(830-(ABS(中单)*500/AAB))/2,105,460,IF(CONST(中单) 0,RGB(255,0,255),RGB(0,255,255)));
DRAWRECTREL(110,CONST(830-(ABS(⼩单)*500/AAB))/2,140,460,IF(CONST(⼩单) 0,RGB(255,0,255),RGB(0,255,255)));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.007,0.46,0, 超户⼤户中户散
户 ),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.007,0.4,0,INTPART(超⼤
单)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.042,0.4,0,INTPART(⼤单)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.076,0.4,0,INTPART(中单)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.112,0.4,0,INTPART(⼩单)),COLORWHITE;
TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
:=C TYX3
AND(C-REF(C,1))*100/REF(C,1) =(10-0.01*100/REF(C,1)),COLORRED;
A111:=COST(85);
A222:=COST(15);
A333:=A111-A222;
A444:=(A111+A222)/2;
单峰密集:=A333/A444*100 30,LINETHICK0;
{A5:=A3/A4*100 }
B1:=HHV(HIGH,250);
B2:=LLV(LOW,250);
B3:=B1-B2;
B4:=(A444-B2);
低位:=A444 (B3*04+B2),LINETHICK0;
低位单峰密集:=单峰密集AND低位;
B5:=C/REF(C,1) 1.04;{ANDV/REF(V,1) {ANDH=C;}
主⼒持
仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
主⼒持仓⼤于75%:=主⼒持仓% =75{AND主⼒持仓% =91}ANDC 0ANDCLOSE OPENANDC=H;
敢死吗:=主⼒持仓⼤于75%AND低位单峰密集ANDB4AND
WINNER(C) =0.91ANDB5,COLORGREEN,LINETHICK3;
{DRAWTEXT(FILTER(敢死吗=1,5),L, ----敢死吗 ),COLORGREEN;}DRAWICON(FILTER(敢死吗=1,5),L*0.995,25);
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
AAA上:=IF(AAA1 REF(AAA1,1),AAA1,DRAWNULL);
AAA下:=IF(AAA1
买:=13;
⼊:=AAA1-REF(AAA1,1);
正⼤:=CROSS(⼊,买);
DIF2:=EMA(DCLOSE,10)-EMA(DCLOSE,72);
DEA2:=EMA(DIF2,17);
AAA:=(DIF2-DEA2)*2*60;
⼊2:=AAA-REF(AAA,1);
⽜股:=CROSS(⼊2,13);
正⼤⽜股:=正⼤AND⽜股;
DRAWICON(正⼤⽜股,L*0.99,1);
VAR1:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;
VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;VAR3:=SMA(VAR2,3,1);
天:=100+(-ABS(VAR1)),COLORRED;
下:=SMA(VAR3,2,1);
⽆:=ABS(VAR1),COLORGREEN;
敌:=50,COLORFFAA00,LINETHICK3;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;卖:=CROSS(90,操作线);
DRAWICON(卖,H*1.01,8);
绝底线:=5;
买阴线1:操作线 5ANDZD1 ZD2ANDL
DRAWICON(买阴线1,L*0.98,7);
买阴线2:操作线 5ANDZD1
DRAWICON(买阴线2,L*0.995,7);
DRAWTEXT_FIX(1,0.20,0.88,0,HYBLOCK),COLORGREEN;
DRAWTEXT_FIX(1,0.20,0.94,0,EXTERNSTR(0,3))COLORFF88FF;