选股小公式(四)
(0301){选股公式}
MAV:=(C*2+H+L)/4;
SK := EMA(MAV,1) - EMA(MAV,40);
SD := EMA(SK,5);
B:=(SK-SD)*100;
VAR1:=IF(B<-20,-20,IF(B>100,100,B));
A:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20;
A1:=(3*A-2*SMA(A,3,1))*1;
VAR2:=IF(A1>100,100,IF(A1<-5,-5,A1));
红穿白:CROSS(VAR1,VAR2);
(0302){选股公式}
DIF:=EMA(C,5)-EMA(C,30);
DEA:=EMA(DIF,5);
红箭头:CROSS(DIF,DEA);
(0303){选股公式}
A1:=ma(V,5);
A2:=ma(V,10);
A3:=ma(V,20);
FILTER(Count(a1>a2 and a2>a3,3),5);
(0304){选股公式}
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
长期线:=A+100;
CROSS(长期线,20);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
短期线:=B+100;
CROSS(短期线,20);
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
中期线:=D+100;
CROSS(中期线,20);
(0305){选股公式}
综价:=(H+L+O+C)/4;
多空线:=(MA(综价,2)+MA(综价,4)+MA(综价,8)+MA(综价,16))/4;
多空对峙位:=(多空线-LLV(多空线,30))/(HHV(多空线,30)-LLV(多空线,30))*10;
峙K:=SMA(多空对峙位,3,1);
峙d:=SMA(峙K,3,1);
峙J:=3*峙K-2*峙D;
峙Ja:=IF(峙J>10,10,峙J);
峙Jb:=IF(峙Ja<0,0,峙Ja);
均峙Jb:=Sma(峙Jb,2,1);
观音指点:CROSS(均峙Jb,REF(均峙Jb,1)) AND 峙K<8;
(0294){选股公式}
成证:=(3)*(SMA(((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100),5,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100),5,1),3,1)),Color00FFFF;
射击:CROSS(成证,10);
(0306){选股公式}
平衡:=EMA(EMA(EMA(HIGH,3),3),1);
VAR2:=平衡*0.84;
终结线:=平衡*1.06;
主线:=WMA(CLOSE,8);
VAR1:=POW(CLOSE-主线,1);
VAR2:=MA(VAR1,3);
VAR3:=SQRT(VAR2);
WX:=MA(CLOSE,0);
M1:=MA(CLOSE,15)*(IF(20<5,WX,1));
M2:=MA(CLOSE,20)*(IF(20<7,WX,1));
挖到金矿:REF(CLOSE,1)<M2 AND 主线-REF(主线,1)>0 AND 终结线-REF(终结线,1)>0.01
AND LOW<M2 AND CLOSE>M2 AND M1-REF(M1,1)>0 AND CLOSE/OPEN>1.052;
(0307){选股公式}
平衡:=EMA(EMA(EMA(HIGH,3),3),1);
VAR2:=平衡*0.84;
终结线:=平衡*1.06;
主线:=WMA(CLOSE,8);
VAR1:=POW(CLOSE-主线,1);
VAR2:=MA(VAR1,3);
VAR3:=SQRT(VAR2);
WX:=MA(CLOSE,0);
M1:=MA(CLOSE,15)*(IF(20<5,WX,1));
M2:=MA(CLOSE,20)*(IF(20<7,WX,1));
挖到金矿:REF(CLOSE,1)<M2 AND 主线-REF(主线,1)>0 AND 终结线-REF(终结线,1)>0.01
AND LOW<M2 AND CLOSE>M2 AND M1-REF(M1,1)>0 AND CLOSE/OPEN>1.052;
(0308){选股公式}
n8:=4;
拐点:=MA(CLOSE,N8);
拐点1:=MA(CLOSE,N8);
GD1:=REF((COUNT(拐点<=REF(拐点,1),5))=5,1) AND 拐点>REF(拐点,1);
出击:FILTER(GD1,LOW*0.98);
(0309){选股公式}
KS:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);
超跌关注:FILTER(KS>=8,HIGH);
(0310){选股公式}
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
CG:=IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17));
A:=CG-(EMA(C,3)-CG);
下穿三线:CROSS(FS,A);
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
年线:=EMA(C,250);
QQ:=年线-(EMA(C,3)-年线);
QQ下穿:CROSS(FL,QQ);
(0311){选股公式}
{N:2 1 500 1}
VA6:=(2*CLOSE+HIGH+LOW)/4;
VA8:=LLV(LOW,34);
VARB:=HHV(HIGH,34);
VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
长趋势:=EMA(VARD,N);
趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR15:CROSS(趋势线,长趋势)AND 长趋势<25;
(0312){选股公式}
angel:=ema(c,2);
devil:=ema(slope(c,21)*20+c,42);
狂买:cross(angel,devil);
===========================
angel:=ema(c,2);
devil:=ema(slope(c,21)*20+c,42);
狂闪:cross(devil,angel);
(0313){选股公式}
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K1:=SMA(VAR13,3,1);
D1:=SMA(K1,3,1);
VAR21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K2:=SMA(VAR21,3,1);
D2:=SMA(K2,3,1);
VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K3:=SMA(VAR34,3,1);
D3:=SMA(K3,3,1);
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:=SMA(VAR55,3,1);
D55:=SMA(K55,3,1);
共振:K1<20 AND D1<20 AND K2<20 AND D2<20 AND K3<20 AND D3<20 AND D55<20;
================
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
DIFF=DEA;
(0314){选股公式}
T:=BARSCOUNT(C);
TP:FILTER( C>=HHV(H,T) AND V>MA(V,openminutes(time))*2 AND DYNAINFO(17)>1 AND TIME0>36000,240);
=====================
选股用分笔成交 或 预警(分笔成交)。
(0315){选股公式}
EMA13:=EMA(C,13);
EMA34:=EMA(C,34);
EMA55:=EMA(C,55);
EMA120:=EMA(C,120);
AR1:=EMA55>EMA34 AND EMA34>EMA13;
AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);
AR3:=EMA13>=REF(EMA13,2);
AR4:=COUNT(CROSS(C,EMA13),AR2)=1;
AR5:=AR1 AND AR2 AND AR3 AND AR4;
黄柱:AR5 AND FILTER(AR5,10);
=============
DIF:=EMA(CLOSE,9)-EMA(CLOSE,18);
DEA:=EMA(DIF,7);
红柱:CROSS(DIF,DEA) AND DIF<0.3;
(0316){选股公式}
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
大胆搏:FILTER((VAR4AA>90),45);
(0317){选股公式}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);
红牛:FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);
(0318){选股公式}
x1:=(C+L+H)/3;
x2:=EMA(x1,6);
x3:=EMA(x2,5);
CROSS(x2,x3);
(0319){选股公式}
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
V4:=SMA(V3,2,1);
V5:=SMA(V4,2,1);
V6:=CLOSE/REF(CLOSE,3)>=1.1;
V7:=BACKSET(V6,3);
买入:IF((V7 AND COUNT(V7,3)=1),30,0);
============================
未来函数。
当收盘价大于前3天10%时在前3天处显示等于30的信号
(0320){选股公式}
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
特殊会员专用:=3*Q3-2*Q4;
跨越:=EMA(Q3, 3);
低买:REF(CROSS(特殊会员专用,跨越),1) AND 特殊会员专用>1.3*跨越;
(0321){选股公式}
A4:=MA(CLOSE,20);
A5:=(CLOSE > MA(CLOSE,5));
A6:=(MA(CLOSE,5) > MA(CLOSE,10));
A7:=(CLOSE > MA(CLOSE,10));
A8:=(MA(CLOSE,5) > MA(CLOSE,20));
A9:=(CLOSE > MA(CLOSE,20));
A10:=REF(A4,1);
A11:=(A4 > A10);
AVX:=(((((IF(A5,10,(0 - 10)) + IF(A6,10,(0 - 10))) + IF(A7,10,(0 - 10)))
+ IF(A8,10,(0 - 10))) + IF(A9,10,(0 - 10))) + IF(A11,10,(0 - 10)));
DSLX:=(CLOSE / INDEXC);
DSLX1:=MA(DSLX,5);
V1:=MA(VOL,5);
V2:=MA(VOL,10);
中线进:c<200 and ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1));
(0322){选股公式}
和易:=REF(C,1);
郑:=SMA(MAX(C-和易,0),7,1)/SMA(ABS(C-和易),7,1)*100;
短线买入预警:CROSS(20,郑);
和易:=REF(C,1);
郑:=SMA(MAX(C-和易,0),7,1)/SMA(ABS(C-和易),7,1)*100;
短线买入:CROSS(郑,20);
和易:=REF(C,1);
江:=SMA(MAX(C-和易,0),7,1)/SMA(ABS(C-和易),7,1)*100;
短线卖出预警:CROSS(江,80);
和易:=REF(C,1);
江:=SMA(MAX(C-和易,0),7,1)/SMA(ABS(C-和易),7,1)*100;
短线卖出:CROSS(80,江);
(0323){选股公式}
空:=EMA(C,5);
均衡:=EMA(空,5);
白线上拐:CROSS(均衡,REF(均衡,1));
================
中轨:=HHV(MA(H,13),13);
红线上拐:CROSS(中轨,REF(中轨,1));
(0324){选股公式}
input.:n(30,1,100),m1(5,1,50),m2(5,1,20),m3(3,1,20);
Var1:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(Var1,M1,1);
K1白彩:=SMA(K,M2,1);
D黄条:=SMA(K1白彩,M3,1);
红彩看多:=3*k1白彩-2*d黄条;
出现红柱:cross(红彩看多,K1白彩);
(0325){选股公式}
A:=(EMA(CLOSE,5)-EMA(CLOSE,40))*10;
B:=EMA(A,5);
交叉:CROSS(A,B);
(0326){选股公式}
a1:=DYNAINFO(6);
a2:=IF(LOW>a1,0,IF(HIGH<a1,1,(a1-LOW+0.01)/(HIGH-LOW+0.01)));
a3:=VOL/WINNER(LOW);
a4:=REF(HHV(CLOSE,120),1);
a5:=REF(LLV(CLOSE,120),1);
a6:=100*(CLOSE-a5)/(a4-a5);
a7:=a2>0 or a2=1;
a8:=a7 and a3/REF(a3,3)>=3 and a6<80;
a11:=IF(FILTER(a8,3),5,0);
筹码进场日:IF(a11,8,0);
(0327){选股公式}
aa:=WINNER(CLOSE+CLOSE*15/100)*100;
bb:=WINNER(CLOSE+CLOSE*0/100)*100;
cc:=aa-bb;
dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
ee:=cc<3 and dd<0.5 and OPEN<>LOW;
a1:=DYNAINFO(6);
a2:=IF(LOW>a1,0,IF(HIGH<a1,1,(a1-LOW+0.01)/(HIGH-LOW+0.01)));
a3:=VOL/WINNER(LOW);
a4:=REF(HHV(CLOSE,120),1);
a5:=REF(LLV(CLOSE,120),1);
a6:=100*(CLOSE-a5)/(a4-a5);
a7:=a2>0 or a2=1;
a8:=a7 and a3/REF(a3,3)>=3 and a6<80;
a9:=REF(a8,1) or REF(a8,2) or REF(a8,3) or REF(a8,4);
a10:=a8 and a9;
a11:=IF(FILTER(a8,3),5,0);
a12:=IF(FILTER(a10,3) or ee,10,0);
筹码加仓日:IF(a12,88,0);
(0328){选股公式}
家数:=STKCOUNT('A股板块');
EE0:=SUM(IF(INDEXA>REF(INDEXA,1) and INDEXC>MA(INDEXC,5) and INDEXC>INDEXO,INDEXV,0),10);
EE1:=SUM(IF(INDEXA<REF(INDEXA,1) and INDEXC>MA(INDEXC,5) and INDEXC<REF(INDEXC,1),INDEXV,0),10);
EP:=SUM(IF(INDEXC<MA(INDEXC,5),INDEXV,0),10);
EEA:=SUM(IF(AMOUNT>REF(AMOUNT,1) and CLOSE>MA(CLOSE,5),VOL,0),10);
EE2:=SUM(IF(AMOUNT<REF(AMOUNT,1) and CLOSE<MA(CLOSE,5),VOL,0),10);
EG:=SUM(IF(CLOSE<MA(CLOSE,5),VOL,0),10);
EE:=EE0-(EE1+EP);
EEE:=EEA-(EE2+EG);
大盘:=EE/(家数*30000),ColorFF00FF,LINETHICK2;
个股:=EEE/FINANCE(7),Color00EE00;
强弱线:=(大盘+个股)*0.618;
笑脸:CROSS(个股,大盘) and CROSS(个股,强弱线) and 强弱线>REF(强弱线,3);
(0329){选股公式}
DDCM:=100*WINNER(C);
获利平均值:=EMA(100*WINNER(C),20);
穿黄线:CROSS(DDCM,获利平均值);
(0330){选股公式}
input.:n1(25,1,100);
WR2:=-100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));
突破线:=-50;
黄穿突破:CROSS(WR2,突破线);
(0331){选股公式}
A:=(VOL * CLOSE);
B:=(SUM(A,1) / SUM(VOL,1));
B1:=EMA(B,17);
资金:=(((B - B1) * 100) / B);
资金放大:=(资金 * 8.5);
MA资金:=MA(资金放大,15);
MA资金2:=MA(资金放大,5);
卖出:CROSS(MA资金2,资金放大) AND (REF(资金,1) > 4.5);
(0332){选股公式}
Var4:=(2*CLOSE+HIGH+LOW)/4;
Var5:=LLV(LOW,34);
Var6:=HHV(HIGH,34);
持股:=EMA((Var4-Var5)/(Var6-Var5)*100,11);
必卖:=EMA(0.667*REF(持股,1)+0.333*持股,5);
逢低吸纳:CROSS(持股,必卖) AND 持股<40;
===============
资金:=3*SMA((C-LLV(L,89))/(HHV(H,89)-LLV(L,89))*100,5,1)
-2*SMA(SMA((C-LLV(L,89))/(HHV(H,89)-LLV(L,89))*100,5,1),3,1);
见顶线:=EMA(资金,2);
股票:=(见顶线-REF(见顶线,1))/REF(见顶线,1)*100;
见顶清仓:REF(见顶线,1)>91.2 AND 股票<0;
(0333){选股公式}
RSV:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
超跌:=IF(J<0,10,0);
BDDD:=LLV(J,2)=LLV(J,8);
IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0);
(0334){选股公式}
RSV:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BDDD:=LLV(J,2)=LLV(J,8);
加码:IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND BETWEEN(J,20,60),10,0);
===================
RSV:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BDDD:=LLV(J,2)=LLV(J,8);
重启:CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20;
(0335){选股公式}
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
QSXS:=MA10>MA30 AND MA20>MA30 AND MA30>REF(MA30,1);
MA2:=EMA(C,2);
MA42:=EMA(SLOPE(C,21)*20+C,42);
趋势:=10*(MA2-MA42)*QSXS;
加仓:CROSS(趋势,0) AND NOT(趋势=0);
(0336){选股公式}
DIFF1:=EMA(CLOSE,16) - EMA(CLOSE,58);
DEA1:=EMA(DIFF1,88);
MACD1:=2*(DIFF1-DEA1)*100 ;
MAMACD1:=MA(MACD1,5);
DIFF:=EMA(CLOSE,8) - EMA(CLOSE,26);
DEA:=EMA(DIFF,50);
MACD:=2*(DIFF-DEA)*100;
MAMACD:=MA(MACD,5);
零下红:CROSS(MACD1,MAMACD1) AND MACD>MAMACD AND MACD1<0;
=====================================
DIFF1:=EMA(CLOSE,16) - EMA(CLOSE,58);
DEA1:=EMA(DIFF1,88);
MACD1:=2*(DIFF1-DEA1)*100 ;
MAMACD1:=MA(MACD1,5);
DIFF:=EMA(CLOSE,8) - EMA(CLOSE,26);
DEA:=EMA(DIFF,50);
MACD:=2*(DIFF-DEA)*100;
MAMACD:=MA(MACD,5);
黄绿相间:CROSS(MACD,MAMACD) and MACD1<MAMACD1;
(0337){选股公式}
EMA30:=EMA(C,30);
EMA60:=EMA(C,60);
EMA90:=EMA(C,90);
EMA120:=EMA(C,120);
EMA250:=EMA(C,250);
笑脸:cross(EMA30,EMA60) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018
or cross(EMA30,EMA120) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018
or cross(EMA60,EMA90) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018
or cross(EMA30,EMA90) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018 {AND CROSS(EMA30,EMA120)};
(0338){选股公式}
买线:=EMA(CLOSE,2);
卖线:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42);
买入:CROSS(买线,卖线);
Var326:=IF(CLOSE>REF(CLOSE,1),88,0);
Var327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND Var326>0, 91, 0);
追涨:Var327>90;
(0339){选股公式}
AA05:=MA(C,5);
五日乖离率:=(C-AA05)/AA05*100;
AA30:=MA(C,30);
三拾日乖离率:=(C-AA30)/AA30*100;
MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1)
AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;
买入:FILTER(MR,10);
(0340){选股公式}
AA05:=MA(C,5);
五日乖离率:=(C-AA05)/AA05*100;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3);
AA10:=MA(C,10);AA20:=MA(C,20);
AA30:=MA(C,30);
三拾日乖离率:=(C-AA30)/AA30*100;
加仓:FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1)
AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)
AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1),10) ;
(0341){选股公式}
R:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
PERIODD:=10;
EMA1:=EMA(R,PERIODD);
EMA2:=EMA(EMA1,5);
DIFFERENCE:=EMA1-EMA2;
ZEROLAGEMA:=EMA1+DIFFERENCE;
PR:=100-ABS(ZEROLAGEMA);
K:=15;
FFILTER:=(K/100)*STD(PR-REF(PR,1),10);
XA:=IF(PR<REF(PR,1),PR,0);
XN:=BARSLAST(XA>0 );
AMALOW:=REF(PR,XN);
CROSS((PR- AMALOW>FFILTER),0.1);
(0342){选股公式}
AA:=WINNER(C+C*15/100)*100;
BB:=WINNER(C+C*0/100)*100;
CC:=AA-BB;
DD:=(WINNER(C-C*0.1/100)-WINNER(C-C*15/100))*100;
EE:=CC<3 AND DD<0.5 AND O<L AND O>L;
A1:=DYNAINFO(6);
A2:=IF(L>A1,0,IF(H<A1,1,(A1-L+0.01)/(H-L+0.01)));
A3:=V/WINNER(L);
A4:=REF(HHV(C,120),1);
A5:=REF(LLV(C,120),1);
A6:=100*(C-A5)/(A4-A5);
A7:=A2>0 OR A2=1;
A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80 ;
A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
A10:=A8 AND A9;
进场:=IF(FILTER(A8,3),5,0);
加仓:=IF(FILTER(A10,3) OR EE,10,0);
XG:进场 OR 加仓;
(0343){选股公式}
Var10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);
增减力度:(Var10*5)>25;
(0344){选股公式}
FL:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),colorf4e202;
FS:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),colorf4e202,linethick2;
CG:IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17)),colorf4e202,linethick2;
年线:=EMA(CLOSE,250);
a:cg-(EMA(CLOSE,3)-cg),colorff8080;
QQ:年线-(EMA(CLOSE,3)-年线),Colorff80ff,linethick2;
if(CG=FS,CG,CG), coloryellow,linethick2;
(0345){选股公式}
{主买卖差创新高 }
主买:=SUM(TRANSACTVOL(1,0),0);
主卖:=SUM(TRANSACTVOL(2,0),0);
主买卖差:=主买-主卖;
主买卖差>ref(hhv(主买卖差,0),1);
(0346){选股公式}
{拉升资金}
VAR1:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR2:=EMA(VAR1,30);
VAR3:=2*(VAR1-VAR2)*10;
VAR4:=POW(VAR3,3)*0.1+POW(VAR3,2);
VAR5:=IF(YEAR AND VAR3>0.015,VAR4,0)/45;
拉升资金:VAR5;
(0347){选股公式}
{主力资金}
VAR6:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR7:=EMA(VAR6,100);
VAR8:=2*(VAR6-VAR7);
VAR9:=POW(VAR8,3)*0.1+POW(VAR8,1);
主力资金:IF(YEAR<3100 AND VAR8>0.1,VAR9,0)*5;
(0348){选股公式}
{拉升资金+主力资金}
VAR1:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR2:=EMA(VAR1,30);
VAR3:=2*(VAR1-VAR2)*10;
VAR4:=POW(VAR3,3)*0.1+POW(VAR3,2);
VAR5:=IF(YEAR AND VAR3>0.015,VAR4,0)/45;
拉升资金:=VAR5;
VAR6:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR7:=EMA(VAR6,100);
VAR8:=2*(VAR6-VAR7);
VAR9:=POW(VAR8,3)*0.1+POW(VAR8,1);
主力资金:=IF(YEAR<3100 AND VAR8>0.1,VAR9,0)*5;
拉升资金 and 主力资金;
(0349){选股公式}
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
A10:CROSS(控盘,0) AND 控盘>0.4;
(0350){选股公式}
Var2:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
Var3:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),28);
买入信号:CROSS(Var2,MA(Var3,6));
(0351){选股公式}
m5:=if(BARSCOUNT(c)>5,ma(c,5),c);
m15:=if(BARSCOUNT(c)>15,ma(c,15),c);
m30:=if(BARSCOUNT(c)>30,ma(c,30),c);
m60:=if(BARSCOUNT(c)>60,ma(c,60),c);
a:=if(m5>=m15,1,0)+if(m5>=m30,1,0)+if(m5>=m60,1,0)+if(m15>=m30,1,0)+if(m15>=m60,1,0)+if(m30>=m60,1,0)+if(m60>=ref(m60,1),1,0);
CROSS(a,0.5);
(0352){选股公式}
m5:=if(BARSCOUNT(c)>5,ma(c,5),c);
m15:=if(BARSCOUNT(c)>15,ma(c,15),c);
m30:=if(BARSCOUNT(c)>30,ma(c,30),c);
m60:=if(BARSCOUNT(c)>60,ma(c,60),c);
a:=if(m5>=m15,1,0)+if(m5>=m30,1,0)+if(m5>=m60,1,0)+if(m15>=m30,1,0)+if(m15>=m60,1,0)+if(m30>=m60,1,0)+if(m60>=ref(m60,1),1,0);
CROSS(a,1.5);
(0353){选股公式}
DIFF:=EMA(CLOSE,5)-EMA(CLOSE,34);
DEA:=EMA(DIFF,9);
dea2:=EMA(DIFF,3);
牛熊线:=MA(DIFF,250);
(CROSS(DIFF,DEA) AND DEA>牛熊线) AND BARSLAST(CROSS(DEA,牛熊线))<30;
(0354){分时突破选股公式}
T:=BARSCOUNT(C);
FILTER( C>=HHV(H,T) AND V>MA(V,0)*2 AND DYNAINFO(17)>1 AND TIME0>39600,240);
(0355){分时增仓线选股公式}
机构委托增仓:=sum(ordervol(1,2),0)-sum(ordervol(2,2),0);
散户委托增仓:=sum((ordervol(1,0)-ordervol(1,2)),0)-sum((ordervol(2,0)-ordervol(2,2)),0);
cross(机构委托增仓,散户委托增仓);
(0356){选股公式}
一号线:=EMA(CLOSE,144);
工作线:=EMA(CLOSE,14);
二号线:=EMA(CLOSE,25);
生命线:=EMA(CLOSE,453);
九号线:=EMA(CLOSE,99);
穿:CROSS(工作线,二号线) AND V>MA(V,5);
(0357){选股公式}
一号线:=EMA(CLOSE,144);
工作线:=EMA(CLOSE,14);
二号线:=EMA(CLOSE,25);
生命线:=EMA(CLOSE,453);
九号线:=EMA(CLOSE,99);
VART:=BARSLAST(CROSS(工作线,二号线))>3 AND 工作线>二号线;
界定:=BETWEEN((C-工作线)/工作线,0.015,0.0001);
回抽:(VART AND 界定 AND EVERY(CLOSE>工作线,10));
(0358){选股公式}
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
CG:=IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17));
三合一:FL=CG AND REF(FL,1)>REF(CG,1);
(0359){选股公式}
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
买入:CROSS(DIFF,DEA);
(0360){选股公式}
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
买入:=CROSS(DIFF,DEA);
AA:=AMOUNT/VOL;
var1:=(c-ref(c,1))*AA;
KK:=SMA(var1,9,1);
DIFFA:=(EMA(KK,5)-EMA(KK,20))*100;
VARR:=CROSS(DIFFA,0);
合并:买入 AND VARR
(
0361){选股公式}
MA18:=MA(C,18);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
操盘线:=SMA(V3,2,1);
V5:=SMA(操盘线,2,1);
粉进:操盘线>REF(操盘线,1) AND CROSS(操盘线,V5) AND V5<50 AND MA18>REF(MA18,1);
选股周期用30分钟
(0362){选股公式}
input.:N(6,1,50),P1(2,1,50),P2(2,1,50);
RSV:=(((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100);
K:=(POW(SMA(RSV,P1,1),5) / POW(10,8));
D:=(POW(SMA(RSV,P2,1),5) / POW(10,10));
凯:=((K+ D)/2);
CROSS(凯,1);
(0363){选股公式}
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:=SMA(RSV3,5,1);
笑脸:CROSS(长线,15);
(0364){选股公式}
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21);
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:=SMA(RSV3,5,1);
千载难逢:CROSS(短线,长线)AND 长线<18 AND 长线>REF(长线,1)OR CROSS(长线,5);
(0365){选股公式}
A1:=DYNAINFO(6);
A2:=IF(L>A1,0,IF(H<A1,1,(A1-L+0.01)/(H-L+0.01)));
A3:=V/WINNER(L);
A4:=REF(HHV(C,120),1);
A5:=REF(LLV(C,120),1);
A6:=100*(C-A5)/(A4-A5);
A7:=A2>0 OR A2=1;
A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80 ;
进场:FILTER(A8,3);
(0366){选股公式}
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
零下叉:CROSS(DIFF,DEA) AND DEA<0;
(0367){选股公式}
VAR1 := REF(CLOSE,1);
红:=SMA(MAX(CLOSE-VAR1,0),9,1)/SMA(ABS(CLOSE-VAR1),9,1)*100;
绿:=100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
CROSS(红,绿);
(0368){选股公式}
Y1:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.09),0.9),3),1);
买进:CROSS(CLOSE,Y1);
=======
Y1:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.09),0.9),3),1);
卖出:CROSS(Y1,CLOSE);
(0369){选股公式}
AA05:=MA(C,5);
五日乖离率:=(c-AA05)/AA05*100;
AA30:=MA(C,30);
三拾日乖离率:=(c-AA30)/AA30*100;
MR:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and AA05>ref(AA05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<AA30;
买入:filter(MR,10);
(0370){选股公式}
AA05:=MA(C,5);
BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((AA05-ref(AA05,1))/ref(AA05,1),3)*100,3,1);
加速度5:=ema((速度5-ref(速度5,1)),3);
AA10:=MA(C,10);AA20:=MA(c,20);
BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
AA30:=MA(C,30);
三拾日乖离率:=(c-AA30)/AA30*100;
加仓:filter(count(cross(BB05,30),5)>=1 and AA05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and AA10>ref(AA10,1) and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1),10);
(0371){选股公式}
AA05:=MA(C,5);
BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
AA10:=MA(C,10);AA20:=MA(c,20);
BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
AA30:=MA(C,30);
BB30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;
强势狙击:filter(BB30>30 and BB10>45 and cross(BB05,60),10);
(0372){选股公式}
上升趋势:=EMA(CLOSE,5);
支撑压力:=EMA(CLOSE,21);
买:CROSS(上升趋势,支撑压力);
(0373){选股公式}
趋势线:=SMA(EMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,3),7,1)-(13);
ZYE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
卖出线:=SMA(SMA(ZYE,3,1),3,1);
买入线:=3*SMA(ZYE,3,1)-2*卖出线;
穿趋势线:CROSS(买入线,趋势线);
(0374){选股公式}
ma20:=ma(close,20);
压力一:=hhv(low,20);
天:=(ma(low,15) * 0.985);
全仓:filter(((((((low <= 天) and (close >= ma20)) and (high < 压力一)) and ((天 - ref(天,1)) > 0)) and (close < 压力一)) and ((ma20 - ref(ma20,1)) > 0)),6);
(0375){选股公式}
ma20:=ma(close,20);
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rsv:=sma(下档线,3,1);
k:=sma(rsv,3,1);
d:=((3 * rsv) - (2 * k));
j12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(j12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
压力位:=if(cross(d24,d),high,l);
绝佳买点:((cross(ma20,压力位) and (low <= ma20)) and ((ma20 - ref(ma20,1)) > 0.02));
(0376){选股公式}
MA5:=MA(C,5);
MA10:=MA(C,10);
MsA20:=MA(C,20);
As2:=REF(MsA20,1);J1:=(MsA20-As2)/As2*100;MJ1:=MA(J1,3);
MA30:=MA(C,30);
MA55:=MA(C,55);
MA120:=MA(C,120);
乖离2:=(MsA20-MA30)/MA30*100;
VAsR1:=IF(BETWEEN(乖离2,-2,5),2,0);
MAX1:=MAX(MsA20,MA30);
MAX2:=MAX(MAX1,MA55);
MIN1:=MIN(MsA20,MA30);
MIN2:=MIN(MIN1,MA55);
Ks1:=(MAX2/MIN2-1)*100;{粘合度符合条件}
VAsR2:=IF(Ks1<=8,1,0);
短线:FILTER( (VAsR1 OR VAsR2) AND MA10>REF(MA10,1) AND COUNT(MA30>REF(MA30,1),3)=3 AND MA30>MA55 AND COUNT(CROSS(MA5,MA30),3) AND J1>MJ1 AND MA(V,5)>MA(V,60)
AND MA(V,60)>REF(MA(V,60),1),5);
(0377){选股公式}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
A2:=BARSLAST(REF(CROSS(K,D),1));
瞄K准:REF(C,A2+1)>C AND REF(K,A2+1)<K AND CROSS(K,D);
====
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
瞄R准:=REF(C,A3+1)>C AND REF(RSI1,A3+1)<RSI1 AND CROSS(RSI1,RSI2);
========
SQ1:=O<MA(C,14) AND C>MA(C,14);
SQ2:=MA(C,5)<MA(C,14);
SQ3:=MA(C,14)<MA(C,55);
SQ4:=V>MA(V,5)*1.01 AND V>MA(V,10)*1.01;
冲锋:SQ1 AND SQ2 AND SQ3 AND SQ4;
=================
进攻:=REF(C,REF(HHVBARS(V,21),0))COLORGREEN,LINETHICK0;
M1:=MA(CLOSE,1),LINETHICK0;
A:V>1*REF(V,1) AND (C/REF(C,1)-1)*100>9.5 AND M1>=进攻;
==============
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,8);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
反击战:REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
(0378){选股公式}
EMA30:EMA(C,30);
EMA60:=EMA(C,60);
EMA90:=EMA(C,90);
EMA120:=EMA(C,120);
EMA250:=EMA(C,250);
ss:cross(EMA30,EMA60) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018
or cross(EMA30,EMA120) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018
or cross(EMA60,EMA90) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018
or cross(EMA30,EMA90) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018 {AND CROSS(EMA30,EMA120)};
(0379){选股公式}
EMA30:EMA(C,30);
EMA60:=EMA(C,60);
EMA90:=EMA(C,90);
EMA120:=EMA(C,120);
EMA250:=EMA(C,250);
DD:=cross(EMA60,EMA90) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018
or cross(EMA60,EMA250) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018
or cross(EMA90,EMA120) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018
or cross(EMA60,EMA120) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(EMA30,EMA250);
DD:CROSS(EMA30,EMA250);
(0380){选股公式}
工作线:=EMA(CLOSE,P1);
神秘线:=EMA(CLOSE,P2);
XG:(工作线 > 神秘线) AND (C > 工作线) AND (工作线 >REF(工作线,1)) AND (神秘线 >REF(神秘线,1));
(0381){选股公式}
a:=(3*c+l+o+h)/6;
X:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+
14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,20))/210;
回调认同:=eMA(X,13);
持股线:=EMA(CLOSE,17);
CROSS(持股线,回调认同);
(0382){选股公式}
MB1:=EMA(CLOSE,13);
MB2:=EMA(MB1,3);
买入:CROSS(MB1,MB2);
=============
MB1:=EMA(CLOSE,13);
MB2:=EMA(MB1,3);
卖出:CROSS(MB2,MB1);
(0383){选股公式}
XL3:=(C-EMA(C,21))/EMA(C,21)*100;
XL4:=CROSS(XL3,-20);
爆破:XL4>0;
============
XL6:=(C-MA(C,24))/MA(C,24)*100;
XL7:=CROSS(XL6,-20);
启爆:XL7>0;
=============
急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;
当日收阳:=(H-L)/L>0.07 AND (C-O)/O>0.07 AND C/REF(C,1)>1.05;
枯木逢春:急速超跌 AND 当日收阳;
(0384){选股公式}
TYP := (HIGH + LOW + CLOSE)/3;
VAR1:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
见底信号:VAR1<-200;
(0385){选股公式}
短炒生命:=ref(ma(c,3),1);
短炒生命1:=EMA(HHV(短炒生命,3),1);
下轨:=ref(ma(l,7),1);
上轨:=ref(ma(h,7),1);
关注1:=c>下轨 and c>短炒生命 and c>短炒生命1 and c<上轨 and 短炒生命<短炒生命1 and c>o;
短:关注1=1 and ref(关注1,1)=0;
(0386){选股公式}
短炒生命:=ref(ma(c,3),1);
短炒生命1:=EMA(HHV(短炒生命,3),1);
下轨:=ref(ma(l,7),1);
上轨:=ref(ma(h,7),1);
买入1:=c>下轨 and c>短炒生命 and c>短炒生命1 and c>上轨 and 短炒生命=短炒生命1 and ref(c,1)<ref(上轨,1);
买:买入1=1 and ref(买入1,1)=0;
(0387){选股公式}
短炒生命:=ref(ma(c,3),1);
短炒生命1:=EMA(HHV(短炒生命,3),1);
下轨:=ref(ma(l,7),1);
上轨:=ref(ma(h,7),1);
买入1:=c>下轨 and c>短炒生命 and c>短炒生命1 and c>上轨 and 短炒生命=短炒生命1 and ref(c,1)<ref(上轨,1);
买入:=买入1=1 and ref(买入1,1)=0;
强势1:=c>下轨 and c>短炒生命 and c>上轨 and ref(c,1)<ref(上轨,1) and 买入=0;
强:强势1=1 and ref(强势1,1)=0;
(0388){选股公式}
MB1:=EMA(CLOSE,6);
MB2:=EMA(MB1,5);
买入:CROSS(Mb1,Mb2);
(0389){选股公式}
短3角度大于45度
短3:=EMA(CLOSE,3);
k15:=EMA(CLOSE,15);
M5:=ATAN((短3/REF(短3,1)-1)*100)*180/3.14159;
M5>45 AND CROSS(短3,k15);
(0390){选股公式}
MA1:=EMA(CLOSE,3);
MA2:=EMA(CLOSE,5);
红箭头:CROSS(MA1,MA2);
(0391){选股公式}
MA4:=EMA(CLOSE,10);
MA7:=EMA(CLOSE,30);
红三角:CROSS(MA4,MA7);
(0392){选股公式}
Var2:=68;
Var3:=(CLOSE-LLV(LOW, 9))/(HHV(HIGH, 9)-LLV(LOW, 9))*100;
Var4:=SMA(Var3,3,1);
Var5:=SMA(Var4,3,1);
Var6:=3*Var4-2*Var5;
Var7:=SMA(CLOSE/HHV(HIGH, 120), 3, 1)*100;
资金介入:Var7<68 AND BARSLAST(CROSS(Var2,Var7))>2 AND Var5<30 AND CROSS(Var6,Var5);
(0393){选股公式}
MA5:=MA(V,5);
MA13:=MA(V,13);
星:CROSS(MA5,MA13);
(0394){.“大单买入”比例超过50%
选股公式}
input.:n(403,1,10000);
dd:=INTPART(LN(FINANCE(7)/(n*10))*ATAN(FINANCE(7))*100);
主动买入:=SUM(BUYVOL,0);
主动卖出:=SUM(SELLVOL,0);
大单买:=if(BUYVOL>=dd,BUYVOL,0);
大单买入:=SUM(大单买,0);
(大单买入/(主动买入+主动卖出)*100) > 50;
(0395){.“大单净量”比例超过10%选股公式}
input.:n(403,1,10000);
dd:=INTPART(LN(FINANCE(7)/(n*10))*ATAN(FINANCE(7))*100);
主动买入:=SUM(BUYVOL,0);
主动卖出:=SUM(SELLVOL,0);
大单买:=if(BUYVOL>=dd,BUYVOL,0);
大单卖:=if(SELLVOL>dd,SELLVOL,0);
大单买入:=SUM(大单买,0);
大单卖出:=SUM(大单卖,0);
大单净量:=大单买入-大单卖出;
大单净量/(主动买入+主动卖出)*100 > 10;
(0396){选股公式}
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
VAR9:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR10:=SMA(VAR9,3,1);
VAR11:=SMA(VAR10,3,1);
VAR12:=SMA(VAR11,3,1);
主力出现:CROSS(VAR11,VAR12) AND (VAR11<40);
(0397){选股公式}
V10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>L+0.04,4,0);
买:V10>0;
(0398){选股公式}
V11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
V13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
V15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
V17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
底:(V11+V13+V15+V17);
(0399){选股公式}
A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);
主力:=MA(A,4);
游资:=MA(A,8);
大户:=MA(A,16);
散户:=MA(A,32);
CROSS(主力,散户) OR CROSS(游资,散户) OR CROSS(大户,散户);
(0400){选股公式}
TYP := (HIGH + LOW + CLOSE)/3;
(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)) > 100;