当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:潜伏捉妖精品指标,和谐源码分享(通达信公式 源码 测试图)
软件名称:[B]潜伏捉妖精品指标,和谐源码分享(通达信公式 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-04-07 06:10:11
软件简介:
{潜伏专用副图}
涨幅A:=(C-REF(C,1))/REF(C,1)*100;
天线:=MA(C,5),DOTLINE,COLORWHITE;
人线:=MA(C,36),NODRAW;
地线:=人线*0.99,COLORRED;
金线:=人线*0.97,DOTLINE;
D11:=天线/地线;
D2:=D11>=1 AND D11<1.02;
D3:=CROSS(C,天线) AND CROSS(C,地线);
伏1:=D2 AND D3 AND 天线>地线 AND L<地线 AND O<地线;
伏:=FILTER(伏1,40)*1,COLORYELLOW;
STICKLINE(伏, 0,10, 2, 0),COLORLIMAGENTA;
DRAWTEXT(伏,7.4,'★潜伏主力'),COLORYELLOW;
DRAWICON(伏,10,29);
DRAWICON(伏,9.3,29);
DRAWICON(伏,9,29);
DRAWICON(伏,7,29);
DRAWICON(伏,6,9);
DRAWICON(伏,4,25);
DRAWICON(伏,2,17);
DRAWICON(伏,1.3,17);
换手:=VOL*10000/FINANCE(7),NODRAW,COLORGREEN;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
DRAWTEXT( 伏=1 AND (换手>=5 OR 涨幅>=6),4.3,'★异动交易'),COLORRED;
DRAWTEXT( 伏=1 AND 涨幅>=9.91,2.6,'★打板'),COLORRED;
DRAWTEXT( 伏=1 AND H/REF(C,1)>=1.097 AND H>C,2.6,'★炸板'),COLORGREEN;
{潜伏专用主图}
{行业 板块 地区 概念}
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,HYBLOCK),COLORRED;{在屏幕左上角显示所属行业板块}
DRAWTEXT_FIX(ISLASTBAR,0.55,0,0,DYBLOCK),COLORRED;{在屏幕左上角显示所属地域板块}
DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,GNBLOCK),COLORRED;{在屏幕左上角显示所属概念板块}
DRAWTEXT_FIX(ISLASTBAR,0.5,0.03,0,FGBLOCK),COLORMAGENTA;{在屏幕左上角显示所属风格}
A3:MA(C,3),DOTLINE;
A13:MA(C,13),DOTLINE;
A21:MA(C,21),DOTLINE;
涨幅:=(C-REF(C,1))/REF(C,1)*100,NODRAW;
连涨:=BARSLASTCOUNT(C>REF(C,1)),NODRAW;{连涨天数}
A1A:=C>REF(C,1) ,NODRAW;
A2A:=A1A*涨幅,NODRAW;
最后1天:=SUM(A2A,连涨) AND REFXV(C<REF(C,1),1),NODRAW;
求和:=SUM(A2A,连涨) ,NODRAW;
DRAWTEXT(最后1天=1 AND 连涨>=3 AND 求和<=10,H*1.01,VARCAT(VAR2STR(求和,1),'%')),COLORMAGENTA;
DRAWTEXT(最后1天=1 AND 连涨>=3 AND 求和>10,H*1.01,VARCAT(VAR2STR(求和,1),'%')),COLORYELLOW;
连跌:=BARSLASTCOUNT(C<REF(C,1)),NODRAW;{连跌天数}
A1B:=C<REF(C,1) ,NODRAW;
A2B:=A1B*涨幅,NODRAW;
最后1天B:=SUM(A2B,连跌) AND REFXV(C>REF(C,1),1),NODRAW;
求和B:=SUM(A2B,连跌) ,NODRAW;
DRAWTEXT(最后1天B=1 AND 连跌>=3 AND 求和B<-10,L*0.99,VARCAT(VAR2STR(求和B*-1,1),'%')),COLORGREEN;
DRAWTEXT_FIX(1,0.915,0.93,0,'连续涨'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.96,0.93,0,CONST(连涨)),COLORRED;
DRAWTEXT_FIX(1,0.98,0.93,0,'天'),COLORYELLOW;
DRAWTEXT_FIX(1,0.915,1,0,'连续跌'),COLORGREEN;
DRAWNUMBER_FIX(1,0.96,1,0,CONST(连跌)),COLORGREEN;
DRAWTEXT_FIX(1,0.98,1,0,'天'),COLORGREEN;
RC1:=REF(C,1);{分析家公式网 WWW.70822.com 整理}
ZT:=C/REF(C,1)>1.099 AND H>L;
CS:=IF(C>=1,10000,100000);
C涨停10:=1.10*RC1-49/CS;{考虑到4舍5入}
C涨停5 :=1.05*RC1-49/CS;
C跌停10:=0.90*RC1+51/CS;
C跌停5 :=0.95*RC1+51/CS;
ST:=NAMELIKE('S') OR NAMELIKE('*S');
涨停:= IF(ST, C>=C涨停5, C>=C涨停10);
跌停:= IF(ST, C<=C跌停5, C<=C跌停10);
盘中涨停:=IF(ST, H>=C涨停5, H>=C涨停10);
盘中跌停:=IF(ST, L<=C跌停5, L<=C跌停10);
STICKLINE(盘中涨停,H,MAX(C,O),0,0),COLORMAGENTA;{涨停后回落}
STICKLINE(盘中跌停,L,MIN(C,O),0,0),COLORLICYAN;{跌停后回升};
STICKLINE(涨停,O,C,1,0),COLORMAGENTA;
STICKLINE(跌停,O,C,1,0),COLORLICYAN;
天线:=MA(C,5),DOTLINE,COLORWHITE;
人线:=MA(C,36),NODRAW;
地线:=人线*0.99,COLORRED;
金线:=人线*0.97,DOTLINE;
D11:=天线/地线;
D2:=D11>=1 AND D11<1.02;
D3:=CROSS(C,天线) AND CROSS(C,地线);
伏1:=D2 AND D3 AND 天线>地线 AND L<地线 AND O<地线;
伏:=FILTER(伏1,40)*1,COLORYELLOW;
DRAWTEXT(伏,L*0.99,'潜★伏'),COLORYELLOW;
DRAWICON(伏,L*0.975,28);
[url=http://www.70822.com/soft/sort013/sort05/down-155145.html]潜伏捉妖精品指标,和谐源码分享(通达信公式 源码 测试图)[/url]