麻烦高手帮我把这个通达信附图指标改成选股公式

2024-11-29 07:33:01
推荐回答(2个)
回答(1):

{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(ABS(CLOSE-LC),9,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),26,1))/(SMA(ABS(CLOSE-LC),26,1))*100;
RSI金叉:=RSI1>RSI2;
VARA1:=LLV(LOW,10);VARA2:=HHV(HIGH,25);
趋势:=EMA((CLOSE-VARA1)/(VARA2-VARA1)*110,4);
顶底:=趋势>=REF(趋势,1);
BBI:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;
BBI金叉:=CLOSE>BBI;
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);
AA:=C1>=C2 ;BB:=C2>C1;抢反弹:=C1>=C2;
VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,10);
成交量:=MAVOL1>MAVOL2;
周K:=MA("KDJ.K#WEEK"(9,3,3),5);
周D:=MA("KDJ.D#WEEK"(9,3,3),5);
周J:=MA("KDJ.J#WEEK"(9,3,3),5);
周KD金叉:=周K>=周D;
周K拐点:=周K>=REF(周K,1);周J拐点:=周J>=REF(周J,1) ;
DXHXG:周K拐点 AND 周J拐点 AND 周KD金叉 AND MCDA金叉 AND KDJ金叉 AND RSI金叉
AND 顶底 AND BBI金叉 AND 抢反弹 AND 成交量;
属于多信号的选法。通过测试。{个人看法,仅供参考。}

回答(2):

想帮你改,很简单。但是太没意义了,会有这个票吗?