C1:=EMA(INDEXC,125)/EMA(C,125);
D4:=INDEXC/C1;
SYL:=MA(REF(HHV(CLOSE,26),1),2);
MIDA:=MA(C,26);
VART1:=POW((C-MIDA),2);
VART2:=MA(VART1,13);
VART3:=SQRT(VART2);
UPPERA:=MIDA+2*VART3;
SYL2:=REF(UPPERA,1);
HHH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210;
HNX9:=EMA(HHH,90);
{}
线上阳光:=((CROSS(C,SYL) AND C>REF(UPPERA,1)) OR (C>SYL AND CROSS(C,REF(UPPERA,1)))) AND C/O>0.998 ;
XG:线上阳光 AND C/REF(C,1)>1.027 ;