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);
GOOD1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
GOOD2:=SMA(GOOD1,3,1);
GOOD3:=SMA(GOOD2,3,1);
GOOD4:=SMA(GOOD3,3,1);
波:=GOOD3,COLORWHITE;
段:=GOOD4,COLORYELLOW;
GOOD7:=CROSS(GOOD4,GOOD3) AND GOOD3>80;
STICKLINE(FILTER(GOOD7,5)=1,0,70,1,0),COLORLIGREEN ;
DRAWTEXT(FILTER(GOOD7,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;
GOOD8:=CROSS(GOOD2,GOOD3) AND GOOD3>80 AND GOOD3>GOOD4;
GOOD9:=CROSS(趋势1,GOOD2) AND 趋势1<20 AND 趋势1<段;
分批卖出:STICKLINE(GOOD8,50,90,1,0),COLOR008360;
分批买入:STICKLINE(GOOD9,40,0,1,0),COLOR000080;
NOTEXT1:90,COLORGRAY,DOTLINE;
NOTEXT:=0,COLORYELLOW ;
GOOD01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
GOOD02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
GOOD03:=CROSS(GOOD02,GOOD01);
GOOD04:=REF(GOOD02,2)GOOD05:=COUNT(GOOD03,7)>0 AND GOOD04;
GOOD06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GOOD07:=SMA(ABS(LOW-GOOD06),13,1)/SMA(MAX(LOW-GOOD06,0),10,1);
GOOD08:=EMA(GOOD07,10);
GOOD09:=EMA(C,5);
GOOD10:=LLV(LOW,33);
GOOD11:=EMA(IF(LOW<=GOOD10,GOOD09,0),3)*40;
GOOD12:=IF(GOOD11>100,GOOD11*0.312,GOOD11);
资金入场:GOOD02,COLORRED;
GUB1:=REF(LOW,1);
GUB2:=SMA(ABS(LOW-GUB1),13,1)/SMA(MAX(LOW-GUB1,0),13,1)*4;
GUB3:=EMA(GUB2,13);
GUB4:=LLV(LOW,34);
GUB5:=EMA(IF(LOW<=GUB4,GUB3,0),3);
GUB6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUB7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUB8:=GUB6REF(VOL,1) AND CLOSE>REF(CLOSE,1);
散户:STICKLINE(GUB5>REF(GUB5,1),0,GUB5,0.5,0),COLORGREEN;
STICKLINE(GUB8 AND COUNT(GUB8,30)=1,0,18,0.5,0),COLORBLUE;
STICKLINE(GUB8 AND COUNT(GUB8,30)=1,18,36,0.5,0),COLORFF7700;
STICKLINE(GUB8 AND COUNT(GUB8,30)=1,36,60,1,0),COLORYELLOW;
DRAWTEXT(GUB8 AND COUNT(GUB8,30)=1,80,'主力进场★'),COLORYELLOW;