资源描述:
《【股票指标公式下载】-【通达信】趋势跟踪(主升浪、趋》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】趋势跟踪(主升浪、趋势、周期、挖坑)■指标公式源码MA5:二MA(CLOSE,5);MAIO:=MA(CLOSE,10);MA20:=MA(CLOSE,20);A1:=TF(C>=MA5,1,-1);A2:=1F(C>=MA1O,1,-1);A3:二IF(C>二MA20,1,-1);A4:二IF(MA5>二REF(MA5,1),1,-1);A5:=IF(MA10>=REF(MA10,1),1,-1);A6:二IF(MA20>二REF(MA20,1),1,-1);趋势:(Al+A2+A3+A4+A5+A6)/6*100,COLOROOFFOO;主升浪:
2、趋势>二50,COLOROOOOFF,POINTDOT,NODRAW;l:趋势〈50,COLORFFFFFF,POINTDOT,NODRAW;周期:IF(主升浪,BARSLAST(CROSS(主升浪,0.1))+1,0),COLORFFOOFF,POTNTDOT,NODRAW;临界:IF(CROSS(9&趋势),1,0),COLOROOFFOO,POINTDOT,NODRAW;WKQY:二BARSLAST(CROSS(50,趋势))3、,50)ANDWKQY,COLOROOFFFF,POINTDOT,NODRAW;{以下设置副图显示方式}DRAWBAND(趋势,RGB(250,0,0),50,RGB(0,0,0));AA:=IF(挖坑,趋势,50);DRAWBAND(50,RGB(250,250,0),AA,RGB(0,0,0));STICKLINE(主升浪,周期*0.&周期*0.95,3,0),COLOROOOOFF;STTCKLTNE(主升浪,周期*1.05,周期*1.2,3,0),COLOROOOOFF;STICKLINE(主升浪ANDC4、3,1),COLORFFFFFF;STICKLINE(CROSS(主升浪,0.1),0,100,0,-1),COLOROOOOFF;DRAWTEXT(临界,90,',COLOROOFFOO;平:0,COLORFFFFFF;STTCKLTNE(C>0,50,50,1,0),COLOROOOOOO;%:趋势,COLOROOFFOO;【通达信】趋势跟踪(主升浪、趋势、周期、挖坑)-指标公式效果图中联重科(日线•前复权)上下拐点支»i:17.17阻力J9.75MA5:18.16iMA13:18.071强^:18.07f回调二2010/04/23/S开21.25高21.
5、52低20.88收20.96量189120.5额4.04亿幅-024(-1.13%)振3.02%换行3%流通16.7亿整势跟踪趋势Odd'1:1.00「I临界QOOj挖坑7.00¥:0.00z:0.00•■口曲丰?k柠坑氐(文档来源:若水财经社区)