通达信六脚金蜘蛛副图指标公式【源码分享】

电脑版效果

手机版效果展示:

指标源码:

{设置参数n 0 500 9}

A1:=EMA(EMA(EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),3),20);

B1:=(A1-REF(A1,1))/REF(A1,1)*100;

C1:SUM(B1,N);

A2:=EMA(EMA(EMA(EMA(EMA(CLOSE,12),12),12),12),12);

B2:=(A2-REF(A2,1))/REF(A2,1)*100;

C2:SUM(B2,N);

A3:=EMA(EMA(EMA(CLOSE,18),18),18);

B3:=(A3-REF(A3,1))/REF(A3,1)*100;

C3:SUM(B3,N);

STICKLINE(C2>REF(C2,1),C2,C3,0,0),COLORRED;

STICKLINE(C2<ref(c2,1),c2,c3,0,0),colorgreen;< p=''></ref(c2,1),c2,c3,0,0),colorgreen;<>

STICKLINE(C1>REF(C1,1),C1,C3,0,0),COLORRED;

STICKLINE(C1<ref(c1,1),c1,c3,0,0),colorgreen;< p=''></ref(c1,1),c1,c3,0,0),colorgreen;<>

DRAWTEXT(CROSS(C1,REF(C1,1)) AND C1>C3,C1,'买点'),COLORYELLOW;

DRAWTEXT(CROSS(C1,C2) AND C1>C3 AND C1>C2,C1,'买点'),COLORYELLOW;

指标源码公式

指标源码公式:内容涵盖主图,副图,选股,分时,预警等指标源码,是专业的公众号
公众号

(0)

相关推荐