❶ 通达信VOL均量线22 40 66日多头选股公式
m2:=ma(v,22);
m4:=ma(v,40);
m6:=ma(v,66);
a:=m2>m4 and m4>m6;
x:a and ref(a,1)=0;
❷ 通达信软件,成交量在开盘后30分钟就通过5日均量线选股公式或预警公式怎么写
XG:FROMOPEN<=30 AND DYNAINFO(8)>MA(V,5);
抄底 选 股 (预警)公 式
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;
抄底:REF(COUNT(k<ref(k,1),5)>=5,1) AND COUNT(K<30,5)>=2 AND COUNT(J<0,3)>0 AND CROSS(J,0);
----------------------------------------------------------------------------------------------------------------------
加仓 选 股 (预警)公 式
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;
tj00:=BARSLAST(ref(cross(k,d) and ref(k,1)<35,1));
加仓:c<ref(c,tj00+1)*1.1 and ref(k,1)<60 and (tj00+1)<25 and (tj00+1)>5 and k>ref(k,tj00+1) and cross(k,d);
======================================
交叉蛮准 选股(预警)
VAR1:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*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);
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;
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);
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,13);{13}
VAR2E:=(VAR2A+VAR2C)/2/1.1;
超短线:=EMA(VAR2E,2);
短线:=EMA(超短线,5);
CROSS(超短线,短线);
-=====================================================================
趋势主升 选股(预警)
VAR1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*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);
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;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
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);
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,7);
快线:=EXPMA((VAR2B+VAR2D)/2,2);
趋势线A:=EXPMA(快线,12);
趋势线B:=EXPMA(快线,21);
CROSS(快线,趋势线A) AND 快线>趋势线B;
======================================================================
通达信可以这样实现“分时预警” 【独家】下载eXeScope(见下面)软件,安装完毕后,在通达信安装文件夹中用右键点击TdxW.exe图标,再点击“用eXeScope编辑资源”,出现下面对话框: 点击:资源→对话框→901→ComboBox,出现下列对话框:将“禁用”前的“√”去掉,公式条件预警设置中的时间周期就能无限制使用了。去“预警系统”设置就OK.
==============================================
CJDX底背离 选股(预警)
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);
DEA:=EMA(DIFF,9);
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
AA: 底背离 OR 低位金叉 OR 二次金叉;
=====================================================================
极品底 选股(预警)
(1)
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
xg:CROSS(BIAS,乖离) AND 乖离<-9;
(2){选出几天内出现极品底}
{N,1,100,2}
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
xg:EXIST((CROSS(BIAS,乖离) AND 乖离<-9),N);
=============================================
RSI 选股(预警)公 式
RSIXG:("RSI.RSI1"<24 AND "RSI.RSI2"<36 AND "RSI.RSI3"<45 AND "KDJ.J"<0)*100,COLORFF00FF;
-------------------------------------------------------------------------------
CJDX(系统短线)(黄白两线向上拐头交叉时预警。)
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D:=MA(J,3);
K:=MA(J,1);
CROSS(K,D);
(AKDJ)中出现红箭头时预警(2009.05.01)
N:=9;
M1:=3;
M2:=3;
P:=9;
短线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORMAGENTA;
中线:=SMA(短线,M1,1),COLORYELLOW;
长线:=SMA(中线,M2,1),COLORLIBLUE;
BB:=IF(BARSLAST(CROSS(中线,短线))>=3 AND CROSS(短线,中线) AND 中线<30,20,0);
BB>0;
(短线高手U)中多方能量线(紫色线)向上拐头时预警
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:=EMA(VAR1,13)-EMA(VAR1,21);
SD:=EMA(SK,2);
多方能量:=2*(SK-SD)*3.8;
空方能量:=(-2)*(SK-SD)*3.8;
XG:多方能量<0 AND CROSS(多方能量,REF(多方能量,1));
CCI“买点”预警
N:2.100.14
TYP:=(HIGH+LOW+CLOSE)/3;
C1:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
买点: CROSS(C1,-150),COLORFF00FF;
底部预警
BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
红线:MA(MM,3)<-6
CJDX-A(强势选股)
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D:=MA(J,3);
K:=MA(J,1);
xg:j>=0 and d>=0 and cross(j,d);
牛股启动 预警
组合出一个选股公式,出现信号后当天11点30前坚决买入当天就可以有点收获,第二天遇高卖出观察,并把股票放到自选股,如信号出现后第二天或几天后开始跌调整,连跌三天,第三天是坚决阴线抄底;信号出现后一般会调整的,当调整到价位在出现信号当天的最低价附近时,可以坚决买入,股票跌时可以做高抛低吸。(信号很少,但较准)
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
A:=REF(RSI1<45,1) AND RSI1>45;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
B:=REF(CCI<-100,1) AND CCI>=-100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
MMS:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
W:=REF(MMS<39,1) AND MMS>=39;
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;
F:=REF(J<10,1) AND J>=10;
A AND B AND W AND F;
买入加仓 预警
当出现“买”字时预警。
VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*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);
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;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
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);
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,7);
VAR2E:=(VAR2A+VAR2C)/2/1.1;
超短线:=EMA(VAR2E,3);
短线:=EMA(超短线,5) ;
CROSS(超短线,短线);
三金叉选股
MA5:=EMA(C,5);
MA10:=EMA(C,10);
MV5:=EMA(V,5);
MV10:=EMA(V,10);
K:="KDJ.K"(9,3,3);
D:="KDJ.D"(9,3,3);
V1:=MA5>REF(MA5,1) AND MA10>REF(MA10,1) AND C>REF(C,1) AND C/O>1.01;
VV1:=MV5>REF(MV5,1) AND MV10>=REF(MV10,1) AND V>REF(V,1)*1.2 ;
KD1:=K>REF(K,1) AND D>=REF(D,1);
VA:=COUNT(CROSS(K,D),4)>=1 AND COUNT(CRSS(MA5,MA10),4)>=1 AND
COUNT(CROSS(MV5,MV10),4)>=1;
XG1:IF(V1 AND VV1 AND KD1 AND VA,1,0);
抄底王 选股
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
CROSS(BIAS,乖离) AND 乖离<-10;
9点抄底王选股
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
STICKLINE(CROSS(BIAS,乖离) AND 乖离<-9,10,0,5,0),COLORRED;
CCI底背离A选股
N: 2 100 14
K: -200 0 -100
TYP:=(HIGH*LOW*CLOSE)/3;
A:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
B:=A>K;
CCI底背离B选股
N: 1 999 14
{N 1 999 14}底背离:LLV(L,N)=L AND NOT(LLV(CCI,N)=CCI)COLORYELLOW,LINETHICK1;
=============================================================
成功率98 选股
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
低:=REF(C,1)<MA5 AND REF(C,1)<MA10 AND REF(C,1)<MA30;
高:=CROSS(C,MA5) AND CROSS(C,MA10) AND CROSS(C,MA5);
选股:低 AND 高;
❸ 求通达信均量线公式
根据题意,选股公式如下:
A:=MA(V,40);
REF(V,5)>REF(V,6)*2 AND COUNT(V<=A,5)>=1;
❹ 求高手写AMO均量线选股公式[通达信公式]
具体条件如下:成交金额均量线参数为:5日均量线、40日均量线、135日均量线
要求:5日均量线上穿135均量线,在上穿40均量线;即135均量线在最下面,40日均量线在中间,5日均量线在最上面,呈多头发散良好形态。
当股价一波上扬后,股价回调整理,此时成交金额量能也呈现缩量形态,5日均量线回踩40日均量线,靠近40日均量线且未下穿40日均量线时的选股公式。此方法一般情况下能抓到起步阶段的或者说即将进入快速拉升阶段的股票。AMO副图指标是通达信自带程序,只不过参数改成了5、40、135罢了。不过,为了方便大师,我还是把源码贴到这里:
AMO:AMOUNT,VOLSTICK;
MAAMO1:MA(AMO,M1);
MAAMO2:MA(AMO,M2);
MAAMO3:MA(AMO,M3);
❺ 通达信炒股怎么设置AMO三条均量线 百度网盘
通过编写指标公式就可以在amo指标显示三条均量线例如下图分别是5,10,20均量线。
❻ 通达信软件副图成交量指标里如何设置5日 35日 135日 均量线
自己新建一个副图指标即可,公式如下:
公式名称:成交量
公式描述:成交量和多条均量线
公式源码:
----------------------------------------------------------
成交量:v,volstick;
均量1:MA(V,5);
均量2:MA(V,35);
均量3:MA(V,135)
-------------------------------------------------------
注:
里面的数字5、35、135都可以调整!