超前MACD KDJ RSI指标源码[其他软件公式]
相关标签: 超前MACD KDJ RSI指标源码、 kdj macd rsi指标精髓 、 macd kdj rsi 、 rsi macd共振 、 macd 和 rsi 、 5分钟rsi底点比kdj准 、 kdj+rsi 、 kdj+rsi+cci 、 通达信kdj+rsi、
超前MACD*KDJ*RSI
DRAWGBK(v>=0,COLORRGB(1,10,10),COLORRGB(8,9,5),0);
DIFF:EMA(CLOSE,6) - EMA(CLOSE,10),ColorFFFFFF;
DEA:EMA(DIFF,5);
MACD:2*(DIFF-DEA),COLORSTICK;
A1:=BARSLAST(ref(CROSS(DIFF,DEA),1));
B1:=ref(C,A1+1)>C AND ref(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
A2:=BARSLAST(ref(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=ref(C,A2+1)>C AND ref("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
A3:=BARSLAST(ref(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=ref(C,A3+1)>C AND ref("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
C1:=BARSLAST(ref(CROSS(DEA,DIFF),1));
D1:=ref(C,C1+1)<C AND ref(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);
C2:=BARSLAST(ref(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
D2:=ref(C,C2+1)<C AND ref("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));
C3:=BARSLAST(ref(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
D3:=ref(C,C3+1)<C AND ref("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
MACD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;
KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF,POINTDOT;
RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;
MACD顶背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;
KDJ顶背:IF(D2>0,0.1,0),COLORFFCC66,POINTDOT;
RSI顶背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT;
STICKLINE(B1>0,0,0.12,4,0),COLORRED;
STICKLINE(B2>0,0,0.12,4,0),COLORFF00FF;
STICKLINE(B3>0,0,0.12,4,0),COLORYELLOW;
STICKLINE(D1>0,0,0.12,4,0),COLOR00FF00;
STICKLINE(D2>0,0,0.12,4,0),COLORFFCC66;
STICKLINE(D3>0,0,0.12,4,0),COLORWHITE;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容