【股票指標公式下載】-【通達信】集體共振(金叉、二次金叉)

【股票指標公式下載】-【通達信】集體共振(金叉、二次金叉)

ID:38609426

大小:373.00 KB

頁數(shù):7頁

時間:2019-06-16

【股票指標公式下載】-【通達信】集體共振(金叉、二次金叉)_第1頁
【股票指標公式下載】-【通達信】集體共振(金叉、二次金叉)_第2頁
【股票指標公式下載】-【通達信】集體共振(金叉、二次金叉)_第3頁
【股票指標公式下載】-【通達信】集體共振(金叉、二次金叉)_第4頁
【股票指標公式下載】-【通達信】集體共振(金叉、二次金叉)_第5頁
資源描述:

《【股票指標公式下載】-【通達信】集體共振(金叉、二次金叉)》由會員上傳分享,免費在線閱讀,更多相關內容在教育資源-天天文庫。

1、【通達信】集體共振(金叉、二次金叉)-指標公式源碼N1:=6;N2:=12;N3:=24;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SMA(RSV,3,1),LINETHICK2,COLORWHITE;D:SMA(K,3,1),LINETHICK2,COLORYELLOW;J:3*K-2*D,LINETHICK2,COLORRED;DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK2,COLORGREEN;DEA:EMA(DIFF,9),LINETHI

2、CK2,COLORBLUE;MACD:2*(DIFF-DEA),LINETHICK2,COLORRED;RSV1:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*101;KK:=SMA(RSV1,3,1);DD:=SMA(KK,3,1);JJ:=3*KK-2*DD;買賣:=IF(JJ>=100,100,IF(JJ<=0,0,JJ));明天買:IF(買賣=100,0-10,0),COLOR00CCCC;明天賣:IF(買賣=0,90,100),COLOR00FF00;TYP:=(HIGH+LOW+CLOSE)/3;STICK

3、LINE(DIFF>REF(DIFF,1),20,20,2,0),COLORRED;STICKLINE(DIFF=REF(K,1)ORK>DANDDIFF>REF(DIFF,1),80,80,2,1),COLORRED;STICKLINE(K=(0-0.05)ANDMACD<=0.02;DRAWTEXT(MACD金叉,40,'▲MAC

4、D金叉'),COLORRED;XX:=EMA(MA(LOW,3)*0.96,30);DIFF金叉:=IF(CROSS(DIFF,DEA)ANDXX-REF(XX,1)>0ANDMACD>=REF(MACD,1)ANDDIFF<=0,1,0);DRAWTEXT(DIFF金叉=1,35,'▲DIFF金叉'),COLORRED;低位金叉:=CROSS(DIFF,DEA)ANDDIFF<-0.1;DRAWTEXT(低位金叉,25,'▲低位金叉'),COLORRED;DIFDEA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));

5、二次金叉:=CROSS(DIFF,DEA)ANDDEA<0ANDCOUNT(DIFDEA=2,21)=1;DRAWTEXT(二次金叉,20,'▲二次金叉'),COLORRED;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));MACD底背離:=REF(CLOSE,A1+1)>CLOSEANDDIFF>REF(DIFF,A1+1)ANDCROSS(DIFF,DEA);DRAWTEXT(MACD底背離,30,'▲MACD底背離'),COLORRED;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));MACD頂

6、背離:=REF(CLOSE,A2+1)DIFFANDCROSS(DEA,DIFF);DRAWTEXT(FILTER(MACD頂背離,5),100,'▼MACD頂背離');周DIFF:='MACD.DIFF#WEEK';周DEA:='MACD.DEA#WEEK';周MACD:='MACD.MACD#WEEK';DIF周金叉:=CROSS(周DIFF,周DEA);DRAWTEXT(DIF周金叉,45,'▲DIFF周金叉'),COLORRED;DRAWTEXT(CROSS(周DEA,周DIFF),110,'▼D

7、IFF周死叉');MACD周金叉:=CROSS(周MACD,周DIFF)AND周MACD>=(0-0.05)AND周MACD<=0.02;DRAWTEXT(MACD周金叉,50,'▲MACD周金叉'),COLORRED;月DIFF:='MACD.DIFF#MONTH';月DEA:='MACD.DEA#MONTH';月MACD:='MACD.MACD#MONTH';DIF月金叉:=CROSS(月DIFF,月DEA);DRAWTEXT(DIF月金叉,55,'▲DIFF月金叉'),COLORRED;DRAWTEXT(CROSS(月DEA,月DIFF),105

8、,'▼DIFF月死叉');MACD月金叉:=CROSS(月MACD,月DIFF)AND月MAC

當前文檔最多預覽五頁,下載文檔查看全文

此文檔下載收益歸作者所有

當前文檔最多預覽五頁,下載文檔查看全文
溫馨提示:
1. 部分包含數(shù)學公式或PPT動畫的文件,查看預覽時可能會顯示錯亂或異常,文件下載后無此問題,請放心下載。
2. 本文檔由用戶上傳,版權歸屬用戶,天天文庫負責整理代發(fā)布。如果您對本文檔版權有爭議請及時聯(lián)系客服。
3. 下載前請仔細閱讀文檔內容,確認文檔內容符合您的需求后進行下載,若出現(xiàn)內容與標題不符可向本站投訴處理。
4. 下載文檔時可能由于網(wǎng)絡波動等原因無法下載或下載錯誤,付費完成后未能成功下載的用戶請聯(lián)系客服處理。