ZF:=(1-REF(C,1)/C)*100;
STZF:=(1-REF(C,3)/C)*100;
VAR1:=(3*C+H+L+O)/6;
VAR2:=7*REF(VAR1,1);
VAR3:=6*REF(VAR1,2);
VAR4:=5*REF(VAR1,3);
VAR5:=4*REF(VAR1,4);
VAR6:=3*REF(VAR1,5);
VAR7:=2*REF(VAR1,6);
VAR8:=REF(VAR1,8);
VAR9:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
VAR10:=SMA(VAR9,2,1);
VAR11:=SMA(VAR10,2,1);
VAR12:=3*VAR10-2*VAR11;
VARA:=crOSS(VAR12,0)AND(H>=(1-9/100)*MA(C,10));
短线航标:=(8*VAR1+VAR2+VAR3+VAR4+VAR5+VAR6+VAR7+VAR8)/36,LINETHICK3,COLORRED;
VAR14:=0.01*EMA(AMOUNT,13)/EMA(vol,13);
拉升线:=(CLOSE-VAR14)/VAR14*1000,COLORRED;
红钻:ZF>9 AND STZF< 18 AND 短线航标>=REF(短线航标,1) AND (拉升线-REF(拉升线,1)>70) AND REF(拉升线,1)< 50;