BG系列’快速選股方法----BG-2:
BG-2原碼:
參數(shù):M=30
主力籌碼:100*WINNER(CLOSE*0.95),LINETHICK0,COLORFFFFFF;
主力動向:=主力籌碼-REF(主力籌碼,1),LINETHICK0;
N3:=BARSLAST(CROSS(C,MA(C,20)));
N4:=BARSLAST(CROSS(MA(C,20),C));
黑馬跟蹤:IF(N3<N4,N3+1,0),COLOR0000FF,LINETHICK0;
趨勢:=(EMA(C,12)-EMA(C,25))*10;
A2:=EMA(趨勢,3);
空頭回補:=A2,COLORD4FF7F,LINETHICK2;
R:=REF(空頭回補,1);
RR:=IF(R-REF(R,1)>0,0.05,-0.05),COLORSTICK,LINETHICK2;
堅絕做空:=(趨勢<0)*趨勢,COLORB00058,LINETHICK1;
回補變量:=(空頭回補-R)*10,COLOR00FF00,LINETHICK3;
STICKLINE(A2>=0,A2,0,1,0),COLORWHITE;
STICKLINE(A2<0,A2,0,1,0),COLORD4FF7F;
STICKLINE(趨勢<0,趨勢,0,1,0),COLORB00058;
STICKLINE(趨勢>=0,趨勢,0,1,0),COLORRED;
莊家:(趨勢-A2)*50,COLORFFFF80,LINETHICK2;
莊家動向:(莊家-REF(莊家,3)),COLORFFFF80,LINETHICK0;
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
ZLL:=VOL/CAPITAL;
HSL:=(XVL/20)/1.15;
攻擊流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻擊流量,3);
資金流向:=LLJX/100,COLOR00FFFF,LINETHICK1;
資金動向:資金流向-REF(資金流向,1),LINETHICK0;
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*200;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
最后防線:=IF(VAR6A>60,VAR6A-60,0),COLORFFFFFF;
STICKLINE(REF(最后防線,1)<最后防線,最后防線,REF(最后防線,1),2,0),COLORFF00FF;
STICKLINE(REF(最后防線,1)>最后防線,最后防線,REF(最后防線,1),2,0),COLOR00FF00;
防線動向:=最后防線-REF(最后防線,1),LINETHICK0;
VAR14:=EMA(EMA(CLOSE,13),13);
實控盤:=(VAR14-REF(VAR14,1))/REF(VAR14,1)*2000,COLOR00FFFF,LINETHICK2;
控盤動向:=實控盤-REF(實控盤,1);
開始控盤:IF(CROSS(最后防線,1),-10,0),COLOR00FFFF,LINETHICK2;
B1:=SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80,7,1);
VAR21:=SMA(B1,5,1);
絕路航標(biāo):IF(CROSS(B1,VAR21) AND B1<40,-8,0),COLOR00FFFF,LINETHICK2;
買線:=EMA(C,2)*10,LINETHICK1,COLOR0000FF;
賣線:=EMA(SLOPE(C,21)*20+C,42)*10,LINETHICK1,COLOR00FFFF;
BG2選股:=IF( 主力籌碼>M AND 主力動向>0 AND 資金動向>0 AND 開始控盤=-10
AND 莊家>0 AND 黑馬跟蹤<4 AND 黑馬跟蹤>0 AND 買線>賣線,28,0),COLOR0000FF,LINETHICK2;
選股:IF( 主力籌碼>M AND 主力動向>0 AND 黑馬跟蹤<4 AND 黑馬跟蹤>0 AND
資金動向>0 AND 莊家>0 AND 買線>賣線,28,0),COLOR0000FF,LINETHICK2;
-------------------------------------------------------------------------------------------------------------------
選股設(shè)置:BG2選股=28
《注》:BG2選股條件說明:主力籌碼>30 (選股時可根據(jù)設(shè)‘主力籌碼’(M)值,若30選不出股,可將M值設(shè)為20、10);
[BG-1]在:
http://forum.10jqka.com.cn/html/9,5421/2179,1.html[BG-3]在:
http://forum.10jqka.com.cn/html/9,5421/1151,1.html[BG-4]在:
http://forum.10jqka.com.cn/html/9,5421/3695,1.html