资源描述:
《 通达信指标公式源码-有了它别的不求-无未来.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、VarTIME:=IF(YEAR>=2050ANDMONTH>=11ANDDAY>=07,0,1);VarDTIME:=IF(YEAR=2050ANDMONTH=11ANDDAY=06,1,0);DRAWTEXT(VarDTIME,115,''),COLOR;DRAWTEXT(VarDTIME,100,''),COLOR;DRAWTEXT(VarDTIME,85,''),COLOR;DRAWTEXT(VarDTIME,70,''),COLOR;DRAWTEXT(VarDTIME,45,''),COLOR;qw1:=(HIGH+LOW+CLOSE*2)/4*VarT
2、IME; qw3:=EMA(qw1,10)*VarTIME; qw4:=STD(qw1,10)*VarTIME; qw5:=(qw1-qw3)*100/qw4*VarTIME; qw6:=EMA(qw5,5)*VarTIME; rk7:=EMA(qw6,10)*VarTIME; 涨:EMA(qw6,10)+100/2-5,linethick1,colorred; 跌:EMA(涨,4),linethick1,colorFFFF34; 多线:IF(cross(涨,跌)and跌<-10,30,0),linethick1,COLORFF00FF; 空线:IF(cross(
3、跌,80),70,100),color0099ff,linethick1; 买1:ema(跌,4)*VarTIME,colorwhite; 买2:ema(买1,4)*VarTIME,colorgreen; 买m3:=ema(买2,4)*VarTIME,coloryellow; 买m4:=ema(买m3,4)*VarTIME,colorcc9900; -10,pointdot,color,linethick2; 80,pointdot,color,linethick2; STICKLINE(涨4、rwhite; STICKLINE(涨5、(涨[REF(涨,1),涨,EMA(涨,3),0,0),COLOR00BBFF;STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),8,0),COLOR0011FF; STICKLINE(涨>REF(涨,1),涨,EMA(]
6、涨,3),7,0),COLOR0022FF;STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),6,0),COLOR0044FF;STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),5,0),COLOR0066FF;STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),4,0),COLOR0088FF; STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),3,0),COLOR0099FF;STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),2,0),COLOR00AAFF;STICKLINE(涨>REF(涨
7、,1),涨,EMA(涨,3),1,0),COLOR00BBFF;DRAWICON(多线,30,1),COLORFF00FF; DRAWICON(cross(跌,80),70,2),colorgreen; DRAWTEXT(cross(涨,跌)and跌<20and跌>-10,40,'买入'),colorccff99; DRAWTEXT(多线>0,-20,'看涨'),color0000ff; Var811:=SUMBARS(VOL,FINANCE(7)*100)*VarTIME; Var822:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPIT
8、AL)*V