机构持仓:-100*(1-WINNER(CLOSE)),colorlimagenta,LINETHICK1;
VAR2:=1/WINNER(CLOSE);
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,120);
VAR6:=HHV(HIGH,120);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,10,1);
VARB:=3*VAR9-2*SMA(VAR9,10,1);
VARC:=100-VARB;
持仓:-(100-VARA),coloryellow,LINETHICK1;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
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;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
V12:=(EMA(V11,3)-REF(EMA(V11,3),1))/REF(EMA(V11,3),1)*100;
准备下手:STICKLINE(EMA(V11,3) =13,0,20,5,0),coloryellow;
AA:=(EMA(V11,3) =13) AND FILTER((EMA(V11,3) =13),15);
DRAWTEXT (AA,-10, 准备下手 ),coloryellow;
主力进:STICKLINE(EMA(V11,3) =13 AND V12 13,0,10,5,0),colorred;
BB:= (EMA(V11,3) =13 AND V12 13) AND FILTER((EMA(V11,3) =13 AND V12 13),10);
DRAWTEXT (BB,35, 主力进 ),colorred;
STICKLINE(BB,0,50,1,0),colorred;
卖出警戒: STICKLINE(EMA(V11,3) 60 AND EMA(V11,3) REF(EMA(V11,3),1),100,95,15,1),colorgreen;
CC:=(EMA(V11,3) =90 AND V12) AND FILTER((EMA(V11,3) =90 AND V12),10);
DD:=(EMA(V11,3) =120 AND V12) AND FILTER((EMA(V11,3) =120 AND V12),10);
STICKLINE(IF(VB =0,VB,0) AND EMA(V11,3) 13,0,10,10,0),colorlimagenta;
STICKLINE(IF(VB =0,VB,0) AND EMA(V11,3) 90,0,10,10,0),colorgreen;
STICKLINE( IF(V4 =0,V4,1) AND EMA(V11,3) 13,0,10,10,0),COLORFF00FF;
STICKLINE(IF(V4 =0,V4,1) AND EMA(V11,3) 90,0,10,10,0),colorliblue;
DRAWTEXT (CC,33, 逐步减仓 ),colorliblue;