GSPT1:=72;GSPT2:=100-3*SMA((C-LLV(L,GSPT1))/(HHV(H,GSPT1)-LLV(L,GSPT1))*100,20,1)+2*SMA(SMA((C-LLV(L,GSPT1))/(HHV(H,GSPT1)-LLV(L,GSPT1))*100,20,1),15,1);GSPT3:=EMA(AMOUNT/VOL/100,5);GSPT4:=EMA(AMOUNT/VOL/100,13);GSPT5:=GSPT3-GSPT4;活筹OAMV:GSPT2,COLORBLUE,LINETHICK2;势能:IF(1000*GSPT5/GSPT3>0,1000*GSPT5/GSPT3,0),COLORFF44FF,LINETHICK2;GSPT6:=CROSS(势能,活筹OAMV);GSPT7:=(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20))*100;GSPT8:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,13)-LLV(LOW,13))*100;GSPT9:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;GSPT10:=SMA(GSPT9,3,1);GSPT11:=SMA(GSPT10,3,1);DRAWTEXT(GSPT6,H*1.03,'涨在即'),COLORRED;做多资金:SMA(GSPT8,8,1)-2,LINETHICK2,COLORRED;做空资金:SMA(GSPT7,6,1)-7,NODRAW;GSPT26:=ATAN((MA(GSPT11,10)/REF(MA(GSPT11,10),1)-1)*100)*180/3.1416; GSPT28:=CROSS(GSPT26,做空资金);DRAWTEXT(GSPT28,做空资金,'拐点'),COLOR00FFFF;DRAWICON(CROSS(做多资金,活筹OAMV),做多资金,5);50,COLORWHITE;