NN:=(3*CLOSE+OPEN+LOW+HIGH)/6;
VAR1:=(20*NN+19*REF(NN,1)+18*REF(NN,2)+17*REF(NN,3)+16*REF(NN,4)+15*REF(NN,5)+14*REF(NN,6) +13*REF(NN,7)+12*REF(NN,8)+11*REF(NN,9)+10*REF(NN,10)+9*REF(NN,11)+8*REF(NN,12) +7*REF(NN,13)+6*REF(NN,14)+5*REF(NN,15)+4*REF(NN,16)+3*REF(NN,17)+2*REF(NN,18)+ REF(NN,20))/210 COLORYELLOW;
AA:=C>MA(C,VAR1);
资金:=100*(CLOSE-REF(CLOSE,9))/REF(CLOSE,9);
MA资金:=MA(资金,5);
主力:=SUM(H,12)/SUM(L,12)-1;
MA主力:=MA(主力,6);
资金线:=MA((主力-资金),1)*-1.00,LINETHICK2,COLORRED;
ABC2:=EMA(资金线,6),LINETHICK2,COLORWHITE;
XG:crOSS(资金线, ABC2) AND AA,COLORMAGENTA;