macd頂?shù)妆畴x指標源碼DIFF:EMA(CLOSE,5) - EMA(CLOSE,34),COLORFF00FF; DEA:EMA(DIFF,5),colorliblue; :2*(DIFF-DEA); ZERO:0,colorliblue; GJ:MAX(C,O); STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,2,0),COLOR0000FF; STICKLINE(MACD>0 AND MACDREF(MACD,1),0,MACD,2,0),COLORFF00FF; STICKLINE(MACDREF(DEA,1) AND REF(DEA,1)CLOSE AND DIFF>REF(DIFF,A11) AND >DRAWLINE(A10,DEA,底背離,REF(DEA,A1),0),colorred,LINETHICK2; DRAWLINE(底背離,DEA,底背離,REF(DEA,A1),0),colorred,LINETHICK2; DRAWTEXT(底背離,REF(DEA,A1)*1.18,' 底背離'),COLORFF00FF; H4:HHV(GJ,4); GT2:DEAREF(DEA,2); A2:BARSLAST(REF(GT2,1)); 頂背離: REF(H4,A21)REF(A0,1); A3:BARSLAST(A11); A4:COUNT(DEA>0 AND DIFF >0,A3)0; A5:CROSS(DIFF ,DEA); A6:BARSLAST(A5); A7:REF(A6,A61)A6; A8:(DIFFDEA)/2; A9:(HIGHLOW)/2; A10:A5 AND A7REF(A8,A7) AND A90; DRAWTEXT(A10,DIFF*0.95,'uarr;金叉'),coloryellow; DRAWICON(CROSS(DIFF,DEA),DEA,1); DRAWICON(CROSS(DEA,DIFF),DIFF,2); 各種背離,@云上by要單純大紅色棍子就是macd底背 以此類推,kdj rsi TIPTEXT(ISNULL(REFX(CLOSE,1)),0,' '),colorred; TIPTEXT(ISNULL(REF(CLOSE,1)),0,''); 1、藍蝴蝶軟件工作室,現(xiàn)已經(jīng)為客戶定做500多套軟件,本店專業(yè)定做ERP、OA、進銷存管理系統(tǒng)、數(shù)據(jù)統(tǒng)計和分析 、數(shù)據(jù)庫維護、API對接。 2、大數(shù)據(jù)處理與分析(10G文本文件)和excel處理等. 3、Acesss、MSSQL、SQLServer、Oracle數(shù)據(jù)庫的維護和數(shù)據(jù)庫設(shè)計、升遷等. 4、通達信,金字塔、TB等指標公式,量化開發(fā)。 5、誠心誠意為你服務(wù)是本工作室的宗旨。 6、文章為轉(zhuǎn)載互聯(lián)網(wǎng)文章,其僅供參考,并不構(gòu)成投資建議。 如有需要,請加QQ:88652583 或微信: |
|
來自: 蒼斌悟道 > 《證券股市與經(jīng)濟》