九毛八公式指标
公式模块:
这个指标是macd反身向上和美人眼金叉合在一起的选股指标 老师 我想再把kdj金叉 量力而为DX1金叉(DX2和DX3 一下穿过两线) 还有多空对比里面的所有线都是100这三个指标再加进去 我说的 这些都是同步进行的 也就是说 5个指标都同步符合的选股公式 谢谢老师
这个是MacD和美人眼合在一起的选股公式
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=MA(RSV,3);
D:=MA(K,3);
xg1:=cross(k,d);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG2:=MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,1)>0;
xg1 and xg2;
这是kdJ指标
REFLINE: 0, 20, 50, 80, 100;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
这是量力而为指标
A1:=H-L;
B1:=C-O;
C1:=(B1/A1);
DX:=V*C1/10000;
DX1:EMA(EMA(DX,20),3)*20,COLORYELLOW;
DX2:MA(DX1,5),COLORFF00FF;
DX3:MA(DX1,10),COLORCYAN;
STICKLINE(DX>0,0,DX,2,0),COLORRED;
STICKLINE(DX<0,0,DX,2,0),COLORGREEN;
这是多空对比指标
短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;
20,POINTDOT;
50,POINTDOT;
80,POINTDOT;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=MA(RSV,3);
D:=MA(K,3);
xg1:=cross(k,d);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG2:=MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,1)>0;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A1:=H-L;
B1:=C-O;
C1:=(B1/A1);
DX:=V*C1/10000;
DX1:=EMA(EMA(DX,20),3);
DX2:=MA(DX1,5);
xg1 and xg2 and 短期>ref(短期,1) and 中期>ref(中期,1) and 中长期>ref(中长期,1) and 长期>ref(长期,1) and cross(dx1,dx2);