人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

您現在的位置:程序化交易>> 股票公式>> 大智慧>> 大智慧公式>>正文內容

kdj rsi cci macd 結合在一起[大智慧公式]

相關標簽: kdj+rsi+cci 、 macd kdj rsi 分析圖 、 kdj macd rsi指標精髓 、 macd kdj rsi 、 rsi與cci結合 、 rsi cci 抄底 、 rsi-cci-kd 、 rsi-cci-kd 博易大師 、 cci和rsi指標預警 、

 

 

KDJ融入MACD 、RSI融入MACD 、CCI融入KDJ-(DZH2 源碼) 

 

 

 

{KDJ MACD 組合指標}
 

N:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
量能:=3*K-2*D;
RSIE:=EMA(量能,3);
DIFF:EMA(RSIE,12)-EMA(RSIE,26);
BBDIFF:=DIFF-ref(DIFF,1);
DEA:EMA(DIFF,9);
FILLRGN(DIFF,DEA,DIFF>DEA,RGB(255,105,180),DIFF<DEA,RGB(34,139,34));
BBDEA:=DEA-ref(DEA,1);
MACD:2*(DIFF-DEA), COLORSTICK;
STICKLINE(MACD<ref(MACD,1)AND MACD>0,0,MACD,2,0),COLORFFFF00;
STICKLINE(MACD<ref(MACD,1)AND MACD<0,0,MACD,2,0),COLOR00FF00;
STICKLINE(MACD>ref(MACD,1)AND MACD<0,0,MACD,2,0),COLOR0099FF;
STICKLINE(MACD>ref(MACD,1)AND MACD>0,0,MACD,2,0),COLORRED;
0,COLORFF8855,LINETHICK2;
PARTLINE(DIFF,DIFF>DEA),COLORRED,LINETHICK2;
PARTLINE(DEA,DEA>ref(DEA,1)),COLORMAGENTA;
DRAWICON(CROSS(DIFF,DEA),DEA,4);
DRAWICON(CROSS(DEA,DIFF),DEA,5);
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1; {文章來至程序化交易網 cxh99.com}
STICKLINE(低位金叉,0,-1.5,2,0),COLORFFFF00;
DRAWTEXT(低位金叉,-1.5,' 低位金叉'),COLORFFFF00;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,-1,5,0),COLORFF00FF;
DRAWICON(二次金叉,DEA*1.2,11) ;
DRAWTEXT(二次金叉,-1,' 二次金叉'),COLORFF00FF;
A1:=BARSLAST(ref(CROSS(DIFF,DEA),1));
底背離:=ref(CLOSE,A1+1)>CLOSE AND DIFF>ref(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背離,0,1.5,3,0),COLOR00FF00;
DRAWLINE(A1=0,DEA,底背離,DEA,0),COLORRED,LINETHICK2;
DRAWTEXT(底背離,2,' 底背離'),COLOR00FF00;
A2:=BARSLAST(ref(CROSS(DEA,DIFF),1));
頂背離:=ref(CLOSE,A2+1)<CLOSE AND ref(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
STICKLINE(頂背離,0,2,3,0),COLORFF8855;
DRAWLINE(A2=0,DEA,頂背離,DEA,0),COLORFF8855,LINETHICK2;
DRAWTEXT(頂背離,2,' 頂背離'),COLORFF8855;

 

 

 

{RSI MACD 組合指標}
LC:=ref(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSIE:=EMA(RSI,3);
DIFF:EMA(RSIE,12)-EMA(RSIE,26);
BBDIFF:=DIFF-ref(DIFF,1);
DEA:EMA(DIFF,9);
FILLRGN(DIFF,DEA,DIFF>DEA,RGB(255,105,180),DIFF<DEA,RGB(34,139,34));
BBDEA:=DEA-ref(DEA,1);
MACD:2*(DIFF-DEA), COLORSTICK;
STICKLINE(MACD<ref(MACD,1)AND MACD>0,0,MACD,2,0),COLORFFFF00;
STICKLINE(MACD<ref(MACD,1)AND MACD<0,0,MACD,2,0),COLOR00FF00;
STICKLINE(MACD>ref(MACD,1)AND MACD<0,0,MACD,2,0),COLOR0099FF;
STICKLINE(MACD>ref(MACD,1)AND MACD>0,0,MACD,2,0),COLORRED;
0,COLORFF8855,LINETHICK2;
PARTLINE(DIFF,DIFF>DEA),COLORRED,LINETHICK2;
PARTLINE(DEA,DEA>ref(DEA,1)),COLORMAGENTA;
DRAWICON(CROSS(DIFF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIFF),DEA,2);
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,0,-1.5,2,0),COLORFFFF00;
DRAWTEXT(低位金叉,-1.5,' 低位金叉'),COLORFFFF00;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,-1,5,0),COLORFF00FF;
DRAWICON(二次金叉,DEA*1.2,11) ;
DRAWTEXT(二次金叉,-1,' 二次金叉'),COLORFF00FF;
A1:=BARSLAST(ref(CROSS(DIFF,DEA),1));
底背離:=ref(CLOSE,A1+1)>CLOSE AND DIFF>ref(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背離,0,1.5,3,0),COLOR00FF00;
DRAWLINE(A1=0,DEA,底背離,DEA,0),COLORRED,LINETHICK2;
DRAWTEXT(底背離,2,' 底背離'),COLOR00FF00;
A2:=BARSLAST(ref(CROSS(DEA,DIFF),1));
頂背離:=ref(CLOSE,A2+1)<CLOSE AND ref(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
STICKLINE(頂背離,0,2,3,0),COLORFF8855;
DRAWLINE(A2=0,DEA,頂背離,DEA,0),COLORFF8855,LINETHICK2;
DRAWTEXT(頂背離,2,' 頂背離'),COLORFF8855;

 

 

 

{CCI+KDJ組合指標源碼}
 

TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))*100/(1.5*AVEDEV(TYP,14));
RK:=SMA(CCI,3,1);RD:=SMA(RK,3,1);RJ:3*RK-2*RD,COLORBLUE,LINETHICK3;
頭:=390+REVERSE(EMA(RJ, 1));
底:=-290+REVERSE(EMA(RJ,1));
拋:IF(RJ>頭,200,250),COLORGREEN,LINETHICK3;
吸:IF(RJ<底,-180,-150),COLORRED,LINETHICK3; {本文來至程序化交易網 cxh99.com}

