原理其實很簡單,就是七個指標同時發(fā)生金叉共振,會發(fā)出信號,這七個指標,我在這里是用了:量能、CCI、MACD、SAR、RSI、KDJ、CJDX,當然,懂得這個原理后,你可以編輯八指共振、十指共振等等,就是幾個指標同時發(fā)出買入信號,目的是進一步確認趨勢。
嚴格來說,七指共振應該是七個指標同時金叉才對,但是這種情況少之又少,同時處在上升通道還是比較常見,所以,我們在看盤的時候,不要認為圖上的洋紅色是金叉了,由綠色變洋紅色才是金叉,也就是,第一次出現(xiàn)洋紅色才是金叉出現(xiàn),以后的洋紅色就是指標持續(xù)向上發(fā)散。
大家可以試著用其他七個指標做出七指共振,并且,任何指標公式都可以變成選股公式,七指共振當然也不例外,我們可以通過參數(shù)的設(shè)置來選股,可以設(shè)置選股條件為幾個指標由綠變紅,也可以設(shè)置當天有多少個指標是洋紅色,等等。
STICKLINE(MA(V,5)>MA(V,10),0.6,1.4,4,0)COLORLIMAGENTA;
STICKLINE(MA(V,5)<>
DRAWTEXT(ISLASTBAR=1,1,' 籌碼'),COLORFFFFFF;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
STICKLINE(CCI>0,1.6,2.4,4,0)COLORLIMAGENTA;
STICKLINE(CCI<>
DRAWTEXT(ISLASTBAR=1,2,' CCI'),COLORFFFFFF;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
STICKLINE(DIFF>DEA,2.6,3.4,4,0)COLORLIMAGENTA;
STICKLINE(DIFF<>
DRAWTEXT(ISLASTBAR=1,3,' MACD'),COLORFFFFFF;
CC:=(C+O+H+L)/4;
STICKLINE(CC>SAR(4,2,20),3.6,4.4,4,0)COLORLIMAGENTA;
STICKLINE(CC<>
DRAWTEXT(ISLASTBAR=1,4,' SAR'),COLORFFFFFF;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
STICKLINE(RSI1>RSI2,4.6,5.4,4,0)COLORLIMAGENTA;
STICKLINE(RSI1<>
DRAWTEXT(ISLASTBAR=1,5,' RSI'),COLORFFFFFF;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
STICKLINE(K>D,5.6,6.4,4,0)COLORLIMAGENTA;
STICKLINE(K<>
DRAWTEXT(ISLASTBAR=1,6,' KDJ'),COLORFFFFFF;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
DD:=MA(J,3);
KK:=MA(J,1);
STICKLINE(KK>DD,6.6,7.4,4,0)COLORLIMAGENTA;
STICKLINE(KK<>
DRAWTEXT(ISLASTBAR=1,7,' CJDX'),COLORFFFFFF;
T:=MA(V,5)>MA(V,10) AND CCI>0 AND DIFF>DEA AND CC>SAR(4,2,20) AND RSI1>RSI2 AND K>D AND KK>DD;
七指共振:IF(T AND REF(T,1)=0,7.4,DRAWNULL)STICK,COLORRED,LINETHICK6;
DRAWTEXT(T AND REF(T,1)=0,0.3,' 七指共振')COLORRED;
DRAWICON(T AND REF(T,1)=0,0,1);
N1:=IF(CROSS(MA(V,5),MA(V,10)),1,0);
N2:=IF(CROSS(CCI,0),1,0);
N3:=IF(CROSS(DIFF,DEA),1,0);
N4:=IF(CROSS(CC,SAR(4,2,20)),1,0);
N5:=IF(CROSS(RSI1,RSI2),1,0);
N6:=IF(CROSS(K,D),1,0);
N7:=IF(CROSS(KK,DD),1,0);
共振個數(shù):N1+N2+N3+N4+N5+N6+N7,NODRAW;
NN1:=IF(MA(V,5)>MA(V,10),1,0);
NN2:=IF(CCI>0,1,0);
NN3:=IF(DIFF>DEA,1,0);
NN4:=IF(CC>SAR(4,2,20),1,0);
NN5:=IF(RSI1>RSI2,1,0);
NN6:=IF(K>D,1,0);
NN7:=IF(KK>DD,1,0);
同步個數(shù):NN1+NN2+NN3+NN4+NN5+NN6+NN7,NODRAW;