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);
GUP1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=SMA(GUP3,3,1);
波:=GUP3,COLORWHITE;
段:=GUP4,COLORYELLOW;
GUP7:=crOSS(GUP4,GUP3) AND GUP3
STICKLINE(FILTER(GUP7,5)=1,0,70,1,0),COLORLIGREEN ;
DRAWTEXT(FILTER(GUP7,5)=1,50,' 卖'),LINETHICK1,COLORFFCC66;
趋势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),DOTLINE,COLORGRAY;
GUP8:=CROSS(GUP2,GUP3) AND GUP3 80 AND GUP3 GUP4;
GUP9:=CROSS(趋势1,GUP2) AND 趋势1 20 AND 趋势1
分批卖出:STICKLINE(GUP8,50,90,1,0),COLOR008360;
分批买入:STICKLINE(GUP9,40,0,1,0),COLOR000080;
NOTEXT1:90,COLORGRAY,DOTLINE;
NOTEXT:=0,COLORYELLOW ;
GUP01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
GUP02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
GUP03:=CROSS(GUP02,GUP01);
GUP04:=REF(GUP02,2) REF(GUP02,1) AND GUP02 REF(GUP02,1);
GUP05:=COUNT(GUP03,7) 0 AND GUP04;
GUP06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUP07:=SMA(Abs(LOW-GUP06),13,1)/SMA(MAX(LOW-GUP06,0),10,1);
GUP08:=EMA(GUP07,10);
源码有点长未粘贴完......请下载附件