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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」精华组合- 源码 副图(中短结合)


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

22万

主题

22万

帖子

14

精华

积分
11044
楼主
2024-3-11 12:20:10
【资料名称】:精华组合- 源码 副图(中短结合)介绍
【资料描述】:

精华组合- 源码 副图(中短结合)

本指标是几个指标的组合,虽然比较难看,但真正琢磨懂了,抄底逃顶都是很容易的哦。

VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400,COLORFF00FF;
W:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
STICKLINE(W,0.3,0,2.5,0),COLOR770077;
STICKLINE(W,0.3,0,1.5,0),COLOR990099;
STICKLINE(W,0.3,0,1,0),COLORBB00BB;
STICKLINE(W,0.3,0,0.5,0),COLORDD00DD;
STICKLINE(W,0.3,0,0.3,0),COLORFF00FF;
DRAWTEXT(W,0.4,'全仓'),COLORRED;
JJ:=(C*2+H+L)/4;
SK:=EMA(JJ,13) - EMA(JJ,21);
SD:=EMA(SK,3);
SP:=EMA(SK,10);
长多:IF(SD>=SP,SD,SP),LINETHICK1,COLORYELLOW;
长空:IF(SP-SD,SP,SD),LINETHICK2,COLORBLUE;
DRAWBAND(长多,RGB(150,0,150),长空,RGB(0,100,50));
HSNP1:=CLOSE-REF(CLOSE,1);
HSNP2:=IF(CLOSE-REF(CLOSE,1)>=0,HSNP1,0);
HSNP3:=REF(CLOSE,1)-CLOSE;
HSNP4:=IF(CLOSE-REF(CLOSE,1)<=0,HSNP3,0);
HSNP5:=SUM(HSNP2,66)/SUM(HSNP4,66);
HSNP6:=100-100/(1+HSNP5);
HSNP7:=EMA(HSNP6,22);
HSNP8:=EMA(HSNP7,5);
HSNP:=EMA(HSNP7,3);
NP:=(HSNP7-HSNP);
主力仓位线:(HSNP-HSNP7),LINETHICK1,COLORYELLOW;
多头量:STICKLINE(主力仓位线<0,0,主力仓位线,1,1),COLORYELLOW;
空头量:STICKLINE(NP<0,0,NP,1,2),COLORWHITE;
A1:=(CLOSE*2+HIGH+LOW)/4;
SK1:EMA(A1,5)-EMA(A1,10),LINETHICK2,COLORFF00FF;
SD1:EMA(SK1,5),COLORGREEN,LINETHICK2;
DRAWBAND(SK1,RGB(255,0,0),SD1,RGB(0,100,50));
A2:=EMA(CLOSE,5)-EMA(CLOSE,20);
B2:=EMA((0.668*REF(A2,1)+0.333*A2),1);
短多:IF(A2>=B2,A2,B2),LINETHICK1,COLORYELLOW;
短空:B2,LINETHICK2,COLORGREEN;LC:=REF(CLOSE,1);
DRAWBAND(短多,RGB(200,150,20),短空,RGB(80,80,50));
短差值:EMA(短多,0)-EMA(短空,0),LINETHICK1,COLORRED;
STICKLINE(短差值>0,0,短差值,1,2),COLORRED;
分水线:0,LINETHICK1,COLORWHITE;
RSI1:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),4,1)/SMA(ABS(CLOSE-LC),4,1)*100;
RSI4:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI5:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI6:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
RSI7:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
RSI8:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*100;
RSI9:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;
RSI10:=SMA(MAX(CLOSE-LC,0),11,1)/SMA(ABS(CLOSE-LC),11,1)*100;
RSI11:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI12:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
RSI13:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
RSI14:=SMA(MAX(CLOSE-LC,0),15,1)/SMA(ABS(CLOSE-LC),15,1)*100;
RSI15:=SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100;
RSI16:=SMA(MAX(CLOSE-LC,0),17,1)/SMA(ABS(CLOSE-LC),17,1)*100;
RSI17:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
RSI18:=SMA(MAX(CLOSE-LC,0),19,1)/SMA(ABS(CLOSE-LC),19,1)*100;
RSI19:=SMA(MAX(CLOSE-LC,0),20,1)/SMA(ABS(CLOSE-LC),20,1)*100;
RSI21:=SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*100;
RSI30:=SMA(MAX(CLOSE-LC,0),30,1)/SMA(ABS(CLOSE-LC),30,1)*100;
RSI40:=SMA(MAX(CLOSE-LC,0),40,1)/SMA(ABS(CLOSE-LC),40,1)*100;
RSI50:=SMA(MAX(CLOSE-LC,0),50,1)/SMA(ABS(CLOSE-LC),50,1)*100;
RSI60:=SMA(MAX(CLOSE-LC,0),60,1)/SMA(ABS(CLOSE-LC),60,1)*100;
RSI70:=SMA(MAX(CLOSE-LC,0),70,1)/SMA(ABS(CLOSE-LC),70,1)*100;
RSI80:=SMA(MAX(CLOSE-LC,0),80,1)/SMA(ABS(CLOSE-LC),80,1)*100;
RSI90:=SMA(MAX(CLOSE-LC,0),90,1)/SMA(ABS(CLOSE-LC),90,1)*100;
RSI100:=SMA(MAX(CLOSE-LC,0),100,1)/SMA(ABS(CLOSE-LC),100,1)*100;
RSI110:=SMA(MAX(CLOSE-LC,0),110,1)/SMA(ABS(CLOSE-LC),110,1)*100;
RSI120:=SMA(MAX(CLOSE-LC,0),120,1)/SMA(ABS(CLOSE-LC),120,1)*100;
短线RSI:=(RSI1+RSI2+RSI3+RSI4+RSI5)/5,COLORWHITE;
中线RSI:=(RSI6+ RSI7+ RSI8+ RSI9+ RSI10+ RSI11+ RSI12+ RSI13+ RSI14+ RSI15+ RSI16+ RSI17+ RSI18+ RSI19+ RSI21)/15,COLORYELLOW;
长线RSI:=(RSI21+RSI30+RSI40+RSI50+RSI60+RSI70+RSI80+RSI90+RSI100+RSI110+RSI120)/11;


 






gd10941


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






上一篇:「指标」抄底公式拿出来分享下(副图 rar文件格式)
下一篇:「指标」牛熊通吃指标(主图 源码 贴图)
回复

举报

QQ|

GMT+8, 2024-11-29 03:03

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