不破底图指标公式通达信(手机版 电脑版)
电脑版效果展示:
手机版效果展示:
公式源码:
涨停位置:= 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>5;
涨停距今: BARSLAST(涨停形态),NODRAW;
涨停实底: REF(OPEN,涨停距今),NODRAW;
不破底: LLV(MIN(OPEN,CLOSE),涨停距今)>=涨停实底,NODRAW;
踩破底: LLV(LOW,涨停距今)<=涨停实底,NODRAW;
缩量:= VOL<hhv(vol,涨停距今)*0.618;< span=''></hhv(vol,涨停距今)*0.618;<>
回踩定义:= LOW<=涨停实底 AND MIN(CLOSE,OPEN)>=涨停实底;
突破:= 不破底 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;