通达信分时选股公式源码_通达信分时成交量源码

hacker|
87

文章目录:

通达信选股公式源码

你好,通达信选股公式源码如下。

次日涨停

W1:=C=HHV(C,20);

W2:=BARSLAST(W1);

W3:=IF(W20,REF(C,W2),REF(C,W2));

W4:=交叉(C,REF(W3,1));

W4和计数(W4,5)=1;

黄转紫选股

差异:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA:=EMA(差异,9);

MACD:=(DIFF-DEA)*2;

紫柱:MACDREF(MACD,1)和REF(MACD,1)低位金叉选股

差异:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA:=EMA(差异,9);

MACD:=(DIFF-DEA)*2;

低位金叉:交叉(差异,DEA)和差异二次金叉选股

差异:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA:=EMA(差异,9);

MACD:=(DIFF-DEA)*2;

JCCOUNT:=计数(交叉(差异,数据包络分析),BARSLAST(数据包络分析=0));

二次金叉:交叉(差异,DEA)和DEA绝地反弹

(1)

VAR1:=参考值(低,1);

VAR2:=SMA(ABS(低VAR1),13,1)/SMA(最大值(低VAR1,0),13,1)*100;

VAR3:=EMA(如果(关闭*1.2,VAR2*13,VAR2/13),13);

VAR4:=LLV(低,34);

VAR5:=HHV(VAR3,34);

VAR6:=如果(LLV(低,55),1,0);

VAR7:=EMA(如果(低)XL1:=MA(低,2)*0.96;

XL2:=MA(低,26)*0.85;

XL3:=REF(XL1,1)启动:=如果(XL3,0,VAR7*3),则为红色;

XG:启动25;

(2)

倒退((参考(关闭,1)关闭打开和ABS(关闭参考(关闭,1))/关闭A2:=过滤器(A1ND资本REF(V,1)=LLV(V,4)和V=REF(V,1)

HHV(V,3)=参考(V,1)和HHV(V,5)=参考(V,1)和HHV(V,21)=参考(V,1)

和V=REF(V,1)

010,T020;

1.三线粘合

M:=1;

M5:=MA(闭合,5);

M10:=MA(闭合,10);

M20:=MA(闭合,20);

K1:=最大值(最大值(M5,M10),最大值(M10,M20));

K2:=MIN(MIN(M5,M10),MIN(M10,M20));

A:=最大(M5,最大(M10,M20))/MIN(M5,最小(M10,M20))A1:=(K1/K2-1)A2:=(K1/K2-1)A3:=VREF(V,1)*1.5和VMA(V,5);

XG:A和A1,A2和A3,CO和VREF(V,1),资本2.三条线粘合

N1:=5;N2:=10;N3:=20;M:=1;

MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);

A3:=VREF(V,1)*1.5和VMA(V,5);

最大值(MA1,最大值(MA2,MA3))/MIN(MA1,最小值(MA2,MA3))CO和VREF(V,1)和财务(7)A3及资本3.均线粘合

M:=1;

M5:=MA(闭合,5);

M10:=MA(闭合,10);

M20:=MA(闭合,20);

K1:=最大值(最大值(M5,M10),最大值(M10,M20));

K2:=MIN(MIN(M5,M10),MIN(M10,M20));

A:=最大(M5,最大(M10,M20))/MIN(M5,最小(M10,M20))A1:=(K1/K2-1)A2:=(K1/K2-1)A3:=VREF(V,1)*1.5和VMA(V,5);

XG:A和A1以及A2和A3;

3.金叉选股指标

快线:=均线(均线)(均线(收盘,2,2,2),;

慢线:=EMA(参考(快线,1),2);

A3:=VREF(V,1)*1.5和VMA(V,5);

交叉(快线,慢线) 和CO和

五 =MA(V,21)和VREF(V,1),资本

求助将通达信分时公式改为选股公式 【通达信】发家分时(抓涨停)-指标公式源码

放分时的指标改成分时选股不可行,改成一般选股很容易。

日1:=EMA(C,1);

日:=EMA((H+L+C)/3,1);

日5:=MA(EMA((H+L+C)/3,1),5);

日10:=MA(EMA((H+L+C)/3,1),10);

对比日:=EMA(REF(日,240),1) ;

对比日5:=MA(EMA(REF(日,240),1),5);

对比日10:=MA(EMA(REF(日,240),1),10);

强:=日5对比日5 AND 日10对比日10 AND 日5-对比日50 AND 日10-对比日100 ;

角:=(ATAN((日10/REF(日10,5)-1)*100)*180/3.14115926)30;

角2:=(ATAN((日10/REF(日10,5)-1)*100)*180/3.14115926)20;

弱:=日5对比日5 AND 日10对比日10 AND 日5-对比日50 AND 日10-对比日100 AND 对比日5REF(对比日5,3);

/*下面是两个不同的选股条件,可任选一,也可组合与和组合或,能衍生出4个选股公式*/

CROSS(日5,对比日5) AND CREF(C,150) AND 角;

CROSS(日1,对比日)AND CREF(C,240);

通达信选股公式

通达信选股公式:

条件选股公式源码:

年认同价:=MA(C,240);

价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价0)+239));

箱顶:=价格中枢*1.2;

箱底:=价格中枢*0.8;

毛利润率:=FINANCE(21)/FINANCE(20);

成长价值:=年认同价*(1+毛利润率);

收益价值:=年认同价+FINANCE(33);

回调认同:=EMA(EXPMA(C,20),13);

多头:=(回调认同REF(回调认同,1))AND(成长价值REF(成长价值,1))AND(收益价值REF(收益价值,1))AND(DYNAINFO(7)0);

回调条件:=COUNT(C回调认同,5)=3;

回调突破:=(REF(C,1)=REF(回调认同,1))AND(C回调认同)AND(回调条件)AND多头;

成长条件:=COUNT(C成长价值,5)=3;

成长突破:=(REF(C,1)=REF(成长价值,1))AND(C成长价值)AND(成长条件)AND多头;

收益条件:=COUNT(C收益价值,5)=3;

收益突破:=(REF(C,1)=REF(收益价值,1))AND(C收益价值)AND(收益条件)AND多头;

箱底条件:=COUNT(C箱底,5)=3;

箱底突破:=(REF(C,1)=REF(箱底,1))AND(C箱底)AND(箱底条件)AND多头;

价格条件:=COUNT(C价格中枢,5)=3;

价格突破:=(REF(C,1)=REF(价格中枢,1))AND(C价格中枢)AND(价格条件)AND多头;

箱顶条件:=COUNT(C箱顶,5)=3;

箱顶突破:=(REF(C,1)=REF(箱顶,1))AND(C箱顶)AND(箱顶条件)AND多头;

突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);

