{1:a柱为涨幅超过4%的阳线且换手率大于3%, 2:b c d至少 柱有两根换手率小于a柱(是任意两柱) 3:d 柱收盘价大于a柱收盘价} ref(c,3)>ref(c,4)*1.04 and hsl>0.03 and count(v=2 and c>ref(c,3);a:=ref(c,3)>ref(c,4)*1.04 and hsl>0.03;{a柱为涨幅超过4%...
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);a1:=cross(ma(c,5),ma(c,10));a2:=cross(ma(v,5),ma(v,10));a3:=cross(dif,dea);xg:ex**t(a1 and a2 and a3,4);记得点一下采纳。
你好,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;