DRAWGBK((CLOSE > 1),RGB(0,0,0),RGB(0,0,255),0,0,0);
回调买入:=(MIN(O,C)-L)/L*100;
ST:=(MAX(O,C)-MIN(O,C))/MIN(O,C)*100;
通达信指标:=回调买入/IF(ST=0,1,ST) AND ST<3;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);{选股公式-选股指标www.gs6699.com}
TD:=(1-7/100)*DD;
vvvvd1:=(MA(C,5)-H)/H*100;
vvvvd2:=通达信指标 AND EVERY(H<MA(C,5),3) AND EVERY(MA(C,5)<REF(MA(C,5),1),4) AND L<=LLV(L,10) AND L<=TD AND vvvvd1>1.5;
vvvvd4:=FILTER(EXIST(vvvvd2,5) AND C>REF(C,1) AND C>O,5);
STICKLINE(vvvvd4,1,0,0,-1),COLORRED;
STICKLINE(vvvvd4,1,0.1,0,0),COLORRED;
STICKLINE(vvvvd4,1,0.6,0.5,0),COLORRED;
STICKLINE(vvvvd4,0.62,0.62,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,0.65,0.65,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,0.68,0.68,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,0.71,0.71,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,0.74,0.74,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,0.77,0.77,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,0.8,0.8,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,0.83,0.83,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,0.86,0.86,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,0.89,0.89,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,0.92,0.92,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,0.95,0.95,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,0.98,0.98,0.5,0),COLOR6A6A6A;
STICKLINE(vvvvd4,1.01,0.99,1.5,0),COLORRED;
vvvvd5:=BARSLAST(vvvvd4);
vvvvd6:CONST(1.2),COLORBLACK;
DRAWTEXT(CURRBARSCOUNT=CONST(vvvvd5)+2,1.1,''),COLORRED;