通达信稳健盈利主图指标源码

[复制链接]
查看124 | 回复0 | 2021-8-19 11:36:45 | 显示全部楼层 |阅读模式

以下是通达信稳健盈利主图指标源码(无源码的请下载附件导入)

MA5:MA(C,5);
 MA10:MA(C,10);
 MA20:MA(C,20);
 VAR1:=(CLOSE+HIGH+LOW)/3;
 VAR2:=EMA(VAR1,10);
 VAR3:=REF(VAR2,1);
 STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.8,0),COLOR000088;
 STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.6,0),COLOR000099;
 STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.4,0),COLOR0000AA;
 STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.2,0),COLOR0000BB;
 STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.0,0),COLOR0000CC;
 STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.8,0),COLOR0000DD;
 STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.5,0),COLOR0000EE;
 STICKLINE((VAR2>VAR3),CLOSE,OPEN,1,0),COLOR0000FF;
 STICKLINE((VAR2>VAR3),LOW,HIGH,0.0,0),COLOR0000FF;
 STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.8,0),COLOR888800;
 STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.6,0),COLOR999900;
 STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.4,0),COLORAAAA00;
 STICKLINE((VAR3>VAR2),CLOSE,OPEN,2,2),COLORBBBB00;
 STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.0,0),COLORCCCC00;
 STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.8,0),COLORDDDD00;
 STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.5,0),COLOREEEE00;
 STICKLINE((VAR3>VAR2),CLOSE,OPEN,1,0),COLORFFFF00;
 STICKLINE((VAR3>VAR2),LOW,HIGH,0.0,0),COLORFFFF00;
 STICKLINE((OPEN>CLOSE),CLOSE,OPEN,0,0),COLORFFFF00;
 STICKLINE((OPEN<CLOSE),CLOSE,OPEN,0,0),COLORRED;
 C4:=CROSS(VAR2,VAR3);
 C5:=CROSS(VAR3,VAR2);
 DRAWICON(C4,LOW-0.2,7);
 DRAWICON(C5,HIGH+0.2,8);
 A1AA:=9;
 A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
 DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.03),'小心变盘'),COLORFFFFFF;
 DRAWTEXT(CROSS(83,RSI),H*1.04,' 逃顶')COLORYELLOW;

831522555.jpg

831522555.jpg
 
 

回复

使用道具 举报

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

本版积分规则