HGW1:=72;
HGW2:=100-3*SMA((C-LLV(L,HGW1))/(HHV(H,HGW1)-LLV(L,HGW1))*100,20,1)+2*SMA(SMA((C-LLV(L,HGW1))/(HHV(H,HGW1)-LLV(L,HGW1))*100,20,1),15,1);
HGW3:=EMA(AMOUNT/VOL/100,5);
HGW4:=EMA(AMOUNT/VOL/100,13);
HGW5:=HGW3-HGW4;
活筹OAMV:HGW2,COLORBLUE,LINETHICK2;
势能:IF(1000*HGW5/HGW3>0,1000*HGW5/HGW3,0),COLORFF44FF,LINETHICK2;
HGW6:=CROSS(势能,活筹OAMV);
HGW7:=(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20))*100;
HGW8:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,13)-LLV(LOW,13))*100;
HGW9:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
HGW10:=SMA(HGW9,3,1);
HGW11:=SMA(HGW10,3,1);
DRAWTEXT(HGW6,H*1.03,'涨在即'),COLORRED;
做多资金:SMA(HGW8,8,1)-2,LINETHICK2,COLORRED;
做空资金:SMA(HGW7,6,1)-7,NODRAW;
HGW26:=ATAN((MA(HGW11,10)/REF(MA(HGW11,10),1)-1)*100)*180/3.1416;
HGW28:=CROSS(HGW26,做空资金);
DRAWTEXT(HGW28,做空资金,'拐点'),COLOR00FFFF;
DRAWICON(CROSS(做多资金,活筹OAMV),做多资金,5);
50,COLORWHITE;