通达信顶底提示指标(源码)

2014-06-23 09:20:00来源:本站整理浏览:517

VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
VAR3:=SMA(MAX(CLOSE-VAR1,0),13,1)/SMA(ABS(CLOSE-VAR1),13,1)*100;
VAR4:=SMA(MAX(VAR1-CLOSE,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
VAR5:=SMA(MAX(VAR1-CLOSE,0),13,1)/SMA(ABS(CLOSE-VAR1),13,1)*100;
VAR6:=BARSCOUNT(CLOSE);
提示顶底: VAR2<25 AND VAR3<30 AND VAR6>35, COLORSTICK;
0-ABS(VAR4<25 AND VAR5<30 AND VAR6>35), COLORSTICK;


股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式