以下是通达信金手指主图公式 图源码

通达信指标公式源码概况:

指标类别: 通达信指标公式

授权方式: 免费版

指标评级: ★★★★★

指标分类: 策略

画线方法: 副图

{金手指主图}

X_1:=EMA(OPEN,60);

X_2:=EMA(CLOSE,60);

X_3:=IF(X_1>REF(X_1,1) AND X_2>REF(X_2,1),1,0);

X_4:=MA(CLOSE,13);

X_5:=REF(X_4,13/2+1);

X_6:=(EMA(CLOSE,60)+EMA(CLOSE,90))/2;

X_7:=(2*CLOSE+HIGH+LOW)/4;

X_8:=EMA(X_7,99)*0.91;

X_9:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;

X_10:=BARSLAST(X_9>3);

X_11:=IF(X_10>0,1,0);

STICKLINE(CLOSE>X_5 AND CLOSE>=X_6,OPEN,CLOSE,3,0),COLORRED;

STICKLINE(CLOSE>X_5 AND CLOSE<=X_8,OPEN,CLOSE,3,0),COLORGREEN;

STICKLINE(CLOSE>X_5 AND CLOSE>X_8 AND CLOSE<X_6,OPEN,CLOSE,3,0),COLORBLUE;

STICKLINE(CLOSE>X_5 AND X_11=0,OPEN,CLOSE,3,0),COLORYELLOW;

STICKLINE(CLOSE>X_5,OPEN,CLOSE,1,0),COLORWHITE;

DRAWICON(CROSS(CLOSE,X_5),LOW*0.99,9);

DRAWICON(CROSS(X_5,CLOSE),HIGH*1.01,2);

X_12:=MA(CLOSE,5);

QQ:MA(CLOSE,20),COLORYELLOW,LINETHICK2;

WWW:IF(X_12>QQ,QQ,X_12),COLORGRAY,LINETHICK2;

X_13:=CROSS(CLOSE,X_5) AND CLOSE>X_5 AND X_11=0;

X_14:=BARSCOUNT(CLOSE)=ISLASTBAR;

X_15:=BARSLAST(X_14);

X_16:=HHV(HIGH,50);

X_17:=LLV(LOW,50);

X_18:=CLOSE>X_5 AND CLOSE>=X_6;

X_19:=CLOSE>X_5 AND CLOSE>X_8 AND CLOSE<X_6;

X_20:=CLOSE>X_5 AND CLOSE<=X_8;

X_21:=CLOSE<=X_5;

X_22:=WWW>REF(WWW,1) AND WWW!=QQ;

X_23:=WWW>REF(WWW,1) AND WWW=QQ AND X_3!=1;

X_24:=WWW>REF(WWW,1) AND WWW=QQ AND X_3=1;

X_25:=CLOSE>X_5 AND X_11=0;

X_26:=X_18+X_19+X_20+X_21+X_22+X_23+X_24+X_25;

X_27:=(X_16-X_17)/(X_26+8);{分析家公式网}

DRAWTEXT(CLOSE>0 AND X_18>0 AND ISLASTBAR,X_16-X_27,1),COLORRED;

DRAWTEXT(CLOSE>0 AND X_19>0 AND ISLASTBAR,X_16-X_27,2),COLORFF7700;

DRAWTEXT(CLOSE>0 AND X_20>0 AND ISLASTBAR,X_16-X_27,3),COLORGREEN;

DRAWTEXT(CLOSE>0 AND X_21>0 AND ISLASTBAR,X_16-X_27,4),COLORGRAY;

DRAWTEXT(CLOSE>0 AND X_22>0 AND ISLASTBAR,X_16-X_27*2,5),COLORGREEN;

DRAWTEXT(CLOSE>0 AND X_23>0 AND ISLASTBAR,X_16-X_27*2,6),COLORFF66FF;

DRAWTEXT(CLOSE>0 AND X_24>0 AND ISLASTBAR,X_16-X_27*2,7),COLORRED;
通达信金手指主图公式 图源码

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。