通达信强势上升追涨停副图指标 源码分享 附图

{强势上升}
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;



未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

{强势上升} 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*成交量,成交量)/(FINANCE(7)/100),NODRAW
输出筹码密集度:((获利盘为95%的成本分布-COST(5))/((获利盘为95%的成本分布+COST(5))/2))*100,NODRAW
昨天输出筹码密集度:REF(((获利盘为95%的成本分布-COST(5))/((获利盘为95%的成本分布+COST(5))/2))*100,1),NODRAW
尖峰价赋值: 获利盘为50%的成本分布
{平均成本线} 筹码1赋值:尖峰价*0.90计算的获利盘比例
{也可调成0.95} 筹码2赋值:尖峰价*1.1计算的获利盘比例
输出{也可调成1.05} 筹码集中:(筹码2-筹码1)*100,NODRAW
输出昨天筹码集中度:REF((筹码2-筹码1)*100,1),NODRAW
输出获利率:C计算的获利盘比例*100,NODRAW,COLORLIRED
BB1赋值:O和C较大值
XG1赋值:(CROSS(C,REF(20日内H最高值,1)) OR CROSS(C,REF(20日内BB1最高值,1))) AND 筹码集中>=80 AND 获利率>=90 AND (统计20日满足HSL>6的天数 OR COUNT(成交额=480日内成交额最高值,20))
DIFF赋值:(C的12日指数移动平均-C的26日指数移动平均)
DEA :=DIFF的9日指数移动平均
B0赋值:上次DIFF<=1日前的DIFF AND DIFF<=2日前的DIFF距今天数
B1赋值:上次DIFF上穿DEA距今天数
B2赋值:REF(上次DIFF上穿DEA距今天数,B1+1)
B3赋值:REF(上次DIFF上穿DEA距今天数,B1+B2+2)
SX赋值:REF(B1+B2+B3+3日内DIFF最高值,1)
BRSS赋值:统计B0+1日满足DIFF上穿SX的天数=1 AND DIFF上穿SX AND DEA>0
XG2赋值:COUNT(HSL>8.5 OR AMO=480日内AMO最高值,B1+B2+2) AND BRSS
ZTB赋值:(C/1日前的C>=1.095 AND C/1日前的C<=1.105) OR (C/1日前的C>=1.195 AND C/1日前的C<=1.205) OR (C/1日前的C>=1.295 AND C/1日前的C<=1.305) AND C=H
AMOV赋值:成交额*(O+C)/2
AMV1赋值:21的AMOV日累和/21的成交额日累和
AMV2赋值:55的AMOV日累和/55的成交额日累和
AMV3赋值:144的AMOV日累和/144的成交额日累和
AMV4赋值:377的AMOV日累和/377的成交额日累和
AMV5赋值:34的AMOV日累和/34的成交额日累和
AMV6赋值:89的AMOV日累和/89的成交额日累和
AMV7赋值:233的AMOV日累和/233的成交额日累和
成本线赋值:(AMV1+AMV2+AMV3+AMV4+AMV5+AMV6+AMV7)/7
强势线赋值:1.06*成本线,画红色
多空线赋值:成本线*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(XG1上穿0.5,1,0,1,0),画黄色
STICKLINE(XG上穿0.5,3,2,1,0),,画红色
当满足条件XG2时,在2和1之间画柱状线
输出强势:IF(XG1上穿0.5,1,0)
如果XG2返回2否则返回1
如果XG返回3否则返回2

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

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