【股票指标公式下载】-【通达信】集体共振(金叉、二次金叉)

【股票指标公式下载】-【通达信】集体共振(金叉、二次金叉)

ID:38609426

大小:373.00 KB

页数: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. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。