通达信三元换手主图指标 短线选手驯龙 源码 附图

DRAWGBK(O>C,RGB(0,30,0),RGB(0,0,60),0,'01',0);


DRAWKLINE(H,O,L,C);

MV10:=MA(V,10);
AVG_V:=(V-MV10)/MV10*100;
量差:=AVG_V-REF(AVG_V,1);
假阴:=C>REF(C,1) AND C<O;
高开:=(O-REF(C,1))/REF(C,1)*100;
倍量:=V>REF(V,1)*1.69 AND V>REF(HHV(V,20),1);
振幅:=(H-L)/REF(C,1)*100;
ZF:=(C-REF(C,1))/REF(C,1)*100;
涨停:=C/REF(C,1)>1.095 ;
三元:=EVERY(涨停,3) OR EVERY(涨停,2);
XG1:=REF(三元,1) AND 倍量;
XG2:=三元 AND 倍量;
XG0610:=三元 AND 量差>REF(HHV(量差,20),1);
XG2265:=REF(EVERY(涨停,2),1) AND 振幅>15 AND ZF>0.5 AND 倍量;
XG600352:=高开>=6 AND 假阴 AND REF(EVERY(涨停,2),1) AND 倍量;
XG3:=XG2 OR XG1 OR XG0610 OR XG2265 OR XG600352;
XGOK:=FILTER(XG3,2);

DRAWICON(XGOK>0,L*0.98,4);

T:BARSLAST(XGOK),NODRAW;

支撑1:REF(C,T+1),NODRAW;
支撑2:REF(C,T+2),NODRAW;
支撑:REF(C,T),NODRAW;
STICKLINE(O,支撑1,支撑1,5,-1),COLOR22B4EE

;
STICKLINE(O,支撑2,支撑2,5,-1),COLOR0000FF

;
STICKLINE(O,支撑,支撑,5,-1),COLORGREEN;


V1:=BARSLAST(XGOK>0);V2:=REF(C,V1);
V12:=CROSS(C,V2);
V13:=C>V2 AND REF(L,1)<V2 ;

V15:=REF(C,V1+1); V16:=REF(C,V1+2);
V11:=C>REF(C,1) AND L<REF(C,1) AND XGOK=0 AND REF(XGOK,1)>0;
V14:=V12>0 OR V13>0 OR V11>0;

X11:=V1>0 AND C/REF(C,1)>1.085 AND V14>0;
X12:=V11>0 OR X11>0;

买3:=FILTER(X12>0,2);
DRAWTEXT(买3>0,L*0.97,'3'),COLORGREEN;

买2:=V1>0 AND C/REF(C,1)>1.01 AND CROSS(C,V15) AND V1<9;
DRAWTEXT(买2>0,L*0.95,'2'),COLORGREEN;
买1:=V1>0 AND C/REF(C,1)>1.01 AND CROSS(C,V16) AND V1<9;
DRAWTEXT(买1>0,L*0.90,'1'),COLORGREEN;



Z1:=BARSLAST(CROSS(C,REF(C,T)));

PZ:=Z1>0 AND COUNT(MAX(C,O)>REF(C,T),Z1)=Z1 AND Z1<20 AND C/REF(C,1)>1.085;

PZ1:=FILTER(PZ>0,10);

PZ2:=FILTER(T>1 AND COUNT(MAX(C,O)>REF(C,T),T)=T AND T<20 AND C/REF(C,1)>1.085,10);

P3:=PZ1 OR PZ2;

DRAWICON(P3>0,L*0.98,23);

流通市值:FINANCE(40)/100000000,NODRAW,COLORYELLOW;

XA8:=REF(C,1)/REF(C,3)>=1.2 AND O/REF(C,1)<=1.01 AND L<REF(C,1) AND C/REF(C,1)>1.05;
启动8:=XA8 AND COUNT(XA8,4)=1;

DRAWTEXT(启动8,L*1.06,'风'),COLORGREEN;
A11111:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03;
A21111:=REF(HHV(V,15),1);
A31111:=A11111 AND V>A21111;
STICKLINE(A31111,O,C,2.5,0),COLORGREEN;

