资源描述:
《【股票指标公式下载】-【通达信】智能买卖(短趋势线、中趋势线)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】智能买卖(短趋势线、中趋势线)■指标公式源码短趋势线:MA(CLOSE,13),COLORRED,LINETHICK3;中线:=MA(CLOSE,33),LINETIIICK1;中趋势线:MA(CLOSE,55),LINETHICK1,COLORGRAY;年线:MA(CLOSE,250),LTNETHTCK1,COLORIJGRAY,POTNTDOT;涨:IF(短趋势线〉REF(短趋势线,1),短趋势线,DRAWNULL),COLORRED,LINETHICK3;平:二IF(短趋势线二REF(短趋势线,1),短
2、趋势线,DRAWNULL),COLOROOFFFF,LINETHICK3;跌:IF(短趋势线〈REF(短趋势线,1),短趋势线,DRAWNULL),COLORGREEN,L1NETH1CK3;上极限:二((C-REF(MA(CLOSE,20),1))/20+短趋势线)*1.20;DRAWTEXT(CROSS(CLOSE,上极限02,'减仓'),COLORGREEN;DRAWTEXT(CROSS(CLOSE,MA(C,13))AND短趋势线〈REF(短趋势线,1)AND短趋势线〈中趋势线,H*l.02,'减仓'),COLO
3、RGREEN;DRAWTEXT(CROSS(短趋势线,C)AND1NDEXC>MA(1NDEXC,13)AND短趋势线>REF(短趋势线,1)ANDV4、MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;DRAWTEXT(VARI>9ANDV[9ANDV>REF(V,1)ANDFILTER(VAR1][20ANDFILTER]
5、(VAR1〈REF(VARI,1),5),H*l・06,'卖出'),COLORYELLOW;VAR2:=HHV(VARI>20,10);DRAWTEXT(FILTER(VARI<-9ANDVAR1>REF(VARI,1),18)ANDV>REF(V,1)丄*0.98,'反弹'),COLORRED;DRAWTEXT(VARI<-20ANDFILTER(VAR1>REF(VARI,l),5),L*0.95/抄底'),COLORYELLOW;DRAWTEXT(VAR2ANDCROSS((REF(HIGH,1)+REF(LOW,
6、1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),H*l.1,'危险'),COLORYELLOW;VAR12:=(HIGH-LOW);VAR3:二ABS((OPEN-CLOSE));VAR4:=(HIGH-IF((CLOSE>OPEN),CLOSE,OPEN));VAR5:=(IF((CLOSE>OPEN),OPEN,CLOSE)-LOW);VAR6:=((VAR3/VAR12)*VOL);VAR7:=((VAR4/VAR12)*VOL);VAR8:=((VAR5/VAR12)*VOL);VARB:
7、=(((MA(CLOSE,5)>MA(CLOSE,10))AND(MA(CLOSE,10)>MA(CLOSE,30)))AND(MA(CLOSE,30)>MA(CLOSE,60)));VARA:=(((CLOSE-MA(CLOSE,5))/MA(CLOSE,5))*100);DRAWTEXT((((((VAR6>(MA(VOL,5)*2))AND短趋势线〉REF(短趋势线,1)AND(VAR6>二VAR7))AND(VAR6>二VAR8))AND(CLOSE>OPEN))OR((VOL>(MA(VOL,5)*3))AND
8、VARB))丄*0.98,'主力介入'),COLORMAGENTA;【通达信】智能买卖(短趋势线、中趋势线)■指标公式效果图断疆众和(日线)智能买卖24*中趋势线V6.47年tt:21.80圧跌「24.25XXXMX•洗盘打1T□7•减仓uy9,o(文档来源:若水财经社区)