跪求:通达信公式改为条件选股

跪求高手修改公式 Post By:2010-9-17 16:30:00

那位高手能将以下的公式改为条件选股公式,不胜感激!!!!!

M11:=5;M22:=10;M33:=20;M44:=60;P:=VOL;VOLUME:=VOL;

LB:=VOL/REF(MA(VOL,5),1);LJC:=MA(P,M11)>MA(P,M44)*0.9;

M1:=4;M2:=6;M3:=9;M4:=13;M5:=18;M6:=24;MA5:=MA(C,60);

MA60:MA(C,60),COLORRED,LINETHICK3;

PB1:(EXPMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3;

PB2:(EXPMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3;

PB3:(EXPMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*4))/3;

PB4:(EXPMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3;

PB5:(EXPMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3;

PB6:(EXPMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3;

AAA:=MIN(MIN(MIN(MIN(MIN(PB1,PB2),PB3),PB4),PB5),PB6);

BBB:=MAX(MAX(MAX(MAX(MAX(PB1,PB2),PB3),PB4),PB5),PB6);

XG:=(OBBB;

P6:=ABS(PB1-PB2)+ABS(PB1-PB3)+ABS(PB1-PB4)

+ABS(PB1-PB5)+ABS(PB1-PB6)+ABS(PB2-PB3)+ABS(PB2-PB4)

+ABS(PB2-PB5)+ABS(PB2-PB6)+ABS(PB3-PB4)

+ABS(PB3-PB5)+ABS(PB3-PB6)+ABS(PB4-PB5)+ABS(PB4-PB6)+ABS(PB5-PB6);

LXZH:=P6/C<20/100,COLORRED;

SS:=XG and="AND" lb="LB" >2.2 AND C>MA5*1.02 AND C
and="AND" (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>3/100 AND C>O*1.02,COLORRED;

DRAWICON(SS,PB1*0.97,1),LINETHICK5;

DRAWICON(SS,PB1*0.95,1),LINETHICK5;

DRAWICON(SS,PB1*0.93,1),LINETHICK5;

DRAWICON(SS,PB1*0.91,1),LINETHICK5;

DRAWICON(SS,PB1*0.88,1),LINETHICK5;

DRAWTEXT(SS=1,PB1*0.88,'买入')COLORYELLOW;

JL:=C>MA5 AND LJC AND (LB>2.2 OR REF(LB>2.2,1))

AND (XG OR REF(XG,1)) AND C>MA5*1.02 AND CO*1.02

AND (LXZH OR REF(LXZH,1))

AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>3/100,COLORRED;

PD:=(JL OR REF(JL,1)),COLORRED;

DRAWICON(PD,PB1*0.97,3);

DRAWICON(PD,PB1*0.95,3);

DRAWICON(PD,PB1*0.93,3);

DRAWICON(PD,PB1*0.91,3);

DRAWICON(PD,PB1*0.88,3);

DRAWTEXT(FILTER(PD=1,PB1*0.88),PB1*0.85,'金牛王'),COLORRED;
不好意思,里面是有一句错了这就是XG:=(OBBB;应该改为:
XG:=(O<AAA OR REF(O<AAA,1)) AND C>BBB;

M11:=5;M22:=10;M33:=20;M44:=60;P:=VOL;VOLUME:=VOL;

LB:=VOL/REF(MA(VOL,5),1);LJC:=MA(P,M11)>MA(P,M44)*0.9;

M1:=4;M2:=6;M3:=9;M4:=13;M5:=18;M6:=24;MA5:=MA(C,60);

MA60:=MA(C,60);

PB1:=(EXPMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3;

PB2:=(EXPMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3;

PB3:=(EXPMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*4))/3;

PB4:=(EXPMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3;

PB5:=(EXPMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3;

PB6:=(EXPMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3;

AAA:=MIN(MIN(MIN(MIN(MIN(PB1,PB2),PB3),PB4),PB5),PB6);

BBB:=MAX(MAX(MAX(MAX(MAX(PB1,PB2),PB3),PB4),PB5),PB6);

XG:=(O<AAA OR REF(O<AAA,1)) AND C>BBB;

P6:=ABS(PB1-PB2)+ABS(PB1-PB3)+ABS(PB1-PB4)

+ABS(PB1-PB5)+ABS(PB1-PB6)+ABS(PB2-PB3)+ABS(PB2-PB4)

+ABS(PB2-PB5)+ABS(PB2-PB6)+ABS(PB3-PB4)

+ABS(PB3-PB5)+ABS(PB3-PB6)+ABS(PB4-PB5)+ABS(PB4-PB6)+ABS(PB5-PB6);

LXZH:=P6/C<20/100,COLORRED;

买入:=XG AND LB>2.2 AND C>MA5*1.02 AND C<MA5*1.15

AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>3/100 AND C>O*1.02,COLORRED;

JL:=C>MA5 AND LJC AND (LB>2.2 OR REF(LB>2.2,1))

AND (XG OR REF(XG,1)) AND C>MA5*1.02 AND C<MA5*1.15 AND C>O*1.02

AND (LXZH OR REF(LXZH,1))

AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>3/100,COLORRED;

金牛王:(JL OR REF(JL,1));
温馨提示:内容为网友见解,仅供参考
第1个回答  2010-09-18
公式错误。

通达信主图指标公式 改成条件选股公式
买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*21+C,42);BUY:CROSS(买线,卖线);

通达信副图公式修改为条件选股公式
回答:VAR1:=(2*CLOSE+HIGH+LOW+OPEN)\/5;VAR2:=LLV(LOW,21); VAR3:=HHV(HIGH,21); SK:=EMA((VAR1-VAR2)\/(VAR3-VAR2)*100,5); SD:=EMA(0.667*REF(SK,1)+0.333*SK,4); XG:CROSS(SK,SD); (已测试)

怎样把通达信的指标公式改为条件选股公式,进行预警?
MAOBV:MA(OBV,M)。RANGE(((OBV-MAOBV)\/MAOBV)*100),-0.5,0.5)。例如,上面是OBV指标公式,一共有三个输出,现在要改成选股公式,那么把不需要的两个语句改成赋值语句就可以了,具体是在输出指标名字后加等号就可以了,改后就是如下。VA:=IF(CLOSEREF(CLOSE,1),VOL,-VOL)。OBV:=SUM(IF(...

请大师将下面通达信附图指标公式改为出现“买”的条件选股公式
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1);XG:CROSS(C1,C2) AND C1<40;(已测试)

怎样把通达信的指标公式改为条件选股公式,进行预警?
要将通达信的指标公式转化为条件选股公式并实现预警,首先需要理解两者的区别:指标公式可以有多个输出,而选股公式仅需一个。转换的关键在于删除不需要的输出语句并将其改为赋值语句。例如,假设原始的指标公式如下:VA:=IF(CLOSEREF(CLOSE,1),VOL,-VOL)OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0)MA...

通达信转换成条件选股公式
MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3\/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)\/2,0),3)\/618*VAR7;VAR9:=IF(VAR8>100,50,VAR8);吸筹:VAR9>6;

请帮忙将公式改成条件选股公式,非常感谢,通达信
VAR0:=(2*CLOSE+HIGH+LOW)\/4;B:=XMA((VAR0-LLV(LOW,63))\/(HHV(HIGH,63)-LLV(LOW,63))*100,21);RSV:=(CLOSE-LLV(LOW,21))\/(HHV(HIGH,21)-LLV(LOW,21))*100;做多线:=EMA(B,3);做空线:=EMA(做多线,21);多头:=CROSS(做多线,做空线);XG:多头;

请通达信高手把这个技术指标改成条件选股公式
1、见底选股:VAR1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)\/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;VAR2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)\/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;VAR3:=BARSCOUNT(CLOSE);VAR4:=VAR1<20 AND VAR2<23 AND VAR3>35;VAR5:=VAR4 ...

请高手将下面通达信公式改为条件选股公式,谢谢
1。要分为三个公式,因为TDX条件公式只能输出一个条件。2。这部分三个公式都要有:TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);DMM:= SUM(...

跪求:通达信公式改为条件选股
LB:=VOL\/REF(MA(VOL,5),1);LJC:=MA(P,M11)>MA(P,M44)*0.9;M1:=4;M2:=6;M3:=9;M4:=13;M5:=18;M6:=24;MA5:=MA(C,60);MA60:=MA(C,60);PB1:=(EXPMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))\/3;PB2:=(EXPMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4)...

相似回答