N2:=14;
A17:=(VOL=HHV(VOL,N2));
K0:=CURRBARSCOUNT=CONST(SUMBARS(A17,1));
K17:=BARSLAST(A17);
K27:=REF(MAX(C,O),K17);
K21:=REF(L,K17);
K3:=CURRBARSCOUNT=CONST(SUMBARS(A17,2));
K4:=BARSLAST(K3);
K5:=REF(MAX(C,O),K4);
NOTEXT1:=IF(CURRBARSCOUNT<CONST(SUMBARS(A17,1)),CONST(K27),DRAWNULL), COLORRED;
NOTEXT2:=IF(CURRBARSCOUNT<CONST(SUMBARS(A17,2)),CONST(K5),DRAWNULL),COLORRED;
NOTEXT3:IF(CURRBARSCOUNT<CONST(SUMBARS(A17,1)),CONST(K21),DRAWNULL),COLORGREEN,LINETHICK1;








{梯量3}
涨幅:=(C-REF(C,1))/REF(C,1)*100;
梯量9:=EVERY(C>O,3) AND EVERY(C>REF(C,1),2) AND EVERY(V>REF(V,1),2) AND SUM(涨幅,3)<15;
梯量4:=REF(梯量9,1) AND C>=REF(C,1);
DRAWTEXT(FILTER(梯量9,2),H,'T3'),COLOR888888;

BK5:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(FILTER(梯量9,2)))+1),COLORD355BA;
T35:REF(H,BK5),LINETHICK1,COLORD355BA;







DRAWTEXT_FIX(CURRBARSCOUNT=1,0.9,0.1,1,EXTERNSTR(0,9997)); { 涨停原因}
DRAWTEXT_FIX(1,0.01,0.05,0,'板块:')COLOR0066BB;
DRAWTEXT_FIX(1,0.03,0.05,0,STRCAT(STRCAT(STRCAT(STRCAT(HYBLOCK,'_____'),GNBLOCK),'__'),DYBLOCK))COLOR0066BB; {板块信息}
DRAWTEXT_FIX(1,0.01,0.10,0,'同花:')COLORLIGREEN; {同花顺}
DRAWTEXT_FIX(1,0.03,0.10,0,EXTERNSTR(0,9886))COLORYELLOW;

DRAWTEXT_FIX(1,0.03,0.25,0,EXTERNSTR(0,9601))COLOR70DB93 ;
DRAWTEXT_FIX(1,0.01,0.15,0,'游资:')COLOR0000FF;
DRAWTEXT_FIX(1,0.03,0.15,0,EXTERNSTR(0,9701))COLOR0000FF; {游资协战席位};


U11:=5;
U21:=11;
U31:=9;
UPPER:=(1+U21/100)*MA(CLOSE,U11);
LOWER:=(1-U31/100)*MA(CLOSE,U11);
ENE1:=(UPPER+LOWER)/2;
出轨:=CROSS(C,UPPER) AND H=C COLORCYAN;

{竞价龙头副图}
A14:=FINANCE(7)<120000000;
B14:=FINANCE(7)<300000000 AND FINANCE(7)>120000000;
C14:=FINANCE(7)<500000000 AND FINANCE(7)>300000000;
D14:=FINANCE(7)<800000000 AND FINANCE(7)>500000000;
E19:=FINANCE(7)<1300000000 AND FINANCE(7)>800000000;
A88:=DYNAINFO(14)<0.03 AND DYNAINFO(14)>0.006 AND DYNAINFO(17)>10 AND V*200/FROMOPEN/REF(MA(V,5),1)>3;
B:=DYNAINFO(9);
S19:=LOW>(REF(HIGH,2)+0.001) AND C>REF(C,1) AND C>MA(C,20)*1.20 AND V*200/FROMOPEN/REF(MA(V,5),1)>3;
竞价龙头:=S19 OR (A14 AND A88=1 AND B>1200) OR (B14 AND A88=1 AND B>3000)OR (C14 AND A88=1 AND B>5000)OR (D14 AND A88=1 AND B>8000)OR (E19 AND A88=1 AND B>13000) COLORRED;




GK1:=O>REF(C,1);
FD:=O/REF(C,1);
ZT33:=C/REF(C,1)>1.09 OR C/REF(C,1)>1.19;
GK2:=IF(GK1>0 AND FD>REF(FD,1) AND REF(ZT33,1)>0 AND REF(GK1,1)>0,1,0);
GK3:=GK2>0 AND GK1>0 AND ZT33>0 AND COUNT(ZT33
>0,4)<4;



