请把这个通达信指标改为选股公式!要求把当天出现“买入”提示的股选出来,全分压上,谢谢。

DA1:=IF(130>TOTALBARSCOUNT,TOTALBARSCOUNT,130);
DA:=IF(CURRBARSCOUNT>DA1,0,DA1);
HI:=REFDATE(HHV(H,DA),DATE);
LO:=REFDATE(LLV(L,DA),DATE);
C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);
GZ:=EXP(LN(HI/LO)/10);
LH1:=SUM(IF(C1>=(HI/GZ),V,0),DA);
LH2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1<(HI/GZ),V,0),DA);
LH3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1<(HI/POW(GZ,2)),V,0),DA);
LH4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1<(HI/POW(GZ,3)),V,0),DA);
LH5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1<(HI/POW(GZ,4)),V,0),DA);
LH6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1<(HI/POW(GZ,5)),V,0),DA);
LH7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1<(HI/POW(GZ,6)),V,0),DA);
LH8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1<(HI/POW(GZ,7)),V,0),DA);
LH9:=SUM(IF(C1>=(LO*GZ) AND C1<LO*POW(GZ,2),V,0),DA);
LH10:=SUM(IF(C1>=LO AND C1<LO*GZ,V,0),DA);
L1:=REFDATE(HHV(LH1,DA),DATE),LINETHICK0;
L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0;
L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0;
L4:=REFDATE(HHV(LH4,DA),DATE);
L5:=REFDATE(HHV(LH5,DA),DATE);
L6:=REFDATE(HHV(LH6,DA),DATE);
L7:=REFDATE(HHV(LH7,DA),DATE);
L8:=REFDATE(HHV(LH8,DA),DATE);
L9:=REFDATE(HHV(LH9,DA),DATE);
L10:=REFDATE(HHV(LH10,DA),DATE);
SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);
STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,HI*99/100,HI/GZ,9,0)COLOR3C3C3A,LINETHICK3;
STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,1)*99/100,HI/POW(GZ,2),9,0)COLOR3C3C3A,LINETHICK3;
STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,2)*99/100,HI/POW(GZ,3),9,0)COLOR3C3C3A,LINETHICK3;
STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,3)*99/100,HI/POW(GZ,4),9,0)COLOR3C3C3A,LINETHICK3;
STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,4)*99/100,HI/POW(GZ,5),9,0)COLOR3C3C3A,LINETHICK3;
STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,5)*99/100,HI/POW(GZ,6),9,0)COLOR3C3C3A,LINETHICK3;
STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,6)*99/100,HI/POW(GZ,7),9,0)COLOR3C3C3A,LINETHICK3;
STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,2),LO*POW(GZ,3)*99/100,9,0)COLOR3C3C3A,LINETHICK3;
STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,1),LO*POW(GZ,2)*99/100,9,0)COLOR3C3C3A,LINETHICK3;
STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,LO,LO*POW(GZ,1)*99/100,9,0)COLOR3C3C3A,LINETHICK3;
DRAWKLINE(H,O,L,C);MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,30);
MA4:MA(CLOSE,60);
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7:=0;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);

第1个回答  2012-02-26
你的公式里没有 “买入”字出现,公式不全吧???我有一个公式送你如下{选股公式在下面},不知合意不???
{彩色筹码峰主图}
DA1:=IF(130>TOTALBARSCOUNT,TOTALBARSCOUNT,130);
DA:=IF(CURRBARSCOUNT>DA1,0,DA1);
HI:=REFDATE(HHV(H,DA),DATE);
LO:=REFDATE(LLV(L,DA),DATE);
C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);
GZ:=EXP(LN(HI/LO)/10);
LH1:=SUM(IF(C1>=(HI/GZ),V,0),DA);
LH2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1<(HI/GZ),V,0),DA);
LH3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1<(HI/POW(GZ,2)),V,0),DA);
LH4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1<(HI/POW(GZ,3)),V,0),DA);
LH5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1<(HI/POW(GZ,4)),V,0),DA);
LH6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1<(HI/POW(GZ,5)),V,0),DA);
LH7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1<(HI/POW(GZ,6)),V,0),DA);
LH8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1<(HI/POW(GZ,7)),V,0),DA);
LH9:=SUM(IF(C1>=(LO*GZ) AND C1<LO*POW(GZ,2),V,0),DA);
LH10:=SUM(IF(C1>=LO AND C1<LO*GZ,V,0),DA);
L1:=REFDATE(HHV(LH1,DA),DATE),LINETHICK0;
L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0;
L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0;
L4:=REFDATE(HHV(LH4,DA),DATE);
L5:=REFDATE(HHV(LH5,DA),DATE);
L6:=REFDATE(HHV(LH6,DA),DATE);
L7:=REFDATE(HHV(LH7,DA),DATE);
L8:=REFDATE(HHV(LH8,DA),DATE);
L9:=REFDATE(HHV(LH9,DA),DATE);
L10:=REFDATE(HHV(LH10,DA),DATE);
SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);
STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,HI*99/100,HI/GZ,9,0),COLORFF6600,LINETHICK3;
STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,1)*99/100,HI/POW(GZ,2),9,0),COLORBROWN,LINETHICK3;
STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,2)*99/100,HI/POW(GZ,3),9,0),COLOR666600,LINETHICK3;
STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,3)*99/100,HI/POW(GZ,4),9,0),COLOR00DDFF,LINETHICK3;
STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,4)*99/100,HI/POW(GZ,5),9,0),COLOR666600,LINETHICK3;
STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,5)*99/100,HI/POW(GZ,6),9,0),COLORFF00FF,LINETHICK3;
STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,6)*99/100,HI/POW(GZ,7),9,0),COLOR0000FF,LINETHICK3;
STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,2),LO*POW(GZ,3)*99/100,9,0),COLOR666600,LINETHICK3;
STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,1),LO*POW(GZ,2)*99/100,9,0),COLORLICYAN,LINETHICK3;
STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,LO,LO*POW(GZ,1)*99/100,9,0),COLOR99FF00,LINETHICK3;
DRAWKLINE(H,O,L,C);
{缺口公式 说明:向上跳空红色,向下跳空绿色}
STICKLINE(L>REF(H,1),L,REF(H,1),10,1001),COLORRED;
STICKLINE(REF(L,1)>H,REF(L,1),H,10,1001),COLORGREEN;
{箱体}
HHH:HHV(H,30);
LLL:LLV(L,30);
A5:EMA(AMOUNT/(100*VOL),5);
A10:EMA(AMOUNT/(100*VOL),10);
A20:EMA(AMOUNT/(100*VOL),20);
A30:EMA(AMOUNT/(100*VOL),30);
IF(C>A30,A30,DRAWNULL),COLORFF00FF,LINETHICK2;
DRAWTEXT(CROSS(A5,A30),L,'?'),COLORYELLOW;
{立桩量}
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)
+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1;
立桩量:=FILTER(TJ1,5);
TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2
AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));
突破:=TJ2=1;
TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF
(BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0)));
三天法则:=TJ3=1;
成立:=三天法则 AND 突破;
条件成立:=FILTER(成立,3);
DRAWTEXT(条件成立=1,L*0.99,'成立'),COLORYELLOW;
--------------------------
AAA:=(3*C+H+L+O)/6; {选股公式}
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)
+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1;
立桩量:=FILTER(TJ1,5);
TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2
AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));
突破:=TJ2=1;
TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF
(BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0)));
三天法则:=TJ3=1;
成立:=三天法则 AND 突破;
条件成立:FILTER(成立,3);
第2个回答  2012-02-27

