那个老师把这个公式改成通达信选股公式选出当天收盘收出现红色信号的股票

A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
SHORT:=7; LONG:=19;
RMA:=EMA(CLOSE,SHORT);
NMA:=EMA(CLOSE,LONG);
UP:DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);
DOWN:DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
买进:(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
趋势区:=IF((EVERY(DOWN>=REF(DOWN,1),1)),4,2)COLOR0000FF,LINETHICK3;
低买:IF(((CROSS(趋势区,2.1))),5,0),STICK,COLORRED,LINETHICK3;
高卖:IF(((CROSS(3.9,趋势区))),-5,0),STICK,COLORFF9150,LINETHICK3;

{ok.收盘收出现红色信号出现}
SHORT:=7;
LONG:=19;
RMA:=EMA(CLOSE,SHORT);
NMA:=EMA(CLOSE,LONG);
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
趋势区:=IF((EVERY(DOWN>=REF(DOWN,1),1)),4,2);
低买:((CROSS(趋势区,2.1)));追问

老师这个信号会消失吗?

追答

‘DRAWLINE’是通达信特有的划线函数,一旦赋值后,信号就会有漂移,换言之,使用时一定要小心使用。

温馨提示:内容为网友见解,仅供参考
第1个回答  2011-05-28
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
SHORT:=7; LONG:=19;
RMA:=EMA(CLOSE,SHORT);
NMA:=EMA(CLOSE,LONG);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
买进:=(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
趋势区:=IF((EVERY(DOWN>=REF(DOWN,1),1)),4,2);
XG:CROSS(趋势区,2.1);

这个有未来函数,信号会消失。

请老师把这个公式该为通达信选股公式,要求选出'买“信号的股票;谢谢了...
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...

请高手编个通达信选股公式,选出出现出现红色向上的箭头的股票 谢谢
XOPEN:=(REF(O,1)+REF(C,1))\/2;XCLOSE:=CLOSE;XHIGH:=MAX(HIGH,XOPEN);XLOW:=MIN(LOW,XOPEN);VOLALITY:=MA(XHIGH-XLOW,8);凰线:=MA(XCLOSE,5)+VOLALITY\/2;凤线:=MA(XCLOSE,5)-VOLALITY\/2;BU:=CROSS(XCLOSE,凰线);SEL:=CROSS(凤线,XCLOSE);VAR1:=BARSLAST(BU);VAR2...

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

请老师帮把这个公式改成通达信选股公式
“最佳买入选股”公式: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);最佳买入:=(AV + NEWVOL);AA:CROSS(最佳买入,0);--- “最佳买入时机”公式:...

请高手把这条公式出现红柱时作为选股公式通达信用的谢谢
VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)\/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(VAR3*10,3);VAR5:=LLV(LOW,13);VAR6:=HHV(VAR4,13);VAR7:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)\/2,0),3)\/618;VAR8:=IF(VAR7>500,500,VAR7);ZXG:VAR8>1 AND "KDJ.J...

请老师将如下指标改成通达信选股公式谢谢
HJ1:=(CLOSE-LLV(LOW,24))\/(HHV(HIGH,24)-LLV(LOW,24))*200*10;HJ2:=MA((-100)*(HHV(HIGH,34)-CLOSE)\/(HHV(HIGH,34)-LLV(LOW,34)),19)+100;HJ3:=(-100)*(HHV(HIGH,14)-CLOSE)\/(HHV(HIGH,14)-LLV(LOW,14))+100;HJ4:=EMA((-100)*(HHV(HIGH,34)-CLOSE)\/(HHV(...

请把下面公式编写成通达信选股公式,要求选出四量第一天全红,谢谢
MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20)...

求高手帮忙将下面公式改为 收盘之后可以统计出当天所有出现红色买点的...
朋友,你所要的选股公式如下: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);VAR8:=IF(VAR6<=-20,10,0);VAR9:=HHV(VAR8,...

通达信里怎么选出成交量柱显示为红(默认)的股票
OUTPUT:C>O AND V>REF(V,1);收阳线,并且成交量大于昨成交量(放量);就这个条件,有很多问题没有考虑到的,但你问到,就这样回答你了;

请大大们改写成通达信选股公式,红色信号出现在第一天,如图,注意必须是...
MAH:=(H*18+REF(H,1)*17+REF(H,2)*16+REF(H,3)*15+REF(H,4)*14+REF(H,5)*13+REF(H,6)*12+REF(H,7)*11+REF(H,8)*10+REF(H,9)*9+REF(H,10)*8+REF(H,11)*7+REF(H,12)*6+REF(H,13)*5+REF(H,14)*4+REF(H,15)*3+REF(H,16)*2+REF(H,17)*1)\/171...

相似回答