求助,重发全公式!!求助论坛高手将通达信主图公式改为选股公式,万分感谢!!

A:=(3*C+H+L+O)/6;
XJ:=(A+0.618*REF(A,1)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(A,4))/2.382;
YCZXH:=(MA(HHV(A,2),5)+MA(HHV(A,2),13)+MA(HHV(A,2),21)+MA(HHV(A,2),32))/4;
YCZXL:=(MA(LLV(A,2),5)+MA(LLV(A,2),13)+MA(LLV(A,2),21)+MA(LLV(A,2),32))/4;
PJ:=(10*A+9*REF(A,1)+8*REF(A,2)+7*REF(A,3)+6*REF(A,4)+5*REF(A,5)+4*REF(A,6)+3*REF(A,7)+2*REF(A,8)+REF(A,9))/55;
A1:=EMA(PJ,3),COLOR004000;A2:=EMA(PJ,5),COLOR004000;
A3:=EMA(PJ,7),COLOR004000;A4:=EMA(PJ,9),COLOR004000;
A5:=EMA(PJ,11),COLOR004000;
LX:=REF(XJ,1);
ZD:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1))*100;
KX1:=(CLOSE>=OPEN) AND ZD>=50;
KX2:=(CLOSE<OPEN) AND ZD>=50;
KX3:=(CLOSE>=OPEN) AND ZD<50;
KX4:=(CLOSE<OPEN) AND ZD<50;
AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);
AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);
AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);
BB1:=0;
B1万元:=DVOL*DCLOSE/100;
B1差:=B1万元-REF(B1万元,1);
B2万元:=DVOL*DCLOSE/100;
B2比:=B2万元/REF(B2万元,1);
净流入万元:=(AAA2-AAA3-0.5*AAA4);
PM:=MA(净流入万元,1);
PMA:=PM/REF(PM,1)>1;
PMB:=REF(PMA,1)<1 AND PMA;
密码:=(EMA(MA(B1万元,2),2))/100000,COLORYELLOW,NODRAW;
二日比:=密码/REF(密码,1);
选股:=PMB AND 密码>REF(密码,1) AND 二日比>1 ,COLORRED,NODRAW;
均价线:=AMOUNT/V/100;
均价线2:=MA(均价线,3);
均价线5:=MA(均价线,5);
均价线10:=MA(均价线,10);
均价线30:=MA(均价线,30);
突破:=C>均价线2 AND 均价线2<REF(均价线2,1) AND REF(均价线2,1)<REF(均价线2,2)
AND REF(均价线2,2)<REF(均价线2,3) AND 选股;
STICKLINE(突破,H,L,5,0),LINETHICK1,COLORRED;
STICKLINE(突破,H,L,0.2,0),COLORYELLOW;
STICKLINE(突破,O,C,2,0),LINETHICK1,COLORYELLOW;
STICKLINE(突破,O,C,3,0),LINETHICK1,COLORMAGENTA;
STICKLINE(突破,H,L,0,1),COLORMAGENTA;
MA1201:MA(CLOSE,120),LINETHICK1,COLORFF8888,POINTDOT;
MA60:MA(CLOSE,60)COLORLIGREEN,LINETHICK1,POINTDOT;
AA1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)),NODRAW;
主买:IF(CLOSE>OPEN,AA1*(HIGH-LOW),IF(CLOSE<OPEN,AA1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED,NODRAW;
买盘比%:主买/VOL*100,POINTDOT,COLORWHITE,NODRAW;
RSV12:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,NODRAW;
K11:=SMA(RSV12,3,1),NODRAW;
DD1:=SMA(K11,3,1),NODRAW;
KK1:=INTPART(K11),NODRAW;
STICKLINE(买盘比% >= 85 AND K11<50 AND DD1<50,O,C,3,0)COLORMAGENTA;
STICKLINE(买盘比% >= 85 AND K11<50 AND DD1<50,H,L,0,0)COLORWHITE;
MA10:MA(C,10),COLORYELLOW;
MA20:MA(C,20),COLORMAGENTA;
MA40:MA(C,40),COLORRED;
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);

通达信主图公式改为选股公式,要在实际操作中才会更好运用。
温馨提示:内容为网友见解,仅供参考
第1个回答  2012-06-02
A:=(3*C+H+L+O)/6;
XJ:=(A+0.618*REF(A,1)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(A,4))/2.382;
YCZXH:=(MA(HHV(A,2),5)+MA(HHV(A,2),13)+MA(HHV(A,2),21)+MA(HHV(A,2),32))/4;
YCZXL:=(MA(LLV(A,2),5)+MA(LLV(A,2),13)+MA(LLV(A,2),21)+MA(LLV(A,2),32))/4;
PJ:=(10*A+9*REF(A,1)+8*REF(A,2)+7*REF(A,3)+6*REF(A,4)+5*REF(A,5)+4*REF(A,6)+3*REF(A,7)+2*REF(A,8)+REF(A,9))/55;
A1:=EMA(PJ,3);A2:=EMA(PJ,5);
A3:=EMA(PJ,7);A4:=EMA(PJ,9);
A5:=EMA(PJ,11);
LX:=REF(XJ,1);
ZD:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1))*100;
KX1:=(CLOSE>=OPEN) AND ZD>=50;
KX2:=(CLOSE<OPEN) AND ZD>=50;
KX3:=(CLOSE>=OPEN) AND ZD<50;
KX4:=(CLOSE<OPEN) AND ZD<50;
AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);
AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);
AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);
BB1:=0;
B1万元:=DVOL*DCLOSE/100;B1差:=B1万元-REF(B1万元,1);
B2万元:=DVOL*DCLOSE/100;
B2比:=B2万元/REF(B2万元,1);
净流入万元:=(AAA2-AAA3-0.5*AAA4);
PM:=MA(净流入万元,1);
PMA:=PM/REF(PM,1)>1;
PMB:=REF(PMA,1)<1 AND PMA;
密码:=(EMA(MA(B1万元,2),2))/100000;
二日比:=密码/REF(密码,1);
选股:=PMB AND 密码>REF(密码,1) AND 二日比>1;
均价线:=AMOUNT/V/100;
均价线2:=MA(均价线,3);
均价线5:=MA(均价线,5);
均价线10:=MA(均价线,10);
均价线30:=MA(均价线,30);
突破:C>均价线2 AND 均价线2<REF(均价线2,1) AND REF(均价线2,1)<REF(均价线2,2)
AND REF(均价线2,2)<REF(均价线2,3) AND 选股;追问

