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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」中短趋势主图指标 通达信 贴图 无加密


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

22万

主题

22万

帖子

14

精华

积分
11042
楼主
2024-1-17 09:15:44
【资料名称】:中短趋势主图指标 通达信 贴图 无加密介绍
【资料描述】:

中短趋势主图指标 通达信 贴图 无加密






DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(HYBLOCK,DYBLOCK)),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,STRCAT(GNBLOCK,DYBLOCK)),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0,-1,0,'破上轨买, 破下轨卖; 跌势顶减, 涨势底加; 顶近上轨, 下轨说话; 顶远上轨, 顶先减仓.'),COLORWHITE;
MA5:=MA(C,5);MA10:=MA(C,10);
MA60:=MA(C,60),POINTDOT,COLORYELLOW;

MA120:=MA(C,120),POINTDOT,COLORFF00FF;

MA250:=MA(C,250),POINTDOT,COLOR0066FF;

{短趋势 中趋势}
AA9:=C;
AAA:=REF(C,2),COLORGREEN;
AAA2:=MA(C,5);
AAA3:=MA(C,26);
AAA1:=MA((3*H+C)/4,2),COLORLICYAN;
NOTEXT1:=FORCAST(EMA(AAA,1),7),COLORGREEN;
短趋势:FORCAST(EMA(AA9,16),7),COLORBLUE,LINETHICK3;
中趋势:FORCAST(EMA(AA9,55),7),COLORFF9900,LINETHICK3;


短趋势向上:IF(AAA2>短趋势 OR C>短趋势,短趋势,DRAWNULL),COLORFF00FF,LINETHICK3;
中趋势向上:IF(短趋势>=中趋势&&AAA2>短趋势,中趋势,DRAWNULL),COLOR9933CC,LINETHICK3;


{涨停 跌停}

ZT:=C/REF(C,1)>1.097;
STICKLINE(ZT,O,C,0.5,0),COLORYELLOW;

DT:=C<REF(C,1)*(1-0.097);
STICKLINE(DT,O,C,0.5,0),COLORBLUE;


{双龙之翼}


上轨:EMA(H,25),COLORGREEN;下轨:EMA(L,25),COLORGREEN;
NOTEXT_A111:=PLOYLINE(C>上轨,上轨);
上轨向上:IF(C>上轨,NOTEXT_A111,DRAWNULL),COLORRED;
NOTEXT_B111:=PLOYLINE(C>下轨,下轨);
下轨向上:IF(C>下轨,NOTEXT_B111,DRAWNULL),COLORRED;

{笑脸}
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);
X1:=LLV(Q_2,2)=LLV(Q_2,7) ;
X2:=COUNT(Q_2<0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
X4:=REF(Q_B,1)<REF(Q_B,2);
X5:=Q_A>REF(Q_B,1);
买进:=(X1 AND X2 AND X3) AND X4 AND X5;
TJ:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);

持币:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,0,10),STICK,COLORGREEN;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;

DRAWICON(CROSS(100,J),H*1.02,4),COLORGREEN;
DRAWICON(CROSS(J,0)&&持币=0,L*0.98,5),COLORRED;
DRAWICON(J<0&&持币=0,L*0.97,24),COLORRED;

是否上榜 : SIGNALS_USER(300, 0), NODRAW; {上榜金额>1,则表示上榜了,这个是上榜总金额}
净买入: SIGNALS_USER(299, 0), NODRAW;
HIGH1 := IF(MOD(DAY,2) = 1, 100, 95);


DRAWTEXT(是否上榜>=1 AND 净买入>=0, L*0.98, VARCAT('净: ', VAR2STR(净买入, 0)) ), COLORRED;
DRAWTEXT(是否上榜>=1 AND 净买入<0, L*0.98, VARCAT('净: ', VAR2STR(净买入, 0)) ), COLORGREEN;
 



gd56460


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






上一篇:「指标」精准底部预警副图指标 通达信 贴图 加密 不限时
下一篇:「指标」拉升出货副图指标 通达信 贴图 有未来 未加密
回复

举报

QQ|

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

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