涨停板的腰线和底线强支撑
涨停位置:= BARSLAST((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100 9.91 AND (CLOSE-OPEN)/CLOSE*100 6),NODRAW;涨停高点:= IF(CURRBARSCOUNT =CONST(涨停位置)+1,CONST(REF(CLOSE,涨停位置)),DRAWNULL);
涨停底部: IF(CURRBARSCOUNT =CONST(涨停位置)+1,CONST(REF(OPEN,涨停位置)),DRAWNULL),COLORMAGENTA;
涨停腰部: IF(CURRBARSCOUNT =CONST(涨停位置)+1 AND ABS((涨停高点+涨停底部)/2-CLOSE)/CLOSE*100 20,(涨停高点+涨停底部)/2,DRAWNULL),COLORYELLOW;
涨停形态:= (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100 9.91 AND (CLOSE-OPEN)/CLOSE*100
涨停距今: BARSLAST(涨停形态),NODRAW;
涨停实底: REF(OPEN,涨停距今),NODRAW;
不破底: LLV(MIN(OPEN,CLOSE),涨停距今) =涨停实底,NODRAW;
踩破底: LLV(LOW,涨停距今) =涨停实底,NODRAW;
缩量:= VOL HHV(VOL,涨停距今)*0.618;
回踩定义:= LOW =涨停实底 AND MIN(CLOSE,OPEN) =涨停实底;
{www.9m8.cn 九毛八公式指标网}
突破:= 不破底 AND COUNT(踩破底,涨停距今) =1 AND 缩量 AND 回踩定义 ;
STICKLINE(突破,OPEN,CLOSE,2,0),COLORMAGENTA;
DRAWTEXT(突破,HIGH*1.01,'买'),COLORMAGENTA;
STICKLINE(CLOSE/REF(C,1) =1.09,O,C,2.7,0),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLORYELLOW;{在屏幕左上角显示所属行业板块}
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK),COLORYELLOW;{在屏幕左上角显示所属地域板块}
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK),COLORYELLOW;{在屏幕左上角显示所属概念板块}
{跳空};