通达信公式

Var6:=MA(CLOSE,5); Var7:=MA(CLOSE,10); Var8:=MA(CLOSE,20); Var9:=MA(VOL,10); VarA:=MA(CLOSE,60); VarB:=MA(CLOSE,30); VarC:=MA(VOL,3); VarD:=MA(VOL,5);

VarE:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; VarF:=SMA(VarE,M1,1); Var10:=SMA(VarF,M2,1);

Var11:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE

Var12:=((ABS(Var6-Var7)/CLOSE<0.04 OR ABS(Var6-(Var6+Var7+Var8)/3)/(Var6+Var7+Var8)/3<0.03 AND ABS(Var7-(Var6+Var7+Var8)/3)/(Var6+Var7+Var8)/3<0.03 OR Var2

CLOSE>Var7 AND Var11>MAX(REF(Var11,1),REF(Var11,2)) AND Var11>MAX(REF(Var11,3),REF(Var11,4)) AND (REF(MA(VOL,5),1)>REF(MA(VOL,5),2) AND REF(MA(VOL,5),2)>REF(MA(VOL,5),3) AND

REF(MA(VOL,5),3)>REF(MA(VOL,5),4) OR (CLOSE-Var6)/Var6*100<-7 AND \CROSS(\

(HIGH-CLOSE)/CLOSE<=0.019 AND CLOSE>REF(CLOSE,1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.05 AND

(CLOSE-Var6)/Var6*100<18 AND Var5Var6 AND Var6>Var7 AND Var7>VarB AND

VarA>REF(VarA,1) AND REF(VarA,2)>REF(VarA,3) AND REF(VarA,4)>REF(VarA,5) AND

VarC>MAX(REF(VarC,1),REF(VarC,2)) AND (VOL<=VarC*2 OR (HIGH-CLOSE)/CLOSE<0.01) AND Var5REF(CLOSE,1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.05 OR

(CLOSE-Var6)/Var6*100<-7 AND \

\Var1>Var2;

Var13:=VOL/CAPITAL>M3/100 AND REF(VOL/CAPITAL,1)<0.05 AND REF(VOL/CAPITAL,2)<0.05 AND REF(VOL/CAPITAL,3)<0.05;

Var14:=2*(COST(85)-COST(15))/(COST(85)+COST(15)); Var15:=REF(Var14,1)<=0.16; Var12 AND Var13 AND Var15;

条件选股公式:紧追 缺省周期:日线

Var1:=CLOSE/REF(CLOSE,1)>=1.09 AND HIGH/CLOSE<1.005 AND MA(CLOSE,90)/CLOSE>=1.1; Var1 AND COUNT(Var1,20)=1;

技术指标公式:1.2.3. 缺省周期:日线 参数描述: N(10,244,10) Var1:=MA(CLOSE,5); Var2:=MA(CLOSE,10); Var3:=MA(CLOSE,60); Var4:=MA(CLOSE,35);

Var5:=MA(REF(VOL,10),20);

Var6:=IF(CLOSE-SMA(CLOSE,75,1)<0,CAPITAL/VOL,0); Var7:=IF(CLOSE<1.2 AND Var6>150,50,0);

Var8:=IF(CLOSE>Var1 AND Var3 AND CROSS(Var1,Var2) AND (VOL-Var5)/Var5>0.5 AND CLOSE>MA(REF(CLOSE,1),3) AND SMA(Var7,5,1)>0,100,50);

Var9:=IF(100*VOL/CAPITAL>10 AND 100*VOL/CAPITAL<18 AND SMA(Var8,5,1)>50 AND Var1>Var2,150,100); 注意: Var7; 持有: Var8; 拉升: Var9;

原文地址:公式编写(作者:宁静而致远A)作者:明天么办ls

001)、K线昨天收盘是阴线今天是阳线选股公式:XG:C>O AND REF(C,1) (002)、股价站上10线选股公式:c>ma(c,10); (003)、成交均价线:MAN:MA(AMOUNT/V/100,N); (004)、今日收盘价站在30日和5日均线上方,且5日均线掉头向上;且成交量比前一日放大一倍以上;且今日收盘是超过8%的阳线。

C>MAX(MA(C,5),MA(C,30)) AND CROSS(MA(C,5),REF(MA(C,5),1)) AND V>REF(V,1)*2 AND C/REF(C,1)>1.08; (005)、5日线连续3日走平或向上:count(ma(c,5)>=ref(ma(c,5),1),3); (006)、

MACD指标源码 : LONG,26 SHORT,12 M,9 DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA : EMA(DIFF,M);

MACD : 2*(DIFF-DEA), COLORSTICK;

请教如何选出MACD的DIFF、DEA在0轴下,DIFF从下往上交叉DEA的个股? 请会写公式的朋友帮个忙,写一个选股公式 。 加分感谢!!! DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA : EMA(DIFF,M); MACD : 2*(DIFF-DEA);

DIFF<0 AND DEA<0 AND CROSS(DIFF,DEA); (007)、

请教如何选出 外盘小于内盘而股价收阳 的个股?

DYNAINFO(7)>DYNAINFO(3) AND DYNAINFO(22)>DYNAINFO(23); (008)、一阳穿两线:xg: cross(c,ma(c,5)) and cross(c,ma(c,30)); (009)、

连续3-5天,每天的收盘价涨跌幅不超过1%. w1:abs(c-o)<0.01; xg:count(w1,5)>=3; (010)、能把K线收十字星的股票做成选股公式吗? abs(c-o)/o<0.01; (011)、

请教MACD在8天以内两次金叉怎么编? DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26)); DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0; MACD:=2*(DIFF-DEA); w1:cross(DIFF,dea); xg:count(w1,8)>=2; (012)、

MACD上金叉选股公式:日线MACD在0线上方出现金叉,且近10日内涨幅不超过百分之10: DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26)); DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0; MACD:=2*(DIFF-DEA); w1:=cross(DIFF,dea);

w2:=(c-ref(c,10))/ref(c,10)<0.1;

w3:macd>0;

w1 and w2 and w3; (013)、一阳穿三线: cross(c,ma(c,5)) and cross(c,ma(c,10)) and cross(c,ma(c,20)) ; (014)、

13日量均线拐头向上怎么编? ma(v,13)>ref(ma(v,13),1); (015)、

60MA由向下调头向上怎么编啊 ? ma(c,60)>ref(ma(c,60),1); (016)、

个股价回调到14日均线的选股公式。 abs(c-ma(c,14))/ma(c,14)<0.005; (017)、

跳空高开上涨或跳空下跌发出信号。 HIGH

LOW>REF(HIGH,1); (018)、跳空高开收阳线:LOW>REF(HIGH,1) and c>o; (019)、涨停过300日线的选股公式:c/ref(c,1)>1.09 and cross(c,ma(c,300)); (020)、今天的开盘价比昨天的收盘价高,并收阳线:c>o and c>ref(c,1); (021)、

MA20穿MA30;MA20穿MA60;MA20穿120:

cross(ma(c,20),ma(c,30)) or cross(ma(c,20),ma(c,60)) or cross(ma(c,20),ma(c,120)) ; (022)、

股价N天内连续沿着5天线走,且每天收盘价与5天线的距离不超过2%的选股公式 w1:=abs(c-ma(c,5))/ma(c,5)<0.02; xg:count(w1,n)=n; (023)、

跳空高开后三天内没有回补缺口的公式:ref(LOW,2)>REF(HIGH,3) and l>ref(LOW,2); (024)、

N 日内,向上跳空缺口未补的选股。N设为可调节参数 ref(LOW,n)>REF(HIGH,n-1) and l>ref(LOW,n); (025)、

当曰放量涨停突破125曰均线和250日均线(125均线与250均线粘合) cross(c,ma(c,125)) and cross(c,ma(c,250)) and v>ref(v,1)*3; (026)、

当天4日,9日上穿21日的选股公式。

cross(ma(c,4),ma(c,21)) and cross(ma(c,9),ma(c,21)); (027)、选出10元以下全部股:c<10; (028)、

MACD零下金叉 和 零上金叉MACD选股公式。 DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9);{MACD低金} MACD:=2*(DIFF-DEA);

