A:=VOL*CLOSE;

B:=SUM(A,1)/SUM(VOL,1);

B1:=EMA(B,17);

进:=STICKLINE(((B-B1)*1500/B)>=0 AND 0>=REF(0,1),0,((B-B1)*1500/B),2,1),COLORRED;

出:=STICKLINE(((B-B1)*1500/B)<0 AND 0>=REF(0,1),0,((B-B1)*1500/B),2,1),COLORGREEN;

主力突破:=(B-B1)*1500/B COLORRED,NODRAW;

{100;}

XG:=主力突破>70;

DRAWICON(主力突破>70 AND NOT(L=H)AND 主力突破>REF(主力突破,1) ,主力突破,16);

N:=8;

M:=13;

P:=60;

S:=3;

V1:=(C*2+H+L)/4*10;

V2:=EMA(V1,13)-EMA(V1,34);

V3:=EMA(V2,5);

V4:=2*(V2-V3)*5.5;

超大主力吃:= IF(V4>=0,V4,0),COLORYELLOW,LINETHICK3;

超大主力吐:= IF(V4<=0,V4,0),COLOR66FF00,LINETHICK3;

V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;

V6:=EMA(3*V5-2*SMA(V5,18,1),5);

V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;

V8:=(INDEXC*2+INDEXH+INDEXL)/4;

V9:=EMA(V8,13)-EMA(V8,34);

VA:=EMA(V9,3);

VB:=(V9-VA)/2;

超大主力吃线:=28,COLORFF80FF,LINETHICK3;

STICKLINE((XG AND TIME<=0932),L,L*44444,200,0),COLORGREEN;

{}

主力持仓:=AMOUNT/10000;

主力成交量: FINANCE(33), POINTDOT,COLORFFCC66;

RREE1:=REF(C,1);

RREE2:=(RREE1-L)/(H-L);

RREE3:=主力持仓*RREE2;

RREE4:=V*RREE2;

RREE5:=ABS(RREE4);

RREE6:=ABS(RREE3);

RREE7:=ABS(主力持仓-RREE6);

金色:=ABS(V-RREE5)/100,COLOR00FFFF;

VV1:=RREE3/100,COLORFF00FF;

VV2:=主力持仓/1000,COLOR00FF00;

VV3:=ABS(V-RREE3)/V*100,COLORC0C0C0;

STICKLINE(C>0 AND TIME<=0933,0,RREE6,2,0),COLORYELLOW;

VV4:=100*V/CAPITAL,COLORRED;

VV5:=MA(AMOUNT/10000,5),COLOR00FFFF;

VV6:=MA(AMOUNT/10000,24),COLORFF00FF;

VV7:=MA(AMOUNT/10000,60),COLOR00FF00;

{STICKLINE(VV4<3,RREE6,主力持仓 ,2,0),COLORRED;}

STICKLINE(VV4>=3 AND TIME<=0933 AND VV4<7,RREE6, 主力持仓*999,2,0),COLORYELLOW;

STICKLINE(VV4>=7 AND TIME<=0933,RREE6, 主力持仓*999,2,0) ,COLORYELLOW;