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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」通达信主图画线主图源码 贴图


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

22万

主题

22万

帖子

14

精华

积分
11042
楼主
2024-2-2 16:40:35
【资料名称】:通达信主图画线主图源码 贴图介绍
【资料描述】:

通达信主图画线主图源码 贴图

N1:=6;
限时日:=11711201;
限时:=IF(DATE<限时日,1,1);


重心:(2*C+H+L)/4* 限时,COLOR00FFFF,LINETHICK0;
SJ:=WMA((重心-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2)* 限时;
ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2)* 限时;
DRAWTEXT(CROSS(SJ,ZJ) AND SJ<30* 限时,L-0.1* 限时,'←低吸')* 限时,COLOR00FF00;
DRAWTEXT(CROSS(ZJ,SJ) AND SJ>70,H+0.1* 限时,'←高抛')* 限时,COLOR0077FF;

A1:=EMA(C,14)* 限时,COLORWHITE,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100* 限时,NODRAW;
突破:REF(EMA(C,14),1)* 限时,NODRAW;
距离:(C-突破)/突破*100* 限时,NODRAW;
出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1)* 限时,DRAWNULL)COLORRED,LINETHICK1;
休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1)* 限时,DRAWNULL)COLORGREEN,LINETHICK1;
涨幅:IF(A1X>=0,(C-出击)/出击*100* 限时,DRAWNULL)NODRAW;
跌幅:IF(A1X<0,(C-休假)/休假*100* 限时,DRAWNULL)NODRAW;
IF(H>=出击*1.1,出击*1.1,DRAWNULL)* 限时,COLORRED,POINTDOT,LINETHICK4;
IF(H>=出击*1.2,出击*1.2,DRAWNULL)* 限时,COLORRED,POINTDOT,LINETHICK4;
IF(H>=出击*1.3,出击*1.3,DRAWNULL)* 限时,COLORRED,POINTDOT,LINETHICK4;
IF(L<休假*0.9,休假*0.9,DRAWNULL)* 限时,COLORGREEN,POINTDOT,LINETHICK4;
IF(L<休假*0.8,休假*0.8,DRAWNULL)* 限时,COLORGREEN,POINTDOT,LINETHICK4;
IF(L<休假*0.7,休假*0.7,DRAWNULL)* 限时,COLORGREEN,POINTDOT,LINETHICK4;
STICKLINE(CROSS(A1X,0),C,O,2,0)* 限时,COLORYELLOW;
STICKLINE(CROSS(0,A1X),C,O,2,0)* 限时,COLORGREEN;
STICKLINE(CROSS(A1X,0)OR CROSS(0,A1X),REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,2,0)* 限时,COLORWHITE;
STICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,5,0)* 限时,COLORWHITE;
A11:DRAWLINE(HIGH>=HHV(HIGH,5),HIGH,LOW<=LLV(LOW,5),LOW,0)* 限时;
B1:DRAWLINE(LOW<=LLV(LOW,5),LOW,HIGH>=HHV(HIGH,5),HIGH,0)* 限时;
A2:DRAWLINE(HIGH>=HHV(HIGH,13),HIGH,LOW<=LLV(LOW,13),LOW,0)* 限时,COLORCYAN;
B2:DRAWLINE(LOW<=LLV(LOW,13),LOW,HIGH>=HHV(HIGH,13),HIGH,0)* 限时;
A3:DRAWLINE(HIGH>=HHV(HIGH,34),HIGH,LOW<=LLV(LOW,34),LOW,0)* 限时;
B3:DRAWLINE(LOW<=LLV(LOW,34),LOW,HIGH>=HHV(HIGH,34),HIGH,0)* 限时;
A4:DRAWLINE(HIGH>=HHV(HIGH,55),HIGH,LOW<=LLV(LOW,55),LOW,0)* 限时;
B4:DRAWLINE(LOW<=LLV(LOW,55),LOW,HIGH>=HHV(HIGH,55),HIGH,0)* 限时;
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1);
买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0)* 限时;
卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0)* 限时;
DRAWICON(FILTER(买1=1,5),LOW*0.99,7)* 限时,COLORRED;
STICKLINE(FILTER(买1=1,5),C,O,1,0)* 限时,COLORRED;
DRAWICON(FILTER(卖1=1,1),H*1.01,8)* 限时,COLOR00FF00;
STICKLINE(FILTER(卖1=1,1),C,O,1,0)* 限时,COLOR00FF00;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0)* 限时;
DRAWTEXT(注意 AND 卖1<1,HIGH*1.01,'J')* 限时,COLOR00FF00,LINETHICK3;
STICKLINE(注意 AND 卖1<1,O,CLOSE,1,0)* 限时,COLORYELLOW,LINETHICK2;
时间窗口01:=FILTER(IF(HHVBARS(HIGH,5),0,H),5)* 限时,COLORFFFF00;
DRAWTEXT(时间窗口01,HIGH*0.99,'5');
时间窗口02:=FILTER(IF(LLVBARS(LOW,5),0,L),5)* 限时,COLOR00FFFF;
DRAWTEXT(时间窗口02,LOW*0.99,'5');
时间窗口1:=FILTER(IF(HHVBARS(HIGH,13),0,1),13)* 限时,COLOR00FF00;
DRAWTEXT(时间窗口1,HIGH*0.99,'13');
时间窗口2:=FILTER(IF(LLVBARS(LOW,13),0,1),13)* 限时,COLOR0000FF;
DRAWTEXT(时间窗口2,LOW*0.99,'13');
时间窗口3:=FILTER(IF(HHVBARS(HIGH,34),0,2),34)* 限时,COLOR55FF55;
DRAWTEXT(时间窗口3,HIGH*0.99,'34');
时间窗口4:=FILTER(IF(LLVBARS(LOW,34),0,2),34)* 限时,COLOR5555FF;
DRAWTEXT(时间窗口4,LOW*0.99,'34');
时间窗口5:=FILTER(IF(HHVBARS(HIGH,55),0,30),55)* 限时,COLOR99FF99;
DRAWTEXT(时间窗口5,HIGH*0.99,'55');
时间窗口6:=FILTER(IF(LLVBARS(LOW,55),0,30),55)* 限时,COLORDD00FF;
DRAWTEXT(时间窗口6,LOW*0.99,'55');
时间窗口7:=FILTER(IF(HHVBARS(HIGH,89),0,40),89)* 限时,COLORDDFFDD;
DRAWTEXT(时间窗口7,HIGH*0.99,'89');
时间窗口8:=FILTER(IF(LLVBARS(LOW,89),0,40),89)* 限时,COLOR0055FF;
DRAWTEXT(时间窗口8,LOW*0.99,'89');
时间窗口9:=FILTER(IF(HHVBARS(HIGH,144),0,50),144)* 限时,COLORDDFF00;
DRAWTEXT(时间窗口9,HIGH*0.99,'144');
时间窗口10:=FILTER(IF(LLVBARS(LOW,144),0,50),144)* 限时,COLOR9955FF;
DRAWTEXT(时间窗口10,LOW*0.99,'144');
时间窗口11:=FILTER(IF(HHVBARS(HIGH,233),0,60),233* 限时),COLORDDFFFF;
DRAWTEXT(时间窗口11,HIGH*0.99,'233');
时间窗口12:=FILTER(IF(LLVBARS(LOW,233),0,60),233)* 限时,COLORFF55FF;
DRAWTEXT(时间窗口12,LOW*0.99,'233')* 限时;


DRAWTEXT_FIX(CROSS(DATE,限时日) OR DATE=限时日,0.5,0.9,0,'★★ QQ:1713415707★★'),COLOR0000FF;


 





gd47962


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






上一篇:「指标」通达信KDJ变色副图指标 贴图
下一篇:「指标」三山六水副图/选股源码 通达信 贴图 有未来
回复

举报

QQ|

GMT+8, 2024-11-24 19:00

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