你说得不清楚,有几种理解:1、股价当天收盘价跌破5日线:cross(ma(c,5),c);2、股价当天最低价下穿5日线:cross(ma(c,5),l);3、股价于昨日跌破5日线后于今日又重回5日线上方:c>ma(c,5) and ref(c,1)<ref(ma(c,5),1) and ref(c,2)>ref(ma(c,5),2); 20210311
{第一个}a:=ma(c,5);b:=ma(c,10);d:=ma(c,20);e:=ma(c,30);f:=a<b and b<d and d<e;xg:f and c<a;{第二个}a:=ma(c,5);b:=ma(c,10);d:=ma(c,20);e:=ma(c,30);f:=a<b and b<d and d<e;xg:count(f,2)=2 ...