都是过时的垃圾之二
{超级投机短线选股公式}
DYNAINFO(14)>-0.02 AND CAPITAL<5000000 AND
DYNAINFO(26)/DYNAINFO(32)>2 AND
DYNAINFO(27)/DYNAINFO(33)>2 AND
DYNAINFO(41)/DYNAINFO(43)>2 AND
DYNAINFO(48)/DYNAINFO(50)>2 AND
DYNAINFO(26)>1000 AND
DYNAINFO(27)>1000 AND
DYNAINFO(41)>1000 AND DYNAINFO(48)>1000;
==================================
{老鼠仓}
AA1:=AMOUNT/VOL;
BB1:=L< AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100> 1.2;
DD1:=L< MA(C,5)*0.921;
EE1:=VOL< MA(V,5)*1.5;
老鼠仓:BB1 AND CC1 AND DD1 AND EE1;
====================================
{数浪公式}
A:=C
B:=FINANCE(33)>0.2;{每股收益}
选股:IF(A && B,1,0);
=========================
{蓄势待发选股}
V0:=EMA(C,5);
EMA10:=EMA(C,10);
EMA20:=EMA(C,20);
EMA30:=EMA(C,30);
EMA60:=EMA(C,60);
M1:=1000*EMA10/EMA60<=1015 AND 1000*EMA10/EMA60>=975;
M2:=1000*EMA20/EMA60<=1020 AND 1000*EMA20/EMA60>=980;
M3:=1000*EMA30/EMA60<=1015 AND 1000*EMA30/EMA60>=985;
M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA10);
M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA30);
T1:=1000*EMA10/EMA30<=1010 AND 1000*EMA10/EMA30>=990;
T2:=1000*EMA20/EMA30<=1010 AND 1000*EMA20/EMA30>=990;
T3:=T1 AND T2 AND CROSS(V0,EMA10);
T4:=T1 AND T2 AND CROSS(V0,EMA30);
M4 OR M5 OR T3 OR T4;
=====================================
{短线通道}
VAR1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,13);
VAR13:=STD(VAR11,13);
VAR14:=(VAR11-VAR12)*100/VAR13;
VAR15:=EMA(VAR14,5);
VAR16:=EMA(VAR15,13);
VAR17:=EMA(VAR15,13)+200-100;
VAR18:=EMA(VAR17,10);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR1E:=AMOUNT/VOL/100;
VAR1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR23:=EMA(VAR22,24);
VAR24:=STD(VAR22,24);
VAR25:=(VAR22-VAR23)/VAR24*100;
VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR27:=EMA(VAR25,5);
VAR28:=(VAR1E-MA(VAR1E,21))/(0.015*AVEDEV(VAR1E,21));
VAR29:=(VAR1F-MA(VAR1F,90))/(0.015*AVEDEV(VAR1F,90));
VAR2A:=((VAR29+VAR28+VAR27+VAR26+VAR20)/5+165)/4;
VAR2B:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2C:=(VAR2A+VAR2B)/2/1.1;
短线:=VAR2C;
MID:=MA(短线,26);
UPPER:=MID+2*STD(短线,26);
LOWER:=MID-2*STD(短线,26);
{LCJ2:=IF(短线>MID,MID,短线); }
{买点: DRAWICON(CROSS(短线,MID),MID*0.97,1); }
{DRAWICON(CROSS(短线,LOWER),LOWER*0.97,3); }
{卖点: DRAWICON(CROSS(UPPER,短线),UPPER*0.97,2);
MID, , COLORYELLOW;}
{多头买入} ENTERLONG:CROSS(短线,MID) AND UPPER-MID>50;
============================
{135均线选股}
MA11:=MA(CLOSE,10),COLORRED;
MA33:=MA(CLOSE,30),COLORYELLOW;
MA55:=MA(CLOSE,55),COLORBLUE;
年线:=MA(CLOSE,250),COLORGREEN;
Y:=(MA(C,11)-MA(C,55))/MA(C,11)*100;
{135均线战法}
YY1:=C>MA(C,11) AND OPEN
YY3:=C>MA(C,33) AND OPEN
YY5:=C>MA(C,55) AND OPEN
SJ1:=ABS(MA(CLOSE,11)-MA(CLOSE,33))
SJ2:=ABS(MA(CLOSE,33)-MA(CLOSE,55))
SJ3:=CROSS(MA(CLOSE,11),MA(CLOSE,55));{11线上穿55线}
RY1:=C/OPEN>1.04;{阳线4%}
RY2:=REF(OPEN,1)/REF(CLOSE,1)>1.04;{阴线4%}
RY3:=ABS(OPEN-REF(C,1))
HK1:=CROSS(MA(C,11),MA(C,55));{11线上穿55线}
HK2:=C
HK3:=ABS(L-MA(C,11))
HK:=HK1 AND HK2 AND HK3;
JG1:=ABS(MA(C,11)-MA(C,33))
JG2:=O>MA(C,11) OR O=MA(C,11);
JG3:=C/OPEN>1.03 ; {阳线3%}
JG:=JG1 AND JG2 AND JG3;
HY1:=CROSS(MA(C,11),MA(C,55));{11线上穿55线}
HY2:=OPEN1.02; {阳线3%}
HY3:=ABS(OPEN-MA(C,11))
HY:=HY1 AND HY2 AND HY3;
JW1:=C
JW2:=OPENREF(L,1);
JW3:=O
JW:=JW1 AND JW2 AND JW3;
TS1:=CROSS(MA(C,11),MA(C,33));{11线上穿33线}
TS2:=MA(C,11)
TS:=TS1 AND TS2;
MK1:=MA(C,11)>MA(C,55) AND MA(C,33)>MA(C,55);
MK:=TS1 AND MK1;
YZ1:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;{收阳有上影}
YZ2:=REF(C,1)>REF(O,1) AND O>MA(C,11);{昨收阳 今大于均线}
YZ:=YZ1 AND YZ2 AND Y>10;
DS1:=OPEN/C>1.04 AND O/REF(C,1)>1.03;{高开收阴}
DS2:=V*100/FINANCE(7)>0.08 AND Y>8;{换手高涨幅大}
DS:=DS1 AND DS2;
YJ1:=H/O>1.04;
YJ2:=ABS(C-O)
YJ3:=C/MA(C,11)>1.1;
YJ:=YJ1 AND YJ2 AND DS2 AND YJ3 AND YZ2;
(YY1 AND YY5 AND YY3) OR (SJ1 AND SJ2 AND SJ3) OR (RY1 AND RY2 AND RY3) OR
(HK) OR (JG) OR (HY) OR (JW) OR (TS) OR (MK) OR (YZ) OR (DS) OR (YJ);
===================================
{黑马腾飞}
Y1:=BARSLAST(CROSS(MA(C,5),MA(C,20))) AND MA(C,5)>MA(C,20);
Y2:=Y1 AND BARSLAST(CROSS(MA(C,5),MA(C,90)));
Y3:=Y2 AND CROSS(MA(C,20),MA(C,90));
F0:=BARSLAST(CROSS(MA(C,5),MA(C,90)));
F1:=F0 AND BARSLAST(CROSS(MA(C,20),MA(C,90)));
F2:=F1 AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,90);
Y3 OR F2;
===================================
{跳空缺口双向选股}
{S=1}
LL:=REF(L,1);
HH:=REF(H,1);
XSQK:=L>HH;
XQK:=H
(S=1&&XSQK)||(S=2&&XQK);
==============================
{勾头向上 }
VAR1:=EMA(CLOSE,5);
VAR2:=REF(VAR1,1);
VAR3:=REF(VAR2,1);
VAR1>VAR2 AND VAR2>VAR3;
{股价趋势线勾头向上};
===============================
{稳健追涨选股}
MA1:=EMA(CLOSE,5);
MA2:=EMA(CLOSE,10);
MA3:=EMA(CLOSE,20);
MA4:=EMA(CLOSE,30);
MA5:=EMA(CLOSE,60);
VAR1:=MAX(MA1,MAX(MA2,MAX(MA3,MA4)));
VAR2:=MIN(MA1,MIN(MA2,MIN(MA3,MA4)));
VAR3:=(VAR1-VAR2)/VAR2*1000;
VAR4:=MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA5>REF(MA5,1);
VAR5:=VAR3<5;
VAR6:=COUNT(VAR5=1,5)>0;
VAR7:=CROSS(MA1,MA4);
VAR8:=VAR4 AND VAR6 AND VAR7;
VAR8
{结合稳健追涨主图指标使用};
=====================================
{黑马选股1}
黑马一:=((((VOL/120)>(MA(VOL,5)/120)) AND (CLOSE>(OPEN*(1+(4.8/100))))) AND (CLOSE<(MA(CLOSE,30)*1.6)));
VAR1:=((MA(VOL,5)/120) AND (CLOSE>(REF(CLOSE,1)*1)));
VAR2:=((((((CLOSE/REF(CLOSE,1))>=1.05) AND (((VOL/CAPITAL)*100)<10)) AND (CLOSE<18)) AND ((HIGH/CLOSE)<1.01)) AND (VAR1>0));
VAR3:=(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*100);
VAR4:=((EMA(CLOSE,12)-EMA(CLOSE,26))*100);
FNZH:=((VAR4<(0-50)) AND (VAR3>7));
黑马二:=((VAR2>9) OR FNZH); |