DBQW1:=(-(HHV(EMA(C,5),14)-C)/C*5000);
DBQW2:=(CLOSE+LOW+3*OPEN+HIGH)/6;
DBQW3:=(20*DBQW2+19*REF(DBQW2,1)+18*REF(DBQW2,2)+17*REF(DBQW2,3)+16*REF(DBQW2,4)+15*REF(DBQW2,5)+14*REF(DBQW2,6)+13*REF(DBQW2,7)+12*REF(DBQW2,8)+11*REF(DBQW2,9)+10*REF(DBQW2,10)+9*REF(DBQW2,11)+8*REF(DBQW2,12)+7*REF(DBQW2,13)+6*REF(DBQW2,14)+5*REF(DBQW2,15)+4*REF(DBQW2,16)+3*REF(DBQW2,17)+2*REF(DBQW2,18)+REF(DBQW2,20))/210;
DBQW4:=MA(DBQW3,6);
DBQW5:=(DBQW3-DBQW4)*1.2;
DBQW6:=(O*2+H+L)/4*10;
DBQW7:=EMA(DBQW6,6)-EMA(DBQW6,55);
DBQW8:=EMA(DBQW7,6);
DBQW9:=(DBQW7-DBQW8)*0.06;
DBQW10:=DBQW5+DBQW9;
DBQW11:=DBQW10>0;
DBQW15:=MA(O,3)>=MA(O,13) AND MA(O,34)>=REF(MA(O,34),1);
DBQW16:=EMA(O,12);
DBQW17:=EMA(O,50);
DBQW18:=DBQW16-DBQW17>0;
DBQW19:=C/REF(C,1)-1;
DBQW20:=IF(DBQW15,2,0)+IF(DBQW11,2,0)+IF(DBQW18,2,0)+DBQW19;
DBQW21:=(DBQW20/10+DBQW1/1000)*100*2;
DBQW22:=(DBQW21-LLV(DBQW21,9))/(HHV(DBQW21,9)-LLV(DBQW21,9))*100;
DBQW23:=SMA(DBQW22,3,1);
动能线1:SMA(HHV(REF(DBQW23,1),5),3,2),COLOR00FF00,LINETHICK2;
动能线2:SMA(LLV(REF(DBQW23,1),5),3,2),COLOR0000FF,LINETHICK2;
DBQW24:=LLV(LOW,3)<=LLV(LOW,60);
DBQW25:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
DBQW26:=V/CAPITAL*100>5;
底部企稳:IF(DBQW24 AND DBQW25 AND DBQW26,60,0) ,COLORFFFF00,LINETHICK2;