通达信智能辅助线主图指标 红三角买入绿三角卖出源码

[复制链接]
查看233 | 回复0 | 2021-8-28 01:10:27 | 显示全部楼层 |阅读模式

以下是通达信智能辅助线主图指标 红三角买入绿三角卖出源码(无源码的请下载附件导入)

通达信智能辅助线主图指标 红三角买入绿三角卖出 源码 附图

XA_1:=(3*CLOSE+OPEN+LOW+HIGH)/6;
 HHJSJDB:(20*XA_1+19*REF(XA_1,1)+18*REF(XA_1,2)+17*REF(XA_1,3)+16*REF(XA_1,4)+15*REF(XA_1,5)+14*REF(XA_1,6)+13*REF(XA_1,7)+12*REF(XA_1,8)+11*REF(XA_1,9)+10*REF(XA_1,10)+9*REF(XA_1,11)+8*REF(XA_1,12)+7*REF(XA_1,13)+6*REF(XA_1,14)+5*REF(XA_1,15)+4*REF(XA_1,16)+3*REF(XA_1,17)+2*REF(XA_1,18)+REF(XA_1,19))/210,COLORYELLOW;
 HHJSJDC:MA(HHJSJDB,5),COLORRED;
生命线:EMA(CLOSE,5),COLORMAGENTA,LINETHICK3;
 IF(生命线<REF(生命线,1),生命线,DRAWNULL),COLORGREEN,LINETHICK4;
乖离率:(CLOSE-HHJSJDB)/CLOSE*100,NODRAW,COLORGREEN;
水平面:MA(CLOSE,120),POINTDOT,COLORMAGENTA;
年线:MA(CLOSE,250),POINTDOT,COLORGREEN;
 MA60:MA(CLOSE,60),COLORBLUE,LINETHICK2;
 DRAWICON(CROSS(HHJSJDB,HHJSJDC),HHJSJDB,38);
 DRAWICON(CROSS(HHJSJDC,HHJSJDB),HHJSJDC,39);
 XA_2:=CLOSE>OPEN AND VOL>REF(VOL,1)*1.15 AND CLOSE/REF(CLOSE,1)>1.045 AND CLOSE/REF(CLOSE,1)<1.099;
 DRAWTEXT(XA_2,LOW*0.98,''),COLORMAGENTA;
 XA_3:=AMOUNT/VOL;
 XA_4:=LOW<XA_3*0.9;
 XA_5:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;
 XA_6:=LOW<MA(CLOSE,5)*0.921;
 XA_7:=VOL<MA(VOL,5)*1.5;
 XA_8:=XA_4 AND XA_5 AND XA_6 AND XA_7;
 DRAWTEXT(XA_8,LOW*0.99,''),COLORGREEN;
 STICKLINE(XA_8,HIGH,LOW,0.5,0),COLORGREEN;
 STICKLINE(XA_8,OPEN,CLOSE,1,1),COLORGREEN,LINETHICK3;
 STICKLINE(CLOSE>REF(CLOSE,1)*1.098,OPEN,CLOSE,3,0),COLORMAGENTA;
 STICKLINE((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<(-0.095),CLOSE,OPEN,3,0),COLOR00DB00;

2056211905.jpg

2056211905.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则