这是个特殊形态。是一日内5日线上穿10、20、30日线。出现这个形态,股价要翻一番。我写了个一线穿三线的公式:a1:=ma(c,5);a2:=ma(c,10);a3:=ma(c,20);a4:=ma(c,30);b1:=cross(a1,a2);b2:=cross(a1,a3);b3:=cross(a1,a4);xg:b1 and b2 and b3;从你的图上看和这个类似的图形还有:均线粘合、箱...
xg:ref(c<o and h/l>1.03,1)and c>o and c/ref(c,1)-1>ref(h/l-1,1)*0.5 and macd.macd(count(ma(c,10)(c,20)and ma(c,20)(c,60),30)=30)and hhv(h,10)/llv(l,10)>1.05;
这个公式应该很简单,我帮你写!只用两个语句,正在测试!测试完毕,今天共有7支符合要求!写公式共花费时间200秒!over 通达信(7支)gtyx:=(open-low)/(close-open);if(close>open and close=high,gtyx,0)>2.5; 同花顺(6支)gtyx:=(open-low)/(close-open);select(close>o...