ZT:=C/REF(C,1)>1.095 AND C=H;
VAR0:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3);
VAR1:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5);
VAR2:=(CLOSE-REF(CLOSE,20))/REF(CLOSE,20);
VAR3:=(CLOSE-REF(CLOSE,60))/REF(CLOSE,60);
VAR4:=(CLOSE-REF(CLOSE,120))/REF(CLOSE,120);
VAR5:=(CLOSE-REF(CLOSE,250))/REF(CLOSE,250);
VAR6:=(CLOSE-REF(CLOSE,10))/REF(CLOSE,10);
DP0:=(INDEXC-REF(INDEXC,3))/REF(INDEXC,3);
DP1:=(INDEXC-REF(INDEXC,5))/REF(INDEXC,5);
DP2:=(INDEXC-REF(INDEXC,20))/REF(INDEXC,20);
DP3:=(INDEXC-REF(INDEXC,60))/REF(INDEXC,60);
DP4:=(INDEXC-REF(INDEXC,120))/REF(INDEXC,120);
DP5:=(INDEXC-REF(INDEXC,250))/REF(INDEXC,250);
DP6:=(INDEXC-REF(INDEXC,10))/REF(INDEXC,10);
RS3:=VAR0-DP0;
RS5:=VAR1-DP1;
RS10:=VAR6-DP6;
RS20:=VAR2-DP2;
RS60:=VAR3-DP3;
RS120:=VAR4-DP4;
RS250:=VAR5-DP5;
凤翼:(6*RS3+5*RS5+4*RS20+3*RS60+2*RS120+RS250)/21*25,LINETHICK2,COLORRED;
NOTEXTS:3.5,DOTLINE,COLORGREEN;
XG:=crOSS(凤翼,3.5) AND COUNT(EVERY(ZT,4),20)=0;
DRAWTEXT(XG,2.5,'▲凤翼天翔'),COLORYELLOW;