专买老鼠仓

{老鼠仓}

AA1:=AMOUNT/V;

BB1:=LAA1*0.9;

CC1:=(C-REF(C,1))/REF(C,1)*1001.2;

DD1:=LMA(C,5)*0.921;

EE1:=VMA(V,5)*1.5;

FF1:=BB1 AND CC1 AND DD1 AND EE1;

DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;

老鼠仓是个很不错的指标,信号发出一般都在一个波段的底部起涨之时。

根据本人的实践,使用指标时候要注意几点:

1 该指标可以添加到任何一个主图里面去,比如MA均线什么的。

2 出现信号当天买进股票,第二天收阳继续持股,直到出阴为止。

3 第二天出阴考虑卖出,非常适合短线操作!

老鼠仓(选股公式)

AA1:=AMOUNT/V;

BB1:=LAA1*0.9;

CC1:=(C-REF(C,1))/REF(C,1)*1001.2;

DD1:=LMA(C,5)*0.921;

EE1:=VMA(V,5)*1.5;

老鼠仓:BB1AND CC1 AND DD1 AND EE1;

理想选股(选股公式)

VAR1:=MA((LOW+HIGH+CLOSE)/3,5);

VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);

VAR3:=REF(C,1)=LLV(C,4) AND C=REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)=REF(C,3) AND REF(C,2)REF(C,4) AND C=REF(C,1);

VAR4:=VAR1REF(VAR1,1) AND REF(VAR1,1)REF(VAR1,2);

VAR5:=LOWHHV(VAR1,13) AND HIGHHHV(VAR1,13) AND CLOSEREF(C,1) ANDCLOSEOPEN;

VAR6:=VAR5 AND COUNT(VAR4,2);

VAR7:=VAR6 AND NOT(REF(VAR6,1));

VAR8:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);

VAR9:=EMA(MA(C,13),13);

VAR10:=FILTER((LLV(VAR8,2)=LLV(VAR8,7) AND COUNT(VAR80,2) ANDCROSS(VAR8,MA(VAR8,2)))=1,5);

