ma10:=ma(c,10);{均线多头排列}t1:=ma10>ma(c,5) and ma(c,25)>ma10;{股价回调10日线不破}t2:=ref(c,2)>ref(c,1) and between(ref(c,1),ma10,1.02*ma10) and c>ref(c,1);{预警选股}t1 and t2;
ma5:=ma(c,5);ma10:=ma(c,10);ma20:=ma(c,20);ma40:=ma(c,40);condtion_a:=ma5>ma10 and ma10>ma20 and ma20>ma40;{判断是否多头排列} condtion_b:=(o-ma5)/ma5*100>=-1;{判断是否跌穿五天的成本均线} xg:condtion_a and cond...
a:=ma(c,20)>ma(c,10) and ma(c,10)>ma(c,5) and ma(c,5)>ma(c,60);a:=c<ma(c,5) and c>ma(c,60) and ma(c,60)>ref(ma(c,60),1);xg:a and a1;股票公式专家团为你解答,希望能帮到你,祝投资顺利。