用法:
1.黃金分割線結(jié)合均線判斷支持和壓力,均線為5日 8日 和55日 144日。短線60分鐘來(lái)分析判斷買(mǎi)賣(mài)。
2.選股盡量選在55日和144日均線以上的票,利用單陽(yáng)不破,選縮量回調(diào)到黃金分割和這2條均線支持時(shí)買(mǎi)入,獲利概率較大。
源碼如下:
MA5:MA(C,5);
MA10:MA(C,8),LINETHICK1,COLORYELLOW ;
MA55:MA(C,55),LINETHICK3,COLORLIMAGENTA;
MA144:MA(C,144),LINETHICK2,COLORGREEN;
高1:=HHV(H,N);
低1:=LLV(L,N);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
高:REFDATE(高1,DATE);
低:REFDATE(低1,DATE);
一:REFDATE(H1,DATE);
二:REFDATE(H2,DATE);
{漲停標(biāo)注}
STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;
{財(cái)務(wù)數(shù)據(jù)}
DRAWTEXT_FIX(ISLASTBAR,0.18,0.01,1,'上市日期:'),COLOR00FF00;
DRAWNUMBER_FIX(ISLASTBAR,0.18,0.01,0,FINANCE(42)),COLOR00FF00;
DRAWTEXT_FIX(1,0.01,0.13,0,EXTERNSTR(0,1)),COLORRED;
DRAWTEXT_FIX(1,0.26,0.01,0,EXTERNSTR(0,2)),COLORDD00DD;
DRAWTEXT_FIX(1,0.01,0.066,0,EXTERNSTR(0,3)),COLOR00DD00;
DRAWTEXT_FIX(ISLASTBAR ,0.06,0.01,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.065,0.01,0,HYBLOCK),COLORYELLOW;三:REFDATE(H3,DATE);
四:REFDATE(H4,DATE),COLORRED;
五:REFDATE(H5,DATE);
{DRAWTEXT(CURRBARSCOUNT=1.00,一,'一(0.191)'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1.00,二,'二(0.382)'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1.00,三,'三(0.50)'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1.00,四,'四(0.618'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1.00,五,'五(0.809)'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1.00,高,'高'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1.00,低,'低'),COLORYELLOW;
DRAWKLINE(H,O,L,C);};
盤(pán)整天數(shù):=5;{盤(pán)整天數(shù)自己調(diào),以5--7日為最佳}
下探幅度:=5;
上沖幅度:=25;
漲停:=(C-REF(C,1))/REF(C,1)>0.09;{漲幅大于9個(gè)點(diǎn)}
縮量:=HHV(VOL,盤(pán)整天數(shù)-2)<REF(VOL,盤(pán)整天數(shù)-1) AND SUM(VOL, 盤(pán)整天數(shù))>2* SUM(VOL, 盤(pán)整天數(shù)-2);
七傷拳:=縮量 AND REF(漲停,盤(pán)整天數(shù)) AND COUNT(漲停,盤(pán)整天數(shù)+1)=1 AND (HHV(H,盤(pán)整天數(shù))-REF(C,盤(pán)整天數(shù)))/REF(C,盤(pán)整天數(shù))*100<上沖幅度 AND (LLV(L,盤(pán)整天數(shù))-REF(C,盤(pán)整天數(shù)))/REF(C,盤(pán)整天數(shù))*100>(下探幅度*-1);
DRAWTEXT(七傷拳,LOW*0.98,'七傷拳'),COLORRED;
陽(yáng)漲幅:=3.5;
陽(yáng)倍量:=1.9;
單陽(yáng)收:=C;
單陽(yáng)開(kāi):=O;
單陽(yáng):=單陽(yáng)收>=REF(C,1)*(1+陽(yáng)漲幅/100)AND VOL>REF(VOL,1)*陽(yáng)倍量;
DRAWTEXT(CURRBARSCOUNT<100 AND 單陽(yáng),L*0.98,'陽(yáng)'),COLOR00FFFF;
高不破價(jià):=REF(C,BARSLAST(單陽(yáng)));
低不破價(jià):=REF(L,BARSLAST(單陽(yáng)));
單陽(yáng)不破:=CURRBARSCOUNT<100 AND BARSLAST(單陽(yáng))<11 AND (LLV(L,BARSLAST(單陽(yáng)))>低不破價(jià) OR LLV(L,BARSLAST(單陽(yáng)))=低不破價(jià));
STICKLINE(單陽(yáng)不破,低不破價(jià)-低不破價(jià)*0.0005,低不破價(jià),4,0),COLORGREEN;
STICKLINE(單陽(yáng)不破,高不破價(jià),高不破價(jià),4,0),COLORRED;
STICKLINE(單陽(yáng),單陽(yáng)開(kāi),單陽(yáng)收,2,0),COLORYELLOW;
DRAWTEXT(BARSLAST(單陽(yáng))=1 AND 單陽(yáng)不破,低不破價(jià)*0.98,'1'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽(yáng))=2 AND 單陽(yáng)不破,低不破價(jià)*0.98,'2'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽(yáng))=3 AND 單陽(yáng)不破,低不破價(jià)*0.98,'3'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽(yáng))=4 AND 單陽(yáng)不破,低不破價(jià)*0.98,'4'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽(yáng))=5 AND 單陽(yáng)不破,低不破價(jià)*0.98,'5'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽(yáng))=6 AND 單陽(yáng)不破,低不破價(jià)*0.98,'6'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽(yáng))=7 AND 單陽(yáng)不破,低不破價(jià)*0.98,'7'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽(yáng))=8 AND 單陽(yáng)不破,低不破價(jià)*0.98,'8'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽(yáng))=9 AND 單陽(yáng)不破,低不破價(jià)*0.98,'9'),COLORGREEN;
DRAWTEXT(BARSLAST(單陽(yáng))=10 AND 單陽(yáng)不破,低不破價(jià)*0.98,'10'),COLORGREEN;
(責(zé)任編輯:張曉軒)