VAR11:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;

VAR12:=FILTER(((CROSS(VAR11,0) OR CROSS(C,VAR9)) AND VAR10)=1,3);

VAR13:=MA(C,18)=REF(MA(C,18),3) AND CROSS(C,MA(C,18));

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;

金叉:=CROSS(J,D);

死叉:=CROSS(D,J);

买1:=(VAR12OR VAR13) AND VAR10;

买2:=(VAR12OR VAR13) AND VAR3;

买3:=(VAR12OR VAR13) AND VAR2;

买4:=(VAR2AND VAR10) OR (VAR3 AND VAR10);

买5:=(金叉AND VAR3) OR (金叉 AND VAR2) OR (金叉 AND VAR10);

ST:=EXIST(C/REF(C,1)1.06,50);

输出:=(买1OR 买2OR 买3OR 买4OR 买5OR VAR7) AND ST;

MA5:=MA(C,5),COLORWHITE;

X:=(3*C+L+O+H)/6;

多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)

+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)

+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+

REF(X,20))/210,COLORFF00FF,LINETHICK1;

AB:=DRAWLINE(HIGH=HHV(HIGH,10),HIGH,LOW=LLV(LOW,3),HHV(HIGH,3),1),COLORYELLOW;

CROSS(MA5,多空线) and CROSS(C,AB) and 输出 ;

点石成金(选股公式)

KS13:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);

RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

FASTK:=SMA(RSV,3,1);K:=SMA(FASTK,3,1);D:=SMA(K,5,1);

Var1:=CLOSE/MA(CLOSE,40)*10076;

Var2:=CLOSE/MA(CLOSE,60)*10074;

Var3:=HIGHLOW*1.051;

Var4:=Var3 AND COUNT(Var3,5)1;

Var4 AND (Var1 OR Var2) AND REF(KS13,1)=10 AND REF(KS13,1)/KS13=1.13AND

CLOSE/REF(CLOSE,1)=1.02;

牛市绝底(选股公式)

VAR1:=REF(CLOSE,1);

VAR2:=((SMA(MAX((CLOSE - VAR1),0),7,1) / SMA(ABS((CLOSE - VAR1)),7,1)) * 100);

VAR3:=((SMA(MAX((CLOSE - VAR1),0),13,1) / SMA(ABS((CLOSE - VAR1)),13,1)) *100);

VAR4:=((100 * (HHV(HIGH,48) - LOW)) / HHV(HIGH,48));

VAR5:=((100 * (HIGH - LLV(LOW,48))) / LLV(LOW,48));

牛市绝底:VAR2 15 AND VAR3 20 AND (VAR2 + VAR3) 20 AND VAR4 40 ANDBARSCOUNT(CLOSE) 47;

飞弹一号(选股公式)

var1:=c/ma(c,40)*10078;

var2:=c/ma(c,60)*10074;

var3:=h=l*1.051;

var4:=var3 and count(var3,5)=2;

xg:var4 and (var1 or var2) and count(h=l and c=o and cref(c,1),3)=0

and hhv(v/capital,30)0.8;

跟庄建仓源码

A01:=DYNAINFO(7);

A03:=BARSCOUNT(CLOSE);

A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);

A05:=IF((A03 20),A04,0);

A06:=IF((LOW A01),0,IF((HIGH A01),1,(((A01 - LOW) + 0.009) / ((HIGH -LOW) + 0.009))));

A07:=DMA(A06,(VOL / CAPITAL)) * 60;

A09:=IF((((A07 0) AND (A07 REF(A07,1))) AND (A05 = 88)),A07,0);

Var1:=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);

Var2:=EMA(Var1,8);

Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

趋势:=EMA(Var3,3)-10;

STICKLINE(趋势80,趋势,80,5,0);

DRAWICON(CROSS(趋势,0),0,1);

STICKLINE((A09 0 AND (趋势20 OR 趋势REF(趋势,1)AND趋势50)),0,A09,6,0),colorFFff00;

机构建仓区:0,LINETHICK0,colorFFFF00;

Var4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;

STICKLINE(趋势=13,0,20,3,0),colorcc9900;

DRAWTEXT(FILTER(趋势=13,15),30,'准备现金'),colorcc9900;

STICKLINE(趋势=13 AND Var413,0,50,2,0),color0099ff;

Var5:=FILTER((趋势=13 AND Var413),10);

DRAWTEXT(Var5,60,'买入'),color0099ff;

