x:=(3*C+L+O+H)/6;A0X:=REF(EMA(C,14),1);A1X:=(EMA(C,10)-A0X)/A0X*100;A2X:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1));多空线:=(20*x+19*REF(x,1)+18*REF(x,2)+17*REF(x,3)+16*REF(x,4)+15*REF(x,5)+14*REF(x,6)+13*REF(x,7)+12*REF(x,8)+11*REF(x,9)+10*REF(x,10)+9*REF(x,11)+8*REF(x,12)+7*REF(x,13)+6*REF(x,14)+5*REF(x,15)+4*REF(x,16)+3*REF(x,17)+2*REF(x,18)+REF(x,20))/210,coloryellow;持币:=HHV(MA(MA((LOW+HIGH+CLOSE)/3,4),3*1),2);持股:=LLV(MA(MA((LOW+HIGH+CLOSE)/3,4),3