涨跌幅:=(c-ref(c,1))/ref(c,1)*100;日3累5:=ref(sum(涨跌幅,3),1);a1:=ex**t(涨跌幅>=8,8);a2:=barslastcount(涨跌幅)>=3 and 日3累5;a3:=ex**t(a2,4);a4:=ex**t(a3,4);a5:=a1 and a3 and a4 and 涨跌幅>0;xg:a5>0 and ref...
{竞价选}高开:=o/ref(c,1)>1.005 and o/ref(c,1)<=1.03;成交1档:=capital/1000000<0.3 and v>600;成交2档:=capital/1000000>=0.3 and capital/1000000<0.6 and v>800;成交3档:=capital/1000000>=0.6 and c...
enterlong:ref(c,1)<=ref(ma(c,200),1) and c>ma(c,200);exitlong:ref(c,1)>ref(ma(c,200),1) and c<=ma(c,200);在通达信里的公式管理器,然后在专家交易系统里面新建一个,把上面复制一下。就可以。如果不懂可以继续问。这个比较简单。关于通达信的公式编程可以问我,也可以下载 财富指南a...
h3:=hhv(h,3);l3:=llv(l,3);ma5:=ma(c,5);ma10:=ma(c,10);zf10:=abs(c-ma10)/ma10*100<3;zf5:=abs(c-ma5)/ma5*100<3;no:=c<ma5 or c<ma10;x1:if(no and (zf5 or zf10),1,0);xh3:if(no and abs(c-h3)/h3*...