STICKLINE(趋势=90 AND Var4,0,30,3,0),colorgray;

Var6:=FILTER((趋势=90 AND Var4),10);

DRAWTEXT(Var6,40,'清仓'),colorgray;

Var7:=LLV(LOW,30);

Var8:=HHV(HIGH,30);

Var9:=EMA((CLOSE-Var7)/(Var8-Var7)*4,4)*25;

STICKLINE(Var990,100,105,3,2),COLORRED;

Var10:=(Var9-LLV(Var9,4))/(HHV(Var9,4)-LLV(Var9,4))*100;

DRAWTEXT(IF(CROSS(Var9,Var10) AND Var987,95,0),88,'险'),Color00FF00;

DRAWICON(CROSS(90,Var9),95,9);

Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;

Var12:=HHV(Var11,30)*8;

火焰山:EMA(IF(LOW=Var7AND 趋势40,(Var11+Var12),0),3)/618,COLORRED,linethick2;

STICKLINE(火焰山0,0 ,火焰山*1.2,4,0 ),COLORRED;

Var13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;

Var14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;

趋势线:趋势,colorff0000;

Var16:=MAX(EMA(Var13,2)-EMA(Var14,5),0)*200;

Var17:=EMA(Var16,5);

波浪峰:Var17,stick,colorff00ff;

STICKLINE(Var17REF(Var17,1),0,Var17,1,0),color00ff00;

Var18:=MA(趋势线,8);

if(CROSS(Var2,Var18) AND Var215,50,0),COLORRED;

DRAWTEXT(CROSS(趋势线,Var2)AND 趋势线REF(趋势线,1)AND 趋势线50,50,'追涨'),COLORff00ff;

风险区:IF(趋势80,趋势,80),colorff00ff;

双信号"全仓"选股(选股公式)

FF:=EMA(CLOSE,3);

MA15:=EMA(CLOSE,21);

TTJ:=CROSS(FF,MA15);

上:=EMA(C,3),COLORBLUE,LINETHICK1;

中:=EMA(C,5),COLORWHITE,LINETHICK1;

下:=EMA(中,5),COLOR00FF00,LINETHICK1;

QQ:= C中;

MM:=上REF(上,1)AND REF(上,1)REF(上,2) ;

V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);

V2:=(1-7/100)*(DMA(CLOSE,V1));

V3:=(1+7/100)*(DMA(CLOSE,V1));

V5:=MA((LOW+HIGH+CLOSE)/3,5);

MA1:=MEMA(CLOSE,5);

MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;

MA3:=IF(MA20,MA2,MA2);

MA5:=MA(CLOSE,5),COLOR888899;

MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;

VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)=REF(C,2) OR REF(C,1)=REF(C,3))

OR REF(C,1)=HHV(C,4) AND CLOSE=REF(C,2) OR REF(C,2)=HHV(C,4) AND

REF(C,3)=LLV(C,4) AND C=REF(C,1) OR REF(C,3)=HHV(C,4) AND

C=REF(C,1) AND C=REF(C,2);

{收盘价=4日内收盘价的最高值AND 昨收=2日前的收盘价}

VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);

{收盘价=4日内收盘价的最高值AND 昨收=4日内收盘价的最低值}

VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)REF(C,2) OR REF(C,1)REF(C,3)) OR

REF(C,1)=LLV(C,4) AND CREF(C,2) OR REF(C,2)=LLV(C,4) AND

REF(C,1)=HHV(C,4) AND CREF(C,1) OR REF(C,3)=LLV(C,4) AND

CREF(C,1) AND CREF(C,2);

{收盘价=4日内收盘价的最低值AND (昨收2日前的收盘价}

VAR04:=REF(C,1)=LLV(C,4) AND C=REF(C,2) OR REF(C,2)=LLV(C,4) AND

REF(C,1)=REF(C,3) AND REF(C,2)REF(C,4) AND C=REF(C,1);

{昨收=4日内收盘价的最低值AND 收盘价=2日前的收盘价}

VAR05:=REF(C,1)=HHV(C,4) AND CREF(C,2) OR (REF(C,2)=HHV(C,4) AND

REF(C,1)REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)REF(C,2)) AND

REF(C,2)=REF(C,4) AND CREF(C,1);

{昨收=4日内收盘价的最高值AND 收盘价2日前的收盘价}

VAR06:=V5REF(V5,1) AND REF(V5,1)REF(V5,2);

