金银山主线
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
JJA:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/211,COLORYELLOW;
JJB:MA(JJA,6),COLORRED;
X1:=100*(HHV(C,2)/REF(DMA(C,0.1),1)-1);
X2:DRAWICON(HHV(X1,2) 15 AND CROSS(REF(X1,1),X1) AND C O AND FROMOPEN 0,H*1.02,2);