N:=9;VAR1:=(C-REF(C,1))/REF(C,1);VAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);:=EMA(SUM(VAR1,20),5);:=EMA(SUM(VAR2,20),5);领涨:=(个股-大盘)>=0;Var3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;Var4:=(Var3,72,1);Var5:=SMA(Var4,34,1);:=3*Var4-2*Var5;中线趋势升:=(中线趋势-REF(中线趋势,1))>=0;均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;均十升:=(MA(C,10)-REF(MA(C,10),1))>=0;STICKLINE(均五升 AND 均十升 AND 中线趋势升,0+0.5,0-0.5,6,1),colorffff00,linethick4;:IF(均五升 AND 均十升 AND 中线趋势升 AND 领涨,4,0),colorff99ff;VAR6:=(2*C+H+L)/4;VAR7:=LLV(L,n);VAR8:=HHV