欢迎来到天天文库
浏览记录
ID:45554766
大小:113.67 KB
页数:3页
时间:2019-11-14
《【股票指标公式下载】-【通达信】中短趋势(短线趋势、中线趋势)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】中短趋势(短线趋势、中线趋势)-指标公式源码VAR4:二MA(CLOSE,5);VAR5:=MA(CLOSE,10);VAR6:=MA(CLOSE,30);VAR7:二MA(CLOSE,60);VAR8:=EMA(COST(85),7);VAR9:=EMA(COST(15),7);VARA:=(SUM(((CLOSE*VOL)*100),4)/SUM((VOL*100),4));VARB:=(INTPART((VARA*100))/100);VARC:=(SUM(((CLOSE*VOL)*100),7)/SUM((VOL*100),7));VARD
2、:=(1NTPART((VARC*100))/100);VARE:=(SUM(((CLOSE*VOL)*100),28)/SUM((VOL*100),28));VARF:=(INTPART((VARE*100))/100);短线趋势:=(EMA(CLOSE,5)-EMA(CLOSE,10));中线趋势:二EMA(短线趋势,9);VAR10:=((0-((100*(HHV(CLOSE,5)-CLOSE))/(HHV(CLOSE,5)-LLV(LOW,5))))+100);varh:=((o-(doo*(nnv(close,io)-close))/(nnv(cl
3、ose,io)-LLV(LOW,10))))+100);VAR12:二((0-((100*(HHV(CLOSE,20)-CLOSE))/(HHV(CLOSE,20)-LLV(LOW,20))))+100);VAR13:二((0-((100*(HHV(CLOSE,30)-CLOSE))/(HHV(CLOSE,30)-LLV(LOW,30))))+100);VAR14:=REF(中线趋势,1);VAR15:=中线趋势;VAR16:二(VAR15-VAR14);VAR17-REF(短线趋势,1);VAR18:=短线趋势;VAR19:=(VAR18-VAR17);V
4、ARIA:二OPEN;VAR1B:=CLOSE;JRS:二(((((((VAR1A<=VAR4)AND(VARIA<=VAR5))AND(VARIA<=VAR6))AND(VAR1B>=VAR4))AND(VAR1B>=VARF))AND(VAR16>0))AND(VAR19>0));XG:CROSS(JRS,0.8);【通达信】中短趋势(短线趋势、中线趋势)-指标公式效果图(文档来源:若水财经社区)
此文档下载收益归作者所有