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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」通达信价格变异率主图指标 和谐源码分享 贴图


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

22万

主题

22万

帖子

14

精华

积分
11042
楼主
2024-1-24 13:41:09
【资料名称】:通达信价格变异率主图指标 和谐源码分享 贴图介绍
【资料描述】:

通达信价格变异率主图指标 和谐源码分享 贴图






价格变异率:SAR.SAR,CIRCLEDOT,COLOR9AFF9A,LINETHICK2;
IF(CLOSE>=价格变异率,价格变异率,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK2;
X_1:=REF(LOW,1);
X_2:=REF(HIGH,1);
X_3:=LOW>X_2;
X_4:=HIGH<X_1;
STICKLINE(LOW>REF(HIGH,1),LOW,REF(HIGH,1),3.1,(-1)),COLORRED;
STICKLINE(REF(LOW,1)>HIGH,REF(LOW,1),HIGH,3.1,(-1)),COLORGREEN;
STICKLINE(OPEN>=CLOSE,HIGH,LOW,0,0),COLOR909090;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.1,0),COLOR606060;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.1,0),COLOR707070;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.2,0),COLORGRAY;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.2,0),COLOR909090;
STICKLINE(OPEN<=CLOSE,HIGH,LOW,0,0),COLOR666B6F;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.1,1),COLOR666B6F;
X_5:=VOL/REF(VOL,1)>=1.9 AND CLOSE>REF(CLOSE,1);
STICKLINE(X_5,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(X_5,OPEN,CLOSE,3.1,0),COLOR0033FF;
STICKLINE(X_5,OPEN,CLOSE,2.1,0),COLOR0077FF;
STICKLINE(X_5,OPEN,CLOSE,1.1,0),COLOR00BBFF;
STICKLINE(X_5,OPEN,CLOSE,0.1,0),COLORYELLOW;
X_6:=CLOSE/REF(CLOSE,1)>1.097;
ZT数:COUNT(X_6,BARSSINCE(X_6)),NODRAW;
X_7:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
STICKLINE(X_7>9.5,CLOSE,OPEN,3.1,0),COLOR0000CC;
STICKLINE(X_7>9.5,CLOSE,OPEN,2.1,0),COLOR0000DD;
STICKLINE(X_7>9.5,CLOSE,OPEN,1.2,0),COLOR0000EE;
STICKLINE(X_7>9.5,CLOSE,OPEN,0.2,0),COLORRED;
STICKLINE(X_7>9.5,HIGH,LOW,0,0),COLORRED;
STICKLINE(X_7<(-9.9),OPEN,CLOSE,3.1,0),COLOR66CC66;
STICKLINE(X_7<(-9.9),OPEN,CLOSE,2.1,0),COLOR77DD77;
STICKLINE(X_7<(-9.9),OPEN,CLOSE,1.2,0),COLOR88EE88;
STICKLINE(X_7<(-9.9),OPEN,CLOSE,0.2,0),COLOR99FF99;
STICKLINE(X_7<(-9.5),HIGH,LOW,0,0),COLOR99FF99;
X_8:=AMO.AMOW/VOL/100;
X_9:=CLOSE<OPEN AND CLOSE>=REF(MIN(CLOSE,OPEN),1) AND X_8>REF(X_8,1);
X_10:=X_9;
STICKLINE(X_10,HIGH,LOW,0,0),COLORFFAA00;
STICKLINE(X_10,OPEN,CLOSE,3,0),COLORFF3300;
STICKLINE(X_10,OPEN,CLOSE,2,0),COLORFF7700;
STICKLINE(X_10,OPEN,CLOSE,1,0),COLORFFAA00;
STICKLINE(X_10,OPEN,CLOSE,0.1,0),COLORCYAN;
X_11:=REF(OPEN,BARSLAST(X_9));
假阴实顶:X_11,NODRAW,COLORFF7700;
STICKLINE(VOL,X_11,X_11,1,0),COLORFF7700;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,CODE),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.05,0,STKNAME),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.05,0,HYBLOCK),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,DYBLOCK),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.85,0,GNBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.9,0,FGBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.95,0,ZSBLOCK);
X_12:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_13:=(20*X_12+19*REF(X_12,1)+18*REF(X_12,2)+17*REF(X_12,3)+16*REF(X_12,4)+15*REF(X_12,5)+14*REF(X_12,6)+13*REF(X_12,7)+12*REF(X_12,8)+11*REF(X_12,9)+10*REF(X_12,10)+9*REF(X_12,11)+8*REF(X_12,12)+7*REF(X_12,13)+6*REF(X_12,14)+5*REF(X_12,15)+4*REF(X_12,16)+3*REF(X_12,17)+2*REF(X_12,18)+REF(X_12,20))/210;
回调认同:EMA(X_13,13),COLORGREEN;
X_14:=MACD.MACD#WEEK(12,26,9);
X_15:=(EMA(回调认同,2)-REF(EMA(回调认同,2),2))/REF(EMA(回调认同,2),2)*100;
IF(X_15>=0,回调认同,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(MACD.DIF>=0 AND X_14>=0,回调认同,DRAWNULL),COLORRED,LINETHICK3;
X_16:=MA(CLOSE,2);
X_17:=IF(CLOSE>X_16,VOL,0);
X_18:=IF(CLOSE<X_16,VOL,0);
X_19:=SUM(X_17,4);
X_20:=SUM(X_18,4);
X_21:=X_20/X_19;
X_22:=IF(HHV(X_21,5)>4 AND CROSS(2,X_21) AND CLOSE>=OPEN,1,0);
DRAWICON(X_22,LOW*0.99,9);



gd54836


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






上一篇:「指标」通达信价涨停难逃副图/选股指标 和谐源码分享 贴图
下一篇:「指标」通达信二次回踩主图指标 源码 贴图
回复

举报

QQ|

GMT+8, 2024-11-24 15:27

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