低金:CROSS(DIFF,DEA) AND DIFF<-0.1; 零上金:CROSS(DIFF,DEA) AND macd>0 ; (029)、

外盘大于内盘10%的选股 w1:=DYNAINFO(23);

w2:=DYNAINFO(22)*1.1; (030)、今天跌幅在8%以上的股票:c/ref(c,1)<0.92; (031)、

涨幅在2%-3%的股票 w1:c/ref(c,1)<0.98; w2:c/ref(c,1)>0.97; BETWEEN(c ,w1,w2); w1>w2 (032)、当天换手率是其流通比的5%以上的选股公式v/capital*100>5; (033)、K线收红c>o; (034)、

30天之内K线第一次上穿60天均线选股公式, w1:=count(cross(c,ma(c,60)),30)=1; FILTER(w1,29); (035)、

日线周期下ma5上穿ma10,5日成交量上穿10日成交量,macd低位金叉,以上条件同时成立做个选股公式, MA5:=MA(C,5); MA10:=MA(C,10); MAV5:=MA(VOL,5); MAV10:=MA(VOL,10);

XG:CROSS(MA5,MA10) AND CROSS(MAV5,MAV10); (036)、

KDJ金叉的选股公式

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; xg:cross(k,d); (037)、

MACD金叉的选股公式

DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26)); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); xg:cross(diff,dea); (038)、

股价/大盘指数*100:c/INDEXC*100; (039)、

今日K线的最高价与最低价满足同时高于昨日最高价及低于昨日最低价选股 : h>ref(h,1) and l (040)、涨跌幅:xg:(CLOSE/REF(CLOSE,1)-1)*100,LINETHICK0; (041)、今天的收盘大于30日均线:cross(c,ma(c,30)); (042)、a线连续10天在b线之上count(A>B,10)=10 (043)、

帮忙编个连续N天,每天的换手率都要大于M%的换手率指标公式 count(100*v/capital>m,n)=n (044)、统计日涨跌幅度的公式涨跌幅:(c-ref(c,1))/ref(c,1)*100 (045)、

{乖离率公式 L1,30}

联系客服:779662525#qq.com(#替换为@)