資源描述:
《【股票指標(biāo)公式下載】-【通達信】趨勢跟蹤(主升浪、趨》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、【通達信】趨勢跟蹤(主升浪、趨勢、周期、挖坑)■指標(biāo)公式源碼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;{以下設(shè)置副圖顯示方式}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;【通達信】趨勢跟蹤(主升浪、趨勢、周期、挖坑)-指標(biāo)公式效果圖中聯(lián)重科(日線?前復(fù)權(quán))上下拐點支?i:17.17阻力J9.75MA5:18.16iMA13:18.071強^:18.07f回調(diào)二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檸坑氐(文檔來源:若水財經(jīng)社區(qū))