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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」大满贯 十面埋伏副图指标 源码 通达信


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

22万

主题

22万

帖子

14

精华

积分
11042
楼主
2023-11-30 14:11:24
【资料名称】:大满贯 十面埋伏副图指标 源码 通达信介绍
【资料描述】:

大满贯 十面埋伏副图指标 源码 通达信






N1:=3;N2:=9;N3:=12;N4:=26;
STICKLINE(CLOSE,0,1,3,1),COLORRED;
DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);
DEA:=EMA(DIFF,N2);
A1:=DIFF>DEA;
DRAWICON(A1,0.75,41);
DRAWTEXT(ISLASTBAR=1,IF(A1,0.5,0.5),' MACD ');

RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
K:=SMA(RSV1,N1,1);
D:=SMA(K,N1,1);
A2:=K>D;
STICKLINE(CLOSE,1,2,4,1),COLORRED;
DRAWICON(A2,1.75,41);
DRAWTEXT(ISLASTBAR=1,IF(A2,1.5,1.5),' KDJ ');

LC:=REF(CLOSE,1);
STICKLINE(CLOSE,2,3,4,1),COLORRED;
RSI1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(ABS(CLOSE-LC),N2,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;
DRAWICON(RSI1>RSI2,2.75,41);
A3:=RSI1>RSI2;
DRAWTEXT(ISLASTBAR=1,IF(RSI1>RSI2,2.5,2.5),' RSI ');

RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
LWR1:=SMA(RSV,N1,1);
STICKLINE(CLOSE,3,4,4,1),COLORRED;
LWR2:=SMA(LWR1,N1,1);
DRAWICON(LWR1>LWR2,3.75,41);
A4:=LWR1>LWR2;
DRAWTEXT(ISLASTBAR=1,IF(LWR1>LWR2,3.5,3.5),' LWR ');

BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
STICKLINE(CLOSE,4,5,4,1),COLORRED;
DRAWICON(CLOSE>BBI,4.75,41);
A5:=CLOSE>BBI;
DRAWTEXT(ISLASTBAR=1,IF(CLOSE>BBI,4.5,4.5),' BBI ');

MTM:=CLOSE-REF(CLOSE,6);
STICKLINE(CLOSE,5,6,4,1),COLORRED;
MTMMA:=MA(MTM,12);
DRAWICON(MTM>MTMMA,5.75,41);
A6:=MTM>MTMMA;
DRAWTEXT(ISLASTBAR=1,IF(A6,5.5,5.5),' MTM ');

{MAKDX}
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
STICKLINE(CLOSE,6,7,4,1),COLORRED;
DKX:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
MADKX:=MA(DKX,N2);
A7:=DKX>MADKX;
DRAWICON(A7,6.75,41);
DRAWTEXT(ISLASTBAR=1,IF(A7,6.5,6.5),' MAKDX ');

{PAV筹码引力}
STICKLINE(CLOSE,7,8,4,1),COLORRED;
GV:=WINNER(CLOSE)*100;
CV:=EMA(100-GV,3)*(-1);
MGV:=MA(GV,9);
MCV:=MA(CV,1);
QQ:=MGV+MCV;
A8:=QQ>REF(QQ,1);
DRAWICON(A8,7.75,41);
DRAWTEXT(ISLASTBAR=1,IF(A8,7.5,7.5),' PAV筹码引力 ');

{XS2薛斯通道2}
STICKLINE(CLOSE,8,9,4,1),COLORRED;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AA*102/100;
通道2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+7/100)*DD;
通道4:=(1-7/100)*DD;
A9:=通道1>REF(通道1,1) AND 通道2>REF(通道2,1);
DRAWICON(A9,8.75,41);
DRAWTEXT(ISLASTBAR=1,IF(A9,8.4,8.4),' 薛斯通道2 ');

{主力买卖}
STICKLINE(CLOSE,8.8,9.8,4,1),COLORRED;
RSI22:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI23:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
短期主力线:=MA(3*RSI22-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
A10:=短期主力线>REF(短期主力线,1);
DRAWICON(A10,9.7,41);
DRAWTEXT(ISLASTBAR=1,IF(A10,9.25,9.25),' 主力买卖 ');

大满贯:A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10,LINETHICK3,COLORGREEN;

猎狼指导线:=(A1+A2+A3+A4+A5+A6+A7+A8+A9+A10),LINETHICK2,COLORWHITE;
短买:IF(猎狼指导线>=6,1,0),LINETHICK3,COLORWHITE;



gd55128


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






上一篇:「指标」抓主升浪预警选股源码 通达信 贴图
下一篇:「指标」博傻量柱 自用量学精品指标分享 看指标、学思路,免费赠送给大家!
回复

举报

QQ|

GMT+8, 2024-11-24 22:33

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