通达信卧虎藏龙指标(源码)

2014-01-02 08:38:00来源:本站整理浏览:678

YY:=(C+H+L)/3;
ZZ:=(YY-REF(YY,1));
DIF:EMA(ZZ,10)-EMA(ZZ,22),COLORFFFF00;
DEA:EMA(DIF,7),COLORWHITE,DOTLINE;
MACD:3*DIF-2*DEA,COLORSTICK,LINETHICK1;
K:SMA(ZZ,9,1),COLOR00FFFF,LINETHICK1;
D:SMA(K,5,4),COLOR00FF00,LINETHICK1;
J:3*K-2*D,COLOR0000FF,LINETHICK1;
银子:(MACD-REF(MACD,1)),COLORC7AAAA,LINETHICK2;
VAR1:=(C-EMA(C,5))/EMA(C,5)*100;
VAR2:=(C-EMA(C,10))/EMA(C,10)*100;
VAR3:=(C-EMA(C,20))/EMA(C,20)*100;
VAR4:=(C-EMA(C,30))/EMA(C,30)*100;
VAR5:=(C-EMA(C,60))/EMA(C,60)*100;
VAR6:=(C-EMA(C,120))/EMA(C,120)*100;
VAR7:=(C-EMA(C,250))/EMA(C,250)*100;
线:(VAR1+2*VAR2+4*VAR3+6*VAR4+12*VAR5+24*VAR6+50*VAR7)/99,NODRAW;


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式