编下昨天5日线上穿10日线选股公式
编下昨天5日线上穿10日线选股公式
编写条件:
编写方法:
网友求助:
S1:=IF(NAMELIKE('S'),0,1);
S2:=IF(NAMELIKE('*'),0,1);
ST:=S1 AND S2 AND Q300;
A2:=CAPITAL/1000000<5;
C1:=BETWEEN((H-L)/REF(C,1)*100,0.2,8.5);
D1:=SUM((C-REF(C,1))/REF(C,1)*100,1)<2.1;
量价线:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
XG1:=量价线>0;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
多:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
MS:=IF(多>=REF(多,1),多,DRAWNULL);
XG2:=C>=MS;
CN1:=HHV(V,5);{5日最高量}
CN2:=O>C;
CN02:=C>O;
CN03:=C=O;
CN04:=((SUM(V,5)/CN1));
CN05:=IF(CN04>0.3,1,0);{大资金}
CN07:=IF(CN02 AND CN05,V,0);{大资金流入}
A11:=SUM(CN07,9);
XG3:=A11>REF(A11,1)*1.01`;
D2:=SUM((C-REF(C,1))/REF(C,1)*100,10)<8;
XG:= ST AND A2 AND C1 AND C<12 AND D1 AND XG1 AND XG2 AND XG3 AND D2;
攻击流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));
GJJ:=EMA(攻击流量,8);
LLJX:=EMA(攻击流量,3);
资金流量:=LLJX;
十日飘红:=COUNT(资金流量>0,10),COLORRED,LINETHICK0;
XG11:=资金流量>0 AND 资金流量>REF(资金流量,1)*1.05 AND 十日飘红;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
进出量:=买量+卖量,COLOR00FFFF;
N:=1;QJ0:=(HIGH+LOW+CLOSE)/3;
QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);
QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));
QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
QJ6:="MACD.DIF">"MACD.DEA" AND "MACD.DEA"<0;
QJ7:="KDJ.K">"KDJ.D" AND "KDJ.D"<30;
QJ8:="MACD.DIF"<"MACD.DEA";
QJ9:="KDJ.K"<"KDJ.D" AND "KDJ.K">80;
特大:=QJ4*QJ5,LINETHICK0;大单:=QJ3*QJ5,LINETHICK0;
中单:=QJ1*QJ5,LINETHICK0;小单:=QJ2*QJ5,LINETHICK0;
W1:=SUM(大单,N)+SUM(特大,N);W2:=SUM(小单,N)+SUM(中单,N);
量振1:=特大>大单 AND 大单>小单;
量振2:=特大<小单 AND 大单<小单;
标振1:=QJ6 AND QJ7;
标振2:=QJ8 AND QJ9;
A:=W1-W2;A0:=IF(A>0,A,0);B0:=IF(A11<0,A,0);
主力持仓:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF;主力筹码集中度:=WINNER(C)*100,COLORRED;
XG12:=量振1 AND 主力持仓>20;
XG10:XG AND XG11 AND XG12 AND C>=MA(C,55);
今天选出来是可能是选股期限包括了今天了吧,若把选股期限只限定在今天(周五2月17日),我试过,没有选出该股。
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
【股票资源馆】东方财富L2决策破解版,东方财富网,东方财富投资大师破解版,东方财富先锋版破解,东方财富领航版破解,同花顺远航版破解,同花顺财富先锋破解,同花顺L2破解。
通达信见底公式改为选股公式
通达信见底公式改为选股公式