资金趋势:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),coloryellow,LINETHICK2;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=((VAR2)/(VAR1))*(100)-70;
VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF((VAR9>100),VAR9-100,0);
VAR11:=HHV(HIGH,34);
B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);
机构持仓:EMA(B1,13),POINTDOT,colorred;
XG:机构持仓>REF(机构持仓,1);
STICKLINE(B1-机构持仓>0,B1,机构持仓,5,0),COLOR0000FF;
STICKLINE(B1-机构持仓<0,B1,机构持仓,5,0),COLOR00FF00;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),colorwhite;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),coloryellow;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),colorgreen;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),colorred,LINETHICK3;
20,POINTDOT;
50,POINTDOT;
80,POINTDOT;
单边二十:DRAWTEXT(短期<10 AND 长期>60,(80),'2'),COLORFFFF00;
四线小六:DRAWTEXT(短期<6 AND 中期<6 AND 长期<6,(50),'6'),COLORFFFF00;
四线归零:DRAWTEXT(短期=0 AND 中期=0 AND 长期=0,(20),'0'),COLORFFFF00;
四线穿百:DRAWTEXT(短期=100 AND 中期=100 AND 长期=100,(80),'M'),COLORFFFF00;