您的位置:爱股网 > 查股公式 > 通达信强势上升追涨停副图指标公式源码分[查股公式]
股票行情消息数据:

通达信强势上升追涨停副图指标公式源码分[查股公式]

2022/7/1 14:23:44

在强势上升指标中,底层黄柱代表股价进入强势区,中层黄柱代表股价步入上升,即使回调也可能再起一波。顶层红柱代表强势后的首个涨停。配合其他 技术有望出连板妖股。

指标使用到WINNER函数,使用前请下载完整盘后数据。
{强势上升}
JBM:=FINANCE(20)>1 AND FINANCE(30)>1 AND DYNAINFO(38)<35 AND DYNAINFO(40)<35 AND
FINANCE(43)>15 AND FINANCE(44)>15;
HSL:IF((SETCODE==0||SETCODE==1),100*VOL,VOL)/(FINANCE(7)/100),NODRAW;
筹码密集度:((COST(95)-COST(5))/((COST(95)+COST(5))/2))*100,NODRAW;
昨天筹码密集度:REF(((COST(95)-COST(5))/((COST(95)+COST(5))/2))*100,1),NODRAW;
尖峰价:= COST(50);{平均成本线}
筹码1:=WINNER(尖峰价*0.90); {也可调成0.95}
筹码2:=WINNER(尖峰价*1.1); {也可调成1.05}
筹码集中:(筹码2-筹码1)*100,NODRAW;
昨天筹码集中度:REF((筹码2-筹码1)*100,1),NODRAW;
获利率:WINNER(C)*100,NODRAW,COLORLIRED;
BB1:=MAX(O,C);
XG1:=(CROSS(C,REF(HHV(H,20),1)) OR CROSS(C,REF(HHV(BB1,20),1))) AND 筹码集中>=80 AND
获利率>=90 AND (COUNT(HSL>6,20) OR COUNT(AMOUNT=HHV(AMOUNT,480),20));
DIFF:=(EMA(C,12)-EMA(C,26));
DEA :=EMA(DIFF,9);
B0:=BARSLAST(DIFF<=REF(DIFF,1) AND DIFF<=REF(DIFF,2));
B1:=BARSLAST(CROSS(DIFF,DEA));
B2:=REF(BARSLAST(CROSS(DIFF,DEA)),B1+1);
B3:=REF(BARSLAST(CROSS(DIFF,DEA)),B1+B2+2);
SX:=REF(HHV(DIFF,B1+B2+B3+3),1);
BRSS:=COUNT(CROSS(DIFF,SX),B0+1)=1 AND CROSS(DIFF,SX) AND DEA>0;
XG2:=COUNT(HSL>8.5 OR AMO=HHV(AMO,480),B1+B2+2) AND BRSS;
ZTB:=(C/REF(C,1)>=1.095 AND C/REF(C,1)<=1.105) OR (C/REF(C,1)>=1.195 AND
C/REF(C,1)<=1.205) OR (C/REF(C,1)>=1.295 AND C/REF(C,1)<=1.305) AND C=H;

AMOV:=AMOUNT*(O+C)/2;
AMV1:=SUM(AMOV,21)/SUM(AMOUNT,21);
AMV2:=SUM(AMOV,55)/SUM(AMOUNT,55);
AMV3:=SUM(AMOV,144)/SUM(AMOUNT,144);
AMV4:=SUM(AMOV,377)/SUM(AMOUNT,377);
AMV5:=SUM(AMOV,34)/SUM(AMOUNT,34);
AMV6:=SUM(AMOV,89)/SUM(AMOUNT,89);
AMV7:=SUM(AMOV,233)/SUM(AMOUNT,233);
成本线:=(AMV1+AMV2+AMV3+AMV4+AMV5+AMV6+AMV7)/7;
强势线:=1.06*成本线,COLORRED;
多空线:=成本线*0.94,COLORLIGREEN;
XG:=ZTB AND REF(NOT(ZTB),1) AND C>强势线 AND
((C/REF(C,1)>=1.095 AND C/REF(C,1)<=1.105 AND REF(C/强势线<1.05,1)) OR
  (C/REF(C,1)>=1.195 AND C/REF(C,1)<=1.205 AND REF(C/强势线<1.10,1)) OR
  (C/REF(C,1)>=1.295 AND C/REF(C,1)<=1.305 AND REF(C/强势线<1.15,1))) AND C/O>1.009;
STICKLINE(CROSS(XG1,0.5),1,0,1,0),COLORYELLOW;
STICKLINE(CROSS(XG,0.5),3,2,1,0),,COLORRED;
STICKLINE(XG2,2,1,1,0),COLORYELLOW;
强势:IF(CROSS(XG1,0.5),1,0);
步入上升1:IF(XG2,2,1),COLORLIBLUE;
追涨停:IF(XG,3,2),COLORRED;

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

股票公式分类

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