AA:=LLV(LOW,34);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
波:=VAR3,COLORWHITE;
段:=VAR4,COLORYELLOW;
VAR7:=crOSS(VAR4,VAR3) AND VAR3>80;
趋势1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
买点:=(C-REF(C,1))/REF(C,1)*100>=9.97 ;
UUI:=BARSLAST(买点);
MMI:=CROSS(MA(C,5),MA(C,20)) AND UUI<=15;
STICKLINE(MMI,0,15,0,0),COLORMAGENTA;
STICKLINE(MMI,0,1,6,0),COLORMAGENTA;
STICKLINE(MMI,1,2,5,0)COLORYELLOW;
STICKLINE(MMI,2,3,4,0)COLORYELLOW;
STICKLINE(MMI,3,4,3,0)COLORYELLOW;
STICKLINE(MMI,4,5,2,0),COLORMAGENTA;
DRAWICON(MMI,16,18),COLORMAGENTA;
DRAWTEXT(MMI,10,' 新起点'),COLORYELLOW;