{今日V5向上形成拐点}

VAR07:=LOWHHV(V5,13) AND HIGHHHV(V5,13) AND CLOSEREF(C,1) ANDCLOSEOPEN;

VAR08:=VAR07 AND COUNT(VAR06,2);

VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);

VAR10:=EMA(MA(C,13),13);

VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR090,2) AND

CROSS(VAR09,MA(VAR09,2)))=1,5);

VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR0950,2) AND

CROSS(MA(VAR09,2),VAR09))=1,1);

VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;

VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);

VAR15:=MA(C,18)=REF(MA(C,18),3) AND CROSS(C,MA(C,18));

VAR16:=VAR08 AND NOT(REF(VAR08,1));

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;

金叉:=CROSS(J,D);

死叉:=CROSS(D,J);

买1:=(VAR14OR VAR15) AND VAR11;

买2:=(VAR14OR VAR15) AND VAR04;

买3:=(VAR14OR VAR15) AND VAR02;

买4:=(VAR02AND VAR11) OR (VAR04 AND VAR11);

买5:=(金叉AND VAR04) OR (金叉 AND VAR02) OR (金叉 AND VAR11);

TTJ0:=VAR16;

TTJ1:=买1OR 买2OR 买3OR 买4OR 买5AND MM;

XG0:=TTJ AND TTJ0;

XG1:=TTJ AND TTJ1;

XG11:=XG0 OR XG1;

{以下波浪理论浪底重叠"买底"选股原码}

PL5:=ZIG(3,5);

EN1:=ZIG(3,5)REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)=REF(ZIG(3,5),2) ANDREF(ZIG(3,5),2)=REF(ZIG(3,5),3);

EX1:=ZIG(3,5)REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)=REF(ZIG(3,5),2) ANDREF(ZIG(3,5),2)=REF(ZIG(3,5),3);

PL10:=ZIG(3,10);

EN2:=ZIG(3,10)REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)=REF(ZIG(3,10),2)AND REF(ZIG(3,10),2)=REF(ZIG(3,10),3);

EX2:=ZIG(3,10)REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)=REF(ZIG(3,10),2)AND REF(ZIG(3,10),2)=REF(ZIG(3,10),3);

PL20:=ZIG(3,20);

EN3:=ZIG(3,20)REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)=REF(ZIG(3,20),2)AND REF(ZIG(3,20),2)=REF(ZIG(3,20),3);

EX3:=ZIG(3,20)REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)=REF(ZIG(3,20),2)AND REF(ZIG(3,20),2)=REF(ZIG(3,20),3);

PL40:=ZIG(3,40);

走强1:=BARSLAST(PL5REF(PL5,1));

走弱1:=BARSLAST(PL5REF(PL5,1));

走强2:=BARSLAST(PL10REF(PL10,1));

走弱2:=BARSLAST(PL10REF(PL10,1));

走强3:=BARSLAST(PL20REF(PL20,1));

走弱3:=BARSLAST(PL20REF(PL20,1));

ZTJZ5:=IF(PL10REF(PL10,1),COUNT(EN1,走强2),0);

ZTJD5:=IF(PL10REF(PL10,1),COUNT(EX1,走强2),0);

DTJZ5:=IF(PL10REF(PL10,1),COUNT(EN1,走弱2),0);

DTJD5:=IF(PL10REF(PL10,1),COUNT(EX1,走弱2),0);

ZTJZ10:=IF(PL20REF(PL20,1),COUNT(EN2,走强3),0);

ZTJD10:=IF(PL20REF(PL20,1),COUNT(EX2,走强3),0);

DTJZ10:=IF(PL20REF(PL20,1),COUNT(EN2,走弱3),0);

DTJD10:=IF(PL20REF(PL20,1),COUNT(EX2,走弱3),0);

TJ11:=EN2 AND ZTJZ5=1;

TJ22:=EN1 AND PL10REF(PL10,1) AND ZTJZ5=2;

TJ33:=EN2 AND DTJZ10=1;

TJ44:=EN3 AND ZTJZ10=1;

TJ55:=EN2 AND PL20REF(PL20,1) AND ZTJZ10=2;

XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;

{以下二者结合共同选股}

XG:=XG11 OR XG22;

W18:EXIST(XG,1);

求高手编辑一个通达信分时60分钟预警公式,源码如下

