MA5:MA(CLOSE,5)DOTLINE COLORWHITE;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+ 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6);
ACBL:(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10;
ACbs:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(vol,5)/(3*CAPITAL)))),COLORWHITE,DOTLINE;
STICKLINE(C>O,C,O,2.8,0),COLORRED;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
主力成本:EMA(X,13),COLORFF00FF,LINETHICK0;
短期底部:LLV(HIGH,30),LINETHICK2,COLORFFCC00;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
ABC1:=LLV(LOW,21);
ABC2:=HHV(HIGH,21);
AAC1:=EMA((((CLOSE - ABC1) / (ABC2 - ABC1)) * 100),5);
AAC:=EMA((((CLOSE - ABC1) / (ABC2 - ABC1)) * 50),13);
AB:=crOSS(AAC1,AAC);
ABC3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
ABC4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)< 1.01) AND (ABC3AA>0),91,0);
DRAWTEXT(FILTER((ABC4AA>90),35),(LOW)*(0.99000001),'★博涨'),COLOR00FFFF;
STICKLINE(FILTER((ABC4AA>90),35),C,O,2,0),COLORMAGENTA;
DRAWICON(FILTER((ABC4AA>90),35),L,9);