您的位置:查股网 > 查股公式 > 通达信寻找下影线战法副图指标 黄钻信号源码[查股公式]
股票行情消息查询:

通达信寻找下影线战法副图指标 黄钻信号源码[查股公式]

2022/5/31 21:09:42

{参数}N2:=22;N3:=55;N1:=0.20;NX:=3;NS:=4;
成交额:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,成交额,0,-1,-1),COLOR00C0C0;
虚拟额:VOL,VOLSTICK;
TA:=(C-REF(C,30))/REF(C,30);
STICKLINE(VOL=LLV(VOL,N2),0,V,3,0),COLOR000099;
STICKLINE(VOL=LLV(VOL,N2),0,V,2.5,0),COLOR0000CC;
STICKLINE(VOL=LLV(VOL,N2),0,V,1.5,0),COLORRED;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA>=N1,0,V,3,0),COLOR002933;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA>=N1,0,V,2.5,0),COLOR008433;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA>=N1,0,V,1.5,0),COLOR00B233;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA>=N1,0,V,0.5,0),COLOR00E033;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA<N1,0,V,3,0),COLOR11008B;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA<N1,0,V,2.5,0),COLOR55008B;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA<N1,0,V,1.5,0),COLORAA008B;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA<N1,0,V,0.5,0),COLORBLUE;

昨日换手:REF(V/CAPITAL*100,1),NODRAW,COLORWHITE;
当天换手:V/CAPITAL*100,NODRAW,COLORWHITE;
平均换手:MA(当天换手,180),NODRAW;
月总换手:SUM(当天换手,21),NODRAW,COLORRED;
FJ1:=1;FJ2:=2;FJ3:=3;FJ4:=5;FJ5:=8;FJ6:=15;FJ7:=25;
HS:=DYNAINFO(37)*100;
DRAWTEXT(HS<FJ1 AND ISLASTBAR,V,'地量'),COLORYELLOW;
DRAWTEXT(HS<FJ2 AND HS>=FJ1 AND ISLASTBAR,V,'低靡'),COLORMAGENTA;
DRAWTEXT(HS<FJ3 AND HS>=FJ2 AND ISLASTBAR,V,'温和'),COLORYELLOW;
DRAWTEXT(HS<FJ4 AND HS>=FJ3 AND ISLASTBAR,V,'活跃'),COLORRED;
DRAWTEXT(HS<FJ5 AND HS>=FJ4 AND ISLASTBAR,V,'带量'),COLORGREEN;
DRAWTEXT(HS<FJ6 AND HS>=FJ5 AND ISLASTBAR,V,'放量'),COLORMAGENTA;
DRAWTEXT(HS<FJ7 AND HS>=FJ6 AND ISLASTBAR,V,'巨量'),COLORGREEN;
DRAWTEXT(HS<100 AND HS>=FJ7 AND ISLASTBAR,V,'怪异'),COLORYELLOW;

{寻找下影线战法}
Y1:=(MAX(O,C)-MIN(O,C))/MIN(O,C)*100;{涨幅}
Y2:=(MIN(O,C)-L)/L*100;{下影}
Y3:=(H-MAX(O,C))/MAX(O,C)*100;{上影}
XY:= Y2>Y1*1.5 AND Y2>Y3*2 AND (H-L)/L*100>=3 AND Y2>=NX;
DRAWICON(XY,V,26);{金钻};
{长上影抛出};
SY:= Y3>Y1*1.5 AND Y3>Y2*2 AND (H-L)/L*100>=3 AND Y3>=NS AND H>=HHV(H,22);
DRAWICON(SY,V,15);

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29