1、金牛判勢
選擇任何一只股票,第一步就是要判斷其趨勢的變化,如果是弱勢區(qū)域,是不進(jìn)行操作的,在強(qiáng)勢區(qū)域中運(yùn)行,操作的盈利可能也會增加,那么利用金牛判勢就是判斷其個股的發(fā)展趨勢,具體的源碼如下:
DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
金牛:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;
金鉆趨勢:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
金牛2:EMA(金鉆趨勢,25)COLORCYAN,LINETHICK2;
DRAWBAND(金鉆趨勢,RGB(55,0,0),金牛2,RGB(0,91,0));
DRAWKLINE(H,O,L,C);
STICKLINE(金鉆趨勢>LOW AND 金鉆趨勢
STICKLINE(金鉆趨勢>MIN(C,O) AND 金鉆趨勢
STICKLINE(金鉆趨勢>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(金鉆趨勢>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回調(diào)買:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=金鉆趨勢>HIGH AND 回調(diào)買 AND L<=金鉆趨勢;
DRAWTEXT(XG,L,'▲買入'),COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY2:=REF(V2,1)-DY;
XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<金牛;
{DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}
DRAWTEXT(XG2 AND L<金鉆趨勢,L,'↖金鉆起漲'),COLORMAGENTA;
從源碼中能夠發(fā)現(xiàn),主要的目的依然是尋找股市中具有上漲趨勢的個股,該源碼的主要功能就是捕捉上漲趨勢中的牛股。
2、極品黃金底
在選擇好個股的趨勢之后,要判斷什么時候個股的股價走勢會見底,階段性的底部就可以進(jìn)行分析,特別是形成極品黃金底,必然預(yù)測甚至的操作信號,其底部判斷的源碼公式如下:
MARD:=SMA(MACD,3,1),NODRAW;
IF(MACD>MARD,MACD,DRAWNULL),COLORRED,NODRAW;
STICKLINE(MACD>MARD,MACD,MARD,3,0),COLORRED;
STICKLINE(MACD
STICKLINE(MACD>MARD AND MACD<0,MACD,MARD,3,0),COLORYELLOW;
雖然很簡單,但是能夠清楚的顯示底部的形態(tài)以及后期的上漲趨勢變化,希望投資者能夠積極的把握機(jī)會。
3、個股的啟動點(diǎn),黑馬股的上漲啟動點(diǎn)是投資者捕捉的絕技,而乾坤啟動點(diǎn)就乾坤啟動點(diǎn)
好幫助投資者選好個股的啟動點(diǎn),從而更好的在操作中獲利。
DIF:EMA(CLOSE,12)-EMA(CLOSE,150);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
啟動點(diǎn):=MACD<0 AND MACD>REF(MACD ,1) AND REF(MACD ,1)
STICKLINE(啟動點(diǎn),0.4,MACD,2,0),COLORYELLOW;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB;
啟動點(diǎn)A:0,COLORYELLOW;
DRAWICON(啟動點(diǎn),2,11);
源碼中清楚的標(biāo)注了啟動點(diǎn)的位置,投資者只需要選擇好股票進(jìn)行驗證即可。
以上就是本文講解的捕捉優(yōu)質(zhì)股的源碼公式,如果您還想要了解更加專業(yè)的指標(biāo)技術(shù)分析,請點(diǎn)擊boll,是一種趨勢性的通道指標(biāo)。
下一篇:私募建倉+大黑馬飆升股票指
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:www74.com.cn
銷售熱線:0371-65350319
技術(shù)支持:13333833889