通达信潜龙副图公式 认识一下这样的未来函数公式吧

2015-12-09 22:01:00来源:本站整理浏览:152

通达信潜龙副图公式 认识一下这样的未来函数公式吧

参数:M(30),N(27),D(42)

VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M;
 VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N;
 VAR3:=VAR1 AND VAR2;
 VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND (CLOSE>OPEN OR CLOSE<OPEN) {AND (OPEN
 -REF(CLOSE,1))/REF(CLOSE,1)>-0.07} AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,1)) AND
 (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF
 (OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF
 (OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5));
 VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL);
 VAR6:=(CLOSE-VAR5)/VAR5*100;
 VAR7:=REF(VAR6,1)+D<0 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)<REF(VAR6,2) AND VAR6-REF(VAR6,1)>1.8 AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND (REF(HIGH,2)>REF(LOW,2)) AND (REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5));
潜龙:VAR1;
铰龙:VAR2;
亢龙:VAR6+D;
飞龙:IF(VAR4 OR VAR7,40,0);



这个公式,肯定有信号漂移,到底哪个是未来函数?自己研究一下

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式