当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:突破模型,手上必加【首板+上涨+B+加号】(通达信指标 主图 源码 测试图)
软件名称:[B]突破模型,手上必加【首板+上涨+B+加号】(通达信指标 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2022-11-23 00:15:22
软件简介:
突破模型
首板如果出现 两手相握 + 红上箭头 + 红B + 白圈内红加号这4个信号,全仓买入。
俗称:手上必加【首板+上涨+B+加号】
N:=4;
TJ360:=C=HHV(C,150);{黑马线}
TS360:=BARSLAST(TJ360);
HHC360:=REF(C,TS360);
RHHC360:=REF(HHC360,1);
TJ1360:=H>L AND C>RHHC360 ;
CS1360:=BARSLASTCOUNT(TJ1360);
CSS:=COUNT(CS1360=1,60);
MR:=CS1360=1 AND CSS=1;
HMXTS:=BARSLAST(MR);
黑马线:CONST(REF(C,HMXTS)),COLORFFFF00,LINETHICK2;
STICKLINE((BARSLAST(MONTH!=REF(MONTH,1) OR DATETODAY(DATE)=1))+1=1,H#MONTH,L#MONTH,0,-1),COLORGREEN;
月开:REF(O,BARSLAST(MONTH!=REF(MONTH,1))),COLORRED,NODRAW;
高:=REF(HHV(H,72),5);
龙门:REFDATE(高,DATE),COLORWHITE,LINETHICK2;
现价:REFDATE(C,DATE),DOTLINE,COLORLIGRAY;
获利筹码:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),NODRAW,COLORWHITE;
高量线:=V=HHV(V,20) AND H=HHV(H,20),NODRAW;
DRAWLINE(高量线,MAX(C,O),REF(高量线,1),REF(MAX(C,O),1),1),COLORYELLOW,LINETHICK2;
DRAWTEXT(CURRBARSCOUNT=1,L*0.995,EXTERNSTR(0,883)); { 涨停原因}
半分位:(O+C)/2,NODRAW,COLORWHITE;
昨半:=REF((O+C)/2,1);
STICKLINE(ISLASTBAR,昨半,昨半,10,2),COLORLIRED;
MA5:MA(C,5),COLORWHITE;
MA13:MA(C,13),COLORYELLOW;
MA34:MA(C,34),COLORGREEN;
MA70:MA(C,70),COLORFF00FF,LINETHICK2;
MA144:MA(C,144),COLORLIGRAY;
MA233:MA(C,233),COLORRED,LINETHICK2;
过左峰:=CROSS(C,REF(HHV(C,N),1));
DYX:=(C>=REF(C,1)*1.07 OR C>=O*1.07) AND CROSS(C,MA(C,10)) AND V>=REF(V,1)*1.298;
基柱:DYX AND 过左峰,NODRAW;
周期:=BARSLAST(基柱);
STICKLINE(基柱,O,C,2.8,0),COLORFF00FF;
DRAWLINE(基柱,C,REF(基柱,1),REF(C,1),1),COLORWHITE,DOTLINE;
DRAWLINE(基柱,O,REF(基柱,1),REF(O,1),1),COLORYELLOW,DOTLINE;
B:=基柱 AND CURRBARSCOUNT<90;
NUMBER:=COUNT(B,BARSSINCE(B)+1);
DRAWNUMBER(B,H*1.036,NUMBER),COLORFFFF00;
DRAWICON(CROSS(C,REF(C,周期)),O,23);
DRAWTEXT_FIX(1,0.85,0,0,STRCAT('最近突破次数:',STRCAT(VAR2STR(NUMBER,0),' 次'))),COLORFFFF00;
月开乖离:H/月开,COLORGREEN,NODRAW;
乖离5:H/MA5,COLORRED,NODRAW;
高低比:HHV(H,20)/LLV(L,20),NODRAW;
DRAWICON(高低比>=1.6 AND 乖离5>1.15,H*0.99,8);
DRAWTEXT(FILTER(月开乖离>=1.72,5),H*1.039,'山'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,L*0.995,EXTERNSTR(0,4)); { 涨停原因}
TJ:=ISLASTBAR AND C<500;
LTB:=FINANCE(7)*100/FINANCE(1);
ZGB:=FINANCE(1)/100000000;
定向增发:=LTB<REF(LTB,1)*0.95 AND ZGB>REF(ZGB,1),NODRAW,COLORWHITE;
回购:=ZGB<REF(ZGB,1)*0.95 AND LTB>REF(LTB,1),NODRAW,COLORWHITE;
大小非:=LTB>REF(LTB,1)*1.05 AND ZGB=REF(ZGB,1),NODRAW,COLORWHITE;
公开发行:=LTB>REF(LTB,1)*1.05 AND ZGB>REF(ZGB,1),NODRAW,COLORWHITE;
变数:=定向增发 OR 回购 OR 大小非 OR 公开发行,NODRAW,COLORWHITE;
DRAWTEXT(回购,L*0.990,'回购'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,L*0.995,EXTERNSTR(0,883)); { 涨停原因};
{精准点}
画线虚实:=1;
回踩误差千分之:=2;
精准计数周期:=240;
低1开2收3高4:=1;
基准点前N天:=0;
T_17:=回踩误差千分之/1000;
T_18:=CURRBARSCOUNT;
T_19:=精准计数周期;
T_20:=T_18<=T_19;
T_21:=IF(低1开2收3高4=1,L,IF(低1开2收3高4=2,O,IF(低1开2收3高4=3,C,H)));
T_22:=IF(基准点前N天=0,T_21,REF(T_21,基准点前N天));
基准价:IF(T_20,CONST(T_22),DRAWNULL),DOTLINE,COLORGRAY;
T_23:=基准价;
T_24:=T_23*T_17;
T_25:=ABS(L-T_23)<=T_24;
T_26:=ABS(O-T_23)<=T_24;
T_27:=ABS(C-T_23)<=T_24;
T_28:=ABS(H-T_23)<=T_24;
T_29:=T_25 OR T_26 OR T_27 OR T_28 AND T_20 AND T_18!=基准点前N天+1;
T_30:=COUNT(T_29,T_19);
精准数:IF(T_30>0,T_30+1,0),NODRAW,COLORMAGENTA;
TM:=1200823;{分析家公式网WWW.70822.com}
涨停:IF(DATE<TM,ZTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),ZTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORRED;
跌停:IF(DATE<TM,DTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),DTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORGREEN;
明涨停:IF(DATE<TM,C*IF(CODELIKE('688'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)),C*(IF(CODELIKE('688') OR CODELIKE('300'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)))),NODRAW,COLORLIMAGENTA;
明跌停:IF(DATE<TM,C*IF(CODELIKE('688'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)),C*(IF(CODELIKE('688') OR CODELIKE('300'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)))),NODRAW,COLORFFFF00;
ZT:=C>=涨停 AND PERIOD=5 AND H=C;
ZT1:=H>=涨停 AND PERIOD=5 AND H>C;
DT:=C<=跌停 AND PERIOD=5 AND L=C;
DT1:=L<=跌停 AND PERIOD=5 AND L<C;
LB:=REF(EVERY(ZT,3),2) AND REF(H=HHV(H,20),1) AND H<REF(H,1);
LBQ:=BARSLAST(LB);
打折:REF(H,LBQ+1)*0.7,NODRAW,COLORWHITE;
SLB:=EVERY(ZT,3);
KK2:=SUMBARS(REFX(SLB,1),1);
STICKLINE(KK2,REF(C,KK2-1),REF(C,KK2-1),5,0),COLORFFCC99;
DRAWTEXT(REFX(NOT(ZT),1) AND SLB,REF(C,1),'回头线');
STICKLINE(打折,打折,打折,5,0),COLORFFFF44;
Q3:=STRCAT(CON2STR(打折,2),'打折线');
DRAWTEXT(ISLASTBAR,打折,VARCAT(VARCAT('打折价',VAR2STR(打折,2)),'元'))COLORFFFF00;
{涨停K线颜色设置}
STICKLINE(ZT,C,(O+C)/2,3,0),COLOR000099;
STICKLINE(ZT,C,(O+C)/2,2.2,0),COLOR0000CC;
STICKLINE(ZT,C,(O+C)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT,C,(O+C)/2,0.5,0),COLORCC66FF;
STICKLINE(ZT,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(ZT,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(ZT,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(ZT,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(DT,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(DT,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(DT,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(DT,C,(O+C)/2,3,0),COLOR009900;
STICKLINE(DT,C,(O+C)/2,2.2,0),COLOR00BB00;
STICKLINE(DT,C,(O+C)/2,1.5,0),COLOR00DD00;
STICKLINE(DT,C,(O+C)/2,0.5,0),COLOR00FF00;
{曾涨跌停打开K线颜色设置}
STICKLINE(ZT1,C,(O+C)/2,3,0),COLORFF00FF;
STICKLINE(ZT1,C,(O+C)/2,2.2,0),COLORFF00FF;
STICKLINE(ZT1,C,(O+C)/2,1.5,0),COLOR0000FF;
STICKLINE(ZT1,O,(O+C)/2,3,0),COLOR999999;
STICKLINE(ZT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(ZT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT1,O,(O+C)/2,3,0),COLOR888888;
STICKLINE(DT1,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(DT1,O,(O+C)/2,1.5,0),COLORDDDDDD;
STICKLINE(DT1,C,(O+C)/2,3,0),COLOR009900;
STICKLINE(DT1,C,(O+C)/2,2.2,0),COLOR00BB00;
STICKLINE(DT1,C,(O+C)/2,1.5,0),COLOR00DD00;
STICKLINE(DT1,C,(O+C)/2,0.5,0),COLOR00FF00;
DRAWTEXT(ZT AND DT1 AND PERIOD=5,L-0.03,'地天板'),COLORCC00CC;{从跌停到涨停}
DRAWTEXT(DT AND ZT1 AND PERIOD=5,H+0.03,'天地板'),COLOR00CC00;{从涨停到跌停};
DRAWTEXT(DT1,L-0.09,'撬板'),COLORCC00CC;{从涨停到跌停};
DRAWTEXT(ZT1,H+0.03,'炸板'),COLOR00CC00;{从涨停到跌停};
阴:=REF(C>=O,1) AND AMOUNT/V/100>R
[url=http://www.70822.com/soft/sort013/sort05/down-165117.html]突破模型,手上必加【首板+上涨+B+加号】(通达信指标 主图 源码 测试图)[/url]
[url=http://www.70822.com/soft/sort013/sort05/down-165117.html]突破模型,手上必加【首板+上涨+B+加号】(通达信指标 主图 源码 测试图)[/url]