程序化指标公式
问答中心

通达信趋势交易主图指标公式

通达信指标 2021-05-24阅读量:3574

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击 安装指南 步骤操作。

X_1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_2:=SMA(X_1,3,1);
X_3:=SMA(X_2,3,1);
X_4:=3*X_2-2*X_3;
X_5:=REF(CLOSE,1);DRAWKLINE(H,O,L,C);
X_6:=SMA(MAX(CLOSE-X_5,0),6,1)/SMA(ABS(CLOSE-X_5),6,1)*100;
X_7:=SMA(MAX(CLOSE-X_5,0),12,1)/SMA(ABS(CLOSE-X_5),12,1)*100;
X_8:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_9:=EMA(X_8,9);
X_10:=2*(X_8-X_9);
X_11:=MA(CLOSE,20);
X_12:=X_11+2*STD(CLOSE,20);
X_13:=X_11-2*STD(CLOSE,20){更多指标关注微信公众号:程序化指标};
X_14:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
X_15:=HIGH-REF(HIGH,1);
X_16:=REF(LOW,1)-LOW;
X_17:=SUM(IF(X_15>0 AND X_15>X_16,X_15,0),14);
X_18:=SUM(IF(X_16>0 AND X_16>X_15,X_16,0),14);
X_19:=X_17*100/X_14;
X_20:=X_18*100/X_14;
X_21:=MA(ABS(X_20-X_19)/(X_20+X_19)*100,6);
X_22:=MA(X_21,2);
X_23:=(X_21+REF(X_21,6))/2;
X_24:=EMA(CLOSE,5);
X_25:=EMA(CLOSE,8);
X_26:=EMA(CLOSE,13);
X_27:=EMA(CLOSE,21);
X_28:=EMA(CLOSE,34);
X_29:=(EMA(CLOSE,7)+EMA(CLOSE,13)+EMA(CLOSE,21)+EMA(CLOSE,34))/4;
X_30:=EMA(X_29,10);
DRAWBAND(X_29,RGB(199,21,133),X_30,RGB(50,150,0));
X_31:=CROSS(X_29,X_30);
DRAWBAND(X_29,RGB(255,20,147),X_30,RGB(1,235,1));
DRAWTEXT_FIX(1,0.14,0,0,1),COLORWHITE;
DRAWTEXT_FIX(1,0.21,0,0,DYBLOCK),COLORWHITE;
DRAWTEXT_FIX(1,0,0,0,2),COLOR0080FF;
DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK),COLOR0080FF;
DRAWTEXT_FIX(1,0.28,0,0,3),COLORYELLOW;
DRAWTEXT_FIX(1,0.35,0,0,GNBLOCK),COLORYELLOW;
STICKLINE(CLOSE/REF(CLOSE,1)>=1.09,OPEN,CLOSE,2,0),COLORYELLOW;
X_32:=REF(CLOSE,1)/CLOSE>1.0995 AND CLOSE=LOW AND PERIOD=5;
STICKLINE(X_32,CLOSE,OPEN,3,0),COLORLIGREEN;
STICKLINE(CLOSE<REF(CLOSE,1) AND (REF(CLOSE,1)/CLOSE>1.067 AND REF(CLOSE,1)/CLOSE<1.0995),CLOSE,OPEN,3,0),COLOR33FF99;
STICKLINE(CLOSE/REF(CLOSE,1)<0.91 AND CLOSE<OPEN AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORGREEN;

版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