通达信底部和顶部主图指标公式

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

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

MA10:MA(CLOSE,10),COLORGREEN,LINETHICK1;

MA21:MA(CLOSE,21),COLORLIBLUE,LINETHICK1;

MA30:MA(CLOSE,30),COLORYELLOW,LINETHICK2;

MA60:MA(CLOSE,60),COLORRED,LINETHICK3;

MA120:MA(CLOSE,120),COLOR990099,LINETHICK2;

MA250:MA(CLOSE,250),COLOR777700,LINETHICK2;

MA500:MA(CLOSE,500),COLORBLUE,LINETHICK2;

买线:=ZIG(3,10);

卖线:=MA(买线,2);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

DRAWTEXT(BU,L*0.99,''),LINETHICK2,COLOR00FFFF;

DRAWTEXT(SEL,H*1.0,''),LINETHICK1,COLOR00FF00;

STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),COLOR0000CC;

STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLOR0000CC;

STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORCCCC00;

STICKLINE(买线<卖线,LOW,HIGH,0.1,0),COLORCCCC00;

STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),COLOR00AAFF;

STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),COLOR00DD00;

DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND

(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.99,1);

DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2)) AND

(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),H,2);

VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND

(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));

VARD:=(ZIG(3,5)=REF(ZIG(3,5),2)) AND

(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));

DRAWTEXT((VARC=1),L,''),COLOR0000FF;

DRAWTEXT((VARD=1),H,''),COLOR00FF00;

V10:=PEAKBARS(3,15,1)<10;

V12:=IF(V10=1,50,0);

头部:= IF(V12=50,100,0);

DRAWTEXT(IF(头部>REF(头部,1),H,0),H*1.02,' '),COLORWHITE,LINETHICK1;

指标先生有话说:用完记得多多分享文章哦!感谢您的支持!

需要把上面公式改写成选股公式大声呼唤我!

(0)

相关推荐