换手:=V*100/CAPITAL;
主力:=MA(换手,4);
大户:=MA(换手,9);
均量:=(主力+大户)/2;
主力能量:=(主力-均量);
大户能量:=(大户-均量);
当日意愿:=(Abs(主力能量)+ABS(大户能量))*10;
VAR1:=(C-MA(C,6))/MA(C,6)*100;
VAR2:=(C-MA(C,24))/MA(C,24)*100;
VAR3:=(C-MA(C,32))/MA(C,32)*100;
VAR4:=(VAR1+VAR2+VAR3)/3;
VAR5:=EMA(VAR4,5);
VAR6:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
VAR7:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
VAR8:=VAR7<REF(VAR7,1) AND V>REF(V,1) AND C>REF(C,1);
K:=EMA(VAR5,5)*4;
D:=EMA(K,5);
J:=K*3-D*2;
机构意愿:主力能量,NODRAW;
STICKLINE(VAR6=LLV(VAR6,3),-80,-95,3,0),COLORGREEN;
STICKLINE(LLV(VAR6,3)<VAR6,-80,-95,3,0),COLORRED;
STICKLINE(J<D,-55,-70,3,0),COLORCYAN;
STICKLINE(J>D,-55,-70,3,0),COLORMAGENTA;