LC:=ref(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*2000;
RSIE:=EMA(RSI,3);
DIFF:= EMA(RSIE,12) - EMA(RSIE,26);
BBDIFF:=DIFF-ref(DIFF,1);
DEA:= EMA(DIFF,9);
BBDEA:=DEA-ref(DEA,1);
MACD : 2*(DIFF-DEA), COLORSTICK;
STICKLINE(MACD<ref(MACD,1) AND MACD>0,0,MACD,2,0),COLORFFFF00;
STICKLINE(MACD<ref(MACD,1) AND MACD<0,0,MACD,2,0),COLOR00FF00;
STICKLINE(MACD>ref(MACD,1) AND MACD<0,0,MACD,2,0),COLOR0099FF;
STICKLINE(MACD>ref(MACD,1) AND MACD>0,0,MACD,2,0),COLORRED;
FILLRGN(DIFF,DEA,DIFF>DEA,RGB(220,20,60),DIFF<DEA,RGB(255,255,0));
FILLRGN(RK,RD,RK>RD,RGB(255,105,180),RK<RD,RGB(34,139,34));
0,COLORRED,LINETHICK2;

 

 

如果以上指標公式不適用于您常用的行情軟件

或者您想改編成選股公式,以便快速選出某種形態個股的話,

可以聯系我們相關技術人員 QQ: 262069696  點擊在線交流進行 有償 改編!

 


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
  主站蜘蛛池模板: 激情五月亚洲 | 美女免费黄网站 | 精品欧美日韩一区二区三区 | 曰批全过程免费动态图 | 丁香激情综合 | 欧美黄色成人 | 欧美日韩精品国产一区在线 | 色播日韩 | 久久综合久久网 | 女性成人毛片a级 | 日韩高清成人毛片不卡 | 一级做a毛片在线看 | 一个人在线免费观看www视频 | 国产看片网站 | 午夜精品在线免费观看 | 亚洲免费人成在线视频观看 | 色综合天天综合 | 在线亚洲精品自拍 | 日韩video| 亚洲日本va中文字幕婷婷 | 色狠狠婷婷97 | 手机国产精品一区二区 | 亚洲女人国产香蕉久久精品 | 小明成人免费永久性看看 | 国产精品久久久久久永久牛牛 | 欧美日韩精品福利在线观看 | 欧美日韩免费一区二区三区 | 国产成人99精品免费视频麻豆 | 狠狠色综合久久久久尤物 | 国产成人精品一区二区三在线观看 | 欧美激情一区二区三级高清视频 | jizzjizz中国护士第一次 | 精品国产一区二区麻豆 | 色八a级在线观看 | 久久精品国产大片免费观看 | 欧美香蕉在线 | 日韩18在线观看 | xxx.国产| 毛片一级在线观看 | 暴力调教抖s浪荡总裁受文 白洁性荡生活l六 | 日本视频一区二区 |