Z1:=MA(C,13);
ZX:=REF(Z1,13/2+1);
A1:=SMA(HIGH,21,2)*1.05;
A2:=SMA(LOW,21,2)*0.95;
A3:=SMA(LOW,5,1);
A4:=SMA(CLOSE,2,1);
买入:=IF(CROSS(A4,A3),A1*1.05,A3);
大涨:=IF(CROSS(A4,A1),A1*1.10,A2);
XG:IF(大涨>A2 OR 买入>A3 AND CROSS(C,ZX) AND VOL>0,10,0);
本回答被提问者采纳
第3个回答  2012-02-26
没有看到 “买入”提示---------可能是指标太长太多, 发不出来,---------可以Q我

请把这个通达信指标改为选股公式!要求把当天出现“买入”提示的股选...
你的公式里没有 “买入”字出现,公式不全吧???我有一个公式送你如下{选股公式在下面},不知合意不???{彩色筹码峰主图} DA1:=IF(130>TOTALBARSCOUNT,TOTALBARSCOUNT,130);DA:=IF(CURRBARSCOUNT>DA1,0,DA1);HI:=REFDATE(HHV(H,DA),DATE);LO:=REFDATE(LLV(L,DA),DATE);C1:=IF(C...

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

请老师把这个公式该为通达信选股公式,要求选出'买“信号的股票;谢谢了...
VAR3:=(CLOSE-MA(CLOSE,6))\/MA(CLOSE,6)*100;VAR4:=(CLOSE-MA(CLOSE,24))\/MA(CLOSE,24)*100;VAR5:=(CLOSE-MA(CLOSE,32))\/MA(CLOSE,32)*100;VAR6:=(VAR3+VAR4+VAR5)\/3;VAR7:=EMA(VAR6,5);指标:=EMA(EMA(VAR3,5),5)*3;VAR8:=IF(VAR6<=-20,10,0);VAR9:=HHV(VA...

请高手帮忙把这个通达信里的指标公式改成选股公式,万分感谢啊!
这个公式很准,但有未来函数。选股公式如下: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是标准的未来函数,也就是信号会发生漂移。因此这个公式只能用来做参考,且莫用做股...

请大师将下面通达信附图指标公式改为出现“买”的条件选股公式
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;(已测试)

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

求高手帮忙把公式改成选股公式 选出当天出现买点的股票
{通达信已通过} RSV:=(CLOSE-LLV(LOW,18))\/(HHV(HIGH,18)-LLV(LOW,18))*100;K:=SMA(RSV,9,1);D:=SMA(K,3,1);趋势J1:=3*K-2*D;趋势J2:=EMA(K,3);WH:=DRAWLINE(D>=HHV(D,21),D,D<=LLV(D,21),D,1);出现买点:CROSS(趋势J1,WH) AND CROSS(趋势J2,WH);...

请通达信高手把这个技术指标改成条件选股公式
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 ...

请高手帮我把这个通达信指标改写成条件选股公式
*4,4);底部:=0.2;关注:=0.5;笑脸:=FILTER(CROSS(动力线,关注),20) OR FILTER(CROSS(动力线,底部),20);趋势:=MA(动力线,3);出击:=(趋势>REF(趋势,1)) AND (REF(趋势,1)<REF(趋势,2)) AND (趋势<1);综合:笑脸 AND 出击;{无未来函数,上面共三个公式,复制可用} ...

请高手将这个通达信附图指标修改成选股公式 要求当天选出同时出线黄色K ...
6)-CLOSE))\/(HHV(HIGH,6)-LLV(LOW,6))),34)),6)) AND CROSS(C,((C-REF(MA(C,6),1))\/6+MA(C,6))*1.004) AND ((C-REF(MA(C,6),1))\/6+MA(C,6))*1.004>REF(((C-REF(MA(C,6),1))\/6+MA(C,6))*1.004,1);你的分太低啦,多出点血才会有人肯帮你。

相似回答