1、金牛判勢(shì)
選擇任何一只股票,第一步就是要判斷其趨勢(shì)的變化,如果是弱勢(shì)區(qū)域,是不進(jìn)行操作的,在強(qiáng)勢(shì)區(qū)域中運(yùn)行,操作的盈利可能也會(huì)增加,那么利用金牛判勢(shì)就是判斷其個(gè)股的發(fā)展趨勢(shì),具體的源碼如下:
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;
金鉆趨勢(shì):XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
金牛2:EMA(金鉆趨勢(shì),25)COLORCYAN,LINETHICK2;
DRAWBAND(金鉆趨勢(shì),RGB(55,0,0),金牛2,RGB(0,91,0));
DRAWKLINE(H,O,L,C);
STICKLINE(金鉆趨勢(shì)>LOW AND 金鉆趨勢(shì)
STICKLINE(金鉆趨勢(shì)>MIN(C,O) AND 金鉆趨勢(shì)
STICKLINE(金鉆趨勢(shì)>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(金鉆趨勢(shì)>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:=金鉆趨勢(shì)>HIGH AND 回調(diào)買 AND L<=金鉆趨勢(shì);
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<金鉆趨勢(shì),L,'↖金鉆起漲'),COLORMAGENTA;
從源碼中能夠發(fā)現(xiàn),主要的目的依然是尋找股市中具有上漲趨勢(shì)的個(gè)股,該源碼的主要功能就是捕捉上漲趨勢(shì)中的牛股。
2、極品黃金底
在選擇好個(gè)股的趨勢(shì)之后,要判斷什么時(shí)候個(gè)股的股價(jià)走勢(shì)會(huì)見底,階段性的底部就可以進(jìn)行分析,特別是形成極品黃金底,必然預(yù)測(cè)甚至的操作信號(hào),其底部判斷的源碼公式如下:
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;
雖然很簡(jiǎn)單,但是能夠清楚的顯示底部的形態(tài)以及后期的上漲趨勢(shì)變化,希望投資者能夠積極的把握機(jī)會(huì)。
3、個(gè)股的啟動(dòng)點(diǎn),黑馬股的上漲啟動(dòng)點(diǎn)是投資者捕捉的絕技,而乾坤啟動(dòng)點(diǎn)就乾坤啟動(dòng)點(diǎn)
好幫助投資者選好個(gè)股的啟動(dòng)點(diǎn),從而更好的在操作中獲利。
DIF:EMA(CLOSE,12)-EMA(CLOSE,150);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
啟動(dòng)點(diǎn):=MACD<0 AND MACD>REF(MACD ,1) AND REF(MACD ,1)
STICKLINE(啟動(dòng)點(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;
啟動(dòng)點(diǎn)A:0,COLORYELLOW;
DRAWICON(啟動(dòng)點(diǎn),2,11);
源碼中清楚的標(biāo)注了啟動(dòng)點(diǎn)的位置,投資者只需要選擇好股票進(jìn)行驗(yàn)證即可。
以上就是本文講解的捕捉優(yōu)質(zhì)股的源碼公式,如果您還想要了解更加專業(yè)的指標(biāo)技術(shù)分析,請(qǐng)點(diǎn)擊boll,是一種趨勢(shì)性的通道指標(biāo)。
下一篇:私募建倉+大黑馬飆升股票指
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:www.xinsheng8.com
銷售熱線:0371-65350319
技術(shù)支持:13333833889