谁能帮我改个公式。通信达版本

M3:EMA(CLOSE,3),COLORAA00AA;
M5:EMA(CLOSE,5),COLORBB00BB;

M10:EMA(CLOSE,10),COLORDD00DD;
M20:EMA(CLOSE,20),COLORFF00FF;
M30:EMA(CLOSE,30),COLOR005500;

M40:EMA(CLOSE,40),COLOR007700;

MA60:EMA(CLOSE,60),COLOR00FF00;

VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
(MA5,MA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),0),COLOR00FF00;
BT:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND
REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);

DRAWTEXT(BT,C*0.98,'短牛'),COLORFFFFFF;

TJ1:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;

DRAWTEXT(TJ1,C*0.99,'中牛'),COLORMAGENTA;

HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;

DRAWTEXT(TJ2,L*0.98,'大牛'),COLORYELLOW;
ST:=REF(UP,1)>REF(UP,2) AND DOWN<REF(UP,1);

DRAWTEXT(ST,H*1.02,'卖'),COLOR00FF00;

DRAWICON(BT AND TJ1 AND TJ2,L * 0.98,17);

选股条件:当出现股价出现大牛

MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1) , H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1);
DOWN:=H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1) , L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1);
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
xg:TJ2; 你可以自己设置条件选股,那样比较灵活
温馨提示:内容为网友见解,仅供参考
第1个回答  2012-06-05
大牛选股
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1) , H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1);
DOWN:=H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1) , L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1);
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
xg:TJ2;
第2个回答  2012-06-05
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1) , H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1);
DOWN:=H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1) , L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1);
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
xg:TJ2;
第3个回答  2012-06-05
高手就是高手

通达信公式请老师修改一下,能通过测试。
T:=BARSCOUNT(C);开盘分钟数:=FROMOPEN;AA:=VOL\/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL\/2));主卖:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL\/...

通达信公式,哪位高手能帮忙改下呀
EXP1:EMA(CLOSE,M1);EXP2:EMA(CLOSE,M2);RSV:=(C-LLV(L,9))\/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);主力:=EMA( (CLOSE-MA(CLOSE,3))\/...

谁能修改通达信指标公式?
我的 谁能修改通达信指标公式? 幅图小蛮腰望高:VARA1:=((AMOUNT)\/(VOL))\/(100);VARB1:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))\/(7);VARC1:=((SUM(AMOUNT,7))\/(VARA1))\/(100);VARD1:=DMA(VARB1,(VOL)\/(VARC1));VARE1:=(... 幅图小蛮腰望高:VAR A 1:=((AMOUNT)\/(VOL))\/(100);VA...

谁帮我改哈公式,我的是通达信得R4:=(2*C+H+L)\/4; R5:=LLV(L,63); R6...
{WT答案-} R4:=(2*C+H+L)\/4;R5:=LLV(L,63);R6:=HHV(H,33);快:EMA((C-R5)\/(R6-R5)*100,8),COLORYELLOW;慢:EMA(0.667*REF(快,1)+0.333*快,10),COLORRED;{XG公式} R4:=(2*C+H+L)\/4;R5:=LLV(L,63);R6:=HHV(H,33);快:=EMA((C-R5)\/(R6-R5)*100,8);慢:...

请老师帮我改一下一个通达信的公式
N:=7;TR1:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),N,1);DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),N,1);PDI火:DMP*100\/TR,COLORRED;MDI炸:DMM*...

求助改成通达信公式
2)>1.095;A2:=C>O AND L\/REF(C,1)>1.03;A3:=A1 AND A2;A31:=COUNT(A3,40);A4:=SUMBARS(A3,A31)-1;A5:=A4=1 AND H>REF(HHV(H,40),38);A51:=COUNT(A5,40);A6:=SUMBARS(A5,A51)-1>30;A7:= CROSS(C,REF(HHV(H,40),5));飞离跑道: A6 AND A7;这样可以么?

请把下列公式改为通达信用的,谢谢啦
我帮你修改了,试过可行的:OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);RSV:=(OBV-LLV(OBV,34))\/(HHV(OBV,34)-LLV(OBV,34))*100;K:SMA(RSV,5,1);D:SMA(K,3,1);JJ:=3*K-2*D;J:IF(JJ>100,100,JJ);AA1:=(EMA(CLOSE,12)-EMA(CLOSE,...

各位高手帮我这个通达信指标改个选股公式吧
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MCDA金叉:=DIFF>DEA;RSV:=(CLOSE-LLV(LOW,12))\/(HHV(HIGH,12)-LLV(LOW,12))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);KDJ金叉:=K>D;LC:=REF(CLOSE,1);RSI1:=(SMA(MAX(CLOSE-LC,0),9,1))\/(SMA(ABS(CLOSE-LC),9...

请老师帮忙改写通达信底分型公式?
V00:= HIGH<REF(HIGH,1) AND LOW<REF(LOW,1);V01:= HIGH<REF(HIGH,1) AND LOW>REF(LOW,1);V02:= HIGH>REF(HIGH,1) AND LOW<REF(LOW,1);忽略以上。 对于你的问题,有疑问,要求中间涨幅,你的公式信号出现前,还是出现后?

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

相似回答