A1C:=HHV(HIGH,25);
A2C:=LLV(LOW,25);
A3C:=LLV(LOW,10);
AA1C:=COUNT(CROSS((A1C-A2C)/EMA((CLOSE-A2C),5),EMA((CLOSE-A2C)/(A1C-A2C)*100,5)),7)>0;
AA2C:=REF((A1C-A2C)/EMA((CLOSE-A2C),5),2)<REF((A1C-A2C)/EMA((CLOSE-A2C),5),1);
AA3C:=(A1C-A2C)/EMA((CLOSE-A2C),5)<REF((A1C-A2C)/EMA((CLOSE-A2C),5),1);
AA7C:=CROSS(EMA((((CLOSE-A3C)/(A1C-A3C))*4),4),0.3);
好股网:=AA1C AND AA2C AND AA3C OR AA7C;
BIAS1C:=(C-MA(C,6))/MA(C,6)*100;
BIAS2C:=(C-MA(C,12))/MA(C,12)*100;
BIAS3C:=(C-MA(C,24))/MA(C,24)*100;
BIASC:=(BIAS1C+2*BIAS2C+3*BIAS3C)/6;
乖离:=MA(BIASC,3);
VAR2E:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR3E:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR4E:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5E:=(VAR2E+2*VAR3E+3*VAR4E)/7;
VAR6E:=MA(VAR5E,1);
三点共振:=VAR6E<=-8 AND CROSS(BIASC,乖离) AND 乖离<-9.5 AND 好股网;
STICKLINE(三点共振,09,10,2,0),COLORYELLOW ;