A:=VOL*CLOSE;
B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,17);
主力:=(B-B1)*100/B,COLORRED;
进:STICKLINE(主力 =0 AND 0 =REF(0,1),20,主力+20,0.8,0),COLORLIRED;
出:STICKLINE(主力 0 AND 0 =REF(0,1),20,主力+20,0.8,0),COLORGREEN;
AA:=WINNER(C+C*15/100)*100;
BB:=WINNER(C+C*0/100)*100;
CC:=AA-BB;
DD:=(WINNER(C-C*0.1/100)-WINNER(C-C*15/100))*100;
EE:=CC 3 AND DD 0.5 AND O { }
A1:=DYNAINFO(6);
A2:=IF(L A1,0,IF(H A1,1,(A1-L+0.01)/(H-L+0.01)));
A3:=V/WINNER(L);
A4:=REF(HHV(C,120),1);
A5:=REF(LLV(C,120),1);
A6:=100*(C-A5)/(A4-A5);
A7:=A2 0 OR A2=1;
A8:=A7 AND A3/REF(A3,3) =3 AND A6
A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
YM:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48);
A10:=A8 AND A9;
A11:=IF(FILTER(A8,3) AND H YM,5,0);
A12:=IF(FILTER(A10,3) OR EE,10,0);
进J:STICKLINE(A11,20,27,1,0),COLORFF7700;
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL 2*REF(VOL,1) AND CLOSE VAR1;
LJL:=FILTER(TJ1,5);
TJ2:=IF(BARSLAST(LJL)=1 AND CLOSE REF(HIGH,1),1,IF(BARSLAST(LJL)=2 AND CLOSE REF(HIGH,2),1,IF(BARSLAST(LJL)=3 AND CLOSE REF(HIGH,3),1,0)));
TP:=TJ2=1;
{STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),6,0),COLORYELLOW;}
TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE REF(LOW,1),1,IF(BARSLAST(LJL)=2 AND CLOSE REF(LOW,2),1,IF(BARSLAST(LJL)=3 AND CLOSE REF(LOW,3),1,0)));
STFZ:=TJ3=1;
CL:=STFZ AND TP;
TJCL:=FILTER(CL,3);
DRAWTEXT(LJL,主力*1.69+20,'I'),COLORYELLOW;
DRAWTEXT(LJL,主力*1.39+20,'I'),COLORYELLOW;
DRAWTEXT(LJL,主力*0.90+20,'I'),COLORYELLOW;
STICKLINE(LJL,20,主力+20,0.8,0),COLORMAGENTA;
MTR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD 0 HD LD,HD,0),N);
DMM:=SUM(IF(LD 0 LD HD,LD,0),N);
PDI: DMP*100/MTR,COLORRED,LINETHICK2;
MDI: DMM*100/MTR,COLORGREEN,LINETHICK2;
ADX:= MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:=(ADX+REF(ADX,M))/2;
MB1:=EMA(WINNER(C)*350,5),COLORYELLOW;
MB2:=EMA(MB1,2),COLORBLUE;
MB3:=EMA(MB2,2),COLORBLUE;
MB4:=EMA(MB3,2),COLORBLUE;
MB5:=EMA(MB4,2),COLORBLUE;
MB6:=EMA(MB5,2),COLORBLUE;
MB7:=EMA(MB6,2),COLORBLUE;
MB8:=EMA(MB7,2),COLORBLUE;
MB9:=EMA(MB8,2),COLORBLUE;
MB10:=EMA(MB9,2),COLORBLUE;
MB11:=EMA(MB10,2),COLORBLUE;
MB12:=EMA(MB11,2),COLORBLUE;
MB13:=EMA(MB12,2),COLORBLUE;
MB14:=EMA(MB13,2),COLORBLUE;
N1:=5;
VAR2:=MB1;
VAR3:= DRAWLINE(VAR2 =HHV(VAR2,N1)=1,VAR2,VAR2 =LLV(VAR2,N1)=1,VAR2,1);
XG:=REF(VAR2,1)=REF(VAR3,1) AND VAR2 REF(VAR2,1);
STICKLINE(VAR2=VAR3 AND VAR2 MB4,30,主力+20,1,0)COLORYELLOW;
STICKLINE(XG,30,主力+20,1,0),COLORRED;