VAR1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1) ;
VAR4:=SMA(VAR3,3,1);
VAR5:=FILTER(CROSS(VAR3,VAR4) AND VAR3<20,25)=1;
VAR6:=0.812*MA(FORCAST(CLOSE,2),34)*1.05;
VAR7:=(LOW<VAR6 OR LOW=VAR6);
VAR8:=(CLOSE<VAR6 OR CLOSE=VAR6);
狙击点:=CROSS(CLOSE,VAR6);
百年不遇:=VAR7 AND VAR5 OR VAR8 AND VAR5 OR 狙击点 AND VAR5;
金子:=IF(百年不遇,6,0),COLOR80FFFF,NODRAW;
VAR9:=LLV(LOW,3)<=LLV(LOW,60);
VAR10:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
十年不遇:=IF(VAR9 AND VAR10,90,0);
VAR11:=EMA(CLOSE,6)-EMA(CLOSE,13);
VAR12:=EMA(VAR11,5);
VAR13:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR14:=SMA(VAR13,3,1);
VAR15:=SMA(VAR14,3,1);
五年不遇:=CROSS(VAR11,VAR12) AND CROSS(VAR14,VAR15);
XG:=五年不遇 AND 十年不遇;
STICKLINE(XG,0,6,2,0),COLOR80FFFF;