通达信自己用的主力控盘副图公式

2015-10-22 20:15:00来源:本站整理浏览:280

通达信自己用的主力控盘副图公式

源码

ZLCM:=EMA((WINNER(CLOSE) * 70),3);
 SHCM:=EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),3);
主力控盘:((ZLCM / (ZLCM + SHCM)) * 100),LINETHICK2,COLORYELLOW;
顶:90, LINETHICK2 ,COLORRED;
风险:80,,COLORYELLOW;
平衡:50,COLORGREEN;
安全:20,COLORBLUE;
底:0, LINETHICK2 ,COLORWHITE;
 VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
 VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
 VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
 VAR4:=REF(CLOSE,1);
 VAR5:=SMA(MAX(CLOSE-VAR4,0),5,1)/SMA(ABS(CLOSE-VAR4),5,1)*100;
 VAR6:=(HIGH+LOW+CLOSE)/3;VAR22:=(VAR6-MA(VAR6,14))/(0.015*AVEDEV(VAR6,14));
 VAR7:=(VAR1>=-15.8 AND VAR1<=-12.2 AND VAR2<=-20.8 AND VAR3<=-27.5 AND VAR5<=11.7 AND VAR22<=-145)*100;

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式