DRAWRECTABS(0,0,30,32,rgb(250,60,80)),color000099;
DRAWRECTABS(0,30,30,33,rgb(250,250,80)),colorred;
DRAWTEXTABS(2,15,'肖晓山'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS( 0,45 , bkname),COLORFF00FF;
DRAWTEXTABS(0,30,'流通盘:'+CAPITAL/100+'万股,利润增长:'+FINANCE2(10)+'%。每股收益:'+FINANCE2(3)+'元。' ),COLORFF00FF;
p:=hhv(h,75);
p1:=llv(l,75);
h1:p-(p-p1)*0.191;
h3:p-(p-p1)*0.35765;
h5:p-(p-p1)*0.5;
h6:p-(p-p1)*0.6423;
h8:p-(p-p1)*0.809,COLORBROWN;
绝底:p-(p-p1);
绝顶:p1+(p-p1),COLORRED;
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
drawicon(ref(macd,1)=llv(macd,3),l,7),align1;
V1:=EMA(EMA(EMA(CLOSE,8),13),55);
V2:=(REF(HIGH,1)+REF(LOW,1))/2;
V3:=MA(CLOSE,20)+2*STD(CLOSE,20);
DRAWICON(CROSS(V2,V3),HIGH*1.035,10);
DRAWTEXT(CROSS(V2,V3),HIGH*1.02,'绝顶'),COLORblue;
V4:=REF(CLOSE,1);
V5:=SMA(MAX(CLOSE-V4,0),7,1)/SMA(ABS(CLOSE-V4),7,1)*100;
V6:=CROSS(79,V5);
V7:=FILTER(V6,4);
DRAWICON(V7,HIGH*1.035,10);
DRAWTEXT(V7,HIGH*1.02,'绝顶'),COLORgreen;
R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(R,3,1);
D:=SMA(K,3,1);
DRAWICON(CROSS(D,K),HIGH*1.035,10);
DRAWTEXT(CROSS(D,K),HIGH*1.02,'逃'),COLORgreen;
a1:=ref(c,5)