老师您好,再次非常感谢您的热心解答,上次加您QQ好像没加上,不知可否加您的QQ。

小弟有点疑惑,我刚才选了一次股,但是这个主图上K线当天盘中变成粉红色K线形态时是个极准的买点,选股却一支也没选出。比如600593,600557,002557。。再次麻烦老师您看看

追答

选股公式:
A:=(3*C+H+L+O)/6;
XJ:=(A+0.618*REF(A,1)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(A,4))/2.382;
YCZXH:=(MA(HHV(A,2),5)+MA(HHV(A,2),13)+MA(HHV(A,2),21)+MA(HHV(A,2),32))/4;
YCZXL:=(MA(LLV(A,2),5)+MA(LLV(A,2),13)+MA(LLV(A,2),21)+MA(LLV(A,2),32))/4;
PJ:=(10*A+9*REF(A,1)+8*REF(A,2)+7*REF(A,3)+6*REF(A,4)+5*REF(A,5)+4*REF(A,6)+3*REF(A,7)+2*REF(A,8)+REF(A,9))/55;
A1:=EMA(PJ,3);A2:=EMA(PJ,5);
A3:=EMA(PJ,7);A4:=EMA(PJ,9);
A5:=EMA(PJ,11);
LX:=REF(XJ,1);
ZD:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1))*100;
KX1:=(CLOSE>=OPEN) AND ZD>=50;
KX2:=(CLOSE=50;
KX3:=(CLOSE>=OPEN) AND ZDREF(CLOSE,1),VOL*C,0),0);
AAA3:=SUM(IF( CLOSE1;
PMB:=REF(PMA,1)REF(密码,1) AND 二日比>1;
均价线:=AMOUNT/V/100;
均价线2:=MA(均价线,3);
均价线5:=MA(均价线,5);
均价线10:=MA(均价线,10);
均价线30:=MA(均价线,30);
突破:=C>均价线2 AND 均价线2OPEN,AA1*(HIGH-LOW),IF(CLOSE= 85 AND K11<50 AND DD1<50);

本回答被提问者采纳

求助论坛高手将通达信主图公式改为选股公式,感谢!!
AND REF(均价线2,2)<REF(均价线2,3) AND 选股;

将通达信指标公式改写为选股公式
L1:=LLV(L,10);爆发点:=(DCLOSE-REF(C,1))\/REF(C,1)*100;XG:CROSS(爆发点,20) OR CROSS(爆发点,18);上面就是修改后的选股公式,希望能帮助到你。另外,这个指标确实不错。不过我注意到公式里面有一个函数:DCLOSE,这是一个不定周期函数,是隐性未来函数。用他信号就会漂移。不像CLOSE盘...

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

请高手帮忙把这个通达信里的指标公式改成选股公式,万分感谢啊!
这个公式很准,但有未来函数。选股公式如下:VAR1:=(C+H+O+L)\/4;卖出:=XMA(VAR1,N)*(1+P1\/1000),COLORGREEN,LINETHICK2;买入:=XMA(VAR1,M)*(1-P2\/1000),COLORMAGENTA,LINETHICK2;CROSS(LOW,买入);其中XMA是标准的未来函数,也就是信号会发生漂移。因此这个公式只能用来做参考,且莫用做股...

恳求论坛高手帮助,把通达信指示公式改成选股公式的!万分感谢
均价线:=AMOUNT\/V\/100;均价线2:=MA(均价线,3);均价线5:=MA(均价线,5);均价线10:=MA(均价线,10);均价线30:=MA(均价线,30);突破:C>均价线2 AND 均价线2<REF(均价线2,1) AND REF(均价线2,1)<REF(均价线2,2)AND REF(均价线2,2)<REF(均价线2,3) AND 选股;没未来!

请高手把下面的通达信 主图 改成选股公式 谢谢
指标王:=CROSS(SMA((CLOSE-LLV(LOW,8))\/(HHV(HIGH,8)-LLV(LOW,8))*100,3,1),SMA(SMA((CLOSE-LLV(LOW,8))\/(HHV(HIGH,8)-LLV(LOW,8))*100,3,1),3,1)) AND SMA((CLOSE-LLV(LOW,8))\/(HHV(HIGH,8)-LLV(LOW,8))*100,3,1)<30;XG:指标王;可以了。{个人看法,仅供参考...

请高手将下面通达信公式改为条件选股公式,谢谢
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(...

请大师将下面通达信附图指标公式改为出现“买”的条件选股公式
VAR1:=1;VAR2:=(((2*CLOSE)+HIGH)+LOW) \/ 4);VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,4);C1:=(EMA(((VAR2-VAR4)\/(VAR5-VAR4))*100),4)*VAR1);C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1);XG:CROSS(C1,C2) AND C1<40;(已测试)

请高手把通达信主力资金公式修改一下,万分感谢 !
选股公式:RSV:=(CLOSE-LLV(LOW,13))\/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;TGLXS:=(TFXXS-REF(TFXXS,1));X:CROSS(TGLXS,0);

怎样把通达信的指标公式改为条件选股公式,进行预警?
C2:=REF(C,1);涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);MA13:=MA(C,13),COLORGRAY;MA21:=MA(C,21),COLORWHITE;支撑线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))\/4,COLORMAGENTA;LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)\/SMA(ABS(CLOSE-LC...

相似回答