{副圖公式}
STICKLINE(C>1,-1,1,5,0)COLOR600000;
{捕撈季節(jié)}
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,4);
WY1003:=EMA(WY1002,4);
WY1004:=EMA(WY1003,4);
XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
STICKLINE(XYS0>=0,XYS0,0,2,0),COLORRED;
STICKLINE(XYS0<0,XYS0,0,2,0),COLORLIGREEN;
PJGJ:=AMOUNT/VOL/100;
SSRYDJX:=MA(PJGJ,13);
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=SSRCJE/SSRCJL/100;
CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
XYSHSL:=EMA(VOL/CAPITAL*100,13);
ZZX:0,COLORWHITE;
{STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2 ,0 ),COLORGREEN;
STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;
STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;
STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;}
XYS1:MA(XYS0,2);
XYS2:MA(XYS0,1);
STICKLINE(CROSS(XYS1,XYS2) AND XYS1>=0,XYS0,0,2,0),COLORLIRED;
STICKLINE(XYS1>XYS2 AND XYS2>=0,XYS0,0,2,0),COLORLIRED;
STICKLINE(CROSS(XYS2,XYS1) AND XYS1<=0,XYS0,0,2,0),COLORLICYAN;
STICKLINE(XYS1<XYS2 AND XYS2<=0,XYS0,0,2,0),COLORLICYAN;
{暴利極品}
MA3:=MA(C,3);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
V0:=MA(C,3)>REF(MA(C,3),1) AND MA(C,5)>REF(MA(C,5),1) AND C>MA(C,3)
AND MA(C,3)>MA(C,5) ; {均線C,MA3,MA5多頭排列并向上;}
角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;
角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
角度MA10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
角度MA20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;
暴力拉升:IF(角度MA3>45 AND 角度MA5>45 AND 角度MA10>45 AND 角度MA20>45 AND MA(C,250)>REF(MA(C,250),1),
2,0),LINETHICK2,COLORYELLOW;
{選股公式}
{小波段低點(diǎn)}
流通股本:=CAPITAL/100<30000;
漲幅:=DYNAINFO(14)>=0.02 AND DYNAINFO(14)<=0.08 AND MA(C,5)>=MA(C,20);
震幅:=ABS((H-L)/L);
震幅平均:=SUM(震幅,30)/30>=0.03;
去掉連漲停:=COUNT(O=H AND C/REF(C,1)>1.097,30)<2;{5天內(nèi)超大陽線幅度大于0.07個(gè)數(shù)}
去掉新股:=DYNAINFO(17)>0 AND BARSCOUNT(C)>=250 ;
{捕撈季節(jié)}
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,4);
WY1003:=EMA(WY1002,4);
WY1004:=EMA(WY1003,4);
XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
XYS1:=MA(XYS0,2);
XYS2:=MA(XYS0,1);
捕撈季節(jié):=CROSS(XYS2,XYS1);
{波段買入}
A1:=EMA(CLOSE,7)-EMA(CLOSE,21);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
做多:=IF(A1>=B1,A1,B1)*30+50;
做空:=IF(B1-A1,B1,A1)*30+50;
波段買入:=做多=做空;
下跌天數(shù):=COUNT(波段買入,5)>=4;
漲幅 AND 震幅平均 AND 捕撈季節(jié) AND 下跌天數(shù) AND 去掉連漲停 AND 去掉新股;