公式1:[系統(tǒng)黑馬指標(biāo)] 副圖 - 包括乖離率BIAS等系統(tǒng)自帶的買入指標(biāo)&主力進(jìn)場&頂天立地&笑傲江湖&黑馬起步
指標(biāo)用法:
*[乖離率BIAS買入 和 VOL變異率VR買入] 較準(zhǔn)! 出現(xiàn)信號后——不必急于買入;要等待下跌后出現(xiàn)止跌信號(陽線、十字線等止跌K線)后再買入;
*[頂天立地]只發(fā)出原指標(biāo)“三角形“的買入信號。信號出現(xiàn)后,在個股走勢支撐點(diǎn)處介入,如有[主力進(jìn)場]的配合拉升機(jī)率更準(zhǔn)確,進(jìn)場籌碼的多小,決定啟動的力度和時間。
*[主力進(jìn)場]圖中空心柱所表示的部分
*[笑傲江湖]會是底部!可能會有一個反彈/行情的發(fā)動!注: - 也有可能會先打壓幾日再拉!
*[黑馬起步]出現(xiàn)此買入信號的股票,拉升的幅度會很大,何時拉升則要配合[主力進(jìn)場][穩(wěn)贏劍]等指標(biāo)。
源碼如下:
{系統(tǒng)黑馬指標(biāo)&主力進(jìn)場&頂天立地&笑傲江湖&黑馬起步 副圖}
{副圖 由系統(tǒng)自帶和黑馬指標(biāo)組成}
{以下設(shè)置"頂天立地"指標(biāo)的"出擊選股"}
VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR21:=SMA(VAR1F,3,1);
趨勢:=SMA(VAR21,3,1),COLOR0000FF,LINETHICK2;
人氣:=SMA(趨勢,3,1),COLORYELLOW,LINETHICK2;
頂天立地:IF(CROSS(趨勢,人氣) AND (趨勢<30),50,0),COLOR0000FF,LINETHICK2;
DRAWTEXT(CROSS(趨勢,人氣) AND (趨勢<30),60,'頂天立地'),COLOR0000FF;
{以下設(shè)置"笑傲江湖"指標(biāo)}
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {選股設(shè)JC=10即可}
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
A:=IF(CROSS(0,DEA),1,0);
A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);
SS:=IF(A,SUM(A1,0),0);
SSB:=HHV(SS,0);
SSS:=SUM(A1,0);
笑傲江湖:IF(SSS-SSB=2 AND SSS>REF(SSS,1),50,0),COLORWHITE;
{以下設(shè)置"黑馬起步"指標(biāo)}
VAR11:=EMA(CLOSE,8);
VAR22:=EMA(VAR11,20);
VAR33:=CROSS(VAR11,VAR22);
VAR44:=VAR11< EMA(CLOSE,120);
黑馬起步: IF(VAR33 AND VAR44,50,0), , COLORGREEN;
乖離率BIAS買入:CROSS(-6,(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100),STICK,LINETHICK2,COLORRED;
心理線PSY買入:CROSS(10,PSY(12,1)),STICK,LINETHICK2,COLORGREEN;
WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)/SUM((IF(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)*100;
VOL變異率VR買入:CROSS(70,WVR),STICK,LINETHICK2,COLORMAGENTA;
WRSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
相對強(qiáng)弱RSI買入:CROSS(WRSI,20),STICK,LINETHICK2,COLORYELLOW;
BIAS買入:STICKLINE(CROSS(-6,(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100),0,70,0,0),LINETHICK2,COLORRED;
PSY買入:STICKLINE(CROSS(10,PSY(12,1)),0,70,0,0),LINETHICK2,COLORGREEN;
VR買入:STICKLINE(CROSS(70,WVR),0,70,0,0),LINETHICK2,COLORMAGENTA;
RSI買入:STICKLINE(CROSS(WRSI,20),0,70,0,0),LINETHICK2,COLORYELLOW;
{以下設(shè)置"主力進(jìn)場"指標(biāo)}
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力進(jìn)場:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2,1 ),COLORRED;
洗盤:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2,1),COLORGREEN;
公式2:[買賣點(diǎn)] - 副圖 - 股票賣出時主要參考的指標(biāo)。
*上邊行符號,是原[MACD-賣出點(diǎn)]的賣出指標(biāo);下邊行符號,是原[精確賣出]的賣出指標(biāo)。上邊行的提示要比下邊行早,如果兩個信號先后出現(xiàn),- 堅(jiān)決賣出 -?。?br>*綠色長柱是原[籌碼突破點(diǎn)]的突破點(diǎn),出現(xiàn)時當(dāng)日股票可逢高賣出,如果行情好-第2日可做一次 T+0 ;其實(shí),最好時機(jī)是過后2-3日后行情真正突破后才買!
*粉紅色柱是原[買賣點(diǎn)]的買入信號,此指標(biāo)主要作配合用
*[追漲買入]出現(xiàn)時即可買入!持股期為 2-3 日,行情好的話例外 但要配合成交量
源碼如下:
{買賣點(diǎn) 賣出指標(biāo)參考 副圖}
{N 1 100 2 M 1 100 3}
{以下設(shè)置逃頂指標(biāo)"MACD賣出"}
VAR11:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VAR11),40,2);
VAR12:=REF(C,1);
VAR13:=SMA(MAX(C-VAR12,0),6,1)/SMA(ABS(C-VAR12),6,1)*100;
DRAWTEXT(CROSS(84,VAR13),50,'S'),COLORGREEN ;
{以下設(shè)置"精確賣出"}
{N 1 100 2 M 1 100 3}
VAR2:=1;
VAR3:=REF(HIGH,1)*1.1;
VAR4:=HIGH*1.1;
VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;
VAR6:=REF(LOW,1)*0.9;
VAR7:=LOW*0.9;
VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;
VAR9:=EMA(VAR8,30);
VARA:=EMA(VAR5,30);
VARB:=VARA-2;
VARC:=IF(CLOSE<=VAR9,VARB,VARA);
VARD:=MA(CLOSE,80)-MA(CLOSE,10)/17;
買點(diǎn): STICKLINE(VARC-VARB=0 AND VAR2 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),30,0,2,0),COLORRED;
寫字: DRAWTEXT(FILTER(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),4),45,'B'),COLORRED;
VARE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
賣出線:=SMA(SMA(VARE,3,1),3,1);
買入線:=3*SMA(VARE,3,1)-2*賣出線;
DRAWICON(CROSS(90,買入線),25,2);
{以下設(shè)置"買賣點(diǎn)"的買點(diǎn)}
VAR4A:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR5A:=SMA(VAR4A,13,8);
VAR8A:=EMA(C,5);
VAR9A:=MA((LLV(C,9))*1.1,14);
VAR10A:=2*VAR9A-VAR8A-C*0.1;
VAR11A:=IF(((VAR8A-VAR10A)*5>0),(POW((VAR8A-VAR10A)*5,2))/10,(-1*(POW((VAR8A-VAR10A)*
(5),2)))/(10));
VAR12A:=IF((VAR11A>0),VAR11A-0,12);
VAR13A:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
趨勢:=CEILING(SMA(VAR5A,13,8)),LINETHICK2,COLOR0000FF;
STICKLINE(FILTER(CROSS(趨勢,VAR12A)AND 趨勢>REF(C,1) OR 趨勢>REF(趨勢,1)AND 趨勢<35
AND C>REF(C,1),5),0,20,1,0),COLORMAGENTA;
DRAWTEXT(FILTER(CROSS(趨勢,VAR12A)AND 趨勢>REF(C,1) OR 趨勢>REF(趨勢,1)AND 趨勢<35
AND C>REF(C,1),5),35,'B'),COLORRED;
{以下設(shè)置"追漲買入"的買點(diǎn)}
空:=EMA(C,5);
均衡:=EMA(空,5);
中軌:=HHV(MA(H,13),13);
追漲買入:IF(FILTER(均衡>REF(均衡,1)AND 中軌<REF(中軌,1)AND C>REF(C,1),11),45,0),COLORWHITE;
DRAWTEXT(FILTER(均衡>REF(均衡,1)AND 中軌<REF(中軌,1)AND C>REF(C,1),11),60,'追漲'),COLORWHITE;
{以下設(shè)置"籌碼突破點(diǎn)"的突破點(diǎn)}
主籌估算:=EMA(WINNER(C)*70,3);
散籌估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3);
籌碼突破見高賣:CROSS(主籌估算,散籌估算),COLORGREEN;
STICKLINE(CROSS(主籌估算,散籌估算),0,50,0.5,0),COLORGREEN;
DRAWTEXT(CROSS(主籌估算,散籌估算),70,'S'),COLORGREEN;
DRAWTEXT(CROSS(主籌估算,散籌估算),65,' /T+0'),COLORRED;
順便提一下:“七竅精通六竅”的意思是還有“一竅不通”,所以請各位專業(yè)人事對指標(biāo)源碼進(jìn)行優(yōu)化一下,好讓我也得到受惠。
此外,本人還根據(jù)一些自認(rèn)為是有用的選股指標(biāo)做了幾套的“選股組合”若全部指標(biāo)一齊選的話,即可選出約30多支“最適合買入”的個股。個人認(rèn)為還是有效的,選股組合如下:
1.波段選股:變異率VR買入;RSI買入 16,20;乖離率BIAS買入 12,6;老鴨回頭1、2;跟莊建倉;笑傲江湖
2.追漲選股:籌碼突破;追漲買入;黑馬起步2;頂天立地 追漲
3.黑馬選股:黑馬起步 三角形;頂天立地 出擊;笑傲江湖
選股公式,我分為三個組合
1.波段選股:主要是選出波段底的買入點(diǎn)。包括的選股公式有:變異率VR買入;RSI買入 16,20;乖離率BIAS買入 12,6;老鴨回頭1、2;跟莊建倉;笑傲江湖
2.追漲選股:主要是選出啟動剛開始的股票。包括的選股公式有:籌碼突破;追漲買入;黑馬起步2;頂天立地 追漲
3.黑馬選股:主要是選出蓄勢待發(fā)的黑馬。包括的選股公式有:黑馬起步 三角形;頂天立地 出擊;笑傲江湖
以上選股公式可組合用,也可分開用。組合選股條件時,只要勾選“全部條件相或”就可以了。大家不防也試試吧。
附圖是2007-02-27組合所有選股公式的選股圖示,共有75只,如你覺得選出的股太多的話,試試只用一個你偏愛的組合看看結(jié)果如何。
公式的源碼如下:
1.波段選股:
變異率VR買入;
{VR容量比率交易系統(tǒng)}
WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)/SUM((IF
(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)*100;
VOL變異率VR買入:CROSS(70,WVR);
RSI買入 16,20;--系統(tǒng)自帶
乖離率BIAS買入 12,6;--系統(tǒng)自帶
老鴨回頭1;
{老鴨回頭1-“優(yōu)選”選股 - “優(yōu)選”已包含“買”在內(nèi)}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA120:=SMA(C,120,1);
ZH520:=ABS(MA5-MA20)/MA20*100<=10;
ZH530:=ABS(MA5-MA30)/MA30*100<=10;
QSXS1:=MA5>REF(MA5,1);
QSXS2:=MA20>REF(MA20,1);
QSXS3:=MA30>REF(MA30,1);
DTPL:=MA20>MA30 AND MA30>MA120;
LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;
GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));
LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;
買:=LYKK AND NOT(REF(LYKK,1));
優(yōu)選:買 AND COUNT((MA10>MA20),5)=5;
老鴨回頭2:
{老鴨回頭2-“買”選股}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA120:=SMA(C,120,1);
ZH520:=ABS(MA5-MA20)/MA20*100<=10;
ZH530:=ABS(MA5-MA30)/MA30*100<=10;
QSXS1:=MA5>REF(MA5,1);
QSXS2:=MA20>REF(MA20,1);
QSXS3:=MA30>REF(MA30,1);
DTPL:=MA20>MA30 AND MA30>MA120;
LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;
GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));
LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;
買:LYKK AND NOT(REF(LYKK,1));
跟莊建倉;
{跟莊建倉-選股}
VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV
(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趨勢:=EMA(VAR3,3)-10;
VAR4:=(趨勢-REF(趨勢,1))/REF(趨勢,1)*100;
買入:FILTER((趨勢<=13 AND VAR4>13),10);
笑傲江湖:
{笑傲江湖-選股}
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
A:=IF(CROSS(0,DEA),1,0);
A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);
SS:=IF(A,SUM(A1,0),0);
SSB:=HHV(SS,0);
SSS:=SUM(A1,0);
JC:=IF(SSS-SSB=2 AND SSS>REF(SSS,1),10,0);
JC=10;
2.追漲選股:
籌碼突破;
{籌碼突破-選股}
主籌估算:=EMA(WINNER(C)*70,3);
散籌估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3);
選股:CROSS(主籌估算,散籌估算);
追漲買入;
{追漲買入-選股}
空:=EMA(C,5);
均衡:=EMA(空,5);
中軌:=HHV(MA(H,13),13);
選股:FILTER(均衡>REF(均衡,1)AND 中軌<REF(中軌,1)AND C>REF(C,1),11);
黑馬起步2;
{黑馬啟動-選股}
VAR5:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);
選股:CROSS(VAR5,30) OR CROSS(VAR5,35) OR CROSS(VAR5,40);
頂天立地 追漲
{頂天立地 追漲選股 }
VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR21:=SMA(VAR1F,3,1);
趨勢:=SMA(VAR21,3,1);
人氣:=SMA(趨勢,3,1);
出擊:CROSS(趨勢,人氣)AND (趨勢>30)AND (趨勢<50);
3.黑馬選股:
黑馬起步 三角形;
{黑馬出現(xiàn)-選股}
VAR5:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);
選股:CROSS(VAR5,15) OR CROSS(VAR5,20) OR CROSS(VAR5,25);
頂天立地 出擊;
{頂天立地 出擊選股 三角形符號}
VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR21:=SMA(VAR1F,3,1);
趨勢:=SMA(VAR21,3,1);
人氣:=SMA(趨勢,3,1);
出擊:CROSS(趨勢,人氣)AND (趨勢<30);