通达信两买一止损精品主图
核心K线:=V/REF(V,1)>=1.91 AND C>REF(C,1) AND C>O;
TT:=V=HHV(V,21);
BBL:=核心K线 AND TT;
BL:=FILTER(BBL,2);
K1:=SUMBARS(BL,1);
STICKLINE(K1,REFV(C,K1-1),REFV(C,K1-1),1,0),COLORYELLOW;
STICKLINE(K1,REFV(L,K1-1),REFV(L,K1-1),1,0),COLORCYAN;
{核心K线}
STICKLINE(BL,OPEN,CLOSE,3,0)COLOR0035FF;
STICKLINE(BL,OPEN,CLOSE,1.8,0)COLOR0064FF;
STICKLINE(BL,OPEN,CLOSE,1.3,0)COLOR0093FF;
STICKLINE(BL,OPEN,CLOSE,0.8,0)COLOR00C2FF;
STICKLINE(BL,OPEN,CLOSE,0.3,0)COLOR00FFFF;
止损:=REF(C,1)>REFV(L,K1-1) AND C<REFV(L,K1-1),COLORGREEN,NODRAW;
STICKLINE(止损,O,C,3,0),COLOR005500;
STICKLINE(止损,O,C,2.8,0),COLOR007700;
STICKLINE(止损,O,C,2.4,0),COLOR009900;
STICKLINE(止损,O,C,2.0,0),COLOR00AA00;
STICKLINE(止损,O,C,1.6.5,0),COLOR00BB00;
STICKLINE(止损,O,C,1.2,0),COLOR00CC00;
STICKLINE(止损,O,C,1.0,0),COLOR00DD00;
STICKLINE(止损,O,C,0.6,0),COLOR00EE00;
STICKLINE(止损,O,C,0.2,0),COLOR00FF00;
STICKLINE(止损,H,L,0,0),COLOR00FF00;
一买:=BL,NODRAW;
DRAWTEXT(一买,L,'↖一买'),COLORFF00FF;
二买:=CROSS(C,REFV(C,K1-1)),NODRAW;
DRAWTEXT(二买,REFV(C,K1-1),'↖二买'),COLORFF00FF;
DRAWTEXT(止损,L,'止'),COLORGREEN;
DRAWTEXT(止损,L*0.975,'损'),COLORGREEN;