墨轩寻牛:=出轨 AND (竞价龙头 OR GK3);

墨轩寻牛1:=出轨 AND 竞价龙头;
DRAWICON(墨轩寻牛,L*0.96,25);
DRAWICON(墨轩寻牛1,L*0.94,24);




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

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

DRAWGBK(O>C,RGB(0,30,0),RGB(0,0,60),0,'01',0)
DRAWKLINE(H,O,L,C)
MV10赋值:V的10日简单移动平均
AVG_V赋值:(V-MV10)/MV10*100
量差赋值:AVG_V-1日前的AVG_V
假阴赋值:C>1日前的C AND C 高开赋值:(O-1日前的C)/1日前的C*100
倍量赋值:V>1日前的V*1.69 AND V>REF(20日内V最高值,1)
振幅赋值:(H-L)/1日前的C*100
ZF赋值:(C-1日前的C)/1日前的C*100
涨停赋值:C/1日前的C>1.095
三元赋值:涨停最近3日一直存在 OR 涨停最近2日一直存在
XG1赋值:1日前的三元 AND 倍量
XG2赋值:三元 AND 倍量
XG0610赋值:三元 AND 量差>REF(20日内量差最高值,1)
XG2265:=1日前的涨停最近2日一直存在 AND 振幅>15 AND ZF>0.5 AND 倍量
XG600352赋值:高开>=6 AND 假阴 AND 1日前的涨停最近2日一直存在 AND 倍量
XG3赋值:XG2 OR XG1 OR XG0610 OR XG2265 OR XG600352
XGOK赋值:XG3的2过滤
当满足条件XGOK>0时,在L*0.98和4之间画图标
输出T:上次XGOK距今天数,NODRAW
输出支撑1:T+1日前的C,NODRAW
输出支撑2:T+2日前的C,NODRAW
输出支撑:T日前的C,NODRAW
当满足条件O时,在支撑1和支撑1之间画柱状线
当满足条件O时,在支撑2和支撑2之间画柱状线
当满足条件O时,在支撑和支撑之间画柱状线
V1赋值:上次XGOK>0距今天数
V2赋值:V1日前的C
V12:=C上穿V2
V13:=C>V2 AND 1日前的L V15:=V1+1日前的C
V16:=V1+2日前的C
V11:=C>1日前的C AND L<1日前的C AND XGOK=0 AND 1日前的XGOK>0
V14:=V12>0 OR V13>0 OR V11>0
X11赋值:V1>0 AND C/1日前的C>1.085 AND V14>0
X12赋值:V11>0 OR X11>0
买3赋值:X12>0的2过滤
当满足条件买3>0时,在L*0.97和'3'位置书写文字
买2赋值:V1>0 AND C/1日前的C>1.01 AND C上穿V15 AND V1<9
当满足条件买2>0时,在L*0.95和'2'位置书写文字
买1赋值:V1>0 AND C/1日前的C>1.01 AND C上穿V16 AND V1<9
当满足条件买1>0时,在L*0.90和'1'位置书写文字
Z1赋值:上次CROSS(C,T日前的C距今天数)
PZ赋值:Z1>0 AND COUNT(C和O较大值>T日前的C,Z1)=Z1 AND Z1<20 AND C/1日前的C>1.085
PZ1赋值:PZ>0的10过滤
PZ2:=FILTER(T>1 AND COUNT(C和O较大值>T日前的C,T)=T AND T<20 AND C/1日前的C>1.085,10)
P3赋值:PZ1 OR PZ2
当满足条件P3>0时,在L*0.98和23之间画图标
输出流通市值:FINANCE(40)/100000000,NODRAW,画黄色
XA8赋值:1日前的C/3日前的C>=1.2 AND O/1日前的C<=1.01 AND L<1日前的C AND C/1日前的C>1.05
启动8赋值:XA8 AND 统计4日满足XA8的天数=1
当满足条件启动8时,在L*1.06和'风'位置书写文字
A11111赋值:O>C AND C>1日前的C AND O/1日前的C>1.03
A21111赋值:REF(15日内V最高值,1)
A31111赋值:A11111 AND V>A21111
当满足条件A31111时,在O和C之间画柱状线
N2赋值:14
A17赋值:(成交量=N2日内成交量最高值)
K0赋值:CURRBARSCOUNT=CONST(A17累加至1的天数)
K17赋值:上次A17距今天数
K27赋值:REF(C和O较大值,K17)
K21赋值:K17日前的L
K3赋值:CURRBARSCOUNT=CONST(A17累加至2的天数)
K4赋值:上次K3距今天数
K5赋值:REF(C和O较大值,K4)
NOTEXT1:=IF(CURRBARSCOUNT NOTEXT2:=IF(CURRBARSCOUNT NOTEXT3:IF(CURRBARSCOUNT {梯量3} 涨幅赋值:(C-1日前的C)/1日前的C*100
梯量9赋值:C>O最近3日一直存在 AND EVERY(C>1日前的C,2) AND EVERY(V>1日前的V,2) AND 3的涨幅日累和<15
梯量4赋值:1日前的梯量9 AND C>=1日前的C
DRAWTEXT(梯量9的2过滤,H,'T3'),COLOR888888
BK5赋值:上次CURRBARSCOUNT=CONST(BARSLAST(梯量9的2过滤距今天数)+1),COLORD355BA
T35:BK5日前的H,LINETHICK1,COLORD355BA
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.9,0.1,1,EXTERNSTR(0,9997))
当满足条件1时,在横轴0.01纵轴0.05位置书写文字
DRAWTEXT_FIX(1,0.03,0.05,0,STRCAT(STRCAT(STRCAT(STRCAT(HYBLOCK,'_____'),GNBLOCK),'__'),DYBLOCK))COLOR0066BB
当满足条件1时,在横轴0.01纵轴0.10位置书写文字
{同花顺} DRAWTEXT_FIX(1,0.03,0.10,0,EXTERNSTR(0,9886))画黄色
DRAWTEXT_FIX(1,0.03,0.25,0,EXTERNSTR(0,9601))COLOR70DB93
当满足条件1时,在横轴0.01纵轴0.15位置书写文字
DRAWTEXT_FIX(1,0.03,0.15,0,EXTERNSTR(0,9701))COLOR0000FF
{游资协战席位}
U11赋值:5
U21赋值:11
U31赋值:9
UPPER赋值:(1+U21/100)*收盘价的U11日简单移动平均
LOWER赋值:(1-U31/100)*收盘价的U11日简单移动平均
ENE1赋值:(UPPER+LOWER)/2
出轨赋值:C上穿UPPER AND H=C 画青色
{竞价龙头副图} A14赋值:FINANCE(7)<120000000
B14赋值:FINANCE(7)<300000000 AND FINANCE(7)>120000000
C14赋值:FINANCE(7)<500000000 AND FINANCE(7)>300000000
D14赋值:FINANCE(7)<800000000 AND FINANCE(7)>500000000
E19赋值:FINANCE(7)<1300000000 AND FINANCE(7)>800000000
A88赋值:DYNAINFO(14)<0.03 AND DYNAINFO(14)>0.006 AND DYNAINFO(17)>10 AND V*200/FROM开盘价/REF(V的5日简单移动平均,1)>3
B赋值:DYNAINFO(9)
S19赋值:最低价>(2日前的最高价+0.001) AND C>1日前的C AND C>C的20日简单移动平均*1.20 AND V*200/FROM开盘价/REF(V的5日简单移动平均,1)>3
竞价龙头赋值:S19 OR (A14 AND A88=1 AND B>1200) OR (B14 AND A88=1 AND B>3000)OR (C14 AND A88=1 AND B>5000)OR (D14 AND A88=1 AND B>8000)OR (E19 AND A88=1 AND B>13000) 画红色
GK1赋值:O>1日前的C
FD赋值:O/1日前的C
ZT33:=C/1日前的C>1.09 OR C/1日前的C>1.19
GK2赋值:IF(GK1>0 AND FD>1日前的FD AND 1日前的ZT33>0 AND 1日前的GK1>0,1,0)
GK3赋值:GK2>0 AND GK1>0 AND ZT33>0 AND 统计4日满足ZT33 >0的天数<4
墨轩寻牛赋值:出轨 AND (竞价龙头 OR GK3)
墨轩寻牛1:=出轨 AND 竞价龙头
当满足条件墨轩寻牛时,在L*0.96和25之间画图标
当满足条件墨轩寻牛1时,在L*0.94和24之间画图标

指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

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