通达信【低吸狙击】主副图 90%的成本集中!源码 附图

{低吸狙击副图源码如下}

{低吸狙击 选股}
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;




未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图