你要做预警,首先你的公式必须是条件选股公式而不是技术指标公式。现在我帮你修改成条件选股公式如下,至于你说的60分钟预警,通达信不支持日线级别以下的预警,但是可以做条件选股,请知悉。你说的60分钟预警,大智慧和益盟是支持的,请知悉

股理乾坤为您解答

VAR1:=EMA(EMA(CLOSE,13),13);

控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

JJ:=DYNAINFO(11);P:=55;S:=8;M1:=3;

财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;

神:=EMA(财,M1);

BTJ11:=(C-JJ)/JJ-0.03;

BTJ2:=控盘REF(控盘,1) AND 控盘-0.2;

BTJ3:=CROSS(财,神) AND 财-0.3;

庄家:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);

庄:庄家 AND BTJ2 AND BTJ3;

FILTER(庄,55);

请高手老师帮我把通达信分时动态突破指标改成选股指标,源码如下:

MA30:=EMA(CLOSE,30);

强弱:=EMA(CLOSE,900);

H1:=MAX(DYNAINFO(3),DYNAINFO(5));

L1:=MIN(DYNAINFO(3),DYNAINFO(6));

P1:=H1-L1;

阻力:=L1+P1*7/8,COLORYELLOW;

支撑:=L1+P1*0.5/8,COLORBLUE;

现价:=CLOSE,COLORWHITE,LINETHICK2;

均线:=IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),

1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;

均线H:=(均线*1.007 ),COLORFF6600;

均线L:=(均线/1.005 ),COLOR00FF00;

均线横盘:=C均线H AND C均线L;

放量:=SUM(VOL,6)REF(MA(VOL,30),1)*10;

横盘:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)1;

横涨:=横盘 AND 放量 AND (C均线H);

横跌:=横盘 AND 放量 AND CROSS(均线L,C) ;

突破:FILTER(横涨,100);

求高手帮编写个通达信分时在均价线上运行的选股公式.

分时线:MA(CLOSE,1);

均价:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK2;

T1:=分时线CC:=REF(T1,1);

N分钟内:BARSLAST(T1),NODRAW;

选股公式如何设置?(荣耀50 Magic UI 4.2;通达信 5.30)

1、简单条件选股公式编写编写一选股公式,要求选出“股价小于每股净资产”的个股。进入公式管理器,新建一条件选股公式依次点击菜单“功能à专家系统à公式管理器”,进入公式管理器界面。

2、选择左边树型列表中条件选股公式下面的其它类型,点击“新建”。

3、输入公式名称,公式描述。

4、点“插入函数”,选择“收盘价”,点击“确定”,对应的函数就到了编辑区。

5、点击 “测试公式”,若显示测试通过,点击“确定”按钮保存公式。

DMA指标是什么?

DMA指标:DMA指标利用两条不同期间的平均线,计算差值之后,再除以基期天数。它是两条基期不同平均线的差值,由于其是将短期均线与长期均线进行了协调,也就是说它滤去了短期的随机变化和长期的迟缓滞后,使得其数值能更准确、真实、客观地反映股价趋势。故它是一种反映趋势的指标应用法则:

① DMA是两条基期不同平均线差值。实线向上交叉虚线,买进。

② 实线向下交叉虚线,卖出。

③ DMA 也可观察与股价的背离。 RSI指标 相对强弱指数是通过比较一段时期内的平均收盘涨数和平均收盘跌数来分析市场买沽盘的意向和实力,从而作出未来市场的走势。

计算公式和方法 RSI=[上升平均数÷(上升平均数+下跌平均数)]×100 应用法则:

① RSI 值于 0%-100%之间呈常态分配。当6 日RSI 值在94% 以上时,股市呈超买现象,若出现 M头为卖出时机;当 6日RSI 值在 13%以下时,股市呈现超卖现象,若出现 W底为买进时机。

②当快速RSI 由下往上突破慢速RSI 时,为买进时机;当慢速RSI 由上往下跌破快速RSI时,为卖出时机。

2条大神的评论

  • avatar
    访客 2022-07-14 上午 05:00:14

    横盘:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)1;横涨:=横盘 AND 放量 A

  • avatar
    访客 2022-07-14 上午 12:10:35

    4;买3:=(VAR14OR VAR15) AND VAR02;买4:=(VAR02AND VAR11) OR (VAR04 AND VAR11);买5:=(金叉AND VAR04) OR (金叉 AND VAR02) OR (金叉 AND VAR11);

发表评论