{竞价选}高开:=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 capital/1000000<1 and v>1000;成交4档:=capital/1000000>=1 and capital/1000000<2 and v>1500;成交5档:=capital/1000000>=2 and capital/1000000<4 and v>2000;成交6档:=capital/1000000<=4 and capital/1000000<6 and v>2500;成交7档:=capital/1000000>=6 and capital/1000000<10 and v>3000;成交8档:=capital/1000000>=10 and v>6000;竞价:高开 and (成交1档 or 成交2档 or 成交3档 or 成交4档 or 成交5档 or 成交6档 or 成交7档 or 成交8档); 开盘竞价就是一笔成交的,以后才有连续交易。 20210311
ma5:=ma(close,5);ma15:=ma(close,15);ma30:=ma(close,30);离散量30:=100*(ma5-(ma15+ma30)/2)/ma30;var4:=if(离散量30<-5 and ref(离散量30,2)>ref(离散量30,1) and 离散量30>ref(离散量30,1),1,0);反弹:if(var4,1,0);祝:马年投资顺利...
你好,20天振幅大于4%是见不到效果,我改为大于20%,公式如下,已在通达信软件中通过测试,希望能够帮助您。顺祝马年投资顺利!jf:=(hhv(h,20)-llv(l,20))/ref(c,20)*100;tv:=hhv(v,30);tl:=if(tv>ref(tv,1),1,0);xx:jf>=20 and tl;