资源描述:
《【股票指标公式下载】-【大智慧】趋势跟踪(主升浪、趋》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【大智慧】趋势跟踪(主升浪.趋势、临界、周期)■指标公式源码MA5:二MA(CLOSE,5);MAIO:=MA(CLOSE,10);MA20:=MA(CLOSE,20);Al:二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,LINETHICKO;l:趋势〈50,COLORFFFFFF,POINTDOT,LINETIIICKO;周期:IF(主升浪,BARSLAST(CROSS(主升浪,0.1))+1,0),COLORFFOOFF,POTNTDOT,LTNETHTCKO;临界:IF(CROSS(9&趋势),1,0),COLOROOFFOO,POINTDOT,L1NETH1CK0;WKQY:二BARSLAST(CROSS(50,趋势))3、:BETWEEN(趋势,T,50)andWKQY,COLOROOFFFF,POINTDOT,LINETHICKO;{以下设置副图显示方式}F1LLRGN(50,趋势,主升浪,RGB(250,0,0)),LAYER7;FILLRGN(50,趋势,挖坑,RGB(250,250,0)),LAYER7;STICKLINE(主升浪,周期*0.&周期*0.95,6,0),COLOROOOOFF;STICKLINE(主升浪,周期*1.05,周期*1.2,6,0),COLOROOOOFF;STTCKLTNE(主升浪ANDC4、COLORFFFFFF;VERTL1NE(CROSS(主升浪,0.1),2),COLOROOOOFF;DRAWTEXT(临界,100,',COLOROOFFOO,ALIGN1;0,COLORFFFFFF;50,COLOROOFFFF,DOTLINE;{以下设置文字提示部分}DRAWTEXTREL(10,620/股票名称:'+'【'+STKLABEL+''+STKNAME+'】'),COLORFFFFFF;DRAWTEXTREL(10,800/==•趋势为王•顺势而为•==),COLOROOOOFF;DRAWTEXTREL(200,800/==■只做主升,挖坑低吸■
5、==),COLOROOFFFF;DRAWTEXTREL(400,800,'二二☆临界不涨,逢高离场☆二二'),COLORgreen;【大智慧】趋势跟踪(主升浪、趋势、临界、周期)■指标公式效果图a股票名称:1600982宁I☆临梆杯關J逢高离场☆==Ji只做主升,U:波赫电】ATIII':V:王:顺势甫丸•:势跟踪趋势:&6.667t.耳濃:丄顾tI:O.OOOl,'心厂计,:临界:0.666;挖坑:0.000k50.000.fell00LI.0.oolAi*1LIi丄丄Ii丄I(文档来源:若水财经社区)