一周之内、包括当天出现某个条件的信号,编写通达信的选股公式,如何表达呀? A:=MA(C,5)>;MA(C,10);出现:EXIST(A,5);
通达信选股公式 下面公式中出现加仓信号写成选股公式,谢谢 {选股公式源码如下 公式管理器新建条件选股 复制粘贴即可 友情提醒:该指标含有准未来 信号会漂移 如果不懂,应谨慎使用}DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19);DEA1:=EMA(DIF1,9);MACD1:=(DIF1-DEA1)*150;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,5,1);D:=SMA(K,3,1);J:=3*K-2*D;VARB2:=(RSV/2+22)*1;底部:=0;BIAS1:=(C-MA(C,6))/MA(C,6)*100;BIAS2:=(C-MA(C,12))/MA(C,12)*100;BIAS3:=(C-MA(C,24))/MA(C,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖离:=MA(BIAS,3);VAR6:=LLV(LOW,10);VAR8:=HHV(HIGH,25);量:=EMA(VOL,13);资金:=EMA(AMOUNT,13);过滤:=((资金/量)/100);提纯:=(((C-过滤)/过滤)*100);黄金:=((提纯<;(0))AND ZXNH);RSV黄金;
请教高手如何在通达信选股公式里编写今日出现5内日的首次信号 试试{黄金柱}VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,V*240/FROMOPEN,DRAWNULL);虚量:=VVOL;倍量:=(V>;REF(V,1)*2 OR 虚量>;REF(V,1)*2)AND C>;O;A1:=(V>;REF(V,1)AND REF(倍量,1)=1);A2:=(V>;REF(V,1)AND REF(V,1)>;REF(V,2)AND REF(倍量,2)=1);A3:=(V>;REF(V,1)AND REF(V,1)>;REF(V,2)AND REF(V,2)>;REF(V,3)AND REF(倍量,3)1);A4:=(V>;REF(V,1)AND REF(V,1)>;REF(V,2)AND REF(V,2)>;REF(V,3)AND REF(V,3)>;REF(V,4)AND REF(倍量,3)=1);A5:=(V>;REF(V,1)AND REF(V,1)>;REF(V,2)AND REF(V,2)>;REF(V,3)AND REF(V,3)>;REF(V,4)AND REF(V,4)>;REF(V,5)AND REF(倍量,3)=1);黄金柱:=A1 OR A2 OR A3 OR A4 OR A5;B1:=C>;MA(C,5)AND C>;MA(C,10)AND C>;MA(C,20);B2:=MA(C,5)>;REF(MA(C,5),1)AND MA(C,10)>;REF(MA(C,10),1)AND MA(C,20)>;REF(MA(C,20),1);B3:=B1 OR B2;一桶金:FILTER(黄金柱,5)=1 AND B3;