下面是通达信六脉神剑的选股公式,请问如果连续四天都满足以下条件,公式该怎么写完整,谢谢!

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
A1:=DIFF>DEA;
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
A2:=K>D;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
A3:=RSI1>RSI2;
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
A4:=LWR1>LWR2;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
A5:=CLOSE>BBI;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
A6:=MMS>MMM;
涨买入:IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0);

第1个回答  2015-08-08
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
A1:=DIFF>DEA;
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
A2:=K>D;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
A3:=RSI1>RSI2;
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
A4:=LWR1>LWR2;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
A5:=CLOSE>BBI;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
A6:=MMS>MMM;
QQ:=(A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1);
涨买入:EVERY(QQ,4);本回答被提问者采纳

下面是通达信六脉神剑的选股公式,请问如果连续四天都满足以下条件,公式...
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=DIFF>DEA;RSV1:=(CLOSE-LLV(LOW,9))\/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV1,3,1);D:=SMA(K,3,1);A2:=K>D;LC:=REF(CLOSE,1);RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))\/(SMA(ABS(CLOSE-LC),5,1))*1...

求通达信股票软件预警公式,条件如下:
A6:=MMS>MMM;六脉神剑:=(A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0;ZT:=CLOSE>REF(CLOSE,1)*1.093;ZTO:=REF(EXIST(ZT,15),1);XG:大阳烛 AND 六脉神剑 AND ZTO;

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

六脉神剑指标选股公式好不好用吗
好。六脉神剑指标选股公式好用,指标使用多种指标对市场进行分析,包括成交量、涨跌幅、RSI等,能够综合考量市场的趋势、强弱和超买超卖情况。

求通达信股票软件预警公式,条件如下:
5. MACD金叉:=IF(A1,1,0);6. RSV1:=(CLOSE-LLV(LOW,8))\/(HHV(HIGH,8)-LLV(LOW,8))*100;7. K:=SMA(RSV1,3,1);8. D:=SMA(K,3,1);9. A2:=K>D;10. KDJ金叉:=IF(A2,2,0);11. LC:=REF(CLOSE,1);12. RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))\/(SMA(ABS(CLOSE-...

下面源码怎样 编一个通达信条件选股公式?
VOL\/2));ZM1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL\/2));MMB:=(SUM(ZM,30)+SUM(ZM1,30))\/10;SG:=MMB>0 AND REF(MMB,1)<MMB;上攻周期:=COUNT(SG,5);选股:COUNT(上攻周期>4 AND MA(C,5)>MA(C,10),2)=2;...

相似回答