高手请帮我把这个通达信的公式改写成选股公式,万分感激!!!

均价线:=AMOUNT/V/100;
C2:=REF(C,1);
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,0,5,6,0),COLORYELLOW;
DRAWTEXT(涨停,8,'涨停'),COLORYELLOW;
MA13:=MA(C,13),COLORGRAY;
MA21:=MA(C,21),COLORWHITE;
支撑线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
STICKLINE(PP2 AND HH,0,5,3,0),COLORRED;
STICKLINE(PP AND HH,0,5,3,0),COLORRED;
STICKLINE(PP3 AND HH,0,5,3,0),COLORRED;
DRAWTEXT(PP2 AND HH,8,'预警'),COLORRED;
DRAWTEXT(PP AND HH,8,'预警'),COLORRED;
DRAWTEXT(PP3 AND HH,8,'预警'),COLORRED;
A:=SMA(L,4,3) ;
绿色买入:IF (((A AND REF(PP,1) AND HH) OR (A AND REF(PP3,1) AND HH)),1,0 );
STICKLINE(A AND REF(PP,1) AND HH ,0,10,1,0),COLORGREEN;
DRAWICON(A AND REF(PP,1) AND HH,12,1);
STICKLINE(A AND REF(PP3,1) AND HH ,0,10,1,0)COLORGREEN;
DRAWICON(A AND REF(PP3,1) AND HH,12,1);

第1个回答  推荐于2020-12-22
均价线:=AMOUNT/V/100;
C2:=REF(C,1);
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
MA13:=MA(C,13);
MA21:=MA(C,21);
支撑线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
A:=SMA(L,4,3) ;
绿色买入:IF (((A AND REF(PP,1) AND HH) OR (A AND REF(PP3,1) AND HH)),1,0 );本回答被提问者采纳

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

怎样把通达信的指标公式改为条件选股公式,进行预警?
均价线:=AMOUNT\/V\/100,POINTDOT;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-...

各位高手帮我这个通达信指标改个选股公式吧
{DXH-多信号} 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(AB...

请高手把通达信指标写出选股公式
VAR4:=MA((CLOSE-LLV(LOW,20))\/(HHV(HIGH,20)-LLV(LOW,20))*100,3);VAR5:=(MA(AMOUNT,5)\/MA(VOL,5)\/100-MA(AMOUNT,120)\/MA(VOL,120)\/100)\/(MA(AMOUNT,5)\/MA(VOL,5)\/100);D1:=CLOSE>Z AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2)...

请高手帮忙修改一下通达信公式,把此公式做成选股公式,只要周金叉和月金...
DEC:="MACD.DEA#MONTH"(6,13,5);CK:="KDJ.K#MONTH"(9,3,3);CD:="KDJ.J#MONTH"(9,3,3);MK月金叉:=CROSS(DIFC,DEC) AND CROSS(CD,CK);MK月金叉共振:IF(MK月金叉,10,0),LINETHICK6,COLORFF00FF;{MK周金叉共振选股附图} DIFB:="MACD.DIF#WEEK"(6,13,5);DEB:="MACD.DEA#...

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

恳求论坛高手帮助,把通达信指示公式改成选股公式的!万分感谢
选股:=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(均价...

谁能帮我改通达信指标改为选股公式
A:=(EMA(((O+H+L+C)\/4),21)+EMA(((O+H+L+C)\/4),34)+EMA(((O+H+L+C)\/4),55))\/3;RANGE(A,REF(A,1),C) AND REF(V,1)<REF(V,2);周期 选为周线即可。从图中可以看出,这一周是在绿线之上,而不是红线之上,故选不出来。———原二楼辩解 ...

请高手将下面通达信公式改为条件选股公式,谢谢
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:=(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); (已测试)

相似回答