股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」通达信动态底部+波段反弹背离好趋势副图指标 源码 贴图


    [-----复制链接-----]

22万

主题

22万

帖子

14

精华

积分
11042
楼主
2024-1-15 10:22:23
【资料名称】:通达信动态底部+波段反弹背离好趋势副图指标 源码 贴图介绍
【资料描述】:

通达信动态底部+波段反弹背离好趋势副图指标 源码 贴图






N:=13;
M:=3;
X:=7;
好趋势3:=MA((3*SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,3,1)),2)
-MA((2*SMA(SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,3,1),3,1)),2);
动态底部3:=IF(EMA(IF(L<=LLV(L,13),SMA(ABS(L-REF(L,1)),5,1)
/SMA(MAX(L-REF(L,1),0),5,1),0),3)*10 AND 好趋势3<REF(好趋势3,1)
AND 好趋势3<50,0,40),COLORWHITE;
DRAWBAND(动态底部3,RGB(100,00,100),0,DRAWNULL);
好趋势2:=MA((3*SMA((C-LLV(L,M))/(HHV(H,M)-LLV(L,M))*100,3,1)),2)
-MA((2*SMA(SMA((C-LLV(L,M))/(HHV(H,M)-LLV(L,M))*100,3,1),3,1)),2);
动态底部2:=IF(EMA(IF(L<=LLV(L,13),SMA(ABS(L-REF(L,1)),5,1)
/SMA(MAX(L-REF(L,1),0),5,1),0),3)*10 AND 好趋势2<REF(好趋势2,1)
AND 好趋势2<50,0,20),COLORWHITE;
买警0:=IF(好趋势2<=30 AND 好趋势2<REF(好趋势2,1),50.1,100),LINETHICK1,COLORLIGRAY;
买警01:=IF(好趋势2<=27 AND 好趋势2<REF(好趋势2,1),50.2,100),LINETHICK1,COLORLIGRAY;
买警02:=IF(好趋势2<=24 AND 好趋势2<REF(好趋势2,1),50.4,100),LINETHICK1,COLORLIGRAY;
买警03:=IF(好趋势2<=21 AND 好趋势2<REF(好趋势2,1),50.6,100),LINETHICK1,COLORLIGRAY;
买警04:=IF(好趋势2<=18 AND 好趋势2<REF(好趋势2,1),50.8,100),LINETHICK1,COLORLIGRAY;
买警05:=IF(好趋势2<=15 AND 好趋势2<REF(好趋势2,1),30,100),LINETHICK1,COLORLIGRAY;
买警06:=IF(好趋势2<=12 AND 好趋势2<REF(好趋势2,1),30.2,100),LINETHICK1,COLORLIGRAY;
买警07:=IF(好趋势2<=9 AND 好趋势2<REF(好趋势2,1),30.4,100),LINETHICK1,COLORLIGRAY;
买警08:=IF(好趋势2<=6 AND 好趋势2<REF(好趋势2,1),30.6,100),LINETHICK1,COLORLIGRAY;
买警09:=IF(好趋势2<=3 AND 好趋势2<REF(好趋势2,1),30.8,100),LINETHICK1,COLORLIGRAY;
买警010:=IF(好趋势2<=0 AND 好趋势2<REF(好趋势2,1),30.9,100),LINETHICK1,COLORLIGRAY;
买警011:=IF(好趋势2<=-3 AND 好趋势2<REF(好趋势2,1),10,100),LINETHICK1,COLORLIGRAY;
DRAWBAND(100,RGB(5,5,5),买警0,DRAWNULL);
DRAWBAND(100,RGB(10,10,10),买警01,DRAWNULL);
DRAWBAND(100,RGB(15,15,15),买警02,DRAWNULL);
DRAWBAND(100,RGB(20,20,20),买警03,DRAWNULL);
DRAWBAND(100,RGB(25,25,25),买警04,DRAWNULL);
DRAWBAND(100,RGB(30,30,30),买警05,DRAWNULL);
DRAWBAND(100,RGB(35,35,35),买警06,DRAWNULL);
DRAWBAND(100,RGB(40,40,40),买警07,DRAWNULL);
DRAWBAND(100,RGB(45,45,45),买警08,DRAWNULL);
DRAWBAND(100,RGB(50,50,50),买警09,DRAWNULL);
DRAWBAND(100,RGB(55,55,55),买警010,DRAWNULL);
DRAWBAND(100,RGB(60,60,60),买警011,DRAWNULL);
好趋势:=MA((3*SMA((C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100,3,1)),2)
-MA((2*SMA(SMA((C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100,3,1),3,1)),2);
动态底部:=IF(EMA(IF(L<=LLV(L,13),SMA(ABS(L-REF(L,1)),5,1)
/SMA(MAX(L-REF(L,1),0),5,1),0),3)*10 AND 好趋势<REF(好趋势,1)
AND 好趋势<50,0,30),COLORYELLOW;
DRAWBAND(动态底部,RGB(100,100,000),0,DRAWNULL);
买警:IF(好趋势<=30 AND 好趋势<REF(好趋势,1),38,100),LINETHICK1,COLORRED;
买警1:IF(好趋势<=27 AND 好趋势<REF(好趋势,1),36,100),LINETHICK1,COLORRED;
买警2:IF(好趋势<=24 AND 好趋势<REF(好趋势,1),32,100),LINETHICK1,COLORRED;
买警3:IF(好趋势<=21 AND 好趋势<REF(好趋势,1),28,100),LINETHICK1,COLORRED;
买警4:IF(好趋势<=18 AND 好趋势<REF(好趋势,1),24,100),LINETHICK1,COLORRED;
买警5:IF(好趋势<=15 AND 好趋势<REF(好趋势,1),20,100),LINETHICK1,COLORRED;
买警6:IF(好趋势<=12 AND 好趋势<REF(好趋势,1),18,100),LINETHICK1,COLORRED;
买警7:IF(好趋势<=9 AND 好趋势<REF(好趋势,1),14,100),LINETHICK1,COLORRED;
买警8:IF(好趋势<=6 AND 好趋势<REF(好趋势,1),10,100),LINETHICK1,COLORRED;
买警9:IF(好趋势<=3 AND 好趋势<REF(好趋势,1),6,100),LINETHICK1,COLORRED;
买警10:IF(好趋势<=0 AND 好趋势<REF(好趋势,1),2,100),LINETHICK1,COLORRED;
买警11:IF(好趋势<=-3 AND 好趋势<REF(好趋势,1),0,100),LINETHICK1,COLORRED;
TT:=240/FROMOPEN;
比:=TT;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
买盘1:=DYNAINFO(23)*比;
卖盘1:=DYNAINFO(22)*比;
买盘2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));
卖盘2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));
买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,买盘1,买盘2);
卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,卖盘1,卖盘2);
买卖差1:=买盘-卖盘;
换手买:=IF(PERIOD=5 AND C<300,买盘/CAPITAL*100,买盘/3);
换手卖:=IF(PERIOD=5 AND C<300,卖盘/CAPITAL*100,卖盘/3);
买卖差:=换手买-换手卖;
买卖:=换手买+换手卖;
W:=IF(C<300,X,0);
STICKLINE(C>=O,0,(换手买+换手卖)*W,2.2,1),COLORRED;
STICKLINE( C<O,0,(换手买+换手卖)*W,2.2,1),COLORFFFF00;
STICKLINE( 买卖差>=0,0,换手买*W,1.5,0),COLORRED;
STICKLINE(买卖差>=0 AND C>=MA(C,30),0,换手买*W,2.2,0),COLORRED;
STICKLINE(买卖差>=0,0,换手卖*W,0.8,0),COLOR998800;
STICKLINE( 买卖差>=0 AND C>=MA(C,30),0,换手卖*W,1,0),COLORDDCC00;
STICKLINE( 买卖差<0,0,换手买*W,1.8,0),COLORRED;
STICKLINE( 买卖差<0 AND C>=MA(C,30),0,换手买*W,2.2,0),COLORRED;
STICKLINE( 买卖差<0,0,换手卖*W,0.8,0),COLOR998800;
STICKLINE(买卖差<0 AND C>=MA(C,30),0,换手卖*W,1,0),COLORDDCC00;
STICKLINE(1,0,MAX(换手买*W,换手卖*W),0,0),COLORFFFFFF;
IF(EMA(IF(L<=LLV(L,13),SMA(ABS(L-REF(L,1)),5,1)
/SMA(MAX(L-REF(L,1),0),5,1),0),3)*10 AND 好趋势2<REF(好趋势2,1)
AND 好趋势2<50,0,20),COLORWHITE;
IF(EMA(IF(L<=LLV(L,13),SMA(ABS(L-REF(L,1)),5,1)
/SMA(MAX(L-REF(L,1),0),5,1),0),3)*10 AND 好趋势3<REF(好趋势3,1)
AND 好趋势3<50,0,40),COLORFF00FF;
走势强弱分界线:STICKLINE(WINNER(C)*50>3 AND EMA((C+3*L)/4,21)
>REF(EMA((C+3*L)/4,21),1),95,100,3,1),COLORYELLOW;
波段反弹背离区:STICKLINE(WINNER(C)*30>3 AND EMA(((C+3*L)/4+3*L)/4,3)>
REF(EMA(((C+3*L)/4+3*L)/4,3),1),95,100,3,1),COLORMAGENTA;
VARA2:=LLV(MA(LOW,3),3);
VARA3:=HHV(MA(HIGH,3),3);
KK:EMA((CLOSE-VARA2)/(VARA3-VARA2)*100,4)*0.7+20,COLORFF00FF,LINETHICK1;
DD:EMA(0.667*REF(KK,1)+0.333*KK,2)*0.7+20,COLORFFFF00;
KK2:=EMA(ABS(VARA2-CLOSE)/ABS(VARA2-VARA3)*100,4)*0.7+20,COLORFF00FF,LINETHICK2;
DD2:=EMA(0.667*REF(KK2,1)+0.333*KK2,2)*0.7+20,COLORFFFF00;
超前提示:IF((KK2-KK)*2.5>35,-5,0),COLORFFFF00,LINETHICK2;



gd56853


【下载地址隐藏】:                    点:回复可见地址
游客,如果您要查看本帖隐藏内容请回复






上一篇:「指标」通达信资金买卖量副图指标 源码
下一篇:「指标」通达信持股持币无敌操盘副图指标 源码
回复

举报

QQ|

GMT+8, 2024-11-28 03:26

快速回复 返回顶部 返回列表