MA200:=EMA(CLOSE,20);
MA400:=EMA(CLOSE,40);
MA600:=EMA(C,60);
AA:=BARSLAST(MA400>MA600 AND (MA200=MA400 OR MA200>MA400));
BB:=REF(COUNT(C<MA600,AA)=AA,1);
CC:=CROSS(C,MA600) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;
芙蓉出水:=BB AND CC;
STICKLINE(芙蓉出水,C,O,2,0),COLORYELLOW;
DRAWTEXT(芙蓉出水,L-L*0.0005,'芙蓉出水'),COLORYELLOW;
N1:=10;
TK:=CONST(HHVBARS(V,10)),COLOR0000FF,LINETHICK1;
量能评台:IF(CURRBARSCOUNT<=N1+3,CONST(IF(TK=0,C,REF(C,TK))),DRAWNULL),COLORGRAY,LINETHICK1;
NOTEXT_新量能点:IF(CURRBARSCOUNT=TK+1,量能评台,DRAWNULL),CIRCLEDOT,COLORFFFFFF,LINETHICK9;
DRAWTEXT(ISLASTBAR,量能评台,'量能评台'),COLORGRAY;
M5:MA(C,5),COLORWHITE;
M20:MA(C,20),COLORMAGENTA;
M5对称:IF(M5>=M20,M20*2-M5,M20*2-M5),COLORYELLOW;
(M5+M20)/2,COLORGRAY;
(M5对称+M20)/2,COLORGRAY;
DRAWKLINE(H,O,L,C);
DRAWTEXT_FIX(1,0.9,0.9,1,'温馨提示:股价在葫芦尾之上要涨,在下要跌'),COLORYELLOW;