{低吸狙击副图源码如下}
{低吸狙击 选股}
DF1:=(C-REF(C,1))/REF(C,1)*100>5;
DF2:=(C-O)/O*100>4;
九十成本集中:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
成本价:=COST(九十成本集中);
XG1:=L<成本价 AND DF1;
XG2:=CROSS(C,成本价) AND DF1;
XG3:=L<成本价 AND DF2;
XG:FILTER((XG1 OR XG2 OR XG3),5) AND C>成本价;
{低吸狙击源码如下}
{低吸狙击 主图}
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
当前获利筹码:=IF(WINNER(CLOSE),WINNER(CLOSE)*100,0);
DRAWKLINE(H,O,L,C);
九十成本集中:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
成本价:COST(九十成本集中),LINETHICK2,COLORMAGENTA;
入1:IF(成本价>REF(成本价,1),成本价,DRAWNULL),COLORRED,LINETHICK2;
出1:IF(成本价<REF(成本价,1),成本价,DRAWNULL),COLORGREEN,LINETHICK2;
{红K}
STICKLINE(C>=成本价 AND C>O,O,C,-1,1),COLOR0000DD; {红色空心柱} { COLORRED }
STICKLINE(C>=成本价 AND C>O,H,C,0,0),COLOR0000DD;
STICKLINE(C>=成本价 AND C>O,O,L,0,0),COLOR0000DD;
STICKLINE(C>=成本价 AND C<=O,O,C,-1,0),COLOR0000DD;{红色实心柱}
STICKLINE(C>=成本价 AND C<=O,H,O,0,0),COLOR0000DD;
STICKLINE(C>=成本价 AND C<=O,C,L,0,0),COLOR0000DD;
{蓝K}
STICKLINE(C<成本价 AND C>O,O,C,-1,1),COLORFFBB00; {蓝色空心柱} {COLORFFFF66}
STICKLINE(C<成本价 AND C>O,H,C,0,0),COLORFFBB00;
STICKLINE(C<成本价 AND C>O,O,L,0,0),COLORFFBB00;
STICKLINE(C<成本价 AND C<=O,O,C,-1,0),COLORFFBB00;{蓝色实心柱}
STICKLINE(C<成本价 AND C<=O,H,O,0,0),COLORFFBB00;
STICKLINE(C<成本价 AND C<=O,C,L,0,0),COLORFFBB00;
DF2:=(C-REF(C,1))/REF(C,1)*100>5;
DF3:=(C-O)/O*100>4;
当天涨幅:(C-O)/O*100,NODRAW;
V型反转:=L<成本价 AND DF2;
V型反转2:=CROSS(C,成本价) AND DF2;
V型反转3:=L<成本价 AND DF3;
XG:=FILTER((V型反转 OR V型反转2 OR V型反转3),5) AND C>成本价;
DRAWTEXT(XG,L*0.998,'↖狙击'),COLORYELLOW;
STICKLINE(XG=1 AND C>O,O,C,-1,0),COLORYELLOW; {黄色红色空心柱}
STICKLINE(XG=1 AND C>O,H,C,0,0),COLORYELLOW;
STICKLINE(XG=1 AND C>O,O,L,0,0),COLORYELLOW;
STICKLINE(XG=1 AND C<=O,O,C,-1,0),COLORYELLOW;{黄色实心柱}
STICKLINE(XG=1 AND C<=O,H,O,0,0),COLORYELLOW;
STICKLINE(XG=1 AND C<=O,C,L,0,0),COLORYELLOW;