通达信底部指标公式源码附图

[复制链接]
查看209 | 回复0 | 2021-8-20 03:25:41 | 显示全部楼层 |阅读模式

以下是通达信底部指标公式源码附图(无源码的请下载附件导入)

VAR1:=MA(CLOSE,5);
 VAR2:=MA(CLOSE,10);
 VAR3:=MA(CLOSE,20);
 VAR4:=MA(CLOSE,30);
 VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;
 VAR6:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500;
 VAR7:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500;
 VAR8:=EMA(VAR6,8);
注意: STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6<VAR8,VAR6,0,2,0)LINETHICK2,COLORGREEN;
转强: STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,2,0),COLOR0077FF ;
持股: STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,2,0),COLORRED;
观望: STICKLINE(VAR6<REF(VAR6,1) AND VAR8>REF(VAR8,1) AND VAR6>0,VAR6,VAR8,2,0),COLORYELLOW;
持币: STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8,VAR6,VAR8,2,0),COLORFFFF00;
 HLM1:=MA(HHV(H,485),17);
 HLM2:=MA(HHV(H,222),17);
 HLM3:=MA(HHV(H,96),17);
 HLM4:=MA(LLV(L,485),17);
 HLM5:=MA(LLV(L,222),17);
 HLM6:=MA(LLV(L,96),17);
 HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17);
 HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17);
 HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);
 HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);
 HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
 HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3);
 HLMH:=HHV(HLM12,30);
关注:MA(IF(L<=LLV(L,13),(HLMH+HLM11*2)/2,0),3)/200,LINETHICK2,COLOR9900FF;
 DRAWTEXT(CROSS(关注,1.2),关注*0.5-6,'弯弓'),COLORFF00FF;
 DRAWTEXT(CROSS(关注,4.5),关注,'出击'),COLOR0000FF;
 DRAWICON(CROSS(关注,7.0),关注*0.5-10,9);
 DRAWTEXT(CROSS(关注,7.0),关注*0.5-25,'准备'),COLOR00FFFF;

747299499.png

747299499.png

回复

使用道具 举报

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

本版积分规则