{5日內(nèi)換手率達(dá)到50%的選股公式
SUM(VOL/CAPITAL*100,5)>50;}
{換手啟動(dòng)選股指標(biāo)公式
HS:=VOL/CAPITAL*100;
HS>3 AND CROSS(C,MA(C,5)) AND CROSS(C,MA(C,10));}
{當(dāng)日換手率大于5的選股公式
XG:V/CAPITAL*100>5;}
{換手率選股指標(biāo)公式
HS:=DYNAINFO(37)*100;
MA5:=MA(HS,5);
MA10:=MA(HS,10);
HS1:=DRAWICON(HS<5 AND HS>3 AND CROSS(MA5,MA10),MA10,1);
HS2:=DRAWICON(HS<5 AND HS>3 AND CROSS(HS,MA5),MA5,7);
XG:HS1 AND HS2;}
{選出每天換手5%-15%之間的股票}
{VAR1:=100*VOL/CAPITAL;
W1:=VAR1>6;
W2:=VAR1<15;
XG:W1 AND W2;};
{底部換手率放大選股指標(biāo)公式}
{N:=5;
底部:=HHV(H,200)/LLV(L,200)>2 AND C<3*LLV(L,200)/4+HHV(H,200)/4;
有大陽:=EXIST(C/REF(C,1)>1.05,6);
換手率:=10000*VOL/FINANCE(7);
五日量積:=SUM(換手率,8);
持續(xù)放量:=五日量積/REF(五日量積,10)>1.5 AND 五日量積/REF(五日量積,20)>1.5;
底部放量:=底部 AND 有大陽 AND 持續(xù)放量;
選股:EXIST(底部放量,N);} 換手率10天30%以上的選股公式
SUM(VOL/CAPITAL*100,10)>30;}{換手率解盤
換手率加MACD雙背離指標(biāo)公式 }
A1:=IF(RANGE(FROMOPEN,0,61),VOL/CAPITAL*100*60/FROMOPEN,DRAWNULL);
A2:=IF(RANGE(FROMOPEN,60,121),VOL/CAPITAL*100*120/FROMOPEN,A1);
A3:=IF(RANGE(FROMOPEN,120,181),VOL/CAPITAL*100*180/FROMOPEN,A2);
A4:=IF(RANGE(FROMOPEN,180,241),VOL/CAPITAL*100*240/FROMOPEN,A3);
A5:=IF(ISLASTBAR&&PERIOD=5,VOL/CAPITAL*100*240/FROMOPEN,DRAWNULL);
預(yù)測(cè):IF(ISLASTBAR&&PERIOD=4,A4,A5),COLORRED;
STICKLINE(ISLASTBAR,預(yù)測(cè),0,-1,-1),COLORGREEN,NODRAW;
J10:=O>REF(C,1) AND C<O;{今日高開低走}
J15:=V/REF(MA(V,13),1);
J20:=J15>5;
DRAWNUMBER(J10 AND J20,HSL*1.1,J15);
換手:100*DYNAINFO(37),VOLSTICK,NODRAW;
十換手:SUM(換手,10),NODRAW;
廿換手:SUM(換手,20),COLORFF6EC7,NODRAW;
獲利比:WINNER(C)*100,COLOR0080FF,NODRAW;
量比:V/(REF(MA(V,5),1)),LINETHICK0,COLORRED,NODRAW;
P1:=HSL<=1;
P2:=HSL>1 AND HSL<=3;
P3:=HSL>3 AND HSL<=5;
P4:=HSL>5 AND HSL<=10;
P5:=HSL>10;
STICKLINE(P1,0,HSL,2.0,0),COLOR808080;
STICKLINE(P2,0,1,2.0,0),COLOR808080;
STICKLINE(P2,1,HSL,2.0,0),COLOR008000;
STICKLINE(P3,0,1,2.0,0),COLOR808080;
STICKLINE(P3,1,3,2.0,0),COLOR008000;
STICKLINE(P3,3,HSL,2.0,0),COLOR0080FF;
STICKLINE(P4,0,1,2.0,0),COLOR808080;
STICKLINE(P4,1,3,2.0,0),COLOR008000;
STICKLINE(P4,3,5,2.0,0),COLOR0080FF;
STICKLINE(P4,5,HSL,2.0,0),COLOR0000FF;
STICKLINE(P5,0,1,2.0,0),COLOR808080;
STICKLINE(P5,1,3,2.0,0),COLOR008000;
STICKLINE(P5,3,5,2.0,0),COLOR0080FF;
STICKLINE(P5,5,10,2.0,0),COLOR0000FF;
STICKLINE(P5,10,HSL,2.0,0),COLORGREEN;
M5:MA(HSL,5),COLORWHITE;
M10:MA(HSL,10),COLORYELLOW;
M20:MA(HSL,20),COLORFF00FF;
DRAWICON(換手>25,換手,15);
DRAWTEXT_FIX(ISLASTBAR,0.20,0,0,'★換手率>3紅柱!!'),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.30,0,0,'★換手率>10綠柱!!'),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.40,0,0,'★換手率>25鎖定盈利!!'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.52,0,0,'★股價(jià)低位紅柱綠柱進(jìn)貨!!'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR,0.66,0,0,'★股價(jià)高位綠柱拉高出貨!!'),COLORMAGENTA;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
QZQ:=BARSLAST(REF(MACD,1)<0 AND MACD>0);
QM:=LLVBARS(MACD,QZQ+20);
MQDZ:=IF(QM>QZQ,REF(MACD,QM),0);
QF:=LLVBARS(DIFF,QZQ+20);
DQDZ:=IF(QF>QZQ,REF(DIFF,QF),0);
XG1:=MACD<0 AND MACD>MQDZ AND DIFF<0 AND DIFF>DQDZ
AND CLOSE=LLV(CLOSE,QZQ+20) AND MQDZ<0 AND DQDZ<0;
MACD雙背離:REF(XG1,1)=1 AND
MACD>REF(MACD,1),LINETHICK2,COLORYELLOW,NODRAW;
DRAWICON(MACD雙背離,HSL,26);
{換手率解盤}
FJ1:=1;
FJ2:=2;
FJ3:=3;
FJ4:=5;
FJ5:=8;
FJ6:=15;
FJ7:=25;
HS:=DYNAINFO(37)*100,LINETHICK2,COLORYELLOW;
DRAWTEXT_FIX(HS<FJ1 AND ISLASTBAR,0,0.0,0,
'-----地量,小心變盤-----')COLORBROWN;
DRAWTEXT_FIX(HS<FJ2 AND HS>=FJ1 AND ISLASTBAR,0,0.0,0,
'-----低靡,無人問津不參與-----'),COLORC080FF;
DRAWTEXT_FIX(HS<FJ3 AND HS>=FJ2 AND ISLASTBAR,0,0.0,0,
'-----溫和,價(jià)量齊升可跟進(jìn)-----')COLOR0080FF;
DRAWTEXT_FIX(HS<FJ4 AND HS>=FJ3 AND ISLASTBAR,0,0.0,0,
'-----活躍,可關(guān)注-----')COLORFFFF00;
DRAWTEXT_FIX(HS<FJ5 AND HS>=FJ4 AND ISLASTBAR,0,0.0,0,
'-----帶量,帶量上攻可跟進(jìn)-----'),COLORGREEN;
DRAWTEXT_FIX(HS<FJ6 AND HS>=FJ5 AND ISLASTBAR,0,0.0,0,
'-----放量,低位則進(jìn)高位出-----'),COLORMAGENTA;
DRAWTEXT_FIX(HS<FJ7 AND HS>=FJ6 AND ISLASTBAR,0,0.0,0,
'-----巨量,如在高位請(qǐng)小心-----'),COLORYELLOW;
DRAWTEXT_FIX(HS<100 AND HS>=FJ7 AND ISLASTBAR,0,0.0,0,
'-----怪異,如在高位請(qǐng)小心-----'),COLORRED;
DRAWTEXT_FIX(1,0,0.15,0, '解盤說明:'),COLORWHITE,NODRAW;
DRAWTEXT_FIX(1,0.05,0.15,0, '①地量(超級(jí)冷門股) 0-1')COLORBROWN;
DRAWTEXT_FIX(1,0.17,0.15,0, '②低糜(冷門) 1-2 '),COLORC080FF;
DRAWTEXT_FIX(1,0.26,0.15,0, '③溫和(熱身股) 2-3 ')COLOR0080FF;
DRAWTEXT_FIX(1,0.36,0.15,0, '④活躍(活躍) 3-5')COLORFFFF00;
DRAWTEXT_FIX(1,0.45,0.15,0, '⑤帶量(高度活躍) 5-8 '),COLORGREEN;
DRAWTEXT_FIX(1,0.56,0.15,0, '⑥放量(熱門股) 8-15 '),COLORMAGENTA;
DRAWTEXT_FIX(1,0.665,0.15,0, '⑦巨量(超級(jí)熱門股)15- 25 '),COLORYELLOW;
DRAWTEXT_FIX(1,0.795,0.15,0, '⑧怪異 25-100 '),COLORRED;
|